/* ═══════════════════════════════════════════
   GUÍA SALUD FEMENINA — Estilos de la Home
   guiasaludfemenina.com
═══════════════════════════════════════════ */

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: 80px 24px 0;
}

/* Círculos decorativos orgánicos */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-deco span {
  position: absolute;
  border-radius: 50%;
  background: var(--sage);
  opacity: .12;
}
.hero-deco span:nth-child(1) { width: 520px; height: 520px; top: -200px; right: -120px; }
.hero-deco span:nth-child(2) { width: 260px; height: 260px; bottom: 60px;  left: -80px;  opacity: .08; }
.hero-deco span:nth-child(3) { width: 140px; height: 140px; top: 40px;    left: 38%;    opacity: .06; background: var(--gold); }

.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--leaf); opacity: .6;
}

h1.hero-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.1;
  font-weight: normal;
  font-style: italic;
  color: #fff;
  max-width: 15ch;
  text-wrap: balance;
  margin-bottom: 24px;
}
h1.hero-title em { font-style: normal; color: var(--gold-light); }

.hero-deck {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 60px;
}

/* Cards de artículos en el hero */
.hero-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 40px;
}
@media (max-width: 600px) { .hero-cards-row { grid-template-columns: 1fr; } }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background .15s;
}
.hero-card:hover { background: rgba(255,255,255,.1); }
.hero-card-cat   { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-card-title { font-family: Georgia, serif; font-size: 1rem; line-height: 1.35; color: #fff; font-style: italic; }
.hero-card-meta  { font-size: 12px; color: rgba(255,255,255,.4); display: flex; align-items: center; gap: 8px; }
.hero-card-arrow { margin-left: auto; font-size: 1.1rem; color: rgba(255,255,255,.4); }

/* Pills de temas */
.hero-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 32px;
}
.hero-topic-pill {
  display: inline-block;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  transition: color .15s, border-color .15s;
}
.hero-topic-pill:hover { color: rgba(255,255,255,.9); border-color: rgba(255,255,255,.35); }

/* Barra inferior que conecta hero con el resto */
.hero-bottom-bar {
  height: 48px;
  background: var(--cream);
  margin-top: -1px;
  border-radius: 20px 20px 0 0;
  position: relative;
  z-index: 1;
}

/* La portada también cambia visualmente en modo día. */
:root[data-theme="light"] .hero {
  background: var(--surface);
}
:root[data-theme="light"] h1.hero-title {
  color: var(--text);
}
:root[data-theme="light"] h1.hero-title em {
  color: var(--gold);
}
:root[data-theme="light"] .hero-deck {
  color: var(--text-muted);
}
:root[data-theme="light"] .hero-card {
  background: var(--cream);
  border-color: var(--border);
}
:root[data-theme="light"] .hero-card:hover {
  background: var(--sage-pale);
}
:root[data-theme="light"] .hero-card-title {
  color: var(--text);
}
:root[data-theme="light"] .hero-card-meta,
:root[data-theme="light"] .hero-card-arrow {
  color: var(--text-muted);
}
:root[data-theme="light"] .hero-topics {
  border-top-color: var(--border);
}
:root[data-theme="light"] .hero-topic-pill {
  color: var(--text-muted);
  border-color: var(--border);
}
:root[data-theme="light"] .hero-topic-pill:hover {
  color: var(--sage);
  border-color: var(--sage-mid);
}
:root[data-theme="light"] .hero .btn-ghost {
  color: var(--sage);
  border-color: var(--border);
}
:root[data-theme="light"] .hero .btn-ghost:hover {
  color: var(--sage);
  border-color: var(--sage-mid);
}

/* ══════════════════════════════════════════
   SECCIÓN GUÍAS
══════════════════════════════════════════ */
#guias { background: var(--cream); padding: 64px 0; }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .articles-grid { grid-template-columns: 1fr; } }

/* Cards de artículo */
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.card-thumb         { height: 7px; flex-shrink: 0; }
.thumb-ciclo        { background: #C2485E; }
.thumb-anticoncep   { background: #5B8FA8; }
.thumb-mitos        { background: #D4943A; }
.thumb-gine         { background: #5B8A6E; }
.thumb-mental       { background: #8A6EA0; }
.thumb-coming       { background: var(--surface2); }

.card-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-category { font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.card-title    { font-family: Georgia, serif; font-size: 1.05rem; line-height: 1.35; font-weight: normal; margin-bottom: 10px; color: var(--text); text-wrap: balance; }
.card-excerpt  { font-size: .85rem; color: var(--text-muted); line-height: 1.55; flex: 1; margin-bottom: 18px; }
.card-footer   { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 14px; margin-top: auto; }
.card-read-link { font-size: .8rem; font-weight: 700; color: var(--sage-mid); display: flex; align-items: center; gap: 4px; }
.card-read-link:hover { text-decoration: underline; }
.card-coming   { display: flex; align-items: center; justify-content: center; flex: 1; font-size: .85rem; color: var(--text-muted); padding: 20px 0 30px; font-style: italic; min-height: 80px; }

/* ══════════════════════════════════════════
   STRIP DE ESTADÍSTICAS
══════════════════════════════════════════ */
.stats-strip { background: var(--ink); padding: 40px 0; }
.stats-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; text-align: center;
}
@media (max-width: 560px) { .stats-inner { grid-template-columns: 1fr; gap: 28px; } }

.stat-num   { font-family: Georgia, serif; font-size: 2.2rem; color: var(--gold-light); display: block; line-height: 1.1; margin-bottom: 6px; }
.stat-label { font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.4; }

/* ══════════════════════════════════════════
   PILARES DE CONTENIDO
══════════════════════════════════════════ */
#temas {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 700px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar-cell {
  background: var(--surface);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background .15s;
  border: 1px solid transparent;
}
.pillar-cell:hover  { background: var(--sage-pale); }
.pillar-cell-icon   { font-size: 1.6rem; }
.pillar-cell-name   { font-weight: 700; font-size: .9rem; }
.pillar-cell-desc   { font-size: .8rem; color: var(--text-muted); line-height: 1.45; }
.pillar-cell-count  { font-size: 11px; font-weight: 600; color: var(--sage-mid); margin-top: 4px; letter-spacing: .04em; }

/* ══════════════════════════════════════════
   POR QUÉ SOMOS DIFERENTES
══════════════════════════════════════════ */
#por-que { background: var(--cream); padding: 64px 0; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; gap: 24px; } }

.why-item          { display: flex; flex-direction: column; gap: 12px; padding-left: 18px; border-left: 3px solid var(--sage-mid); }
.why-item-title    { font-weight: 700; font-size: 1rem; }
.why-item-desc     { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ══════════════════════════════════════════
   NEWSLETTER
══════════════════════════════════════════ */
#newsletter { background: var(--sage); padding: 80px 0; }

.newsletter-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
@media (max-width: 700px) { .newsletter-inner { grid-template-columns: 1fr; gap: 32px; } }

.nl-left h2 {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: normal; font-style: italic;
  color: #fff; line-height: 1.25;
  text-wrap: balance; margin-bottom: 14px;
}
.nl-left p { font-size: .95rem; color: rgba(255,255,255,.7); max-width: 44ch; line-height: 1.6; }

.nl-promises { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.nl-promises li { font-size: .85rem; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 8px; }
.nl-promises li::before { content: '✓'; color: var(--gold-light); font-weight: 700; flex-shrink: 0; }

.nl-form { display: flex; flex-direction: column; gap: 12px; }
.nl-form input[type="text"],
.nl-form input[type="email"] {
  width: 100%; padding: 14px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff; font-size: .95rem; font-family: inherit;
  outline: none; transition: border-color .15s, background .15s;
}
.nl-form input::placeholder { color: rgba(255,255,255,.45); }
.nl-form input:focus { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.15); }

.nl-submit {
  width: 100%; padding: 14px 24px;
  background: var(--gold); color: #fff;
  font-size: .95rem; font-weight: 700;
  border-radius: 10px; cursor: pointer;
  transition: background .15s; font-family: inherit;
  letter-spacing: .03em; border: none;
}
.nl-submit:hover { background: #B5741A; }

.nl-disclaimer { font-size: .75rem; color: rgba(255,255,255,.4); line-height: 1.4; }

/* ── Confirmación del formulario ── */
.nl-success {
  text-align: center;
  padding: 32px 0;
  color: #fff;
}
.nl-success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.nl-success h3   { font-size: 1.1rem; margin-bottom: 6px; }
.nl-success p    { font-size: .85rem; opacity: .7; }


/* ══════════════════════════════════════════
   CONTACTO / CONVERSIÓN
══════════════════════════════════════════ */
.contact-section { background: var(--sage); padding: 76px 0; }
.contact-inner { max-width:1120px; margin:0 auto; padding:0 24px; display:grid; grid-template-columns:1.2fr .8fr; gap:54px; align-items:center; }
.contact-copy h2 { font-family:Georgia,serif; font-size:clamp(1.55rem,3vw,2.35rem); font-weight:normal; color:#fff; line-height:1.2; margin-bottom:14px; max-width:18ch; }
.contact-copy > p { color:rgba(255,255,255,.76); max-width:58ch; }
.section-eyebrow-light { color:var(--gold-light) !important; }
.contact-actions { display:flex; gap:10px; flex-wrap:wrap; margin:24px 0 12px; }
.contact-primary,.contact-secondary { display:inline-flex; align-items:center; justify-content:center; padding:12px 18px; border-radius:8px; font-size:.9rem; font-weight:800; }
.contact-primary { background:var(--gold); color:#fff; }
.contact-secondary { border:1px solid rgba(255,255,255,.32); color:#fff; }
.contact-note { font-size:.77rem !important; color:rgba(255,255,255,.5) !important; }
.contact-trust { background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.16); border-radius:14px; padding:24px; color:#fff; }
.contact-trust h3 { font-family:Georgia,serif; font-size:1.15rem; margin-bottom:12px; }
.contact-trust ul { padding-left:20px; display:flex; flex-direction:column; gap:8px; color:rgba(255,255,255,.76); font-size:.86rem; }
.contact-official { display:inline-block; margin-top:16px; font-size:.82rem; font-weight:800; color:var(--gold-light); }
@media(max-width:760px){ .contact-inner{grid-template-columns:1fr; gap:30px;} .contact-copy h2{max-width:none;} }
