:root {
  --teal: #0b5557;
  --teal-dark: #063638;
  --mint: #b9dfd4;
  --ink: #153536;
  --muted: #637574;
  --paper: #f4f7f5;
  --white: #fff;
  --line: #d5e0dc;
  --max: 1160px;
  --sans: Arial, Helvetica, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 90px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(6,54,56,.96); }
.nav-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.brand small { margin-top: 5px; color: var(--mint); font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { color: #fff; text-decoration: none; font-size: 13px; }
.nav-cta { padding: 9px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 4px; }
.menu-button { display: none; border: 0; background: none; color: #fff; padding: 8px; }
.menu-button i { display: block; width: 24px; height: 2px; margin: 5px 0; background: currentColor; }

.hero { min-height: 760px; display: flex; align-items: center; color: #fff; background: url("images/clinic-consultation-hero.webp") center/cover no-repeat; }
.hero-content { padding-top: 80px; }
.hero-content > * { max-width: 690px; }
.eyebrow { margin: 0 0 16px; color: var(--mint); font-size: 11px; font-weight: bold; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.dark { color: var(--teal); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.05; }
h1 { font-size: clamp(54px, 7vw, 88px); }
h1 em { display: block; color: var(--mint); font-weight: 400; }
h2 { font-size: clamp(40px, 5vw, 61px); }
.hero-text { margin: 24px 0 0; color: rgba(255,255,255,.8); font-size: 17px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 20px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; font-size: 11px; font-weight: bold; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.button-primary { background: var(--mint); color: var(--teal-dark); }
.button-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.hero-facts { display: flex; gap: 36px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.3); }
.hero-facts div { display: grid; min-width: 130px; }
.hero-facts strong { color: var(--mint); font-family: var(--serif); font-size: 21px; }
.hero-facts span { color: rgba(255,255,255,.65); font-size: 8px; text-transform: uppercase; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 45px; }
.section-heading > div { max-width: 720px; }
.section-heading > p { max-width: 380px; margin: 0; color: var(--muted); }
.info-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.info-cards article { padding: 30px; border: 1px solid var(--line); background: #fff; }
.info-cards span { color: var(--teal); font-size: 11px; }
.info-cards h3 { margin: 26px 0 10px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.info-cards p { margin: 0; color: var(--muted); }

.consultation { background: #fff; }
.consultation-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.consultation-grid img { width: 100%; min-height: 530px; object-fit: cover; }
.consultation-grid p { color: var(--muted); }
.consultation-grid ul { margin: 26px 0; padding-left: 20px; }
.consultation-grid li { margin: 8px 0; }
.consultation-grid small { color: var(--muted); }

.appointments { background: var(--teal-dark); color: #fff; }
.appointment-title { max-width: 720px; margin-bottom: 44px; }
.appointments ol { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.appointments li { padding: 24px; border: 1px solid rgba(255,255,255,.2); }
.appointments li > span { color: var(--mint); font-size: 12px; }
.appointments h3 { margin: 25px 0 8px; font-family: var(--serif); font-size: 24px; font-weight: 400; }
.appointments li p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-grid > div > p:not(.eyebrow) { color: var(--muted); }
.about dl { margin: 0; }
.about dl div { display: grid; grid-template-columns: 1fr 1.35fr; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); }
.about dt { color: var(--muted); font-size: 10px; text-transform: uppercase; }
.about dd { margin: 0; font-family: var(--serif); }

.contact { background: var(--teal); color: #fff; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-grid > div > p:not(.eyebrow) { color: rgba(255,255,255,.74); }
.contact-details { margin-top: 35px; }
.contact-details > * { display: grid; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.2); text-decoration: none; }
.contact-details span { color: rgba(255,255,255,.58); font-size: 9px; text-transform: uppercase; }
.contact-details strong { font-family: var(--serif); font-weight: 400; overflow-wrap: anywhere; }
form { padding: 34px; background: #fff; color: var(--ink); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: grid; gap: 7px; margin-bottom: 18px; color: var(--muted); font-size: 9px; text-transform: uppercase; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.form-actions { display: flex; align-items: center; gap: 20px; }
.form-actions a { color: var(--teal); font-size: 11px; font-weight: bold; }
form small { display: block; margin-top: 16px; color: var(--muted); }

.notice { padding: 22px 0; background: #e5efec; color: var(--ink); }
.notice .wrap { display: flex; gap: 12px; }
.notice p { margin: 0; font-size: 13px; }
footer { padding: 45px 0; background: #042627; color: #fff; }
.footer-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; }
.footer-row p { margin: 0; color: rgba(255,255,255,.55); font-size: 9px; text-transform: uppercase; }
.footer-row p:last-child { text-align: right; }

@media (max-width: 900px) {
  nav { position: fixed; inset: 72px 0 auto; display: none; flex-direction: column; padding: 25px 20px; background: var(--teal-dark); }
  nav.open { display: flex; }
  .menu-button { display: block; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .info-cards { grid-template-columns: 1fr; }
  .consultation-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .appointments ol { grid-template-columns: 1fr 1fr; }
  .footer-row { grid-template-columns: 1fr; }
  .footer-row p:last-child { text-align: left; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 30px); }
  .section { padding: 70px 0; }
  .hero { min-height: 790px; background-image: linear-gradient(rgba(6,54,56,.48),rgba(6,54,56,.48)), url("images/clinic-consultation-hero.webp"); background-position: 61% center; }
  h1 { font-size: 50px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-facts { gap: 12px; }
  .hero-facts div { min-width: 0; flex: 1; }
  .hero-facts span { overflow-wrap: anywhere; }
  .consultation-grid { gap: 35px; }
  .consultation-grid img { min-height: 350px; }
  .appointments ol { grid-template-columns: 1fr; }
  .about dl div { grid-template-columns: 1fr; gap: 4px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  form { padding: 25px 20px; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .notice .wrap { display: block; }
}
