:root {
  --bg: #f7fbfa;
  --ink: #163832;
  --muted: #607771;
  --brand: #0f8e7b;
  --brand-dark: #0b5f57;
  --gold: #d59b3b;
  --line: #dbe9e6;
  --panel: #ffffff;
  --shadow: 0 24px 60px rgba(18, 56, 50, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: .8rem 1rem;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 251, 250, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.notice {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem;
  color: white;
  background: var(--brand-dark);
  font-size: .9rem;
}
.notice span {
  background: var(--gold);
  color: #211708;
  padding: .15rem .5rem;
  border-radius: 999px;
  font-weight: 800;
}
.notice a { text-decoration: underline; text-underline-offset: 3px; }
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: .78rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-weight: 900;
}
.brand small { display: block; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: .85rem; color: var(--muted); font-size: .92rem; white-space: nowrap; }
.nav-links a:hover { color: var(--brand-dark); }
.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .8rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}
.nav-cta, .btn.primary { background: var(--brand); color: white; box-shadow: 0 12px 24px rgba(15, 142, 123, .22); }
.btn.ghost { border-color: var(--line); background: white; color: var(--ink); }
.nav-toggle { display: none; }

.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.25rem 1rem 3.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: 2.5rem;
  align-items: center;
}
.eyebrow {
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}
.hero h1,
.section h2,
.section-grid h2,
.pricing h2 {
  margin: .2rem 0 1rem;
  font-size: clamp(2.4rem, 5.4vw, 5.2rem);
  line-height: .92;
  letter-spacing: 0;
}
.hero h1 span { display: block; color: var(--brand); }
.hero p { color: var(--muted); font-size: 1.1rem; line-height: 1.7; max-width: 620px; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-media {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(9, 44, 39, .62));
}
.floating-card {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  width: min(260px, calc(100% - 2.5rem));
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.floating-card strong,
.floating-card span { display: block; }
.floating-card span { color: var(--muted); margin-top: .25rem; }
.rating-strip {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
}
.rating-strip div,
.metrics strong,
.pricing li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .95rem;
}
.rating-strip strong,
.rating-strip span { display: block; }
.rating-strip strong { font-size: 1.4rem; }
.rating-strip span { color: var(--muted); font-size: .82rem; line-height: 1.35; }

.ticker {
  overflow: hidden;
  padding: 1rem 0;
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: white;
}
.ticker div {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll 42s linear infinite;
}
.ticker span { white-space: nowrap; font-weight: 800; }
.ticker span::after { content: " ✦"; color: var(--gold); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section,
.section-grid,
.pricing,
.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1rem;
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}
.section h2,
.section-grid h2,
.pricing h2 { font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; }
.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}
.section-heading p { max-width: 650px; color: var(--muted); line-height: 1.65; }
.section-heading .eyebrow { margin-bottom: .35rem; }
.section-heading .text-link { margin-top: .65rem; }
.text-link { color: var(--brand); font-weight: 900; }
.about h3 { color: var(--brand-dark); font-size: 1.45rem; }
.about p,
.transform p,
.pricing p,
.locations p { color: var(--muted); line-height: 1.75; }
.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.5rem;
}
.mini-stats span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .6rem .85rem;
  font-weight: 800;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.gallery-grid img {
  height: 230px;
  width: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 16px 35px rgba(18, 56, 50, .12);
}
.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3) { transform: translateY(2rem); }

.treatment-grid,
.doctor-grid,
.review-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.treatment-grid article,
.doctor-grid article,
.review-grid article,
.article-grid article,
.branch-card,
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 16px 38px rgba(18, 56, 50, .07);
}
.treatment-grid article { min-height: 172px; }
.treatment-grid small,
.article-grid small { color: var(--brand); font-weight: 900; }
.treatment-grid h3,
.doctor-grid h3,
.review-grid h3,
.article-grid h3,
.branch-card h3 { margin-bottom: .4rem; }
.treatment-grid p,
.doctor-grid p,
.review-grid p,
.article-grid p { color: var(--muted); line-height: 1.55; }
.doctor-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 14px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 2rem;
}
.metrics strong { font-size: 1.7rem; }
.metrics span { display: block; color: var(--muted); font-size: .86rem; font-weight: 700; margin-top: .3rem; }
.before-after {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.before-after img { width: 100%; height: 450px; object-fit: cover; }
.label {
  position: absolute;
  top: 1rem;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: white;
  font-weight: 900;
}
.label.after { right: 1rem; color: var(--brand); }
.label.before { left: 1rem; color: #8a5332; }

.pricing {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  background: var(--ink);
  color: white;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
}
.pricing p { color: rgba(255,255,255,.72); }
.pricing ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.pricing li {
  color: var(--ink);
  font-weight: 900;
}
.review-grid span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f4f1;
  color: var(--brand);
  font-weight: 900;
}
.faq-list {
  display: grid;
  gap: .8rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1.05rem;
}
.faq-list p { color: var(--muted); line-height: 1.6; }
.branch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}
.branch-tabs button,
.nav-toggle {
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 999px;
  padding: .8rem 1rem;
  font-weight: 900;
  cursor: pointer;
}
.branch-tabs button.active { background: var(--brand); color: white; border-color: var(--brand); }
.status { color: var(--brand) !important; font-weight: 900; }

.footer {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
}
.footer h2,
.footer h3 { margin-top: 0; }
.footer a,
.footer p { display: block; color: var(--muted); margin: .5rem 0; }
.footer a:hover { color: var(--brand); }

.services-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4.5rem 1rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: 2.75rem;
  align-items: center;
}
.services-hero h1 {
  margin: .4rem 0 1rem;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: .96;
}
.services-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}
.services-hero figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: white;
}
.services-hero figure img {
  width: 100%;
  min-height: 500px;
  object-fit: cover;
}
.services-hero figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.92);
  border-radius: 14px;
  font-weight: 900;
  color: var(--ink);
}
.breadcrumb {
  display: flex;
  gap: .5rem;
  align-items: center;
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: var(--brand); font-weight: 800; }
.breadcrumb span::before {
  content: "/";
  margin-right: .5rem;
  color: var(--line);
}
.credential-row,
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.5rem;
}
.credential-row span,
.filter-pills span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .65rem .9rem;
  font-weight: 900;
  color: var(--ink);
}
.service-card-grid,
.clinic-grid,
.page-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.service-card-grid article,
.clinic-grid article,
.page-card-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 16px 38px rgba(18, 56, 50, .07);
}
.service-card-grid small,
.clinic-grid small,
.page-card-grid small {
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .72rem;
}
.service-card-grid p,
.clinic-grid p,
.page-card-grid p {
  color: var(--muted);
  line-height: 1.58;
}
.service-card-grid strong,
.service-card-grid span,
.clinic-grid strong {
  display: block;
}
.service-card-grid strong { color: var(--ink); margin-top: 1rem; }
.service-card-grid span { color: var(--muted); font-size: .9rem; margin-top: .2rem; }
.symptom-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: 0 16px 38px rgba(18, 56, 50, .07);
}
.symptom-table div {
  display: grid;
  grid-template-columns: 1.15fr .9fr .5fr;
  gap: .8rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.symptom-table div:last-child { border-bottom: 0; }
.symptom-table div:first-child {
  background: #e8f4f1;
  color: var(--ink);
}
.symptom-table span { color: var(--muted); }
.symptom-table a { color: var(--brand); font-weight: 900; }
.booking-band {
  max-width: 1180px;
  margin: 2rem auto 4rem;
  padding: 2rem;
  border-radius: 24px;
  background: var(--ink);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.booking-band h2 { margin: 0 0 .4rem; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1; }
.booking-band p { margin: 0; color: rgba(255,255,255,.72); }
.content-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 4.5rem 1rem;
}
.content-page h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: .98;
  margin: .5rem 0 1rem;
}
.content-page .lead {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.75;
}
.content-block {
  margin-top: 2rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 16px 38px rgba(18, 56, 50, .07);
}
.content-block h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 0; }
.content-block p,
.content-block li { color: var(--muted); line-height: 1.7; }
.content-block table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.content-block th,
.content-block td {
  text-align: left;
  padding: .85rem;
  border-bottom: 1px solid var(--line);
}
.content-block th { color: var(--ink); background: #e8f4f1; }

@media (max-width: 1120px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 980px) {
  .hero,
  .services-hero,
  .section-grid,
  .pricing,
  .footer { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .hero-media,
  .hero-media img { min-height: 420px; }
  .treatment-grid,
  .doctor-grid,
  .review-grid,
  .article-grid,
  .service-card-grid,
  .clinic-grid,
  .page-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .notice { align-items: flex-start; text-align: center; flex-wrap: wrap; }
  .brand small { display: none; }
  .hero h1 { font-size: 2.75rem; }
  .rating-strip,
  .metrics,
  .pricing ul,
  .treatment-grid,
  .doctor-grid,
  .review-grid,
  .article-grid,
  .service-card-grid,
  .clinic-grid,
  .page-card-grid,
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img:nth-child(2),
  .gallery-grid img:nth-child(3) { transform: none; }
  .hero-media,
  .hero-media img,
  .services-hero figure img,
  .before-after img { min-height: 340px; height: 340px; }
  .hero-actions .btn { width: 100%; }
  .symptom-table div { grid-template-columns: 1fr; }
  .booking-band { flex-direction: column; align-items: stretch; border-radius: 0; margin-bottom: 0; }
  .section,
  .services-hero,
  .section-grid,
  .pricing,
  .footer { padding-block: 3.25rem; }
}
