/* ===================== NOSOTROS ===================== */

.nosotros-intro {
    padding: 5rem 0 4rem;
}

.nosotros-titulo {
    color: #210100;
    margin-bottom: 2.5rem;
    text-align: center;
}

.nosotros-intro p {
    color: #1A1A1A;
    margin-bottom: 1.25rem;
}

.nosotros-ilust {
    max-width: 380px;
}

/* ---- Banner delgado parallax ---- */

.nosotros-banner {
    background-image: linear-gradient(rgba(33, 1, 0, 0.35), rgba(33, 1, 0, 0.35)), url("../imagenes/banner.jpg");
    background-size: cover;
    background-position: center 60%;
    background-attachment: fixed;
    min-height: 220px;
    padding: 3rem 0;
}

.nosotros-banner-texto {
    color: #FDF6E3;
    font-family: "Bree Serif", serif;
    font-size: 2rem;
    text-shadow: 0 2px 10px rgba(33, 1, 0, 0.6);
    max-width: 600px;
    margin: 0 auto;
}

/* ---- ¿Que nos define? ---- */

.nosotros-valores {
    background-color: #FECE79;
    padding: 5rem 0 8rem;
    clip-path: polygon(0% 0%, 100% 0%, 100.00% 90.00%, 97.50% 88.15%, 95.00% 86.47%, 92.50% 85.15%, 90.00% 84.29%, 87.50% 84.00%, 85.00% 84.29%, 82.50% 85.15%, 80.00% 86.47%, 77.50% 88.15%, 75.00% 90.00%, 72.50% 91.85%, 70.00% 93.53%, 67.50% 94.85%, 65.00% 95.71%, 62.50% 96.00%, 60.00% 95.71%, 57.50% 94.85%, 55.00% 93.53%, 52.50% 91.85%, 50.00% 90.00%, 47.50% 88.15%, 45.00% 86.47%, 42.50% 85.15%, 40.00% 84.29%, 37.50% 84.00%, 35.00% 84.29%, 32.50% 85.15%, 30.00% 86.47%, 27.50% 88.15%, 25.00% 90.00%, 22.50% 91.85%, 20.00% 93.53%, 17.50% 94.85%, 15.00% 95.71%, 12.50% 96.00%, 10.00% 95.71%, 7.50% 94.85%, 5.00% 93.53%, 2.50% 91.85%, 0.00% 90.00%);
    margin-bottom: -3rem;
}

.nosotros-valores h2 {
    color: #210100;
}

.nosotros-valores p {
    color: #1A1A1A;
    max-width: 380px;
    margin: 0 auto;
}

.valor-icono {
    width: 110px;
    height: 110px;
    object-fit: contain;
    padding: 1.25rem;
    border-radius: 50%;
    background-color: #210100;
    margin-bottom: 1.25rem;
}

.nosotros-valores .row .reveal-item:nth-child(1) { transition-delay: 0s; }
.nosotros-valores .row .reveal-item:nth-child(2) { transition-delay: 0.15s; }
.nosotros-valores .row .reveal-item:nth-child(3) { transition-delay: 0.3s; }

/* ---- Blog ---- */

.nosotros-blog {
    padding: 6rem 0 5rem;
}

.nosotros-blog h2 {
    color: #210100;
    margin-bottom: 1.25rem !important;
}

.nosotros-blog-intro {
    max-width: 550px;
    margin: 0 auto 2rem;
    color: #1A1A1A;
}

.blog-card {
    height: 100%;
    background-color: #FEF9F0;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 6px 16px rgba(33, 1, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 12px 24px rgba(33, 1, 0, 0.12);
    transform: translateY(-3px);
}

.blog-video-container {
    margin-bottom: 1.25rem;
    border-radius: 12px;
    overflow: hidden;
}

.blog-video-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    display: block;
    border: none;
}

.blog-card h3 {
    color: #210100;
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-card p {
    color: #1A1A1A;
}

/* ---- Boletín ---- */

.nosotros-newsletter {
    background-color: #210100;
    color: #FDF6E3;
    padding: 5rem 0;
}

.nosotros-newsletter h2 {
    color: #FDF6E3;
    margin-bottom: 1rem;
}

.nosotros-newsletter p {
    max-width: 550px;
    margin: 0 auto 2rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1rem;
    flex: 1 1 260px;
}

.btn-newsletter {
    display: inline-block;
    background-color: #E6A341; /* secundario */
    color: #210100;
    border: none;
    padding: 0.6rem 1.75rem;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-newsletter:hover {
    background-color: #8C0902; /* terciario */
    color: #FDF6E3;
}

.alert-newsletter {
    background-color: #E6A341;
    color: #210100;
    font-family: "Nunito Sans", sans-serif;
    border-radius: 12px;
    border: none;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    padding: 0.85rem 1.25rem;
}

/* ==========================
   TABLETS (<=992px)
========================== */
@media (max-width: 992px) {
    .nosotros-intro {
        padding: 3rem 0;
        text-align: center;
    }

    .nosotros-banner-texto {
        font-size: 1.5rem;
    }
}

/* ==========================
   CELULARES (<=768px)
========================== */
@media (max-width: 768px) {
    .nosotros-intro {
        padding: 2.5rem 0 2rem;
    }

    .nosotros-banner {
        background-attachment: scroll;
        min-height: 320px;
        padding: 2rem 1rem;
    }

    .nosotros-banner-texto {
        font-size: 1.6rem;
    }

    .nosotros-valores {
        padding: 3rem 0 6rem;
        clip-path: none;
        margin-bottom: 0;
    }

    .nosotros-blog {
        padding: 6rem 0 3rem;
        text-align: center;
    }

    .nosotros-newsletter {
        padding: 3rem 1rem;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form .form-control {
        flex: none;
        width: 100%;
    }
}