/* =========================================================
   PÁGINA: PRODUCTOS
   Napo & Lola
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.productos-hero {
    background-image: url("../images/hero/hero_productos.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.productos-hero .hero__content {
    padding-bottom: clamp(160px, 24vh, 320px);
}


/* =========================================================
   INTRO — TRANSICIÓN
   ========================================================= */

.productos-intro {
    background: var(--marfil);
    color: var(--cafe);
}

.productos-intro__header {
    min-height: min(620px, 72vh);
    padding-top: clamp(80px, 10vw, 130px);
    padding-bottom: clamp(40px, 5vw, 60px);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.productos-intro__eyebrow {
    margin-bottom: 16px;
    font-family: var(--fuente-texto);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--verde-olivo);
}

.productos-intro__title {
    font-family: var(--fuente-titulos);
    font-size: clamp(48px, 7vw, 82px);
    font-weight: 500;
    line-height: 1;
}

.productos-intro__floritura {
    width: clamp(130px, 17vw, 210px);
    height: 34px;
    margin: 25px auto 23px;
}

.productos-intro__text {
    max-width: 620px;
    font-size: clamp(14px, 1.35vw, 16px);
    line-height: 1.9;
    font-weight: 300;
}


/* =========================================================
   SECCIÓN DE PRODUCTOS
   ========================================================= */

.productos-seccion {
    position: relative;
    background: var(--marfil);
    color: var(--cafe);

    padding-top: clamp(30px, 4vw, 50px);
    padding-bottom: clamp(80px, 10vw, 130px);
}

.productos-seccion__header {
    max-width: 700px;
    margin-bottom: 55px;
}

.productos-bloque__numero {
    margin-bottom: 12px;
    font-family: var(--fuente-texto);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--beige);
}

.productos-bloque__eyebrow {
    margin-bottom: 17px;
    font-family: var(--fuente-texto);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--verde-olivo);
}

.productos-bloque__title {
    max-width: 620px;
    margin-bottom: 24px;
    font-family: var(--fuente-titulos);
    font-size: clamp(38px, 4.5vw, 60px);
    font-weight: 500;
    line-height: 1.08;
}

.productos-seccion__intro {
    max-width: 620px;
    font-size: 15px;
    line-height: 1.95;
    font-weight: 300;
}


/* =========================================================
   LISTA DE PRODUCTOS
   ========================================================= */

.productos-lista {
    width: min(calc(100% - 40px), var(--ancho-contenido));
    margin-inline: auto;

    display: flex;
    flex-direction: column;
    gap: clamp(35px, 5vw, 60px);
}


/* ---------------------------------------------------------
   Tarjeta de producto
   --------------------------------------------------------- */

.producto {
    display: grid;
    grid-template-columns: 61.8% 38.2%;

    border-radius: 3px;
    overflow: hidden;

    border: 1px solid rgba(81, 56, 44, 0.10);

    box-shadow:
        0 4px 12px rgba(81, 56, 44, 0.08),
        0 16px 40px rgba(81, 56, 44, 0.12);

    background: rgba(250, 249, 247, 0.72);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);

    color: var(--cafe);
}


/* ---------------------------------------------------------
   Texto — columna izquierda
   --------------------------------------------------------- */

.producto__texto {
    padding: clamp(40px, 5vw, 70px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.producto__texto h3 {
    font-family: var(--fuente-titulos);
    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--cafe);
    margin: 0;
}

.producto__texto p {
    max-width: 720px;
    font-family: var(--fuente-texto);
    font-size: 14px;
    line-height: 1.9;
    font-weight: 300;
    color: var(--cafe);
    margin: 0;
}


/* ---------------------------------------------------------
   Imagen — columna derecha
   --------------------------------------------------------- */

.producto__imagen {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 380px;
    padding: clamp(30px, 4vw, 60px);
}

.producto__imagen img {
    display: block;
    max-width: 80%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* ---------------------------------------------------------
   Placeholder (mientras no hay imagen)
   --------------------------------------------------------- */

.producto__placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            rgba(152, 159, 117, 0.18),
            rgba(218, 201, 169, 0.28)
        );

    border: 1px dashed rgba(81, 56, 44, 0.24);
    border-radius: 3px;

    color: rgba(81, 56, 44, 0.52);

    font-family: var(--fuente-texto);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;

    padding: 20px;
}


/* =========================================================
   CTA WHATSAPP
   ========================================================= */

.productos-cta {
    margin-top: clamp(60px, 8vw, 100px);
    text-align: center;
}

.productos-cta__texto {
    margin-bottom: 25px;

    font-family: var(--fuente-texto);
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 300;
    line-height: 1.7;

    color: var(--cafe);
}

.productos-cta__boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    border-radius: 50%;

    background-color: var(--verde-olivo);
    color: var(--marfil);

    box-shadow: 0 6px 18px rgba(152, 159, 117, 0.42);

    transition:
        background-color var(--transicion),
        transform var(--transicion),
        box-shadow 0.5s ease;
}

.productos-cta__boton:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 20px 10px rgba(200, 210, 165, 0.85),
        0 0 40px 20px rgba(200, 210, 165, 0.60),
        0 0 70px 30px rgba(200, 210, 165, 0.32),
        0 12px 30px rgba(152, 159, 117, 0.35);
}

.productos-cta__boton svg {
    display: block;
    width: 32px;
    height: 32px;
}


/* =========================================================
   RESPONSIVE — MÓVIL / TABLET
   ========================================================= */

@media (max-width: 768px) {

    .producto {
        grid-template-columns: 1fr;
    }

    .producto__imagen {
        order: -1;         /* imagen arriba en móvil */
        min-height: 280px;
        padding: 30px;
    }

    .producto__texto {
        padding: 32px 26px;
    }

    .producto__texto h3 {
        font-size: 26px;
    }

    .producto__texto p {
        font-size: 14px;
        line-height: 1.8;
    }

    .producto__placeholder {
        min-height: 240px;
    }

    .productos-seccion__header {
        margin-bottom: 40px;
    }

    .productos-intro__header {
        min-height: 460px;
        padding-top: 70px;
        padding-bottom: 40px;
    }

    .productos-intro__text {
        line-height: 1.8;
    }

    .productos-cta__boton {
        width: 60px;
        height: 60px;
    }

    .productos-cta__boton svg {
        width: 28px;
        height: 28px;
    }
}