:root {
  --navy: #0a376c;
  --navy-dark: #062a55;
  --gold: #df9820;
  --gold-dark: #c78312;
  --cream: #fffaf2;
  --paper: #fffdf9;
  --blue-soft: #eaf6ff;
  --blue-soft-2: #f3fbff;
  --text: #12345d;
  --muted: #49637f;
  --line: rgba(10, 55, 108, .12);
  --shadow: 0 16px 42px rgba(9, 45, 88, .10);
  --radius: 8px;
  --container: 1180px;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(1040px, calc(100% - 40px)); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: white;
  padding: .75rem 1rem;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(10, 55, 108, .08);
}
.nav-wrap {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-heading);
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand-copy { display: grid; gap: 2px; line-height: 1; text-align: left; }
.brand-copy strong { font-size: 25px; font-weight: 700; }
.brand-copy small { color: var(--gold-dark); font-family: var(--font-body); font-size: 10px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.site-nav a { white-space: nowrap; }
.site-nav a:not(.button) { position: relative; }
.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .2s ease;
}
.site-nav a:hover::after,
.site-nav a.is-active::after { width: 100%; }
.social-link { color: var(--gold-dark); display: inline-flex; align-items: center; justify-content: center; }
.social-icon-link { display: inline-flex; align-items: center; width: fit-content; }
.social-icon { width: 21px; height: 21px; display: block; }
.social-icon-link .social-icon { width: 24px; height: 24px; }
.social-link:hover { color: var(--gold); }
.language-button {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 17px;
  border-color: var(--gold);
  background: var(--navy);
  color: white;
  box-shadow: 0 8px 18px rgba(10, 55, 108, .16);
  font-size: 13px;
}
.language-button:hover { background: var(--navy-dark); }
.mobile-menu-button { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--gold);
  color: #351f00;
  box-shadow: 0 10px 20px rgba(223, 152, 32, .22);
}
.button-primary:hover { background: var(--gold-dark); }
.button-outline {
  background: rgba(255,255,255,.7);
  color: var(--navy);
  border-color: rgba(10, 55, 108, .42);
}
.button.small { min-height: 42px; padding-inline: 18px; font-size: 14px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 68px;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: clamp(36px, 5vw, 68px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
h1, h2, h3 { margin: 0; color: var(--navy); }
h1 {
  font-family: var(--font-heading);
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 600;
}
h1 span {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold-dark);
  font-size: .48em;
  line-height: 1.16;
}
.hero-team {
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(145deg, rgba(234, 246, 255, .96), rgba(255, 253, 249, .98));
}
.hero-team-heading { margin-bottom: 22px; }
.hero-team-heading > p {
  margin: 0 0 4px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-team-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4vw, 50px);
  font-weight: 600;
  line-height: 1;
}
.hero-midwife {
  display: grid;
  grid-template-columns: 154px 1fr;
  gap: 22px;
  align-items: center;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.hero-midwife > img {
  width: 154px;
  height: 180px;
  border-radius: var(--radius);
  object-fit: cover;
}
.hero-midwife h3,
.team-member-mini h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1;
}
.hero-midwife h3 { font-size: 34px; }
.team-description { margin: 0; color: #274b70; font-size: 13.5px; line-height: 1.5; }
.profile-button {
  margin-top: 12px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.profile-button:hover { color: var(--gold-dark); }
.team-roster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.team-member-mini {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(10, 55, 108, .09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
}
.team-member-mini img {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
  border-radius: 50%;
  object-fit: cover;
}
.team-member-mini h3 { font-size: 21px; }
.team-member-mini .role { margin: 6px 0 0; font-size: 10.5px; line-height: 1.35; }
.services { padding: 78px 0 86px; }
.section-heading { text-align: center; margin-bottom: 46px; }
.section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1;
  font-weight: 600;
}
.ornament {
  display: inline-grid;
  grid-template-columns: 90px auto 90px;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  color: var(--gold);
  font-size: 20px;
}
.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 70px;
  border-top: 1px solid var(--line);
}
.service-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.service-item.is-hidden { display: none; }
.service-item .star { color: var(--gold); font-size: 19px; line-height: 1.4; }
.service-item h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  line-height: 1.05;
}
.service-item-packet p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.service-packet-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.service-packet-link span {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(223, 152, 32, .14);
  color: var(--gold-dark);
  font-size: 9px;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.card {
  background: rgba(255, 253, 249, .92);
  border: 1px solid rgba(10, 55, 108, .09);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(9, 45, 88, .07);
}
.role { color: var(--gold-dark); font-weight: 700; margin: 8px 0 14px; font-size: 14px; }

.profile-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(88vh, 820px);
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(3, 28, 59, .28);
}
.profile-dialog::backdrop {
  background: rgba(3, 28, 59, .68);
  backdrop-filter: blur(5px);
}
.profile-dialog-inner {
  position: relative;
  padding: clamp(24px, 5vw, 48px);
}
.dialog-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { color: var(--gold-dark); }
.profile-dialog-header {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 22px;
  align-items: center;
  padding-right: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.profile-dialog-header img {
  width: 116px;
  height: 136px;
  border-radius: var(--radius);
  object-fit: cover;
}
.dialog-kicker {
  margin: 0 0 3px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.profile-dialog-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 54px);
  font-weight: 600;
  line-height: .95;
}
.profile-dialog-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 30px;
  padding: 28px 0;
}
.profile-dialog-copy h3 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 600;
}
.profile-dialog-copy p {
  margin: 7px 0 0;
  color: #274b70;
  font-size: 14px;
}
.training-list {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #274b70;
  font-size: 14px;
}
.training-list li + li { margin-top: 7px; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.testimonials {
  padding: 82px 0 88px;
  background:
    radial-gradient(circle at 12% 18%, rgba(223, 152, 32, .13), transparent 26%),
    linear-gradient(145deg, var(--blue-soft-2), var(--cream));
  border-top: 1px solid var(--line);
}
.testimonials-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}
.testimonials .section-heading {
  margin-bottom: 0;
  text-align: left;
}
.testimonials .ornament {
  grid-template-columns: 70px auto 70px;
}
.section-kicker {
  margin: 0 0 8px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rating-summary {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 0 10px;
  min-width: 210px;
  padding: 18px 22px;
  border: 1px solid rgba(10, 55, 108, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 12px 28px rgba(9, 45, 88, .07);
}
.rating-summary strong {
  grid-row: span 2;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 46px;
  line-height: 1;
}
.rating-summary > span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.review-stars {
  color: #f6aa00;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.review-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(10, 55, 108, .11);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(9, 45, 88, .07);
}
.review-card-featured { grid-column: span 8; }
.review-card-compact { grid-column: span 4; }
.review-card-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}
.review-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}
.review-avatar-teal { background: #07645c; }
.review-avatar-blue { background: #1669ad; }
.review-avatar-gold { background: var(--gold-dark); }
.review-card h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}
.review-card blockquote {
  margin: 0;
  color: #274b70;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.38;
}
.review-card-featured blockquote { font-size: clamp(19px, 1.8vw, 23px); }
.review-card-compact blockquote { font-size: 20px; }
.translation-note {
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--muted);
  font-size: 11px;
  font-style: italic;
}
.reviews-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
.reviews-action .button-outline {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.reviews-action .button-outline:hover { background: var(--navy-dark); }

.contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-dark), var(--navy));
  color: white;
  padding: 64px 0;
}
.contact h2 {
  color: white;
  font-family: var(--font-heading);
  font-size: clamp(40px, 4vw, 60px);
  line-height: .98;
}
.contact p { color: rgba(255,255,255,.82); max-width: 420px; }
.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr) auto;
  gap: 48px;
  align-items: center;
}
.contact-list {
  font-style: normal;
  display: grid;
  gap: 11px;
  color: rgba(255,255,255,.9);
}
.contact-list a:hover { color: #ffe3ad; }
.contact-list .social-icon-link { color: rgba(255,255,255,.9); }
.contact-list .social-icon-link:hover { color: #ffe3ad; }
.contact-action {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.contact-whatsapp {
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-whatsapp:hover { color: #ffe3ad; }
.site-footer {
  padding: 26px 20px 30px;
  text-align: center;
  background: var(--paper);
}
.site-footer .brand { justify-content: center; }
.site-footer .brand img { width: 72px; height: 72px; margin: 0; }
.site-footer .brand-copy strong { font-size: 30px; }
.site-footer .brand-copy small { font-size: 11px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  .nav-wrap { gap: 14px; }
  .brand img { width: 48px; height: 48px; }
  .brand-copy strong { font-size: 21px; }
  .brand-copy small { font-size: 8px; }
  .site-nav { gap: 10px; font-size: 12.5px; }
  .language-button { min-height: 42px; padding-inline: 13px; font-size: 12px; }
  .nav-cta { min-height: 44px; padding-inline: 15px; font-size: 13px; }
}

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav-wrap { min-height: 78px; }
  .brand img { width: 45px; height: 45px; }
  .brand-copy strong { font-size: 20px; }
  .language-button {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 12px;
  }
  .mobile-menu-button {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    padding: 10px;
  }
  .mobile-menu-button span:not(.sr-only) {
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 999px;
  }
  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .site-nav a:not(.button)::after { display: none; }
  .nav-cta { margin-top: 8px; }
  .hero { padding-top: 44px; }
  .button-row { flex-direction: column; align-items: stretch; }
  .service-list { grid-template-columns: 1fr; gap: 0; }
  .testimonials-heading { align-items: flex-start; }
  .review-card,
  .review-card-featured,
  .review-card-compact { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .container, .narrow { width: min(100% - 28px, var(--container)); }
  .nav-wrap { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 6.5px; }
  .site-footer .brand img { width: 60px; height: 60px; }
  .site-footer .brand-copy strong { font-size: 24px; }
  .site-footer .brand-copy small { font-size: 8.5px; }
  .language-button { min-height: 38px; padding-inline: 10px; font-size: 11px; }
  h1 { font-size: 43px; }
  .hero-midwife { grid-template-columns: 1fr; }
  .hero-midwife > img { width: 100%; height: auto; aspect-ratio: 1 / 1.05; }
  .team-roster { grid-template-columns: 1fr; }
  .team-member-mini { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
  .team-member-mini img { margin-bottom: 0; }
  .profile-dialog-header { grid-template-columns: 82px 1fr; gap: 14px; padding-right: 26px; }
  .profile-dialog-header img { width: 82px; height: 102px; }
  .profile-dialog-copy { grid-template-columns: 1fr; }
  .dialog-actions { flex-direction: column; }
  .testimonials { padding: 64px 0 70px; }
  .testimonials-heading { flex-direction: column; }
  .rating-summary { width: 100%; }
  .reviews-action .button { width: 100%; white-space: normal; text-align: center; }
}
