:root {
  --brand: #0c7282;
  --brand-dark: #084d58;
  --brand-soft: #e9f5f7;
  --ink: #16313a;
  --muted: #57727b;
  --line: #d9e5e7;
  --paper: #f7fbfb;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(13, 47, 56, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background: var(--white);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

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

h1,
h2,
h3,
h4,
.brand-name {
  font-family: "Manrope", sans-serif;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-shell {
  max-width: 1180px;
}

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.92);
  padding: 12px 0;
  font-size: 14px;
}

.topbar-inner,
.header-inner,
.footer-bottom,
.contact-band-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-item,
.topbar-links a,
.contact-row a,
.crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 229, 231, 0.9);
}

.topbar.topbar-scrolled {
  transform: translateY(-100%);
  transition: transform 0.25s ease;
}

.site-header.header-scrolled {
  box-shadow: 0 12px 34px rgba(13, 47, 56, 0.1);
}

.header-inner {
  min-height: 88px;
}

.brand {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 2px;
  align-items: center;
}

.brand-mark {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: var(--white);
  font-family: "Manrope", sans-serif;
  font-size: 30px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(12, 114, 130, 0.24);
}

.brand-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
}

.navbar {
  padding: 0;
  position: relative;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar .nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--brand);
  border-color: var(--brand);
}

.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav-cta {
  display: none;
}

.header-cta,
.btn-brand,
.btn-soft {
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  transition: 0.25s ease;
}

.header-cta,
.btn-brand {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(12, 114, 130, 0.22);
}

.header-cta:hover,
.btn-brand:hover {
  background: var(--brand-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-soft {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}

.btn-soft:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero-home,
.hero-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(12, 114, 130, 0.15), transparent 32%),
    linear-gradient(180deg, #f9fcfd 0%, #eef7f8 100%);
}

.hero-home {
  padding: 88px 0 72px;
}

.hero-page {
  padding: 72px 0 56px;
}

.hero-grid,
.split-layout,
.doctor-grid,
.contact-grid,
.map-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-grid,
.split-layout,
.doctor-grid,
.contact-grid,
.map-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(12, 114, 130, 0.12);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.hero-page h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.05;
  margin-bottom: 18px;
}

.hero-copy p,
.hero-page p {
  font-size: 18px;
  max-width: 640px;
}

.hero-actions,
.cta-stack,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-trust-link {
  margin-top: 18px;
}

.hero-trust-link a {
  font-weight: 700;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.hero-highlights div,
.contact-card,
.feature-card,
.mini-profile-card,
.info-card,
.faq-item,
.association-card,
.step-card,
.quote-card,
.metric-card {
  background: var(--white);
  border: 1px solid rgba(217, 229, 231, 0.8);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-highlights div {
  padding: 18px;
}

.hero-highlights strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.hero-highlights span {
  font-size: 14px;
  color: var(--muted);
}

.hero-card {
  position: relative;
  max-width: 500px;
  margin-left: auto;
}

.hero-photo,
.doctor-photo {
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  left: -24px;
  bottom: 28px;
  background: rgba(8, 77, 88, 0.92);
  color: var(--white);
  padding: 20px 22px;
  border-radius: 24px;
  max-width: 290px;
}

.badge-title {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}

.badge-copy {
  color: rgba(255, 255, 255, 0.86);
}

.section-pad {
  padding: 88px 0;
}

.section-accent,
.contact-band {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.section-heading.narrow {
  max-width: 700px;
}

.section-heading h2,
.split-layout h2,
.contact-band h2,
.doctor-copy h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.feature-grid,
.process-grid,
.stats-grid,
.info-grid,
.faq-grid,
.association-grid,
.metric-grid,
.guide-grid {
  display: grid;
  gap: 24px;
}

.feature-grid,
.association-grid,
.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid,
.info-grid,
.faq-grid,
.stats-grid,
.guide-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfd 100%);
  border: 1px solid rgba(217, 229, 231, 0.9);
  box-shadow: var(--shadow);
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 114, 130, 0.35);
  box-shadow: 0 28px 60px rgba(13, 47, 56, 0.16);
  color: var(--ink);
}

.guide-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, rgba(12, 114, 130, 0.95) 0%, rgba(12, 114, 130, 0.25) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.guide-card:hover::before {
  opacity: 1;
}

.guide-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.guide-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand);
}

.guide-icon i {
  font-size: 28px;
}

.guide-chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(12, 114, 130, 0.1);
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.guide-card h3 {
  font-size: 22px;
  margin: 0;
}

.guide-card p {
  margin: 0;
}

.guide-card-footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-weight: 700;
  color: var(--brand);
  padding-top: 14px;
  border-top: 1px solid rgba(217, 229, 231, 0.9);
}

.guide-card-footer i {
  transition: transform 0.2s ease;
}

.guide-card:hover .guide-card-footer i {
  transform: translateX(4px);
}

.guide-grid-compact .guide-card {
  min-height: 320px;
}

.feature-card,
.info-card,
.association-card,
.metric-card,
.faq-item {
  padding: 28px;
}

.feature-card i,
.info-card i,
.metric-card i {
  font-size: 28px;
  color: var(--brand);
  margin-bottom: 16px;
}

.feature-card h3,
.info-card h3,
.faq-item h3,
.association-card h3,
.metric-card h3,
.process-grid h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.mini-profile-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 24px;
  align-items: center;
}

.mini-profile-card img {
  width: 100%;
  border-radius: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.process-panel {
  padding: 44px;
  border-radius: 32px;
  background: linear-gradient(180deg, #fbffff 0%, #f3f9fa 100%);
  border: 1px solid var(--line);
}

.process-grid article,
.step-card {
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid rgba(217, 229, 231, 0.85);
}

.step-index {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 800;
}

.page-intro {
  max-width: 760px;
}

.crumbs {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
}

.doctor-photo-wrap,
.map-card {
  position: relative;
}

.doctor-copy ul,
.content-list,
.faq-list,
.contact-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.doctor-copy li,
.content-list li,
.faq-list li,
.contact-list li {
  margin-bottom: 10px;
}

.quote-card {
  padding: 28px;
  margin-top: 24px;
}

.quote-card p:last-child {
  margin-bottom: 0;
}

.stats-grid .metric-card {
  text-align: center;
}

.metric-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
}

.association-card {
  text-align: center;
}

.association-card img {
  width: 100%;
  max-width: 120px;
  margin: 0 auto 18px;
  object-fit: contain;
  aspect-ratio: 4 / 3;
}

.faq-item {
  height: 100%;
}

.info-card a,
.site-footer a {
  color: var(--ink);
}

.map-card,
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.contact-card {
  padding: 28px;
}

.contact-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.site-footer {
  padding: 48px 0 24px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1fr;
  gap: 28px;
}

.footer-block {
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-block h3,
.footer-block h4 {
  margin-bottom: 18px;
}

.footer-brand-block {
  background: linear-gradient(135deg, rgba(12, 114, 130, 0.32) 0%, rgba(255, 255, 255, 0.04) 100%);
}

.footer-address,
.footer-links-stack a {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.footer-address i,
.footer-links-stack i {
  color: #88d8df;
  font-size: 18px;
  margin-top: 3px;
}

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

.footer-links-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer p,
.site-footer a,
.site-footer h3,
.site-footer h4,
.footer-bottom {
  color: inherit;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  visibility: hidden;
  opacity: 0;
  transition: 0.25s ease;
  z-index: 20;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 1199px) {
  .feature-grid,
  .association-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid,
  .info-grid,
  .faq-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .topbar-inner,
  .footer-bottom,
  .contact-band-grid,
  .hero-grid,
  .split-layout,
  .doctor-grid,
  .contact-grid,
  .map-grid,
  .mini-profile-card,
  .footer-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topbar {
    display: block;
    padding: 8px 0;
  }

  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .topbar-item {
    display: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    min-height: auto;
    padding: 16px 0;
  }

  .topbar-links {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .topbar-links a:first-child,
  .header-cta {
    display: none;
  }

  .topbar-links a:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 360px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-weight: 700;
  }

  .brand {
    grid-template-columns: 48px 1fr;
    column-gap: 12px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 26px;
  }

  .brand-kicker {
    font-size: 11px;
    letter-spacing: 0.1em;
    line-height: 1.2;
  }

  .brand-name {
    font-size: 20px;
    line-height: 1.05;
  }

  .navbar {
    justify-self: end;
  }

  .navbar ul {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 24px;
  }

  .navbar.navbar-mobile {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 32px));
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    padding: 16px;
    z-index: 60;
  }

  .navbar.navbar-mobile::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(10, 24, 29, 0.08);
  }

  .navbar.navbar-mobile ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .navbar.navbar-mobile li {
    width: 100%;
  }

  .navbar.navbar-mobile .nav-link {
    width: 100%;
    border-bottom: 0;
    padding: 12px 8px;
    border-radius: 14px;
    font-size: 18px;
  }

  .navbar.navbar-mobile .nav-link.active {
    background: rgba(12, 114, 130, 0.08);
  }

  .navbar.navbar-mobile .mobile-nav-cta {
    display: block;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .navbar.navbar-mobile .mobile-nav-cta .nav-link {
    justify-content: center;
    background: var(--brand);
    color: var(--white);
    box-shadow: 0 14px 26px rgba(12, 114, 130, 0.2);
  }

  .navbar.navbar-mobile .mobile-nav-cta .nav-link:hover,
  .navbar.navbar-mobile .mobile-nav-cta .nav-link.active {
    background: var(--brand-dark);
    color: var(--white);
  }

  .hero-badge {
    position: static;
    margin-top: 16px;
    max-width: none;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .process-panel {
    padding: 28px;
  }
}

@media (max-width: 767px) {
  .section-pad,
  .hero-home,
  .hero-page {
    padding: 64px 0;
  }

  .feature-grid,
  .process-grid,
  .info-grid,
  .faq-grid,
  .association-grid,
  .metric-grid,
  .guide-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    padding: 14px 0;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand {
    grid-template-columns: 42px 1fr;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 22px;
  }

  .brand-kicker {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 22px;
  }

  .topbar-links a:last-child {
    max-width: none;
    font-size: 13px;
  }

  .navbar.navbar-mobile {
    width: calc(100vw - 32px);
    right: -4px;
  }

  .hero-copy h1,
  .hero-page h1,
  .section-heading h2,
  .split-layout h2,
  .contact-band h2,
  .doctor-copy h2 {
    font-size: 34px;
  }

  .hero-copy p,
  .hero-page p {
    font-size: 16px;
  }

  .feature-card,
  .info-card,
  .association-card,
  .metric-card,
  .faq-item,
  .contact-card,
  .process-grid article,
  .step-card,
  .quote-card {
    padding: 22px;
    border-radius: 20px;
  }
}
