/* ==========================================================================
   ESTILOS EXCLUSIVOS PARA LA PÁGINA DE "QUIÉNES SOMOS"
   ========================================================================== */

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --verde-oliva:        #4E5B31;
    --verde-oliva-oscuro: #4c5c20;
    --terracota:          #C0653D;
    --crema:              #F5EFE4; /* Tu color arenita clarito */
    --blanco:             #ffffff;
    --gris-texto:         #4a3f35;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body.pagina-nosotros {
    background-color: var(--crema) !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--gris-texto);
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    overflow-x: hidden;
}

/* ===== BARRA SUPERIOR / HEADER DE NOSOTROS ===== */
.brand-bar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    background-color: var(--verde-oliva);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

.brand-left {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.brand-left img.logo-img {
    height: 55px;
    width: 55px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.brand-right {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

/* Botón estilizado para Volver al Inicio con degradado difuminado 50/50 */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    /* Degradado difuminado: el verde va de 0% a 55% y el terracota entra suavemente desde el 45% al 100% */
    background: linear-gradient(135deg, #4E5B31 0%, #4E5B31 45%, #C0653D 55%, #C0653D 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-back:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(192, 101, 61, 0.4);
}
.btn-back:hover {
    filter: brightness(1.15); /* Se aclara ligeramente al pasar el mouse */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(192, 101, 61, 0.4);
}

/* ===== SECCIÓN PRINCIPAL (UNIFICADA CON EL FONDO ARENITA) ===== */
main,
.pagina-nosotros main,
.pagina-nosotros .quienes,
.pagina-nosotros .seccion-ancestral,
.quienes,
.seccion-ancestral {
    background-color: var(--crema) !important;
    background-image: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

main {
    padding-top: 40px !important;
    min-height: calc(100vh - 85px);
}

/* ===== SECCIÓN QUIÉNES SOMOS (PC Y CELULAR) ===== */
.quienes {
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
}

.quienes-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    width: 100%;
    background: #ffffff !important;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(92, 75, 55, 0.06) !important;
    box-sizing: border-box;
}

.quienes-img {
    flex: 1;
    display: flex;
    justify-content: center;
}

.quienes-img img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.quienes-texto {
    flex: 1.2;
}

.quienes-texto h2 {
    text-align: left;
    color: var(--verde-oliva);
    font-size: 2.3rem;
    margin-bottom: 20px;
}

.quienes-texto p {
    text-align: left !important;
    line-height: 1.6;
    color: #444444;
    font-size: 1rem;
    margin-bottom: 15px;
}

/* ===== PILARES ===== */
.seccion-pilares {
    padding: 60px 8%;
    background-color: #f8f6f1;
}

.pilares-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
}

.pilar-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pilar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pilar-icon {
    font-size: 1.8rem;
    color: #4a5035;
    background: #f0f2eb;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
}

.pilar-card h3 {
    font-size: 24px;
    color: #2d4a22;
    margin-bottom: 20px;
    font-weight: 700;
}

.pilar-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0;
}

/* ===== TESTIMONIOS ===== */
.seccion-ancestral {
    padding: 60px 20px !important;
    text-align: center;
}

.bloque-testimonios h3,
.bloque-cta h3 {
    color: #2d4a22;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.subtitulo-seccion {
    color: #5c4b37;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.grid-testimonios {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.tarjeta-comentario {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: #ffffff !important;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
    border-bottom: 4px solid var(--verde-oliva);
}

.calificacion-estrellas {
    color: var(--terracota) !important;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    gap: 4px;
}

.parrafo-comentario {
    color: #4a3f35;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tarjeta-comentario h4 {
    color: #2d4a22;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.tarjeta-comentario span {
    color: var(--terracota);
    font-size: 0.85rem;
    font-weight: bold;
}

/* ===== BLOQUE CTA / BOTONES INFERIORES ===== */
.bloque-cta {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.bloque-cta p {
    color: #4a3f35;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.botones-flex {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-ancestral {
    padding: 12px 28px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-verde {
    background-color: var(--verde-oliva);
    color: #ffffff !important;
}

.btn-transparente {
    background-color: transparent !important;
    color: var(--verde-oliva) !important;
    border: 2px solid var(--verde-oliva) !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-transparente:hover {
    background-color: var(--verde-oliva) !important;
    color: #ffffff !important;
}

/* ===== RESPONSIVE PARA CELULARES ===== */
@media screen and (max-width: 768px) {
    .brand-bar {
        padding: 0 20px;
        height: 70px;
    }

    .quienes {
        padding: 20px 10px;
    }

    .quienes-container {
        flex-direction: column;
        padding: 25px 15px;
        gap: 20px;
        border-radius: 10px;
    }

    .quienes-texto h2 {
        text-align: center;
        font-size: 1.8rem;
    }

    .quienes-texto p {
        text-align: left !important;
        font-size: 0.95rem;
    }
}
/* ===== BOTÓN WHATSAPP FLOTANTE ===== */
.whatsapp-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--blanco);
    padding: 14px 22px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.whatsapp-icon {
    font-size: 18px;
}
