:root {
  --bg: #F6F1EA;
  --surface: #FFFFFF;
  --ink: #2B2622;
  --text: #4A423B;
  --muted: #6B625A;
  --line: #E3D9CC;
  --accent: #4F6B5A;
  --accent-dark: #3F5748;
  --dark: #2B2622;
  --on-dark: #F6F1EA;
  --on-dark-muted: #D9CFC3;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Manrope, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 80px;
  --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; line-height: 1.1; }
h1 { font-size: clamp(40px, 5vw, 62px); line-height: 1.05; }
h2 { font-size: clamp(34px, 3.6vw, 46px); }
h3 { font-size: 26px; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--white { background: var(--surface); }
.section h2 { margin-bottom: 44px; }

.eyebrow { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 19px; color: var(--text); }
.muted-lg { font-size: 17px; color: var(--text); }
.note { font-size: 15px; color: var(--muted); margin-top: 32px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; text-align: center; }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: 15px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--outline-light { border: 1px solid var(--on-dark); color: var(--on-dark); }
.btn--outline-light:hover { background: rgba(246,241,234,.1); color: var(--on-dark); }
.link { font-weight: 500; padding: 14px 8px; }

/* Header */
.header { position: sticky; top: 0; z-index: 10; background: rgba(246,241,234,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--serif); font-size: 26px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav { display: flex; gap: 32px; font-size: 15px; margin-left: auto; }
.nav a { text-decoration: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero > *, .about > *, .faq > *, .split > * { min-width: 0; }
h1, h2 { overflow-wrap: break-word; }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero__photo { width: 100%; height: 620px; object-fit: cover; object-position: center 36%; border-radius: 24px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--text); }
.facts b { color: var(--ink); font-weight: 600; }

/* Topics */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 44px; }
.split h2 { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 16px; color: var(--text); }
.quotes__title { margin: 56px 0 20px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quotes li { padding: 24px; border-radius: 16px; background: var(--bg); font-family: var(--serif); font-size: 25px; line-height: 1.3; }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.about__photo { width: 100%; height: 640px; object-fit: cover; object-position: center 45%; border-radius: 24px; }
.about__text { display: flex; flex-direction: column; gap: 22px; }
.about__text h2 { margin-bottom: 0; }
.about__text > p { font-size: 18px; line-height: 1.65; color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stats li { padding: 20px; border-radius: 16px; background: var(--surface); }
.stats b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1.15; white-space: nowrap; }
.stats span { font-size: 14px; color: var(--muted); }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--text); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline b { color: var(--ink); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps__num { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--accent); }
.steps h3 { font-size: 24px; }
.steps p { font-size: 16px; color: var(--text); }

/* Docs */
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.doc { margin: 0; padding: 24px; border-radius: 20px; background: var(--surface); display: flex; flex-direction: column; gap: 16px; }
.doc img { width: 100%; height: 400px; object-fit: contain; border-radius: 8px; transition: opacity .2s; }
.doc a:hover img { opacity: .9; }
.doc figcaption { display: flex; flex-direction: column; gap: 4px; }
.doc figcaption span { font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
.faq h2 { margin-bottom: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 400; font-size: 20px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 56px 24px 0; font-size: 16px; color: var(--text); }

/* Contact */
#contact { padding-top: var(--section); padding-bottom: var(--section); }
.contact { padding: 72px; border-radius: 28px; background: var(--dark); color: var(--on-dark); display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.contact__text { max-width: 600px; display: flex; flex-direction: column; gap: 16px; }
.contact h2 { font-size: clamp(34px, 3.8vw, 48px); color: var(--on-dark); }
.contact p { font-size: 18px; color: var(--on-dark-muted); }
.contact__actions { display: flex; flex-direction: column; gap: 12px; min-width: 300px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 14px; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; }
.footer a { color: var(--muted); text-decoration: none; }

/* Tablet */
@media (max-width: 1024px) {
  :root { --gutter: 40px; --section: 80px; }
  .nav { display: none; }
  .hero { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hero__photo { height: 520px; }
  .cards, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .about { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .contact { flex-direction: column; align-items: stretch; padding: 56px; }
}

/* Phone */
@media (max-width: 680px) {
  :root { --gutter: 20px; --section: 64px; }
  body { font-size: 16px; }
  .header__inner { height: 64px; }
  html { scroll-padding-top: 72px; }
  .logo { font-size: 22px; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 64px; }
  .hero__text { gap: 22px; }
  h1 { font-size: 36px; }
  .eyebrow { font-size: 12px; }
  .hero__photo { height: 440px; order: -1; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link { display: none; }
  .lead { font-size: 17px; }
  .split { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .section h2 { margin-bottom: 32px; }
  .cards, .quotes, .steps, .docs { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 22px; }
  .quotes li { font-size: 22px; }
  .quotes__title { margin-top: 40px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { height: 460px; }
  .about__text > p { font-size: 17px; }
  .stats { grid-template-columns: 1fr; gap: 8px; }
  .stats li { padding: 14px 18px; display: flex; align-items: baseline; gap: 12px; }
  .stats b { font-size: 26px; white-space: nowrap; }
  .timeline li { grid-template-columns: 60px 1fr; gap: 12px; font-size: 15px; }
  .steps { gap: 28px; }
  .doc { padding: 16px; }
  .doc img { height: auto; }
  .faq summary { font-size: 17px; padding: 18px 0; }
  .faq details p { padding-right: 0; }
  .contact { padding: 36px 24px; border-radius: 24px; gap: 28px; }
  .contact p { font-size: 16px; }
  .contact__actions { min-width: 0; }
  #contact { padding-top: 16px; padding-bottom: 64px; }
}
