/* ============================================================
   MAXIMIZA TU FERTILIDAD — Sistema de estilos compartido
   Marca: #FE7BCB (rosa) · #1E2132 (oscuro) · #FFFFFF (blanco)
   Tono: íntimo · médico-integrador · elegante
   ============================================================ */

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

:root {
  --pink:      #FE7BCB;
  --pink-deep: #E85BB0;
  --grad:      linear-gradient(135deg, #FE7BCB 0%, #E85BB0 100%);
  --dark:      #1E2132;
  --dark-2:    #171a28;
  --soft:      #fdf3f9;   /* rosa suave: fondos de seccion */
  --pink-text: #B8327F;   /* rosa oscurecido para texto sobre rosa suave (5,1:1, AA) */
  --blue:      #e8ecf6;   /* azul de marca aclarado, fondo de seccion */
  --white:     #ffffff;
  --text:      #26283a;
  --muted:     #6b6f85;
  --muted-dark:rgba(255,255,255,0.62);
  --line:      rgba(30,33,50,0.10);
  --radius:    14px;
  --maxw:      1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; }
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(30,33,50,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; gap: 20px;
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 600; color: var(--white);
  letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
}
.nav-logo span { color: var(--pink); }
.nav-logo img { display: block; height: 68px; width: auto; }
nav .nav-logo { background: var(--white); border-radius: 12px; padding: 6px 12px; }
nav .nav-logo img { height: 76px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.9rem; color: rgba(255,255,255,0.75);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--pink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-login-mobile { display: none !important; }

.btn-ghost {
  padding: 9px 18px; font-size: 0.85rem; font-weight: 500;
  color: var(--white); text-decoration: none;
  border: 1px solid var(--pink-deep); border-radius: 9px;
  transition: border-color 0.2s, background 0.2s; white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--pink); background: rgba(254,123,203,0.08); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 26px; background: var(--pink-deep); color: var(--dark); /* oscuro sobre rosa fuerte: 5:1, AA */
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 600;
  border: none; border-radius: 9px; text-decoration: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 6px 22px rgba(232,91,176,0.32);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(232,91,176,0.42); opacity: 0.96; }
.btn-lg { padding: 16px 38px; font-size: 1rem; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: 0.2s; }

/* ── SECCIONES BASE ── */
section { position: relative; }
.pad { padding: 96px 0; }
.pad-sm { padding: 68px 0; }

.eyebrow {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--pink);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 600;
  color: var(--dark); line-height: 1.15; margin-bottom: 18px;
}
.section-intro {
  font-size: 1.05rem; line-height: 1.75; color: var(--muted);
  max-width: 660px;
}
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* fondos (invertidos: las secciones antes oscuras van en blanco) */
.pad { background: var(--soft); }
.bg-dark { background: var(--white); color: var(--text); }
.bg-dark .section-title { color: var(--dark); }
.bg-dark .section-intro { color: var(--muted); }
.bg-soft { background: var(--soft); }

/* ── HERO ── */
.hero {
  background: radial-gradient(1100px 600px at 78% -10%, rgba(254,123,203,0.18), transparent 60%), var(--dark);
  color: var(--white); padding: 168px 0 110px; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 600;
  line-height: 1.08; margin-bottom: 26px;
}
.hero h1 em { font-style: italic; }
.hero-sub {
  font-size: 1.12rem; line-height: 1.7; color: rgba(255,255,255,0.72);
  max-width: 500px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-top: 20px; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: 22px; overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(160deg, rgba(254,123,203,0.22), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--white); color: var(--dark);
  border-radius: 14px; padding: 16px 20px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.28); max-width: 220px;
}
.hero-badge .n { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 600; color: var(--pink-deep); line-height: 1; }
.hero-badge .t { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* ── MISIÓN / cita ── */
.mission-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.mission-grid h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 400; line-height: 1.25; }
.mission-grid h2 strong { font-weight: 600; }
.mission-body p { font-size: 1.02rem; line-height: 1.8; color: var(--muted); }
.mission-body p + p { margin-top: 15px; }

/* ── PAIN POINTS ── */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 52px; }
.pain-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px; transition: transform 0.22s, box-shadow 0.22s;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(30,33,50,0.08); }
.pain-card .ic {
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 18px;
  background: var(--soft); display: flex; align-items: center; justify-content: center;
}
.pain-card .ic svg { stroke: var(--pink-deep); }
.pain-card h3 { font-size: 1.28rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.pain-card p { font-size: 0.96rem; line-height: 1.65; color: var(--muted); }

/* ── MÉTODO / pilares ── */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 52px; }
.pillar {
  padding: 26px 22px; border-radius: var(--radius);
  background: var(--blue); border: 1px solid var(--line);
  position: relative; overflow: hidden; transition: transform 0.22s;
}
.pillar:hover { transform: translateY(-3px); }
.pillar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.pillar .num { line-height: 0; margin-bottom: 14px; }
.pillar .num svg { display: block; }
.pillar .nm { font-size: 0.92rem; font-weight: 500; color: var(--dark); line-height: 1.4; }

/* La seccion del metodo va en azul claro, con las tarjetas en blanco para que resalten */
#metodo { background: var(--soft); }
#metodo .pillar { background: var(--white); }

/* ── PASOS (cómo funciona) ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.step { text-align: left; }
.step .badge {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem; margin-bottom: 18px;
}
.step h3 { font-size: 1.35rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.step p { font-size: 0.97rem; line-height: 1.65; color: var(--muted); }

/* ── FUNDADORA ── */
.founder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: center; }
.founder-img { position: relative; }
.founder-img .frame { border-radius: 22px; overflow: hidden; aspect-ratio: 3/4; background: var(--grad); }
.founder-img img { width: 100%; height: 100%; object-fit: cover; }
.founder-tag {
  position: absolute; right: -18px; bottom: -18px; background: var(--white);
  border-radius: 14px; padding: 16px 20px; box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.founder-tag .title { font-family: 'Cormorant Garamond', serif; font-size: 1.05rem; font-weight: 600; color: var(--dark); }
.founder-tag .sub { font-size: 0.76rem; color: var(--muted); margin-top: 3px; }
.founder h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); font-weight: 600; color: var(--dark); line-height: 1.12; margin-bottom: 6px; }
.founder .lead { font-size: 1.05rem; font-weight: 500; color: var(--pink-deep); margin-bottom: 24px; }
.founder-text p { font-size: 0.99rem; line-height: 1.8; color: var(--muted); }
.founder-text p + p { margin-top: 14px; }

/* ── EQUIPO ── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.member { text-align: center; }
.member .photo {
  aspect-ratio: 1/1; border-radius: 18px; overflow: hidden; margin-bottom: 16px;
  background: linear-gradient(160deg, var(--soft), #f4e5f0); position: relative;
}
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 1.28rem; font-weight: 600; color: var(--dark); margin-bottom: 4px; line-height: 1.2; }
.member .role { font-size: 0.85rem; line-height: 1.5; color: var(--muted); padding: 0 6px; }

/* ── PRUEBA SOCIAL ── */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.quote {
  background: var(--blue); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
}
.quote p { font-size: 1.02rem; line-height: 1.7; color: var(--muted); font-style: italic; margin-bottom: 16px; }
.quote .who { font-size: 0.85rem; color: var(--pink-deep); font-weight: 500; }

/* ── OBJECIÓN (único H1 grande) ── */
.objection { text-align: center; }
.objection h1 {
  font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 600; color: var(--dark);
  line-height: 1.1; margin-bottom: 22px;
}
.objection h1 em { font-style: italic; }
.objection .section-intro { margin: 0 auto; }

/* ── CTA FINAL ── */
.cta { text-align: center; padding: 110px 0; overflow: hidden;
  background: radial-gradient(800px 400px at 50% 120%, rgba(254,123,203,0.20), transparent 60%), var(--dark); }
.cta h2 { font-size: clamp(2.3rem, 4.5vw, 3.6rem); font-weight: 600; color: var(--white); line-height: 1.1; margin-bottom: 18px; }
.cta h2 em { font-style: italic; color: var(--pink); }
.cta p { color: rgba(255,255,255,0.6); font-size: 1.05rem; line-height: 1.7; max-width: 520px; margin: 0 auto 40px; }

/* ── FAQ ── */
.faq { max-width: 760px; margin: 44px auto 0; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 22px 4px;
}
.faq summary {
  font-size: 1.1rem; font-weight: 600; color: var(--dark); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--pink-deep); font-size: 1.5rem; font-weight: 400; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { font-size: 0.97rem; line-height: 1.7; color: var(--muted); margin-top: 14px; }

/* ── FOOTER ── */
footer { background: var(--dark-2); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer .nav-logo { color: rgba(255,255,255,0.75); }
footer p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-links a:hover { color: var(--pink); }

/* ── LOCAL-ONLY banner (solo casos-de-exito) ── */
.local-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: #b8860b; color: #fff; text-align: center;
  padding: 10px 16px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
}

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .hero-grid, .mission-grid, .founder { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 420px; margin: 0 auto; }
  .founder-img { max-width: 380px; margin: 0 auto; }
  .method-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark); padding: 20px 24px; gap: 18px; border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-toggle { display: block; }
  .hero { padding: 138px 0 80px; }
}
@media (max-width: 600px) {
  .pain-grid, .method-grid, .team-grid, .quotes { grid-template-columns: 1fr; }
  .pad { padding: 68px 0; }
  .hero-badge { left: 0; }
  .founder-tag { right: 0; }
  .nav-logo img { height: 40px; }
  nav .nav-logo { padding: 4px 8px; border-radius: 10px; }
  nav .nav-logo img { height: 40px; }
  .nav-inner { gap: 12px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 0.85rem; white-space: nowrap; }
  /* en móvil "Inicia sesión" pasa al menú desplegable para que la barra quepa */
  .nav-cta .btn-ghost { display: none; }
  .nav-login-mobile { display: inline !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }

/* ── HERO y CTA FINAL en azul claro (solo home) ──
   Fondo plano (sin el glow radial) y texto oscuro para que se lea sobre #e8ecf6. */
.home .hero, .home .cta { background: var(--soft) !important; color: #1E2132; }
.home .hero::before, .home .hero::after, .home .cta::before, .home .cta::after { content: none !important; }
.home .hero h1, .home .cta h2 { color: #1E2132; }
.home .hero h1 em, .home .cta h2 em {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: var(--pink-text); color: var(--pink-text);
}
.home .hero .eyebrow { color: var(--pink-text); }
.home .hero-sub, .home .cta p { color: #4A4D5E; }
.home .hero-note { color: #6b6f85; }
.home .hero .btn-ghost { color: #1E2132; border-color: var(--pink-deep); }
.home .hero .btn-ghost:hover { border-color: var(--pink-deep); color: var(--pink-deep); }
.home .hero-media .frame { border-color: rgba(30,33,50,0.10); box-shadow: 0 30px 80px rgba(30,33,50,0.18); }

/* ── Texto rosa sobre los fondos en rosa suave: tono oscurecido para cumplir AA ── */
.pad:not(.bg-dark) .eyebrow { color: var(--pink-text); }
.pad:not(.bg-dark) .grad-text {
  background: none; -webkit-background-clip: border-box; background-clip: border-box;
  -webkit-text-fill-color: var(--pink-text); color: var(--pink-text);
}
