:root {
  --ink: #17235c;
  --body: #2c3448;
  --muted: #656b78;
  --line: #eadfcf;
  --paper: #fffaf2;
  --soft: #fff2dc;
  --cream: #fff7ea;
  --navy: #17235c;
  --navy-deep: #112238;
  --blue: #538eac;
  --gold: #f7ac2d;
  --gold-dark: #be8a2c;
  --magenta: #9b1b61;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(23, 35, 92, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: "DM Sans", "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 250, 242, 0.95);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 64px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.brand-wordmark {
  border-left: 5px solid var(--gold);
  display: block;
  padding-left: 14px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 14px;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.main-nav a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--gold-dark);
}

.hero {
  min-height: min(760px, calc(100vh - 76px));
  overflow: hidden;
  position: relative;
}

.hero-image {
  height: 100%;
  inset: 0;
  min-height: min(760px, calc(100vh - 76px));
  object-fit: cover;
  object-position: 68% center;
  position: absolute;
  width: 100%;
}

.hero::after {
  background: linear-gradient(90deg, rgba(23, 35, 92, 0.86) 0%, rgba(23, 35, 92, 0.58) 42%, rgba(23, 35, 92, 0.06) 78%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-overlay {
  color: var(--white);
  max-width: 690px;
  padding: clamp(82px, 13vw, 150px) clamp(20px, 5vw, 64px) 90px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 6.4vw, 72px);
  line-height: 1;
  margin: 0;
  max-width: 760px;
}

.hero-copy {
  font-size: clamp(18px, 2.2vw, 23px);
  margin: 24px 0 0;
  max-width: 620px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button.primary {
  background: var(--gold);
  color: #271706;
}

.button.primary:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.48);
  color: var(--white);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button.secondary.dark {
  background: transparent;
  border-color: var(--gold);
  color: var(--navy);
}

.button.secondary.dark:hover {
  background: var(--soft);
}

.button.secondary.light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.quick-info {
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -48px auto 0;
  max-width: 1120px;
  position: relative;
  z-index: 5;
}

.quick-info article {
  background: linear-gradient(180deg, var(--white) 0%, #fff8ed 100%);
  padding: 24px;
}

.quick-info span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.quick-info strong {
  display: block;
  font-size: 18px;
}

.section {
  padding: clamp(66px, 8vw, 110px) clamp(20px, 5vw, 64px);
}

.two-column {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  margin: 0 auto;
  max-width: 1120px;
}

.section h2 {
  color: var(--navy);
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  margin: 0;
}

.rich-text p,
.location-grid p,
.contact-band p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 18px;
}

.muted {
  background: linear-gradient(180deg, var(--soft) 0%, #fffaf2 100%);
}

.section-heading {
  margin: 0 auto 34px;
  max-width: 1120px;
}

.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1120px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 35, 92, 0.06);
  padding: 24px;
}

.service-card h3 {
  color: var(--navy);
  font-size: 21px;
  line-height: 1.18;
  margin: 0 0 12px;
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
}

.service-card h3 a:hover {
  color: var(--gold-dark);
}

.service-card p {
  color: var(--muted);
  margin: 0;
}

.section-cta {
  margin: 28px auto 0;
  max-width: 1120px;
}

.text-link {
  color: var(--gold-dark);
  font-weight: 800;
}

.location-grid {
  align-items: stretch;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin: 0 auto;
  max-width: 1120px;
}

.map-panel {
  background: var(--navy);
  border-radius: 8px;
  color: var(--white);
  display: grid;
  gap: 10px;
  padding: 30px;
}

.location-photo {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  display: block;
  margin-bottom: 10px;
  object-fit: cover;
  width: 100%;
}

.map-panel strong {
  color: var(--gold);
  font-size: 23px;
}

.image-split {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  margin: 0 auto;
  max-width: 1120px;
}

.image-split p {
  color: var(--muted);
  font-size: 18px;
}

.image-frame {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.image-frame img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.patient-section {
  background:
    linear-gradient(135deg, rgba(247, 172, 45, 0.18), rgba(155, 27, 97, 0.08)),
    var(--navy);
  color: var(--white);
}

.patient-card {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  margin: 0 auto;
  max-width: 1120px;
}

.patient-card h2 {
  color: var(--white);
}

.patient-card p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  margin: 18px 0 0;
}

.patient-actions {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 24px;
}

.patient-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.trust-section {
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.contact-band {
  align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 74%);
  color: var(--white);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(44px, 6vw, 72px) clamp(20px, 5vw, 64px);
}

.contact-band p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-band h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
}

.site-footer {
  align-items: center;
  background: #0f1a35;
  color: var(--white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 64px);
}

.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

.service-hero {
  background: linear-gradient(135deg, rgba(255, 242, 220, 0.96), rgba(255, 250, 242, 0.72));
  display: grid;
  gap: clamp(28px, 5vw, 66px);
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  padding: clamp(62px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.service-hero-content {
  max-width: 760px;
}

.breadcrumb {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--gold-dark);
  text-decoration: none;
}

.service-hero h1 {
  color: var(--navy);
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 1;
  margin: 0;
}

.service-intro {
  color: var(--body);
  font-size: clamp(18px, 2.1vw, 22px);
  margin: 24px 0 0;
}

.service-hero-media {
  align-self: stretch;
  border-radius: 8px;
  box-shadow: var(--shadow);
  min-height: 360px;
  overflow: hidden;
}

.service-hero-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.service-body {
  margin: 0 auto;
  max-width: 1120px;
  padding: clamp(62px, 8vw, 104px) clamp(20px, 5vw, 64px);
}

.service-layout {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
}

.service-content h2 {
  color: var(--navy);
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  margin: 0 0 18px;
}

.service-content h3 {
  color: var(--navy);
  font-size: 24px;
  margin: 32px 0 10px;
}

.service-content p {
  color: var(--body);
  font-size: 18px;
  margin: 0 0 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 22px 0 30px;
  padding: 0;
}

.check-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--body);
  padding: 14px 16px;
}

.content-block {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 34px 0;
  padding: clamp(20px, 3vw, 28px);
}

.content-block h3 {
  margin-top: 0;
}

.treatment-steps {
  counter-reset: treatment-step;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.treatment-steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: treatment-step;
  padding: 16px 18px 16px 58px;
  position: relative;
}

.treatment-steps li::before {
  align-items: center;
  background: var(--navy);
  border-radius: 50%;
  color: var(--white);
  content: counter(treatment-step);
  display: inline-flex;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  left: 16px;
  position: absolute;
  top: 17px;
  width: 30px;
}

.treatment-steps strong {
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.cost-note {
  background: var(--cream);
  border-left: 5px solid var(--gold);
}

.local-note {
  background: linear-gradient(180deg, rgba(83, 142, 172, 0.1), rgba(255, 255, 255, 0.78));
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.inline-links a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}

.inline-links a:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px 16px;
}

.faq-list summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  color: var(--muted);
  margin: 12px 0 0;
}

.service-aside {
  display: grid;
  gap: 16px;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(23, 35, 92, 0.06);
  padding: 22px;
}

.info-box h2,
.info-box h3 {
  color: var(--navy);
  font-size: 22px;
  margin: 0 0 12px;
}

.info-box p,
.info-box li {
  color: var(--muted);
}

.info-box ul {
  margin: 0;
  padding-left: 20px;
}

.related-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 26px;
}

.related-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  text-decoration: none;
}

.related-card strong {
  color: var(--navy);
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
}

.related-card span {
  color: var(--muted);
  display: block;
}

.related-card:hover strong {
  color: var(--gold-dark);
}

.warm-band {
  background: var(--cream);
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero,
  .hero-image {
    min-height: 720px;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(12, 34, 39, 0.84) 0%, rgba(12, 34, 39, 0.58) 58%, rgba(12, 34, 39, 0.22) 100%);
  }

  .quick-info,
  .two-column,
  .service-grid,
  .location-grid,
  .patient-card,
  .contact-band,
  .service-hero,
  .service-layout,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .quick-info {
    margin: 0;
  }

  .image-split,
  .contact-actions {
    width: 100%;
  }

  .image-split {
    grid-template-columns: 1fr;
  }

  .contact-actions .button {
    width: 100%;
  }

  .service-hero-media {
    min-height: 280px;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section h2 {
    font-size: 30px;
  }
}
