:root {
  --ink: #091223;
  --ink-2: #0f172a;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-soft: rgba(255, 255, 255, 0.06);
  --line-dark: rgba(148, 163, 184, 0.18);
  --line: #dbe3ec;
  --soft: #f5f8fb;
  --muted: #718198;
  --muted-dark: #a8b5c7;
  --brand: #2dd4bf;
  --brand-strong: #0d9488;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    #091223;
  background-size: 96px 96px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1368px, calc(100% - 96px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 22px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px 0 22px;
  border: 1px solid rgba(51, 65, 85, 0.62);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 24px 58px rgba(2, 6, 23, 0.26);
  backdrop-filter: blur(24px);
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: invert(1) brightness(5);
}

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

.brand strong {
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0.19em;
}

.brand span span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.86rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--white);
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d9488, #18b8a8);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(13, 148, 136, 0.22);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.44);
}

.mobile-menu {
  display: none;
}

.service-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.service-hero::before,
.service-hero::after {
  position: absolute;
  inset: 0;
  content: "";
}

.service-hero::before {
  z-index: -3;
  background-image: var(--hero-image);
  background-position: var(--hero-position, center);
  background-size: cover;
  transform: scale(1.015);
}

.service-hero::after {
  z-index: -2;
  background:
    radial-gradient(circle at 78% 24%, rgba(45, 212, 191, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(9, 18, 35, 0.96) 0%, rgba(9, 18, 35, 0.86) 42%, rgba(9, 18, 35, 0.42) 100%);
}

.service-hero .container::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 45%, transparent 86%);
}

.hero-inner {
  position: relative;
  width: min(1368px, calc(100% - 96px));
  margin-inline: auto;
  padding: 156px 0 66px;
}

.eyebrow {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 12px 20px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.52);
  color: #dbeafe;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.eyebrow::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.service-hero h1 {
  max-width: 880px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.75rem, 4.9vw, 4.05rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.service-hero .lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted-dark);
  font-size: 1.08rem;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 880px;
  margin-top: 54px;
  background: rgba(148, 163, 184, 0.2);
}

.proof-item {
  min-height: 82px;
  padding: 18px 20px;
  background: rgba(9, 18, 35, 0.76);
}

.proof-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--white);
  font-size: 0.84rem;
}

.proof-item span {
  color: #9fb0c4;
  font-size: 0.78rem;
  line-height: 1.5;
}

.section {
  position: relative;
  padding: 96px 0;
  background: var(--white);
}

.section-soft {
  background: #f6f9fc;
}

.section-dark {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    var(--ink);
  background-size: 96px 96px;
  color: var(--white);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: center;
}

.section-label {
  margin: 0 0 18px;
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.section-dark .section-label {
  color: var(--brand);
}

.section h2 {
  max-width: 850px;
  margin: 0;
  color: var(--ink);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark h2 {
  color: var(--white);
}

.section-intro {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
}

.section-dark .section-intro {
  color: var(--muted-dark);
}

.feature-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
  object-fit: cover;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding: 18px 0 18px 30px;
  border-bottom: 1px solid var(--line);
  color: #334155;
  line-height: 1.58;
}

.check-list li::before {
  position: absolute;
  top: 24px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-strong);
  box-shadow: 0 0 0 8px rgba(13, 148, 136, 0.08);
  content: "";
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.step-card,
.related-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.06);
}

.step-card {
  min-height: 260px;
  padding: 28px;
}

.step-number {
  display: block;
  margin-bottom: 62px;
  color: var(--brand-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.step-card h3,
.related-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.13rem;
  line-height: 1.35;
}

.step-card p,
.related-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.68;
}

.doctor-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 70px;
  align-items: center;
}

.doctor-photo {
  width: 100%;
  max-height: 620px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: #111b2d;
  object-fit: cover;
  object-position: center top;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.28);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  background: var(--line-dark);
}

.fact {
  min-height: 120px;
  padding: 24px;
  background: rgba(9, 18, 35, 0.9);
}

.fact strong {
  display: block;
  color: var(--brand);
  font-size: 1.15rem;
}

.fact span {
  display: block;
  margin-top: 9px;
  color: var(--muted-dark);
  font-size: 0.83rem;
  line-height: 1.52;
}

.faq-list {
  max-width: 940px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 25px 48px 25px 0;
  color: var(--ink);
  font-size: 1.03rem;
  font-weight: 900;
  line-height: 1.45;
}

.faq-list summary::after {
  position: absolute;
  top: 25px;
  right: 4px;
  color: var(--brand-strong);
  content: "+";
  font-size: 1.2rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  max-width: 780px;
  margin: -8px 0 25px;
  color: var(--muted);
  line-height: 1.76;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}

.related-card {
  display: block;
  min-height: 220px;
  padding: 28px;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.related-card:hover {
  border-color: rgba(13, 148, 136, 0.5);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.related-card b {
  display: inline-block;
  margin-top: 28px;
  color: var(--brand-strong);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.medical-note {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.72;
}

.medical-note a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.local-proof {
  margin-top: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.local-proof-panel {
  padding: 34px;
  background: var(--white);
}

.local-proof-panel.dark {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    var(--ink);
  background-size: 72px 72px;
  color: var(--white);
}

.local-proof h3 {
  margin: 0;
  color: inherit;
  font-size: 1.35rem;
  line-height: 1.25;
}

.local-proof p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.68;
}

.local-proof-panel.dark p {
  color: var(--muted-dark);
}

.local-proof-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    #0d9488;
  background-size: 96px 96px;
  color: var(--white);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
}

.cta-band h2 {
  max-width: 820px;
  margin: 0;
  color: var(--white);
  font-size: 2.65rem;
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cta-band p {
  max-width: 700px;
  margin: 17px 0 0;
  color: #ccfbf1;
  line-height: 1.72;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 11px;
  min-width: 240px;
}

.site-footer {
  padding: 62px 0 26px;
  background: #091223;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.75fr;
  gap: 56px;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 1.26rem;
}

.site-footer p,
.site-footer a {
  color: #a8b5c7;
  font-size: 0.88rem;
  line-height: 1.76;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  margin-top: 46px;
  padding-top: 23px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #7f8da0;
  font-size: 0.76rem;
}

@media (max-width: 1100px) {
  .nav-links {
    gap: 18px;
    font-size: 0.68rem;
  }

  .service-hero h1 {
    font-size: clamp(2.55rem, 6vw, 3.35rem);
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
  }

  .container {
    width: min(100% - 28px, 1240px);
  }

  .nav {
    min-height: 68px;
    padding-inline: 14px;
  }

  .nav-links,
  .nav > .button {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu summary {
    cursor: pointer;
    list-style: none;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu nav {
    position: absolute;
    top: 50px;
    right: 0;
    width: min(290px, calc(100vw - 28px));
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.24);
  }

  .mobile-menu a {
    padding: 11px 10px;
    color: #dbe5ef;
    font-size: 0.8rem;
    font-weight: 800;
  }

  .service-hero {
    min-height: 720px;
  }

  .hero-inner {
    width: min(100% - 28px, 1240px);
    padding: 128px 0 54px;
  }

  .service-hero h1 {
    font-size: 3.05rem;
    line-height: 0.95;
  }

  .service-hero .lead {
    font-size: 0.98rem;
  }

  .hero-proof,
  .section-grid,
  .doctor-grid,
  .cta-grid,
  .footer-grid,
  .local-proof {
    grid-template-columns: 1fr;
  }

  .step-grid,
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .section h2,
  .cta-band h2 {
    font-size: 2.05rem;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 0.68rem;
  }

  .brand span span {
    font-size: 0.78rem;
  }

  .service-hero {
    min-height: 700px;
  }

  .service-hero::after {
    background: linear-gradient(90deg, rgba(9, 18, 35, 0.95) 0%, rgba(9, 18, 35, 0.82) 100%);
  }

  .eyebrow {
    padding: 10px 14px;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
  }

  .service-hero h1 {
    font-size: 2.45rem;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-proof,
  .step-grid,
  .facts {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .step-card,
  .fact,
  .related-card {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 34px;
  }

  .section h2,
  .cta-band h2 {
    font-size: 1.72rem;
  }

  .section-grid,
  .doctor-grid {
    gap: 38px;
  }
}
