/* ============================================
   VALORES 
   ============================================ */

   .nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    margin-left: auto;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;
    transition: color 0.3s;
    display: block;
    padding: 10px 5px;
    font-family: 'Inter', sans-serif;
}

.nav a:hover,
.nav a.active {
    color: var(--white);
}

.submenu-toggle {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.3s;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 50px;
    z-index: 2;
    font-family: 'Inter', sans-serif;
}

.submenu-toggle.active {
    transform: rotate(90deg);
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary); 
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    padding: 0;
    width: 100%;
}

.submenu a {
    color: #FFFFFF;
    padding: 12px 20px;
    font-size: 13px;
    transition: all 0.2s;
    display: block;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.submenu a:hover {
    background: var(--accent-color); 
    color: var(--white);
    padding-left: 25px;
}
/* CTA Button */
.cta-button {
    background: var(--dark);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    margin-left: 20px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 168, 89, 0.3);
}



.valores-hero {
    position: relative;
    margin-top: 90px;
    padding: 100px 0;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}


.valores-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1500px;
    height: 730px;
    background-image: url('../../../../imagenes/llamadaemitida2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    z-index: 1;
    animation: zoomBg 20s infinite alternate;
}

@keyframes zoomBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}


.valores-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,86,157,0.6) 0%, rgba(20,66,122,0.4) 100%);
    z-index: 2;
    pointer-events: none;
}


.valores-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    z-index: 3;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.valores-hero-content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.valores-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.3);
}

.valores-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.text-highlight {
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    z-index: -1;
}

.valores-hero-description {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* --------------------------------------------
   GRID DE VALORES
-------------------------------------------- */
.valores-grid-section {
    padding: 100px 0;
    background: var(--white);
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.valor-card {
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.valor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.valor-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.valor-card:hover::before {
    transform: scaleX(1);
}

.valor-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 28px;
    color: white;
    transition: all 0.4s ease;
}

.valor-card:hover .valor-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(26,86,157,0.3);
}

.valor-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.valor-card:hover h3 {
    color: var(--primary-dark);
}

.valor-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.valor-features {
    list-style: none;
    padding: 0;
}

.valor-features li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--gray);
}

.valor-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* --------------------------------------------
   SECCIÓN COMPROMISO
-------------------------------------------- */
.valores-compromiso-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light) 0%, #e6f0fa 100%);
}

.compromiso-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.compromiso-text {
    padding-right: 40px;
}

.compromiso-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-top: 20px;
}

.compromiso-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    transition: transform 0.4s ease;
}

.compromiso-image:hover {
    transform: scale(1.02);
}

.compromiso-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* --------------------------------------------
   CTA
-------------------------------------------- */
.valores-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    border: 2px solid white;
}

.btn-cta-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: white;
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    border: 2px solid white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* --------------------------------------------
   SECTION HEADER 
-------------------------------------------- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}

/* --------------------------------------------
   RESPONSIVE
-------------------------------------------- */
@media (max-width: 992px) {
    .valores-hero-title {
        font-size: 3rem;
    }
    
    .valores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .compromiso-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .compromiso-text {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .valores-hero {
        padding: 80px 0;
    }
    
    .valores-hero-title {
        font-size: 2.5rem;
    }
    
    .valores-hero-description {
        font-size: 1.1rem;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 30px auto 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .compromiso-image img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .valores-hero-title {
        font-size: 2rem;
    }
    
    .valores-hero-badge {
        font-size: 12px;
        padding: 6px 18px;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 14px 35px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   AJUSTES RESPONSIVE - VALORES
   ============================================ */

/* ============================================
   HERO - DE IMAGEN Y TEXTO
   ============================================ */

/* Tablets grandes */
@media screen and (max-width: 992px) {
    .valores-hero {
        padding: 80px 0;
        margin-top: 80px;
    }
    
    .valores-hero::after {
        width: 1200px;
        height: 600px;
        background-position: 70% center;
    }
    
    .valores-hero-title {
        font-size: 3rem;
    }
    
    .valores-hero-description {
        font-size: 1.2rem;
        max-width: 600px;
    }
}

/* Tablets verticales y móviles grandes */
@media screen and (max-width: 768px) {
    .valores-hero {
        padding: 60px 0;
    }
    
    .valores-hero::after {
        width: 1000px;
        height: 500px;
        background-position: 65% center;
        opacity: 0.2;
        animation: none; 
    }
    
    .valores-hero::before {
        display: none; /
    }
    
    .valores-hero-content {
        padding: 0 20px;
    }
    
    .valores-hero-badge {
        font-size: 12px;
        padding: 6px 20px;
        margin-bottom: 20px;
        background: rgba(0,0,0,0.3);
        backdrop-filter: blur(5px);
    }
    
    .valores-hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .text-highlight::after {
        height: 6px;
        bottom: 3px;
    }
    
    .valores-hero-description {
        font-size: 1rem;
        max-width: 500px;
        line-height: 1.6;
    }
}

/* Móviles pequeños */
@media screen and (max-width: 576px) {
    .valores-hero {
        padding: 50px 0;
    }
    
    .valores-hero::after {
        width: 800px;
        height: 400px;
        background-position: 60% center;
    }
    
    .valores-hero-content {
        padding: 0 15px;
    }
    
    .valores-hero-badge {
        font-size: 10px;
        padding: 5px 16px;
        letter-spacing: 1px;
    }
    
    .valores-hero-title {
        font-size: 2rem;
    }
    
    .valores-hero-description {
        font-size: 0.95rem;
        max-width: 100%;
        padding: 0 10px;
    }
}

/* Móviles muy pequeños */
@media screen and (max-width: 380px) {
    .valores-hero-title {
        font-size: 1.8rem;
    }
    
    .valores-hero-badge {
        font-size: 9px;
        padding: 4px 14px;
    }
    
    .valores-hero-description {
        font-size: 0.9rem;
    }
}

/* ============================================
   GRID DE VALORES - AJUSTES RESPONSIVE
   ============================================ */

@media screen and (max-width: 992px) {
    .valores-grid-section {
        padding: 80px 0;
    }
    
    .valores-grid {
        gap: 20px;
        padding: 0 15px;
    }
}

@media screen and (max-width: 768px) {
    .valores-grid-section {
        padding: 60px 0;
    }
    
    .valores-grid {
        max-width: 450px;
        margin: 30px auto 0;
    }
    
    .valor-card {
        padding: 30px 25px;
    }
    
    .valor-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .valor-card h3 {
        font-size: 1.3rem;
    }
    
    .valor-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .valor-features li {
        font-size: 0.85rem;
        padding: 5px 0 5px 18px;
    }
}

@media screen and (max-width: 576px) {
    .valor-card {
        padding: 25px 20px;
    }
    
    .valor-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        border-radius: 14px;
    }
    
    .valor-card h3 {
        font-size: 1.2rem;
    }
    
    .valor-card p {
        font-size: 0.85rem;
    }
}

/* ============================================
   SECCIÓN COMPROMISO - AJUSTES RESPONSIVE
   ============================================ */

@media screen and (max-width: 992px) {
    .valores-compromiso-section {
        padding: 80px 0;
    }
    
    .compromiso-grid {
        gap: 40px;
        padding: 0 20px;
    }
}

@media screen and (max-width: 768px) {
    .valores-compromiso-section {
        padding: 60px 0;
    }
    
    .compromiso-text {
        padding: 0 15px;
    }
    
    .compromiso-description {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .compromiso-image img {
        height: 250px;
    }
}

@media screen and (max-width: 576px) {
    .compromiso-description {
        font-size: 0.95rem;
    }
    
    .compromiso-image img {
        height: 200px;
    }
}

/* ============================================
   CTA - AJUSTES RESPONSIVE
   ============================================ */

@media screen and (max-width: 992px) {
    .valores-cta-section {
        padding: 80px 0;
    }
}

@media screen and (max-width: 768px) {
    .valores-cta-section {
        padding: 60px 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 300px;
        margin: 30px auto 0;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        padding: 14px 30px;
        font-size: 1rem;
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* ============================================
   SECTION HEADER - AJUSTES RESPONSIVE
   ============================================ */

@media screen and (max-width: 768px) {
    .section-header {
        margin-bottom: 35px;
        padding: 0 20px;
    }
    
    .section-badge {
        font-size: 11px;
        padding: 5px 16px;
        margin-bottom: 12px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media screen and (max-width: 576px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
}

/* ============================================
 IMAGEN DE FONDO DEL HERO
   ============================================ */

.valores-hero::after {
    background-size: cover;
    background-repeat: no-repeat;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 768px) {
    .valores-hero::after {
        background-attachment: scroll;
        width: 100%;
        height: 100%;
    }
}


.valores-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.valores-hero-content {
    width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .contact-container { gap: 50px; }
    .hero-parallax-title { font-size: 42px; }
    .nav ul { gap: 15px; }
}

@media (max-width: 768px) {
    .container { width: 95%; }
    .header { padding: 15px 0; }
    .header-content { flex-direction: row; gap: 15px; min-height: auto; }
    .logo { height: 50px; }
    .logo img { width: 150px; height: 40px; }
    .mobile-menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--primary);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1001;
        max-height: 0;
        overflow: hidden;
    }

    .nav.active { transform: translateY(0); opacity: 1; visibility: visible; max-height: 80vh; overflow-y: auto; }
    .nav ul { flex-direction: column; width: 100%; gap: 0; align-items: stretch; padding: 10px 0; }
    .nav-item { width: 100%; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); position: relative; display: block; }
    .nav a { padding: 15px 20px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; width: 100%; position: relative; z-index: 1; }
    .submenu-toggle { display: flex; position: absolute; right: 0; top: 0; height: 100%; align-items: center; justify-content: center; width: 50px; z-index: 2; margin: 0; }
    .nav-item.has-submenu > a { padding-right: 50px; }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; box-shadow: none; background: rgba(0,0,0,0.1); width: 100%; margin: 0; padding: 0; display: block; }
    .submenu.active-mobile { max-height: 500px; }
    .submenu li { border-bottom: none; }
    .submenu a { padding: 12px 20px 12px 40px; font-size: 14px; background: rgba(0,0,0,0.1); position: relative; z-index: 1; }
    .submenu a:hover { background: rgba(255,255,255,0.1); padding-left: 45px; }
}
