:root {
  --bg: #f7fafc;
  --surface: #ffffff;
  --surface-alt: #f2f7fb;
  --primary: #0f4c81;
  --primary-dark: #0a375f;
  --secondary: #1e88e5;
  --accent: #0b6b53;
  --text: #1a1f2b;
  --muted: #6b7280;
  --border: #d9e2ec;
  --shadow-sm: 0 14px 30px rgba(15, 76, 129, 0.08);
  --shadow-md: 0 20px 45px rgba(15, 76, 129, 0.12);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: min(1240px, calc(100% - 40px));
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  display: block;
}

.page-shell {
  min-height: 100vh;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--space-8) 0;
}

.section-tight {
  padding: var(--space-7) 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: var(--space-6);
}

.section-header p,
.lead,
.muted {
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.85);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 1rem;
  font-family: "Manrope", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.1rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: fit-content;
  max-width: 100%;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 16px 30px rgba(15, 76, 129, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.btn-secondary-dark {
  border-color: var(--border);
  color: var(--primary);
  background: var(--surface);
}

.btn-secondary-dark:hover,
.btn-secondary-dark:focus-visible {
  border-color: var(--primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 24px rgba(15, 76, 129, 0.08);
  border-color: rgba(217, 226, 236, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 82px;
}

.brand {
  flex-shrink: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
  white-space: nowrap;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.desktop-nav a.is-active,
.mobile-nav a.is-active {
  color: var(--primary);
}

.desktop-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--border);
  background: #fff;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel-inner {
  padding: 1rem 0 1.5rem;
}

.mobile-nav {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.mobile-nav a {
  padding: 0.15rem 0;
}

.hero {
  position: relative;
  min-height: min(76vh, 760px);
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(7, 26, 46, 0.74), rgba(7, 26, 46, 0.66)), url("assets/images/hero-care.jpg") center/cover no-repeat;
  color: #fff;
}

.hero-grid {
  width: 100%;
  padding: 5.5rem 0 3.5rem;
}

.hero-copy {
  max-width: 640px;
  padding: clamp(1.25rem, 2.3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 31, 52, 0.76) 0%, rgba(11, 31, 52, 0.48) 100%);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(4, 16, 28, 0.28);
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(2.05rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.hero p {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.25vw, 1.03rem);
}

.trust-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}

.trust-labels span {
  position: relative;
  padding-left: 1rem;
}

.trust-labels span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
}

.trust-strip {
  margin-top: -2.25rem;
  position: relative;
  z-index: 2;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid rgba(217, 226, 236, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.trust-item {
  padding: 1.2rem 1rem;
}

.trust-item strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
}

.two-col,
.content-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.image-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--surface);
  min-height: 100%;
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.stats-grid,
.specialty-grid,
.diagnostics-grid,
.resource-grid,
.pricing-grid,
.testimonial-grid,
.doctor-grid,
.value-grid,
.steps-grid,
.compare-grid,
.contact-grid,
.dept-grid {
  display: grid;
  gap: 1.4rem;
}

.stats-grid {
  grid-template-columns: repeat(4, 1fr);
}

.specialty-grid,
.diagnostics-grid,
.resource-grid,
.pricing-grid,
.testimonial-grid,
.doctor-grid,
.value-grid,
.steps-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card,
.info-block,
.doctor-card,
.faq-item,
.tier-card,
.resource-card,
.testimonial-card,
.contact-card,
.department-card,
.step-card,
.compare-card,
.service-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.card,
.info-block,
.doctor-card,
.resource-card,
.testimonial-card,
.contact-card,
.department-card,
.step-card,
.compare-card {
  padding: 1.6rem;
}

.card-link,
.text-link {
  display: inline-flex;
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.card-link:hover,
.text-link:hover,
.card-link:focus-visible,
.text-link:focus-visible {
  color: var(--primary-dark);
}

.specialty-card,
.resource-card,
.testimonial-card,
.doctor-card {
  height: 100%;
}

.diagnostic-card {
  overflow: hidden;
}

.diagnostic-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.diagnostic-card .card-body {
  padding: 1.35rem;
}

.editorial-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.editorial-copy {
  max-width: 720px;
}

.doctor-list-note {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(15, 76, 129, 0.05);
  border: 1px solid rgba(15, 76, 129, 0.1);
}

.pricing-grid .tier-card {
  padding: 2rem;
}

.tier-price {
  margin: 0.5rem 0 1rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  color: var(--primary);
  line-height: 1;
}

.tier-price span {
  font-size: 1rem;
  color: var(--muted);
}

.tier-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.tier-card li {
  color: var(--muted);
}

.surface-band {
  background: var(--surface);
}

.soft-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(240, 246, 250, 0.95) 100%);
}

.cta-section {
  padding: 4rem 0;
}

.cta-panel {
  padding: 2.5rem;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--primary) 0%, #12578f 55%, #0f4c81 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.cta-panel p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
}

.page-hero {
  padding: 5.75rem 0 3.75rem;
  background: linear-gradient(180deg, #f5f9fc 0%, #f7fafc 100%);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.page-hero .image-panel img {
  min-height: 300px;
}

.service-flow {
  display: grid;
  gap: 1.5rem;
}

.service-block {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0;
  overflow: hidden;
  align-items: center;
}

.service-block.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.service-block.reverse .service-media {
  order: 2;
}

.service-media {
  position: relative;
  overflow: hidden;
  background: #eef4f8;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  max-height: 420px;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.service-copy {
  padding: 2rem;
}

.service-copy ul {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.service-copy li {
  color: var(--muted);
}

.doctor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.filter-btn {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.doctor-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.doctor-tag,
.meta-chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.doctor-card.is-hidden {
  display: none;
}

.compare-grid {
  grid-template-columns: repeat(3, 1fr);
}

.compare-card h3 {
  margin-bottom: 0.7rem;
}

.compare-card ul {
  display: grid;
  gap: 0.65rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.faq-question span:last-child {
  color: var(--primary);
  font-size: 1.25rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-answer-inner {
  padding: 0 1.4rem 1.4rem;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
}

.form-panel {
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.12);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field-error {
  min-height: 1rem;
  color: #b42318;
  font-size: 0.88rem;
}

.form-status {
  margin-top: 1rem;
  font-weight: 600;
}

.contact-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

.dept-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.25rem;
}

.site-footer {
  background: #0d2238;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
}

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

.site-footer li + li {
  margin-top: 0.7rem;
}

.footer-bottom {
  padding: 1.2rem 0 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.94rem;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .trust-strip-grid,
  .stats-grid,
  .specialty-grid,
  .diagnostics-grid,
  .resource-grid,
  .pricing-grid,
  .testimonial-grid,
  .doctor-grid,
  .value-grid,
  .steps-grid,
  .compare-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col,
  .content-split,
  .page-hero-grid,
  .contact-grid,
  .editorial-panel {
    grid-template-columns: 1fr;
  }

  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;
  }

  .service-block.reverse .service-media {
    order: 0;
  }

  .service-media {
    max-height: 360px;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 68vh;
    background-position: 64% center;
  }

  .hero-grid {
    padding: 5rem 0 3rem;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

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

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1240px);
  }

  .section {
    padding: 4.5rem 0;
  }

  .section-tight,
  .page-hero {
    padding: 4rem 0;
  }

  .nav-wrap {
    min-height: 74px;
  }

  .brand {
    font-size: 1.24rem;
  }

  .hero {
    min-height: 560px;
    align-items: flex-end;
    background-position: 62% center;
  }

  .hero-grid {
    padding: 4.75rem 0 2rem;
  }

  .hero-copy {
    max-width: none;
    padding: 1.2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(8, 28, 47, 0.84) 0%, rgba(8, 28, 47, 0.62) 100%);
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.95rem, 6.5vw, 2.65rem);
    line-height: 1.08;
  }

  .hero p {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.07em;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-strip-grid,
  .stats-grid,
  .specialty-grid,
  .diagnostics-grid,
  .resource-grid,
  .pricing-grid,
  .testimonial-grid,
  .doctor-grid,
  .value-grid,
  .steps-grid,
  .compare-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .image-panel img,
  .page-hero .image-panel img,
  .service-media img {
    min-height: 260px;
  }

  .service-media {
    aspect-ratio: 16 / 10;
    min-height: 240px;
    max-height: 300px;
  }

  .cta-panel,
  .editorial-panel,
  .service-copy,
  .form-panel,
  .pricing-grid .tier-card {
    padding: 1.5rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn,
  .pricing-grid .btn,
  .cta-panel .btn,
  .form-panel .btn,
  .mobile-panel .btn {
    width: 100%;
  }

  .trust-labels {
    display: grid;
    gap: 0.8rem;
  }
}

@media (max-width: 420px) {
  .doctor-toolbar,
  .trust-labels {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-toggle {
    width: auto;
    min-width: 94px;
    margin-left: auto;
  }

  .hero {
    min-height: 620px;
  }

  .service-media {
    aspect-ratio: 1 / 1;
    min-height: 220px;
    max-height: 260px;
  }

  .hero-copy {
    padding: 1.05rem;
  }

  .hero h1 {
    font-size: 1.82rem;
  }

  .hero p,
  .trust-labels {
    font-size: 0.92rem;
  }
}
