#banner-interna {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    height: 15vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

#banner-interna {
    position: relative;
}

#banner-interna img {
    display: none;
}

#banner-interna::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(47, 34, 27, 0.8), rgba(201, 109, 58, 0.2));
}

@media (max-width: 992px) {
    #banner-interna {
        background-attachment: scroll;
        height: 13vh;
    }
}

#s-nosotros {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 70px 0;
    background:
        radial-gradient(circle at top left, rgba(201, 109, 58, 0.12), transparent 45%),
        radial-gradient(circle at 80% 40%, rgba(47, 34, 27, 0.12), transparent 45%),
        #f9f6f1;
}

.nosotros-intro {
    width: min(1100px, 90%);
    margin: 0 auto;
    text-align: center;
}

.nosotros-intro h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    color: #2f221b;
    margin-bottom: 10px;
    font-weight: 700;
}

.nosotros-intro p {
    color: #4a413a;
    font-size: 1.05rem;
    margin: 0 auto;
    max-width: 700px;
}

.card-nosotros {
    width: min(1100px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(31, 26, 22, 0.16);
    border: 1px solid rgba(47, 34, 27, 0.06);
    transform: translateY(18px);
    opacity: 0;
    animation: revealCard 0.8s ease forwards;
}

#s-nosotros .card-nosotros:nth-child(1) { animation-delay: 0.05s; }
#s-nosotros .card-nosotros:nth-child(2) { animation-delay: 0.15s; }
#s-nosotros .card-nosotros:nth-child(3) { animation-delay: 0.25s; }
#s-nosotros .card-nosotros:nth-child(4) { animation-delay: 0.35s; }
#s-nosotros .card-nosotros:nth-child(5) { animation-delay: 0.45s; }

@keyframes revealCard {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#s-nosotros > div:nth-child(odd) {
    grid-template-columns: 1.1fr 1fr;
}

#s-nosotros > div:nth-child(odd) img {
    order: 2;
}

.card-nosotros img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    transform: scale(1.02);
}

.info-nosotros {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 38px 46px 38px 8px;
}

.info-nosotros h3 {
    font-size: 30px;
    color: #2f221b;
    font-weight: 700;
    margin: 0;
}

.info-nosotros p {
    font-size: 17px;
    color: #3e352f;
    margin: 0 0 6px;
    line-height: 1.65;
}

.info-nosotros p b {
    font-weight: 700;
    color: #2f221b;
}

.info-nosotros h4 {
    font-size: 28px;
    font-weight: 700;
    color: #2f221b;
    margin: 0;
}

.info-nosotros h5 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9b5731;
    margin: 0;
}

.content-items-interna {
    display: grid;
    gap: 14px 24px;
    margin-top: 12px;
}

.dos-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-items-interna span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-items-interna span svg {
    width: 28px;
    background: linear-gradient(140deg, #c96d3a, #9b5731);
    border-radius: 50%;
    padding: 4px;
}

.content-items-interna span p {
    font-size: 16px;
    color: #4a413a;
    margin: 0;
}

.btn-contacto-nosotros {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(140deg, #c96d3a, #9b5731);
    font-size: 16px;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(201, 109, 58, 0.3);
}

.btn-contacto-nosotros:hover {
    color: #fff;
    background: linear-gradient(140deg, #9b5731, #6b3d2a);
}

@media screen and (max-width: 1024px) {
    #banner-interna img {
        height: auto;
    }

    #s-nosotros {
        padding: 36px 0;
        gap: 26px;
    }

    .card-nosotros {
        grid-template-columns: 1fr;
        gap: 0;
    }

    #s-nosotros > div:nth-child(odd) {
        grid-template-columns: 1fr;
    }

    #s-nosotros > div:nth-child(odd) img {
        order: 0;
    }

    .card-nosotros img {
        min-height: 220px;
    }

    .info-nosotros {
        padding: 26px;
    }

    .dos-items {
        grid-template-columns: 1fr;
    }

    .btn-contacto-nosotros {
        width: 100%;
        justify-content: center;
    }
}
