/* ====================================
   APP PARA PADRES SEPARADOS - COCRIANZA LANDING
   Archivo: wwwroot/css/Landing/AppPadresSeparados.css
   Se carga junto a Guia.css (cuerpo de lectura, tablas, CTA y modo oscuro).
   Aquí solo va lo propio de la landing: cabecera con captura, pasos y capturas.
   ==================================== */

/* ---------- Cabecera ---------- */

.app-hero-ancho {
    max-width: 1040px;
}

.app-hero-rejilla {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.app-hero-entradilla {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.app-hero-acciones {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.app-boton {
    display: inline-block;
    background: #C2573F;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.8rem 1.8rem;
}

.app-boton:hover,
.app-boton:focus {
    background: #A84A35;
    color: #fff;
}

.app-enlace {
    color: var(--guia-enlace);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.app-hero-nota {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    color: var(--guia-texto-suave);
}

/* ---------- Capturas ---------- */

.app-captura {
    /* width explícito: como elemento de rejilla centrado, sin él la figura se
       encoge al ancho de una imagen diferida que aún no ha cargado. */
    width: 100%;
    margin: 0 auto;
    max-width: 240px;
}

.app-captura img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--guia-borde);
    box-shadow: 0 12px 32px rgba(58, 58, 58, 0.15);
}

.app-captura-hero {
    max-width: 260px;
}

.app-con-captura {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

/* ---------- Pasos ---------- */

.app-pasos {
    list-style: none;
    counter-reset: paso;
    padding-left: 0;
}

.app-pasos li {
    counter-increment: paso;
    position: relative;
    padding-left: 3.25rem;
    margin-bottom: 1.25rem;
}

.app-pasos li::before {
    content: counter(paso);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--cocrianza-melocoton-claro);
    color: #8A3B28;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-pasos strong {
    display: block;
}

/* ---------- Comparativa ---------- */

.app-comparativa td,
.app-comparativa th {
    min-width: 8rem;
}

@media (min-width: 768px) {
    .app-hero-rejilla {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 3rem;
    }

    .app-con-captura {
        grid-template-columns: minmax(0, 1fr) 200px;
        gap: 2rem;
    }

    .app-con-captura p:first-child {
        margin-top: 0;
    }
}

/* ---------- Modo oscuro ---------- */

[data-theme="dark"] .app-captura img {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .app-pasos li::before {
    background: var(--dm-bg-card);
    color: var(--dm-coral-soft);
}
