:root {
  --red: #ac2915;
  --red-dark: #890807;
  --red-soft: #c9453d;
  --blush: #fbefed;
  --ink: #2a2324;
  --text: #4d4546;
  --muted: #776e6f;
  --line: #eadfdd;
  --paper: #ffffff;
  --paper-2: #faf7f6;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--paper); line-height: 1.7; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: "Zilla Slab", Georgia, serif; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; color: #fff; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 86px; }
.logo { flex: 0 0 auto; }
.logo img { height: 58px; width: auto; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.main-nav a { display: block; padding: 8px 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; white-space: nowrap; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); }
.main-nav li:last-child a { background: var(--red); color: #fff; border-radius: 30px; padding: 8px 18px; margin-left: 6px; }
.main-nav li:last-child a:hover, .main-nav li:last-child a[aria-current="page"] { background: var(--red-dark); color: #fff; }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 6px 16px 16px; }
  .main-nav a { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .main-nav li:last-child a { margin: 12px 0 0; text-align: center; border: 0; }
  .logo img { height: 46px; }
}

/* Buttons */
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; padding: 13px 28px; border-radius: 30px; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn.light { background: #fff; color: var(--red); }
.btn.light:hover { background: var(--blush); color: var(--red-dark); }
.btn.ghost { background: transparent; color: #fff; border: 2px solid #fff; padding: 11px 26px; }
.btn.ghost:hover { background: #fff; color: var(--red); }
.btn.outline { background: transparent; color: var(--red); border: 2px solid var(--red); padding: 11px 26px; }
.btn.outline:hover { background: var(--red); color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { position: relative; background: var(--red-dark) center / cover no-repeat; color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60,6,4,.82) 0%, rgba(90,10,6,.55) 55%, rgba(90,10,6,.15) 100%); }
.hero .wrap { position: relative; min-height: 540px; display: flex; flex-direction: column; justify-content: center; padding-top: 60px; padding-bottom: 60px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 66px); margin-bottom: 6px; }
.hero p { font-size: clamp(19px, 2.2vw, 24px); margin: 0 0 30px; color: #fbe3df; }
@media (max-width: 640px) { .hero .wrap { min-height: 420px; } }

/* Page banner */
.page-banner { position: relative; background: var(--red-dark) center / cover no-repeat; color: #fff; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(60,6,4,.8), rgba(90,10,6,.35)); }
.page-banner .wrap { position: relative; padding-top: 84px; padding-bottom: 72px; }
.page-banner h1 { color: #fff; font-size: clamp(32px, 4.6vw, 50px); margin: 0; }
.page-banner p { color: #fbe3df; margin: 8px 0 0; font-size: 19px; max-width: 700px; }

/* Sections */
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.section.alt { background: var(--paper-2); }
.section.blush { background: var(--blush); }
.section.red { background: var(--red); color: #fde7e3; }
.section.red h2 { color: #fff; }
.section-title { font-size: clamp(28px, 3.4vw, 38px); }
.section-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--red-soft); margin-top: 14px; }
.center { text-align: center; }
.center .section-title::after { margin-left: auto; margin-right: auto; }
.lead { font-size: 20px; color: var(--ink); }
.prose p { margin: 0 0 1.05em; }
.prose ul { margin: 0 0 1.1em; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose h2 { font-size: 28px; margin-top: 1.4em; }
.prose h3 { font-size: 22px; margin-top: 1.3em; }
.prose > :first-child { margin-top: 0; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split.top { align-items: start; }
.split img { width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.pull { border-left: 4px solid var(--red); background: var(--blush); padding: 16px 20px; border-radius: 0 8px 8px 0; color: var(--ink); font-size: 18px; }

/* Topic cards */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.topic { background: var(--paper); border-radius: 12px; padding: 34px 28px; box-shadow: 0 4px 20px rgba(137,8,7,.08); text-align: center; display: flex; flex-direction: column; align-items: center; }
.topic img { height: 96px; width: auto; margin-bottom: 18px; }
.topic h3 { font-size: 24px; }
.topic p { margin: 0 0 18px; flex: 1; }
@media (max-width: 860px) { .topics { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Doctor block */
.doctor img.photo { border-radius: 12px; }
.partner { display: flex; align-items: center; gap: 18px; margin: 24px 0; }
.partner img { height: 46px; width: auto; }
.partner span { font-size: 15px; color: var(--muted); }

/* Reviews */
.reviews-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--paper); border-radius: 12px; padding: 30px 34px; box-shadow: 0 4px 20px rgba(137,8,7,.08); }
.stars { color: #f2a400; font-size: 28px; letter-spacing: 3px; line-height: 1; }
.reviews-cta h2 { font-size: 26px; margin-bottom: 4px; }
.reviews-cta p { margin: 0; }
@media (max-width: 760px) { .reviews-cta { grid-template-columns: 1fr; text-align: center; } }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 16px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--red); color: #fff; font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
td.price { white-space: nowrap; font-weight: 700; color: var(--ink); text-align: right; }
.sym-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sym { background: var(--paper); border-radius: 10px; border-top: 4px solid var(--red); box-shadow: 0 2px 14px rgba(137,8,7,.06); padding: 22px 22px 14px; }
.sym h3 { font-size: 19px; margin-bottom: 2px; }
.sym .src { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.sym ul { margin: 0; padding-left: 20px; font-size: 15.5px; }
.sym li { margin-bottom: 4px; }
@media (max-width: 900px) { .sym-grid { grid-template-columns: 1fr; } }

/* Video */
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .videos { grid-template-columns: 1fr; } }

/* Downloads / reading */
.doc-list { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; }
.doc-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); }
.doc-list a:hover { border-color: var(--red); }
.doc-list strong { display: block; font-size: 17px; }
.doc-list small { color: var(--muted); font-size: 14px; }
.tag { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); background: var(--blush); padding: 4px 10px; border-radius: 30px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
form label, form legend { display: block; font-weight: 700; font-size: 15px; margin: 0 0 6px; color: var(--ink); }
form .req { color: var(--red); }
form input[type=text], form input[type=email], form input[type=tel], form input[type=date], form textarea { width: 100%; padding: 12px; border: 1px solid #d8cbc9; border-radius: 8px; font: inherit; font-size: 16px; margin-bottom: 18px; background: var(--paper); color: var(--ink); }
form input:focus, form textarea:focus { outline: 2px solid #f0b8b0; border-color: var(--red); }
form textarea { min-height: 140px; resize: vertical; }
form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; margin-bottom: 8px !important; }
.check input { margin-top: 5px; accent-color: var(--red); }
.checks { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.form-note { font-size: 14.5px; color: var(--muted); margin: 12px 0 0; }
.contact-box { background: var(--paper-2); border-radius: 12px; padding: 28px; }
.contact-box h3 { font-family: inherit; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.contact-box p { margin: 0 0 20px; color: var(--ink); }
.map { margin-top: 24px; border-radius: 12px; overflow: hidden; }
.map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Health check survey */
.survey-intro { max-width: 820px; }
.q-group { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px 8px; margin-bottom: 20px; }
.q-group h2 { font-size: 22px; margin-bottom: 12px; }
.q { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.q:first-of-type { border-top: 0; }
.q .label { color: var(--ink); }
.yn { display: flex; gap: 6px; }
.yn input { position: absolute; opacity: 0; pointer-events: none; }
.yn label { margin: 0; font-weight: 600; font-size: 14px; padding: 6px 14px; border: 1px solid #d8cbc9; border-radius: 30px; cursor: pointer; user-select: none; }
.yn input:checked + label { background: var(--red); border-color: var(--red); color: #fff; }
.yn input:focus-visible + label { outline: 2px solid #f0b8b0; }
@media (max-width: 520px) { .q { grid-template-columns: 1fr; gap: 8px; } }

/* Footer */
.site-footer { background: #2a1513; color: #d9c6c3; padding: 50px 0 24px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 54px; width: auto; margin-bottom: 14px; }
.site-footer h4 { font-family: inherit; color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: #f4e9e7; text-decoration: none; }
.site-footer a:hover { color: #f3a99f; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer p { margin: 0 0 8px; }
.footer-bottom { border-top: 1px solid #47302d; margin-top: 30px; padding-top: 18px; font-size: 14px; color: #ae9894; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
