
/* =========================
   NOSOTROS SECTION
========================= */

.nosotros {
    padding: 90px 6%;
    background: #faf8f5;
}

.nosotros-container {
    max-width: 1500px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* LEFT CONTENT */

.nosotros-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nosotros-label {
    display: flex;
    align-items: center;
    gap: 16px;

    font-size: 12px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--brown-medium);
    margin-bottom: 24px;
}

.nosotros-label::before {
    content: "";
    width: 45px;
    height: 1px;
    background: var(--brown-medium);
}

.nosotros-title {
    font-size: clamp(36px, 3.5vw, 60px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--brown-dark);
    margin: 0 0 30px;
}

.nosotros-title span {
    color: var(--brown-medium);
}

/* DESCRIPTION */

.nosotros-description {
    max-width: 680px;
}

.nosotros-description p {
    font-size: 15px;
    line-height: 1.9;
    color: #696969;
    margin: 0 0 20px;
}

/* FEATURE CARDS */

.nosotros-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.nosotros-card {
    padding: 24px 18px;
    border: 1px solid #e9dfd5;
    border-radius: 8px;
    background: #fffdfb;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.nosotros-card:hover {
    transform: translateY(-6px);
    border-color: var(--brown-light);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* ICONS */

.nosotros-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3e7da;
    border-radius: 7px;
    color: var(--brown-medium);
    margin-bottom: 20px;
}

.nosotros-icon svg {
    width: 25px;
    height: 25px;
    stroke-width: 1.7;
}

/* CARD TEXT */

.nosotros-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--brown-dark);
    margin: 0 0 12px;
}

.nosotros-card p {
    font-size: 12px;
    line-height: 1.7;
    color: #777;
    margin: 0;
}

/* RIGHT IMAGE */

.nosotros-image {
    width: 100%;
    height: 100%;
    min-height: 525px;
    overflow: hidden;
    border-radius: 9px;
}

.nosotros-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;

    transition: transform 0.7s ease;
}

.nosotros-image:hover img {
    transform: scale(1.04);
}

/* RESPONSIVE */


@media (min-width: 768px) and (max-width: 1100px) {

    .nosotros {
        padding: 55px 5% 35px;
        scroll-margin-top: 80px;
        min-height: 100svh;
        box-sizing: border-box;
        
    }

    .nosotros-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nosotros-label {
        margin-bottom: 20px;
    }

    .nosotros-title {
        font-size: clamp(32px, 3.5vw, 42px);
        margin-bottom: 24px;
    }

    .nosotros-description p {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 16px;
    }

    .nosotros-features {
        gap: 18px;
        margin-top: 18px;
    }

    .nosotros-card {
        padding: 22px 18px 18px;
    }

    .nosotros-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 16px;
    }

    .nosotros-icon svg {
        width: 23px;
        height: 23px;
    }

    .nosotros-card h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .nosotros-card p {
        font-size: 12px;
        line-height: 1.6;
    }

    .nosotros-image {
        height: clamp(330px, 38svh, 450px);
        min-height: 0;
    }
}



@media (max-width: 767px) {

    .nosotros {
        padding: 45px 5% 35px;
        
    }

    .nosotros-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .nosotros-content {
        width: 100%;
        min-width: 0;
    }

    .nosotros-label {
        margin-bottom: 18px;
    }

    .nosotros-title {
        font-size: clamp(30px, 8vw, 38px);
        line-height: 1.2;
        margin-bottom: 22px;
    }

    .nosotros-description {
        max-width: 100%;
    }

    .nosotros-description p {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 14px;
    }


.nosotros-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 15px;
}

.nosotros-card {
    padding: 12px 8px;
    min-width: 0;
}

.nosotros-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.nosotros-icon svg {
    width: 17px;
    height: 17px;
}

.nosotros-card h3 {
    font-size: 11px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.nosotros-card p {
    font-size: 10px;
    line-height: 1.5;
}
.nosotros-image {
    width: 100%;
    height: 200px;
    min-height: 0;
}
}

/* =========================
   NOSOTROS — DESKTOP ONLY
========================= */

@media (min-width: 1025px) {

    .nosotros-card {
        padding: 18px 16px;
    }

    .nosotros-card h3 {
        margin: 0px;
    }

    .nosotros-card p {
        font-size: 13px;
        line-height: 1.4;
    }

}