/* =========================================================
   descubre_simple.css – Estilos para Descubre.html
   Fusión: layout split (imagen+texto alternado) con estética
   moderna del sitio (bordes redondeados, rosa, sombras suaves)
   ========================================================= */

/* ==================================
   Hero Section (no fullscreen)
   ================================== */
.descubre-hero-simple {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.descubre-hero-simple-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.descubre-hero-simple-bg .descubre-hero-simple-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Overlay oscuro sutil para legibilidad del texto */
.descubre-hero-simple-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(10, 10, 30, 0.4) 0%,
            rgba(10, 10, 30, 0.1) 100%);
}

/* Contenido del Hero */
.descubre-hero-simple-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    margin-bottom: 80px; /* empuja el texto hacia arriba para dejar espacio al overlap */
}

.descubre-hero-simple-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin: 0 0 12px 0;
    letter-spacing: 1.5px;
}

.descubre-hero-simple-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin: 0;
    letter-spacing: 0.5px;
}

/* ==================================
   Sección de Tarjetas
   ================================== */
.descubre-cards-section {
    padding: 4rem 1.5rem 6rem;
    max-width: 1100px;
    margin: -60px auto 0;
    position: relative;
}

/* ==================================
   Tarjeta Split – Fusión del layout
   de la referencia con estilo moderno
   ================================== */
.descubre-split-card {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    margin-bottom: 3rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.descubre-split-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.14);
}

/* --- Imagen del split --- */
.descubre-split-img {
    flex: 0 0 45%;
    max-width: 45%;
    overflow: hidden;
    position: relative;
}

.descubre-split-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.descubre-split-card:hover .descubre-split-img img {
    transform: scale(1.06);
}

/* --- Texto del split --- */
.descubre-split-text {
    flex: 1;
    padding: 40px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.descubre-split-kicker {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

.descubre-split-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #e7337c;
    margin: 0 0 16px 0;
    line-height: 1.15;
}

.descubre-split-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 24px 0;
    text-align: justify;
}

/* --- Botón pill rosa --- */
.descubre-split-btn {
    display: inline-block;
    padding: 11px 28px;
    background: linear-gradient(135deg, #e7337c, #ff6b6b);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(231, 51, 124, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: fit-content;
}

.descubre-split-card:hover .descubre-split-btn {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231, 51, 124, 0.45);
}

/* Variante nocturna (bares) */
.descubre-split-btn--night {
    background: linear-gradient(135deg, #3d5af1, #a18cd1);
    box-shadow: 0 4px 15px rgba(61, 90, 241, 0.25);
}

.descubre-split-card:hover .descubre-split-btn--night {
    box-shadow: 0 8px 25px rgba(61, 90, 241, 0.45);
}

/* --- Modificador: imagen a la derecha --- */
.descubre-split-card--reverse {
    flex-direction: row-reverse;
}

.descubre-split-card--reverse .descubre-split-text {
    text-align: right;
    align-items: flex-end;
}

/* ==================================
   Scroll Reveal
   ================================== */
.descubre-card-reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.descubre-card-reveal.descubre-card-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger suave por card */
.descubre-card-reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.descubre-card-reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.descubre-card-reveal:nth-child(4) {
    transition-delay: 0.24s;
}

/* ==================================
   Responsive
   ================================== */

/* Tablet y móvil: apila las columnas */
@media (max-width: 850px) {
    .descubre-split-card,
    .descubre-split-card--reverse {
        flex-direction: column;
    }

    .descubre-split-img {
        flex: none;
        max-width: 100%;
        height: 240px;
    }

    .descubre-split-text {
        padding: 30px 28px;
    }

    .descubre-split-card--reverse .descubre-split-text {
        text-align: left;
        align-items: flex-start;
    }

    .descubre-split-text h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .descubre-hero-simple {
        height: 55vh;
        min-height: 280px;
    }

    .descubre-cards-section {
        padding: 3rem 1rem 4rem;
    }

    .descubre-split-img {
        height: 200px;
    }

    .descubre-split-text {
        padding: 24px 20px;
    }

    .descubre-split-text h3 {
        font-size: 1.5rem;
    }

    .descubre-split-text p {
        font-size: 0.9rem;
    }
}
