:root {
  --ink: #102c3b;
  --muted: #536b77;
  --blue: #0a6e8a;
  --blue-deep: #064b64;
  --teal: #12a89d;
  --teal-soft: #e8f7f5;
  --gold: #d9a441;
  --cream: #f7f5ef;
  --white: #ffffff;
  --line: #dce6e9;
  --shadow: 0 22px 65px rgba(16, 44, 59, 0.12);
  --radius: 24px;
  --content: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 98px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.8rem, 6.2vw, 5.8rem); }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.65rem); }
h3 { margin-bottom: 12px; font-size: 1.28rem; }

.lede {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.26rem);
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible { outline: 3px solid rgba(18, 168, 157, .35); outline-offset: 3px; }
.button-primary { color: var(--white); background: var(--blue-deep); box-shadow: 0 12px 28px rgba(6, 75, 100, .22); }
.button-primary:hover { background: #043f55; }
.button-secondary { color: var(--ink); background: rgba(255,255,255,.88); border-color: rgba(16,44,59,.18); }
.button-secondary:hover { background: var(--white); box-shadow: 0 12px 26px rgba(16,44,59,.1); }
.button-teal { color: #073c3b; background: #bceee9; }

.topbar {
  color: #dff5f4;
  background: var(--blue-deep);
  font-size: .83rem;
}
.topbar .container { display: flex; min-height: 36px; align-items: center; justify-content: space-between; gap: 18px; }
.topbar p { margin: 0; }
.topbar a { font-weight: 750; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255,255,255,.93);
  border-bottom: 1px solid rgba(220,230,233,.8);
  backdrop-filter: blur(16px);
}
.header-inner { display: grid; grid-template-columns: 260px 1fr auto; min-height: 82px; align-items: center; gap: 28px; }
.brand img { width: 260px; height: auto; }
.site-nav { display: flex; justify-content: center; gap: 28px; }
.site-nav a { color: #294654; font-size: .92rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-switch { display: flex; padding: 3px; background: #eef3f4; border-radius: 999px; }
.language-switch button {
  width: 38px;
  height: 34px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  cursor: pointer;
}
.language-switch button[aria-pressed="true"] { color: var(--ink); background: var(--white); box-shadow: 0 3px 10px rgba(16,44,59,.1); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #e9efef url("./images/hero-clinic.png") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,245,239,.99) 0%, rgba(247,245,239,.94) 38%, rgba(247,245,239,.34) 65%, rgba(247,245,239,0) 100%);
}
.hero .container { position: relative; display: flex; min-height: 720px; align-items: center; padding-block: 90px; }
.hero-copy { width: min(650px, 60%); }
.hero h1 span { color: var(--blue); }
.hero .lede { margin-bottom: 32px; color: #3f5966; }
.hero-note { display: flex; gap: 12px; align-items: flex-start; max-width: 570px; margin-top: 28px; color: var(--muted); font-size: .86rem; }
.hero-note::before { content: ""; flex: 0 0 9px; width: 9px; height: 9px; margin-top: 7px; background: var(--teal); border-radius: 50%; box-shadow: 0 0 0 6px rgba(18,168,157,.12); }

.trust-strip { position: relative; z-index: 3; margin-top: -40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.trust-item { min-height: 112px; padding: 27px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong { display: block; margin-bottom: 4px; font-size: .97rem; }
.trust-item span { color: var(--muted); font-size: .84rem; }

.section { padding-block: 112px; }
.section-soft { background: #f4f8f8; }
.section-cream { background: var(--cream); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.section-heading > div { max-width: 720px; }
.section-heading p:last-child { margin-bottom: 0; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  position: relative;
  min-height: 320px;
  padding: 30px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .24s ease, box-shadow .24s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 46px rgba(16,44,59,.1); }
.service-number { display: inline-grid; width: 44px; height: 44px; margin-bottom: 54px; place-items: center; color: var(--blue); background: var(--teal-soft); border-radius: 14px; font-size: .78rem; font-weight: 850; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }
.service-card::after { content: ""; position: absolute; right: -26px; bottom: -34px; width: 120px; height: 120px; background: radial-gradient(circle, rgba(18,168,157,.18), transparent 65%); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.photo-panel { position: relative; min-height: 540px; overflow: hidden; background: url("./images/hero-clinic.png") 70% center / cover no-repeat; border-radius: 34px; box-shadow: var(--shadow); }
.photo-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,75,100,.32), transparent 45%); }
.photo-caption { position: absolute; z-index: 2; right: 22px; bottom: 22px; left: 22px; padding: 18px 20px; color: var(--white); background: rgba(6,75,100,.82); border: 1px solid rgba(255,255,255,.28); border-radius: 18px; backdrop-filter: blur(10px); }
.photo-caption strong { display: block; }
.photo-caption span { font-size: .84rem; opacity: .86; }
.check-list { display: grid; gap: 15px; margin: 30px 0 34px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; color: #34515e; }
.check-list li::before { content: "✓"; position: absolute; left: 0; display: grid; width: 23px; height: 23px; place-items: center; color: #075c58; background: #c9f0ec; border-radius: 50%; font-size: .76rem; font-weight: 900; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { counter-increment: step; padding: 34px; background: var(--white); border-radius: var(--radius); }
.step::before { content: "0" counter(step); display: block; margin-bottom: 36px; color: var(--teal); font-size: .82rem; font-weight: 850; letter-spacing: .12em; }
.step p { margin-bottom: 0; color: var(--muted); }

.provider-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.provider-card { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.provider-avatar { display: grid; width: 132px; height: 150px; place-items: center; color: var(--white); background: linear-gradient(145deg, var(--blue), var(--teal)); border-radius: 20px; font-size: 2.2rem; font-weight: 800; }
.provider-photo { width: 240px; height: 260px; object-fit: cover; object-position: center 20%; border-radius: 20px; box-shadow: 0 14px 34px rgba(16,44,59,.14); }
.provider-card p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }

.review-intro { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; margin-bottom: 34px; }
.review-score { display: flex; align-items: center; gap: 16px; min-width: 240px; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 36px rgba(16,44,59,.08); }
.review-score strong { color: var(--blue-deep); font-size: 2.25rem; line-height: 1; }
.review-score span { display: block; color: var(--muted); font-size: .82rem; }
.review-stars { color: var(--gold); font-size: 1rem; letter-spacing: .12em; }
.review-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.review-card { grid-column: span 4; min-height: 230px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(16,44,59,.06); }
.review-card:nth-last-child(-n+2) { grid-column: span 6; }
.review-card blockquote { margin: 26px 0 34px; color: var(--ink); font-size: 1.18rem; font-weight: 650; line-height: 1.45; }
.review-card footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .82rem; }
.review-card cite { color: var(--ink); font-style: normal; font-weight: 750; }
.google-mark { display: inline-grid; width: 34px; height: 34px; place-items: center; color: #4285f4; background: #f5f8ff; border-radius: 50%; font-weight: 900; }
.reviews-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; color: var(--muted); font-size: .86rem; }
.reviews-footer p { max-width: 720px; margin: 0; }
.review-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 46px; align-items: center; padding: 56px; color: var(--white); background: var(--blue-deep); border-radius: 32px; }
.review-panel h2 { margin-bottom: 14px; }
.review-panel p { max-width: 650px; margin-bottom: 0; color: #cde4e9; }
.review-actions { display: flex; justify-content: flex-end; }

.insurance-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.insurance-list li { padding: 9px 14px; color: #34515e; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 700; }

.visit-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 24px; }
.visit-card { padding: 42px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.visit-card address { margin-bottom: 24px; color: var(--muted); font-style: normal; }
.hours { display: grid; gap: 10px; margin: 26px 0 0; }
.hours div { display: flex; justify-content: space-between; gap: 25px; padding-bottom: 10px; color: var(--muted); border-bottom: 1px solid var(--line); }
.hours strong { color: var(--ink); }
.map-embed-card { position: relative; min-height: 480px; overflow: hidden; background: #dbe7e8; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.map-embed-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-overlay { position: absolute; z-index: 2; right: 22px; bottom: 22px; left: 22px; max-width: 430px; padding: 24px; background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.72); border-radius: 20px; box-shadow: 0 18px 48px rgba(16,44,59,.2); backdrop-filter: blur(12px); }
.map-overlay h3 { margin-bottom: 8px; }
.map-overlay p { margin-bottom: 18px; color: var(--muted); font-size: .9rem; }
.map-wide { min-height: 540px; }

.notice { padding: 22px 24px; color: #334c58; background: #fff9e8; border: 1px solid #ead8a9; border-radius: 16px; font-size: .91rem; }
.notice strong { color: #614a10; }

.page-hero { padding: 92px 0 78px; background: linear-gradient(135deg, var(--cream), #e8f4f4); }
.page-hero h1 { max-width: 900px; font-size: clamp(2.6rem, 5.5vw, 5rem); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 64px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 54px; font-size: 2rem; }
.prose h3 { margin-top: 34px; }
.prose p, .prose li { color: var(--muted); }
.sidebar-card { position: sticky; top: 126px; padding: 28px; background: var(--cream); border-radius: 20px; }
.sidebar-card .button { width: 100%; margin-top: 12px; }

.faq { display: grid; gap: 12px; }
.faq details { padding: 20px 22px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { font-weight: 750; cursor: pointer; }
.faq p { margin: 14px 0 0; color: var(--muted); }

.site-footer { padding: 68px 0 112px; color: #d9e8eb; background: #0b2938; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 72px; }
.footer-brand img { width: 260px; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: .94; }
.site-footer p { color: #aac2c8; }
.site-footer h3 { color: var(--white); font-size: 1rem; letter-spacing: 0; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #c8dce0; text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 24px; color: #91acb3; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }

.mobile-cta { display: none; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .header-inner { grid-template-columns: 225px 1fr auto; }
  .brand img { width: 225px; }
  .site-nav { gap: 18px; }
  .header-actions .button { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .provider-card { grid-template-columns: 200px 1fr; }
  .provider-photo { width: 200px; height: 230px; }
  .provider-avatar { width: 95px; height: 118px; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar p:last-child { display: none; }
  .header-inner { grid-template-columns: 1fr auto auto; min-height: 72px; gap: 10px; }
  .brand img { width: 210px; }
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 108px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .hero { min-height: 780px; background-position: 64% top; }
  .hero::before { background: linear-gradient(0deg, rgba(247,245,239,1) 0%, rgba(247,245,239,.97) 43%, rgba(247,245,239,.2) 77%, rgba(247,245,239,0) 100%); }
  .hero .container { min-height: 780px; align-items: flex-end; padding-block: 330px 64px; }
  .hero-copy { width: 100%; }
  .trust-strip { margin-top: 0; padding-top: 18px; }
  .section { padding-block: 82px; }
  .section-heading, .split, .review-intro, .review-panel, .visit-grid, .content-grid { grid-template-columns: 1fr; }
  .section-heading { display: grid; margin-bottom: 38px; }
  .split { gap: 40px; }
  .photo-panel { min-height: 430px; }
  .steps { grid-template-columns: 1fr; }
  .provider-grid { grid-template-columns: 1fr; }
  .review-card, .review-card:nth-last-child(-n+2) { grid-column: span 6; }
  .review-actions { justify-content: flex-start; }
  .reviews-footer { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .footer-brand { grid-column: 1 / -1; }
  .sidebar-card { position: static; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 28px), var(--content)); }
  .brand img { width: 178px; }
  .language-switch { display: none; }
  h1 { font-size: 2.65rem; }
  .hero { min-height: 740px; }
  .hero .container { min-height: 740px; padding-top: 300px; }
  .button-row { align-items: stretch; }
  .button-row .button { width: 100%; }
  .trust-grid, .service-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .provider-card { grid-template-columns: 1fr; }
  .provider-photo { width: 100%; height: 360px; }
  .provider-avatar { width: 100%; height: 130px; }
  .review-panel, .visit-card { padding: 32px 26px; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card, .review-card:nth-last-child(-n+2) { grid-column: auto; min-height: 0; }
  .review-score { min-width: 0; }
  .map-overlay { right: 14px; bottom: 14px; left: 14px; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .mobile-cta {
    position: fixed;
    z-index: 60;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(16,44,59,.22);
    backdrop-filter: blur(12px);
  }
  .mobile-cta .button { min-height: 46px; padding: 0 12px; font-size: .84rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
