/* assets/css/nosotros.css */

/* --- Carousel Section as Hero --- */
.mv-carousel {
    position: relative;
    width: 100%;
    min-height: 700px;
    background-image: url('../img/carousel-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    margin-top: 0;
}

/* Dark Overlay for readability over image */
.mv-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    /* Dark slate overlay */
    z-index: 1;
    backdrop-filter: blur(2px);
    /* Slight blur for focus on content */
}

.mv-track {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
}

.mv-slide {
    display: none;
    width: 100%;
    justify-content: center;
}

.mv-slide.active {
    display: flex;
}

/* The Card Styling */
.mv-card {
    background: rgba(30, 41, 59, 0.7);
    color: #fff;
    padding: 60px 80px;
    border-radius: 32px;
    text-align: left;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mv-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 32px;
    letter-spacing: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-self: center;
}

.mv-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #f1f5f9;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.mv-card p strong {
    color: var(--accent, #3b82f6);
    font-weight: 700;
}

/* Values specific grid */
[data-i18n="values_text"] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 992px) {
    [data-i18n="values_text"] {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

/* Navigation Arrows */
.mv-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.mv-arrow:hover {
    background: #fff;
    color: #0f172a;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.mv-arrow.left {
    left: 40px;
}

.mv-arrow.right {
    right: 40px;
}

/* Dots */
.mv-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.mv-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.mv-dot.active {
    background: #fff;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* --- Contact Section --- */
.section-contact-centered {
    text-align: center;
    padding: 120px 20px 100px;
    background: #ffffff;
    max-width: 900px;
    margin: 0 auto;
}

.section-contact-centered .section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #0f172a, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-contact-centered .section-title p {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 32px;
    font-weight: 500;
}

.section-contact-centered>p {
    font-size: 17px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Inherit standard btn-primary but ensure it looks premium */
.section-contact-centered .btn {
    display: inline-flex;
    padding: 16px 36px;
    /* Slightly larger click area */
    font-size: 16px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    /* Colored shadow */
}

.section-contact-centered .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .mv-arrow {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }

    .mv-arrow.left {
        left: 15px;
    }

    .mv-arrow.right {
        right: 15px;
    }

    .mv-card {
        padding: 40px 24px;
    }

    .mv-card p {
        font-size: 16px;
    }

    .section-contact-centered {
        padding: 80px 20px;
    }

    .section-contact-centered .section-title h2 {
        font-size: 32px;
    }
}