:root {
  color-scheme: light;
  --ink: #171514;
  --muted: #625b52;
  --ivory: #fbf8f1;
  --porcelain: #fffdf8;
  --white: #ffffff;
  --line: #e2d7c4;
  --gold: #b88a35;
  --gold-2: #d6b25f;
  --deep: #251d18;
  --wine: #4b1722;
  --forest: #20352e;
  --shadow: 0 22px 52px rgba(37, 29, 24, 0.12);
  --radius: 8px;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--ivory), #f6efe2 52%, var(--ivory));
  color: var(--ink);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p, h1, h2, h3 { margin-top: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: 0; line-height: 1.04; }
h1 { font-size: clamp(3rem, 8vw, 6rem); margin-bottom: 22px; }
h2 { font-size: clamp(2.1rem, 5vw, 4rem); margin-bottom: 16px; }
h3 { font-size: 1.35rem; line-height: 1.2; margin-bottom: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, 0.92);
  border-bottom: 1px solid rgba(226, 215, 196, 0.9);
  backdrop-filter: blur(18px);
}
.nav {
  max-width: var(--max);
  min-height: 76px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  overflow: hidden;
  border-radius: var(--radius);
}
.brand::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.92) 48%, rgba(214,178,95,.86) 54%, transparent 68%);
  transform: translateX(-135%) rotate(10deg);
  animation: logoShine 5.5s ease-in-out infinite;
  pointer-events: none;
}
.brand:hover::after, .brand:focus-visible::after, .brand.shine-now::after {
  animation: logoFlash .8s ease;
}
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(75, 23, 34, .15));
}
.brand-text { font-weight: 950; letter-spacing: .02em; }
.brand-text small { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--white); color: var(--deep); box-shadow: 0 10px 22px rgba(37,29,24,.08); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--deep);
  font-size: 22px;
}

.container, .section { max-width: var(--max); margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.band { background: var(--porcelain); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  align-items: center;
  gap: 56px;
  padding-top: 84px;
  padding-bottom: 76px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); max-width: 720px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  cursor: pointer;
}
.button.primary { background: linear-gradient(135deg, var(--deep), var(--wine)); color: var(--white); box-shadow: 0 16px 34px rgba(75,23,34,.2); }
.button.gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--deep); }
.button.ghost { background: var(--white); border-color: var(--line); color: var(--deep); }
.button:hover { transform: translateY(-1px); }

.hero-panel, .card, .contact-form, .profile-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow);
}
.hero-panel { overflow: hidden; }
.panel-top { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: linear-gradient(90deg, var(--deep), var(--wine)); color: rgba(255,255,255,.78); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-2); }
.panel-body { padding: 28px; background: linear-gradient(135deg, rgba(255,255,255,.88), rgba(251,248,241,.78)); }
.stat-grid, .grid-3, .grid-4, .grid-2 { display: grid; gap: 18px; }
.stat-grid { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
.stat { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.stat strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; line-height: 1; color: var(--deep); }
.stat span { color: var(--muted); font-size: 13px; font-weight: 800; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 26px; position: relative; overflow: hidden; }
.card.dark { background: linear-gradient(135deg, var(--deep), var(--wine)); color: var(--white); }
.card.dark p, .card.dark li { color: rgba(255,255,255,.76); }
.muted { color: var(--muted); }
.kicker { color: var(--gold); font-size: 12px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.price { display: flex; align-items: flex-end; gap: 10px; margin: 18px 0 12px; }
.price del { color: var(--muted); font-size: 1rem; }
.price strong { font-family: Georgia, "Times New Roman", serif; font-size: 2.6rem; line-height: .95; }
.badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; background: rgba(184,138,53,.14); color: var(--deep); font-size: 12px; font-weight: 950; }
.card.dark .badge { background: rgba(214,178,95,.18); color: var(--gold-2); }
.list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.list li { color: var(--muted); }
.list li::before { content: "✓"; color: var(--gold); font-weight: 950; margin-right: 8px; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr); gap: 28px; align-items: center; }
.profile-panel { padding: 18px; }
.profile-panel img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.contact-line { display: grid; gap: 8px; margin-top: 20px; color: var(--muted); font-weight: 800; }
.contact-line a { color: var(--deep); font-weight: 950; }
.contact-form { padding: 28px; }
.field { margin-bottom: 16px; }
label { display: block; margin-bottom: 7px; color: var(--deep); font-weight: 900; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
  outline: none;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(184,138,53,.16); }
.form-status { min-height: 24px; margin: 14px 0 0; color: var(--deep); font-weight: 900; }
.footer { border-top: 1px solid var(--line); background: var(--porcelain); }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 30px 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); }
.footer a { color: var(--deep); font-weight: 900; }

@keyframes logoShine {
  0%, 68% { transform: translateX(-135%) rotate(10deg); }
  82%, 100% { transform: translateX(135%) rotate(10deg); }
}
@keyframes logoFlash { to { transform: translateX(135%) rotate(10deg); } }

@media (max-width: 980px) {
  .hero, .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: auto; }
}
@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    inset: 76px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .grid-4, .grid-3, .grid-2, .stat-grid { grid-template-columns: 1fr; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .brand-text { display: none; }
  .actions .button { width: 100%; }
}
