:root {
  --ink: #21190f;
  --muted: #67594a;
  --gold: #a66a16;
  --gold-dark: #6c430d;
  --gold-soft: #f7e8c8;
  --cream: #fffaf0;
  --green: #08783f;
  --green-dark: #055b30;
  --line: #ead9bd;
  --white: #fff;
  --shadow: 0 20px 54px rgba(75, 47, 14, .13);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 100; padding: 10px 14px; background: #111; color: #fff; border-radius: 8px; }
.skip-link:focus { left: 12px; }

.topline { background: #2f210f; color: #fff4de; font-size: .9rem; }
.topline .container { display: flex; justify-content: center; gap: 18px; padding: 8px 0; text-align: center; flex-wrap: wrap; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 240, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 174px; height: auto; }
.nav { display: flex; align-items: center; gap: 24px; font-size: .95rem; font-weight: 750; color: var(--muted); }
.nav a:hover, .text-link:hover { color: var(--gold-dark); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 22px; border: 2px solid transparent; border-radius: 999px; font-weight: 850; text-align: center; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #d7a545; outline-offset: 3px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 14px 28px rgba(8, 120, 63, .22); }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { background: #fff; color: var(--gold-dark); border-color: #d9bc89; }

.hero { overflow: hidden; position: relative; background: radial-gradient(circle at 84% 8%, rgba(216, 170, 85, .31), transparent 26rem), linear-gradient(155deg, #fffdf8, #f9ecd2); }
.hero::after { content: ""; position: absolute; width: 340px; height: 340px; right: -170px; bottom: -210px; border-radius: 50%; border: 58px solid rgba(121, 77, 16, .07); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(310px, .88fr); gap: 48px; align-items: center; padding: 72px 0 64px; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; padding: 8px 14px; border: 1px solid #dfc697; border-radius: 999px; background: rgba(255,255,255,.78); color: var(--gold-dark); font-size: .88rem; font-weight: 850; letter-spacing: .01em; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 820px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 6vw, 4.9rem); font-weight: 700; }
h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.28rem; }
.lead { max-width: 760px; margin: 22px 0 0; color: #473b2d; font-size: clamp(1.08rem, 2.1vw, 1.34rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.microcopy { margin: 15px 0 0; color: var(--muted); font-size: .88rem; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.trust-item { padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.72); color: var(--muted); font-size: .88rem; }
.trust-item strong { display: block; color: var(--ink); font-size: .98rem; }

.doctor-card { padding: 28px; border: 1px solid var(--line); border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.doctor-photo { width: 190px; height: 190px; margin: 0 auto 22px; border: 6px solid #fff7e7; border-radius: 50%; object-fit: cover; object-position: center top; box-shadow: 0 12px 28px rgba(75, 47, 14, .14); }
.doctor-card h2 { font-size: 2rem; }
.doctor-card p { color: var(--muted); }
.credential { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .95rem; }
.doctor-card .btn { width: 100%; margin-top: 18px; }

section { padding: 74px 0; }
.white-section { background: #fff; }
.dark-section { background: linear-gradient(135deg, #2e1e0b, #6b430f); color: #fff; }
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .section-intro, .dark-section .card p { color: rgba(255,255,255,.78); }
.section-head { max-width: 820px; margin: 0 auto 34px; text-align: center; }
.section-intro { margin: 15px 0 0; color: var(--muted); font-size: 1.1rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 25px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 12px 30px rgba(75, 47, 14, .07); }
.card p { margin: 11px 0 0; color: var(--muted); }
.card .tag { display: inline-flex; margin-bottom: 16px; padding: 7px 11px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-dark); font-size: .8rem; font-weight: 850; }
.dark-section .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; }
.dark-section .card .tag { background: rgba(255,255,255,.13); color: #fff3dc; }

.split { display: grid; grid-template-columns: .88fr 1.12fr; gap: 36px; align-items: start; }
.sticky-panel { position: sticky; top: 112px; padding: 30px; border-radius: 28px; background: #2f210f; color: #fff; box-shadow: var(--shadow); }
.sticky-panel h2 { color: #fff; }
.sticky-panel p { color: rgba(255,255,255,.79); }
.sticky-panel .btn { margin-top: 12px; }
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 17px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.step-number { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--gold-soft); color: var(--gold-dark); font-weight: 900; }
.step p { margin: 8px 0 0; color: var(--muted); }

.note { margin-top: 22px; padding: 18px 20px; border: 1px solid #dfc697; border-radius: 18px; background: #fff6e4; color: #4e3c25; }
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
details { padding: 21px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
summary { cursor: pointer; font-weight: 850; line-height: 1.35; }
details p { margin: 13px 0 0; color: var(--muted); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.related a { display: flex; flex-direction: column; justify-content: space-between; min-height: 160px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; font-weight: 850; }
.related small { color: var(--muted); font-weight: 600; }
.related span { color: var(--green); }

.cta-box { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; padding: clamp(28px, 6vw, 54px); border-radius: 34px; background: radial-gradient(circle at 100% 0, rgba(232, 188, 106, .34), transparent 24rem), #2f210f; color: #fff; box-shadow: var(--shadow); }
.cta-box h2 { color: #fff; }
.cta-box p { color: rgba(255,255,255,.8); }
.contact-list { display: grid; gap: 12px; padding: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 22px; background: rgba(255,255,255,.08); }
.contact-list div { padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.13); }
.contact-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-list small { display: block; color: rgba(255,255,255,.65); }

footer { padding: 34px 0 105px; border-top: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; }
.footer-grid strong { color: var(--ink); }
.mobile-bar { display: none; }

@media (max-width: 940px) {
  .nav { display: none; }
  .hero-grid, .split, .cta-box { grid-template-columns: 1fr; }
  .trust-grid, .cards, .related { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
  .doctor-card { max-width: 680px; }
}

@media (max-width: 640px) {
  .topline { font-size: .8rem; }
  .header-inner { min-height: 70px; }
  .brand img { width: 145px; }
  .site-header .btn { display: none; }
  .hero-grid { padding: 48px 0 46px; }
  h1 { font-size: 2.7rem; }
  section { padding: 56px 0; }
  .hero-actions .btn, .sticky-panel .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .doctor-photo { width: 160px; height: 160px; }
  .faq { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 80; display: grid; grid-template-columns: .7fr 1.3fr; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.95); box-shadow: 0 16px 44px rgba(38, 26, 12, .22); backdrop-filter: blur(12px); }
  .mobile-bar .btn { min-height: 48px; padding: 11px 10px; font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
