/* --- CONTENEDOR PRINCIPAL --- */
.stampia-why-layout {
    /*background-color: #fffcfc;*/
    padding-bottom: 80px;
    color: #334155;
    font-family: sans-serif; /* Heredará la de tu sitio */
}

/* --- HERO SECTION --- */
.why-hero {
    background: linear-gradient(to bottom, #fff0f2, #fffcfc); /* Degradado suave hacia el fondo de la página */
    padding: 100px 0 60px 0;
    text-align: center;
}
.why-hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.why-tag {
    display: inline-block;
    background: #fff0f2;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}
.why-hero h1 {
    font-family: var(--font-serif, serif);
    color: #0D1B2A;
    font-size: clamp(32px, 5vw, 46px);
    line-height: 1.2;
    margin: 0 0 16px 0;
}
.why-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: #4a5568;
    margin: 0;
}

/* --- BLOQUE 1: MANIFIESTO --- */
.why-manifesto {
    padding: 60px 0;
}
.manifesto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: center;
}
.manifesto-text h2 {
    font-family: var(--font-serif, serif);
    color: #0D1B2A;
    font-size: 28px;
    margin-bottom: 20px;
}
.manifesto-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 16px;
}
.manifesto-image-placeholder {
    width: 100%;
    height: 350px;
    /*background-color: #e2e8f0;*/
    background-image: url("http://agencia-asiatica.local/wp-content/uploads/2026/07/IMG20220527160228-scaled.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.img-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    color: #0D1B2A;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* --- BLOQUE 2: LOS 3 PILARES --- */
.why-pillars-section {
    background-color: white;
    padding: 80px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.section-title-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
}
.section-title-center h2 {
    font-family: var(--font-serif, serif);
    color: #0D1B2A;
    font-size: 28px;
    margin-bottom: 10px;
}
.section-title-center p {
    color: #718096;
    margin: 0;
    font-size: 15px;
}
.why-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.pillar-card {
    background: #fffcfc;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(13, 27, 42, 0.04);
}
.pillar-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.pillar-card h3 {
    font-family: var(--font-serif, serif);
    color: #0D1B2A;
    font-size: 18px;
    margin: 0 0 12px 0;
}
.pillar-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* --- BLOQUE 3: CALL TO ACTION --- */
.why-cta-section {
    padding: 80px 0 40px 0;
    text-align: center;
}
.why-cta-card {
    background: #0D1B2A;
    color: white;
    padding: 50px 30px;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(13, 27, 42, 0.1);
}
.why-cta-card h2 {
    font-family: var(--font-serif, serif);
    font-size: 28px;
    margin: 0 0 12px 0;
}
.why-cta-card p {
    font-size: 15px;
    color: #a0aec0;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.5;
}
.why-cta-card .btn-cta-whatsapp {
    display: inline-block;
    background: #25D366; /* Verde oficial WhatsApp */
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease;
}
.why-cta-card .btn-cta-whatsapp:hover {
    background: #128C7E;
}


/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* --- TABLETS Y PANTALLAS MEDIANAS (Menos de 992px) --- */
@media screen and (max-width: 992px) {
    .why-hero {
        padding: 80px 0 40px 0;
    }

    .manifesto-grid {
        gap: 30px;
    }

    .why-pillars-section {
        padding: 60px 0;
    }
}

/* --- MÓVILES GRANDES Y TABLETS VERTICALES (Menos de 768px) --- */
@media screen and (max-width: 768px) {
    .manifesto-grid {
        grid-template-columns: 1fr; /* Colapsa a una sola columna */
        text-align: center;
        padding: 0 24px;
    }

    .manifesto-visual {
        order: -1; /* Pone la imagen ARRIBA del texto en móviles para enganchar visualmente */
    }

    .manifesto-image-placeholder {
        height: 280px; /* Reducimos altura para que no ocupe toda la pantalla móvil */
    }

    .why-pillars-grid {
        grid-template-columns: 1fr; /* Tarjetas de pilares en una sola columna */
        gap: 20px;
    }

    .pillar-card {
        padding: 24px; /* Un poco menos de padding interno en móvil */
        text-align: center;
    }

    .why-cta-card {
        padding: 40px 20px;
        margin: 0 15px; /* Margen sutil a los lados para que no toque los bordes físicos del cel */
    }
}

/* --- MÓVILES PEQUEÑOS (Menos de 480px) --- */
@media screen and (max-width: 480px) {
    .why-hero {
        padding: 60px 0 30px 0;
    }

    .why-hero h1 {
        font-size: 28px; /* Forzamos un tamaño seguro para pantallas muy angostas */
    }

    .manifesto-text h2, 
    .section-title-center h2, 
    .why-cta-card h2 {
        font-size: 22px; /* Títulos secundarios más legibles en pantallas chicas */
    }

    .why-cta-section {
        padding: 2px 0 20px 0;
    }

    .why-cta-card .btn-cta-whatsapp {
        display: block; /* El botón ocupa todo el ancho disponible para que sea fácil de clickear con el pulgar */
        padding: 14px 16px;
        font-size: 14px;
    }
}