:root {
  --rose: #d83b85;
  --rose-dark: #9e2b68;
  --plum: #4b3b68;
  --lavender: #8f6ba8;
  --blush: #fff1f7;
  --petal: #f8dce9;
  --ink: #231827;
  --muted: #716171;
  --line: #efd6e1;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(239, 214, 225, .85);
  background: rgba(255, 250, 252, .94);
  backdrop-filter: blur(16px);
}

.header-inner {
  position: relative;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  position: relative;
  display: inline-flex;
  min-width: max-content;
  flex-direction: column;
  justify-content: center;
  padding-left: 42px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 31px;
  height: 31px;
  transform: translateY(-50%);
  border: 2px solid var(--rose);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 18%, var(--rose) 0 4px, transparent 5px),
    radial-gradient(circle at 82% 50%, var(--rose) 0 4px, transparent 5px),
    radial-gradient(circle at 50% 82%, var(--rose) 0 4px, transparent 5px),
    radial-gradient(circle at 18% 50%, var(--rose) 0 4px, transparent 5px);
}

.brand::after {
  content: "Fertility & Women's Health";
  margin-top: 5px;
  font-family: "Inter", Arial, sans-serif;
  color: var(--rose-dark);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  color: #382a3d;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rose);
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #e44892, #c12e78);
  box-shadow: 0 14px 28px rgba(216, 59, 133, .18);
}

.btn-outline {
  color: var(--rose-dark);
  border-color: #d6aec2;
  background: white;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--plum);
  transition: transform .2s ease, opacity .2s ease;
}

.menu-button::before { transform: translateY(-6px); }
.menu-button::after { transform: translateY(6px); }
.menu-button[aria-expanded="true"] span { opacity: 0; }
.menu-button[aria-expanded="true"]::before { transform: translateY(2px) rotate(45deg); }
.menu-button[aria-expanded="true"]::after { transform: translateY(-2px) rotate(-45deg); }

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 25%, rgba(255,255,255,.9), transparent 25%),
    linear-gradient(105deg, #fff9fb 0 54%, #ffe1ed 54% 100%);
}

.hero-grid {
  display: grid;
  min-height: 650px;
  grid-template-columns: 1fr .95fr;
  align-items: center;
  gap: 46px;
  padding: 48px 0 34px;
}

.eyebrow {
  color: var(--rose);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.03;
}

h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.14;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
}

.accent { color: var(--rose); }

.lead {
  max-width: 580px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

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

.hero-media {
  align-self: stretch;
  min-height: 500px;
  border-radius: 0 0 0 48px;
  background: url("assets/images/mother-baby-hero.png") center / cover no-repeat;
}

.trust-strip {
  transform: translateY(-28px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(90deg, #ffe3ef, #fff0f7);
  box-shadow: 0 18px 42px rgba(97, 55, 80, .08);
}

.trust-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 24px;
  border-right: 1px solid rgba(216, 59, 133, .12);
}

.trust-item:last-child { border-right: 0; }

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--rose);
  background: white;
  font-weight: 900;
}

.section {
  padding: 72px 0;
}

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

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.cards {
  display: grid;
  gap: 20px;
}

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

.service-card,
.doctor-card,
.value-card,
.contact-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 18px 40px rgba(97, 55, 80, .05);
}

.service-card {
  min-height: 190px;
  padding: 28px;
  text-align: center;
}

.service-card .icon {
  margin: 0 auto 18px;
  background: var(--blush);
}

.service-card h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
}

.service-card p,
.value-card p,
.doctor-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.image-card {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--blush);
  box-shadow: 0 18px 42px rgba(97, 55, 80, .08);
}

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

.checks {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.6;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.story-panel {
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.1fr .9fr;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7fb, #fff);
}

.story-panel img {
  height: 330px;
  width: 100%;
  object-fit: cover;
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
}

.quote {
  color: var(--rose);
  font-size: 48px;
  font-family: Georgia, serif;
  line-height: .7;
}

.banner {
  padding: 34px 0;
  color: white;
  background: linear-gradient(135deg, var(--plum), #9f67ad);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero {
  padding: 72px 0;
  color: white;
  background:
    linear-gradient(90deg, rgba(75,59,104,.88), rgba(216,59,133,.48)),
    url("assets/images/mother-baby-hero.png") center / cover no-repeat;
}

.page-hero p {
  color: rgba(255,255,255,.82);
}

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

.value-card {
  padding: 28px;
  text-align: center;
}

.doctor-card {
  overflow: hidden;
}

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

.doctor-card div {
  padding: 20px;
}

.doctor-card h3 {
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--plum), #a56bb1);
}

.stat {
  padding: 26px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.14);
}

.stat:last-child { border-right: 0; }

.stat strong {
  display: block;
  font-size: 30px;
}

.journey-step {
  position: relative;
  padding: 28px;
  text-align: center;
}

.journey-step .number {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
}

.contact-card,
.form-card {
  padding: 30px;
}

.field {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
}

.field:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(216, 59, 133, .1);
}

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

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

.map-box {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(45deg, transparent 49%, rgba(216,59,133,.18) 50%, transparent 51%),
    linear-gradient(-45deg, transparent 49%, rgba(143,107,168,.14) 50%, transparent 51%),
    #f8f1f4;
  background-size: 44px 44px;
}

.site-footer {
  color: white;
  background: linear-gradient(135deg, #44345f, #5a4779);
}

.site-footer .brand {
  color: white;
}

.site-footer .brand::before {
  border-color: rgba(255,255,255,.85);
  background:
    radial-gradient(circle at 50% 18%, white 0 4px, transparent 5px),
    radial-gradient(circle at 82% 50%, white 0 4px, transparent 5px),
    radial-gradient(circle at 50% 82%, white 0 4px, transparent 5px),
    radial-gradient(circle at 18% 50%, white 0 4px, transparent 5px);
}

.site-footer .brand::after {
  color: rgba(255,255,255,.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
  padding: 58px 0;
}

.footer-grid a,
.footer-grid p {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  line-height: 1.9;
}

.footer-grid h3 {
  margin-bottom: 16px;
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0;
  color: rgba(255,255,255,.62);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 1040px) {
  .main-nav {
    position: absolute;
    inset: 74px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: 0 20px 45px rgba(75, 59, 104, .14);
  }

  .main-nav.open { display: flex; }

  .nav-link {
    border-radius: 8px;
    padding: 13px 14px;
    font-size: 14px;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--blush);
  }

  .header-cta { display: none; }

  .menu-button { display: grid; }

  .hero-grid,
  .split,
  .story-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 420px;
    border-radius: 26px;
  }

  .trust-grid,
  .service-grid,
  .values-grid,
  .doctor-grid,
  .journey-grid,
  .stats,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    padding-left: 36px;
    font-size: 21px;
  }

  .brand::before {
    width: 27px;
    height: 27px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 42px;
  }

  .section {
    padding: 54px 0;
  }

  .trust-strip {
    transform: none;
    padding-top: 20px;
  }

  .trust-grid,
  .service-grid,
  .values-grid,
  .doctor-grid,
  .journey-grid,
  .stats,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-item,
  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(216, 59, 133, .12);
  }

  .trust-item:last-child,
  .stat:last-child {
    border-bottom: 0;
  }

  .banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-card img,
  .story-panel img {
    height: 280px;
  }

  .story-copy {
    padding: 28px;
  }
}
