/* ================= HERO NOSOTROS ================= */
.hero-nosotros {
    min-height: 80vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

/* ================= SLIDES CAROUSEL NOSOTROS ================= */
.hero-nosotros .slides {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-nosotros .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: zoomLento 20s ease-in-out infinite alternate;
}

.hero-nosotros .slide.active {
    opacity: 1;
}

/* ================= CONTROLES CAROUSEL NOSOTROS ================= */
.hero-nosotros .hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    font-size: 30px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 12px 18px;
}
.hero-nosotros .prev { left: 20px; }
.hero-nosotros .next { right: 20px; }

.hero-nosotros .hero-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    z-index: 10;
}

.hero-nosotros .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.hero-nosotros .dot.active {
    background: #ffffff;
}

.hero-nosotros-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 30, 55, 0.75);
    z-index: 2;
}

.hero-nosotros-content {
    position: relative;
    z-index: 3;
    padding: 60px 20px;
}

.hero-nosotros-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-nosotros-subtitle {
    font-size: 1.3rem;
}


@keyframes zoomLento {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* ================= QUIENES SOMOS ================= */
.nosotros-pro {
    padding: 100px 20px 40px;
    background: #f3f3f3;
}

.nosotros-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

.nosotros-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.tintoriente-tex h3{
    font-size: 2rem;
    margin-bottom: 30px;
}

.nosotros-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-align: justify;
}

.nosotros-img {
    position: relative;
}

.nosotros-img img {
    width: 420px;
    height: 420px;
    object-fit: cover;
    border-radius: 50%;
}

/* BADGE */
.badge-exp {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: #f4b400;
    padding: 20px 25px;
    border-radius: 8px;
    font-weight: bold;
}

/* ================= MANIFIESTO ================= */
.manifiesto {
    padding: 40px 20px 40px;
    background: #fff;
}

.manifiesto-container {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: auto;
}


.manifiesto-left img {
    width: 100%;
    margin-top: 20px;
    border-radius: 10px;
}

/* BLOQUES DERECHA */
.manifiesto-right {
    display: flex;
    gap: 20px;
}

.manifiesto-box {
    background: #4a6fa5;
    color: #fff;
    padding: 40px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    line-height: 1.6;
    text-align: justify;
}

.manifiesto-box:hover {
    transform: translateY(-8px);
}

.manifiesto-box h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

/* FORMAS */
.box1 {
    border-top-left-radius: 120px;
}

.box2 {
    border-bottom-right-radius: 120px;
}

/* ================= VALORES ================= */
.valores {
    padding: 60px 20px 100px;
    background: #f3f3f3;
}

.valores-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.valores h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.valores-container {
    max-width: 1200px;
    margin: auto;
}

/* ITEMS */
.valor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    background: #ffffff;
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.valor-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.valor-title {
    background: #4a6fa5;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: bold;
    width: 100%;
    text-align: center;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.valor-item p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .hero-nosotros-title {
        font-size: 2.2rem;
    }
    .hero-nosotros-subtitle {
        font-size: 1rem;
    }
    .nosotros-text h2 {
        font-size: 2.2rem;
    }
    .tintoriente-tex h3 {
        font-size: 1.6rem;
    }
    .nosotros-pro {
        padding: 50px 20px;
    }
    .valores {
        padding: 50px 20px;
    }

    .nosotros-container,
    .manifiesto-container,
    .valores-container {
        flex-direction: column;
        gap: 35px;
    }

    .nosotros-img img {
        width: 100%;
        height: auto;
        border-radius: 20px;
    }

    /* Acomodamos la etiqueta de años de experiencia para que no se salga de la pantalla */
    .badge-exp {
        left: 10px;
        bottom: 10px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .manifiesto-right {
        flex-direction: column;
    }

        .valores-list {
            grid-template-columns: repeat(2, 1fr);
        }
}

@media (max-width: 500px) {
    .valores-list {
        grid-template-columns: 1fr;
    }
}