/* ============================================================
   esto-normal-posparto · dudas frecuentes del posparto
   comparte lenguaje con que-hacer-pecho-duele: del síntoma → al cuidado
   ============================================================ */

/* ---------- figura base (mismo lenguaje que razones) ---------- */
.fig {
    margin: 38px 0 34px;
    padding: 28px 26px 20px;
    background: var(--white);
    border: 1px solid rgba(33, 48, 42, .08);
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(42, 56, 48, .04);
    max-width: 760px;
    box-sizing: border-box
}
.fig svg { width: 100%; height: auto; display: block; overflow: visible; }
.fig figcaption {
    margin-top: 16px; padding-top: 14px;
    border-top: 1px solid rgba(33,48,42,.07);
    font-size: 12px; line-height: 1.6; color: var(--muted);
}

/* ---------- línea de pasos: reutiliza .razones / .razon ---------- */
.razones { margin: 6px 0 4px; max-width: 760px; box-sizing: border-box; }
.razon {
    position: relative; padding: 0 0 30px 62px;
}
.razon:last-child { padding-bottom: 8px; }
.razon:after {
    content: ""; position: absolute;
    left: 19px; top: 46px; bottom: 4px; width: 1px;
    background: rgba(33,48,42,.14);
}
.razon:last-child:after { display: none; }
.razon-num {
    position: absolute; left: 0; top: 2px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(207,141,144,.13); color: var(--terra);
    display: flex; align-items: center; justify-content: center;
    font: 400 20px var(--serif);
}
.razon--sage .razon-num { background: rgba(111,139,121,.13); color: var(--sage-deep); }
.razon-body h3 {
    font: 400 24px/1.15 var(--serif); letter-spacing: -.02em;
    color: var(--ink); margin: 4px 0 10px;
}
.razon-body p { margin: 0; }
.razon-body .answer-box { margin: 14px 0 14px; }
.razon-body .callout { margin: 14px 0 6px; }

/* ---------- Q&A con identidad: significa vs hacer ---------- */
.qa-label {
    display: flex; align-items: center; gap: 8px;
    font: 700 12.5px var(--manrope);
    letter-spacing: .01em;
    margin-bottom: 10px;
    line-height: 1.3;
}
.qa-label:before {
    flex: none; width: 22px; height: 22px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font: 700 11px/22px var(--manrope); text-align: center;
}
.qa-significa {
    background: var(--white);
    border-color: rgba(111,139,121,.22);
    border-left-color: var(--sage);
    box-shadow: 0 8px 30px rgba(42,56,48,.05);
}
.qa-significa .qa-label { color: var(--sage-deep); }
.qa-significa .qa-label:before {
    content: "◯";
    background: rgba(111,139,121,.14);
    color: var(--sage-deep);
    font-size: 10px;
}
.qa-significa p strong { color: var(--sage-deep); }

.qa-hacer {
    background: var(--white);
    border-color: rgba(207,141,144,.22);
    border-left-color: var(--terra);
    box-shadow: 0 8px 30px rgba(42,56,48,.05);
}
.qa-hacer .qa-label { color: var(--terra); }
.qa-hacer .qa-label:before {
    content: "→";
    background: rgba(207,141,144,.14);
    color: var(--terra);
    font-size: 12px;
}
.qa-hacer p strong { color: var(--ink); }

/* ---------- loquios timeline ---------- */
.loquios-fig svg { overflow: visible; }
.loquios-dot {
    opacity: 0; transform: translateY(8px);
    transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.is-visible .loquios-dot { opacity: 1; transform: none; }
.loquios-line {
    stroke-dasharray: 120; stroke-dashoffset: 120;
    transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1) .4s;
}
.is-visible .loquios-line { stroke-dashoffset: 0; }

/* ---------- cuidados suelo pélvico: 3 tarjetas ---------- */
.care-row {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 12px;
    margin: 26px 0 8px;
    max-width: 760px; box-sizing: border-box;
}
.care-card {
    padding: 22px 18px 18px; background: var(--white);
    border: 1px solid rgba(33,48,42,.08); border-radius: 22px;
    box-shadow: 0 8px 30px rgba(42,56,48,.04); text-align: center;
}
.care-card__icon {
    width: 38px; height: 38px; margin: 0 auto 12px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: rgba(111,139,121,.11); color: var(--sage-deep);
    font-size: 16px;
}
.care-card:nth-child(2) .care-card__icon { background: rgba(207,141,144,.13); color: var(--terra); }
.care-card:nth-child(3) .care-card__icon { background: rgba(220,174,135,.16); color: #8a6d3f; }
.care-card h3 {
    font: 400 17px/1.25 var(--serif); color: var(--ink); margin: 0 0 8px;
}
.care-card p { font-size: 13px; line-height: 1.6; color: #4a5a51; margin: 0; }

/* ---------- alerta suave ---------- */
.alarm-box {
    margin: 28px 0; padding: 18px 20px; border-radius: 20px;
    background: rgba(207,141,144,.08); border: 1px solid rgba(207,141,144,.22);
    display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
    max-width: 760px; box-sizing: border-box;
}

/* ---------- referencias plegables ---------- */
.refs {
    border: 1px solid rgba(33,48,42,.09); border-radius: 20px;
    background: var(--white); padding: 2px 20px; margin: 18px 0 10px;
    box-shadow: 0 8px 30px rgba(42,56,48,.04);
    max-width: 760px; box-sizing: border-box;
}
.refs summary {
    cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px;
    padding: 16px 0; font: 700 10px var(--manrope); text-transform: uppercase;
    letter-spacing: .12em; color: var(--sage-deep);
}
.refs summary::-webkit-details-marker { display: none; }
.refs summary:before { content: "✦"; font-size: 13px; color: var(--terra); }
.refs summary:after { content: "+"; margin-left: auto; font: 400 18px var(--serif); color: var(--muted); }
.refs[open] summary:after { content: "–"; }
.refs ol { list-style: decimal; margin: 0 0 16px; padding: 0 4px 0 22px; }
.refs ol li { padding: 0; border: 0; font-size: 12px; line-height: 1.65; color: var(--muted); margin: 0 0 10px; }
.refs ol li:before { content: none; }
.refs ol li:last-child { margin-bottom: 0; }
.refs ol li strong { color: #4a5a51; font-weight: 600; }

/* ---------- aparición al hacer scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(22px);
        transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
    .reveal.is-visible { opacity: 1; transform: none; }
    .razones .reveal:nth-child(2) { transition-delay: .08s; }
    .razones .reveal:nth-child(3) { transition-delay: .16s; }
    .razones .reveal:nth-child(4) { transition-delay: .24s; }
    .care-row .reveal:nth-child(2) { transition-delay: .1s; }
    .care-row .reveal:nth-child(3) { transition-delay: .2s; }
}

/* ---------- responsive ---------- */
@media(max-width:620px) {
    .fig { padding: 18px 14px 14px; border-radius: 22px; }
    .razon { padding-left: 52px; }
    .razon:after { left: 15px; }
    .razon-body h3 { font-size: 21px; }
    .care-row { grid-template-columns: 1fr; gap: 10px; }
}
