/* ============================================
   EQUIPO 
   ============================================ */
:root {
    --primary-color: #0066B3;        
    --primary-light: #3385C7;  
    --primary-dark: #003D73;   
    --accent: #FF6B00;         
    --light: #F8FAFC;         
    --dark: #1A202C;           
    --gray: #4A5568;          
    --gray-light: #E2E8F0;    
    --white: #FFFFFF;
    --black: #0A0C10;         
    --accent-color: #14427a;
    --shadow: 0 10px 30px rgba(0, 102, 179, 0.12);
    --shadow-hover: 0 25px 50px rgba(0, 102, 179, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 102, 179, 0.3);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    --transition-smooth: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    --radius: 8px;
    --radius-lg: 20px;
}

.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);
}

/* --------------------------------------------
   HERO CON IMAGEN DE FONDO 
-------------------------------------------- */
.equipo-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    margin-top: 90px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

/* Imagen de fondo con overlay sutil */
.equipo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../../../imagenes/llamadaentrante2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    animation: zoomSlow 20s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes zoomSlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}


.equipo-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}

/* Contenido centrado */
.equipo-hero-content {
    position: relative;
    max-width: 900px;
    text-align: center;
    z-index: 3;
    padding: 0 20px;
    animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.equipo-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: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.equipo-hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.equipo-hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}


.text-highlight {
    position: relative;
}
.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    z-index: -1;
}

/* ============================================
   CARRUSEL DE EQUIPO 
   ============================================ */

.equipo-carousel-section {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.equipo-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 50px auto 0;
    padding: 0 60px;
}

.equipo-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 30px;
}

.equipo-carousel-slide {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 0;
}

.equipo-carousel-slide .equipo-card {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(26,86,157,0.1);
}

.equipo-carousel-slide .equipo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(26,86,157,0.15);
    border-color: var(--primary);
}

.equipo-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.equipo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.equipo-carousel-slide .equipo-card:hover .equipo-card-image img {
    transform: scale(1.1);
}

.equipo-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,86,157,0.8) 0%, rgba(20,66,122,0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.equipo-carousel-slide .equipo-card:hover .equipo-card-overlay {
    opacity: 1;
}

.equipo-card-overlay i {
    color: white;
    font-size: 2.5rem;
    transform: scale(0);
    transition: transform 0.4s ease 0.1s;
}

.equipo-carousel-slide .equipo-card:hover .equipo-card-overlay i {
    transform: scale(1);
}

.equipo-card-content {
    padding: 25px 20px;
}

.equipo-card-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.equipo-card-content p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Flechas de navegación */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(26,86,157,0.3);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(26,86,157,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(26,86,157,0.4);
}

.indicator:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* Responsive del carrusel */
@media (max-width: 992px) {
    .equipo-carousel-slide {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .equipo-carousel-container {
        padding: 0 50px;
    }
    .equipo-carousel-slide {
        flex: 0 0 100%;
    }
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ============================================
   SHOWCASE 
   ============================================ */

.equipo-showcase-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
    position: relative;
    overflow: hidden;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 300px);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta grande */
.showcase-large {
    grid-row: span 2;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    cursor: pointer;
    background: var(--primary);
}

.showcase-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.showcase-large:hover img {
    transform: scale(1.1);
}

.showcase-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,86,157,0.9) 0%, rgba(20,66,122,0.95) 100%);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.showcase-large:hover::before {
    transform: translateY(0);
}

.showcase-large .showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 40px;
    color: white;
    z-index: 2;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.showcase-large:hover .showcase-content {
    transform: translateY(0);
    opacity: 1;
}

.showcase-large .showcase-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.4);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.3s;
}

.showcase-large:hover .showcase-badge {
    transform: translateY(0);
    opacity: 1;
}

.showcase-large .showcase-content h3 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.35s;
}

.showcase-large:hover .showcase-content h3 {
    transform: translateY(0);
    opacity: 1;
}

.showcase-large .showcase-content p {
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.4s;
}

.showcase-large:hover .showcase-content p {
    opacity: 0.9;
    transform: translateY(0);
}


.showcase-small {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    cursor: pointer;
    background: var(--primary);
}

.showcase-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.showcase-small:hover img {
    transform: scale(1.15);
}

.showcase-small .showcase-mini-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26,86,157,0.85) 0%, rgba(20,66,122,0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(3px);
}

.showcase-small:hover .showcase-mini-overlay {
    transform: translateY(0);
}

.showcase-small .showcase-mini-overlay i {
    color: white;
    font-size: 3rem;
    transform: scale(0) rotate(-180deg);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.showcase-small:hover .showcase-mini-overlay i {
    transform: scale(1) rotate(0deg);
}

.showcase-small::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid rgba(255,255,255,0.5);
    border-radius: 25px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 3;
}

.showcase-small:hover::after {
    opacity: 1;
    transform: scale(1);
}


.showcase-large {
    animation: fadeScale 0.8s ease forwards;
}

.showcase-small {
    animation: fadeScale 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.showcase-small:last-child {
    animation-delay: 0.3s;
}

@keyframes fadeScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}


.equipo-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--primary);
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid var(--white);
}

.btn-cta:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

.btn-cta i {
    transition: transform 0.3s ease;
}

.btn-cta:hover i {
    transform: translateX(5px);
}


.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
}


@media (max-width: 992px) {
    .showcase-grid {
        grid-template-rows: repeat(2, 250px);
        gap: 20px;
    }
    .showcase-large .showcase-content h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .equipo-hero-title {
        font-size: 2.5rem;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 350px 220px 220px;
        gap: 15px;
        padding: 0 20px;
    }
    .showcase-large {
        grid-row: span 1;
    }
    .showcase-large .showcase-content {
        padding: 35px 30px;
    }
    .showcase-large .showcase-content h3 {
        font-size: 1.8rem;
    }
    .showcase-small .showcase-mini-overlay i {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .equipo-hero-title {
        font-size: 2rem;
    }
    .equipo-hero-badge {
        font-size: 12px;
        padding: 6px 18px;
    }
    .showcase-grid {
        grid-template-rows: 300px 200px 200px;
    }
    .showcase-large .showcase-content h3 {
        font-size: 1.6rem;
    }
    .btn-cta {
        padding: 14px 35px;
        font-size: 1rem;
    }
}

/* ============================================
   AJUSTES RESPONSIVE - NUESTRO EQUIPO
   ============================================ */

/* ============================================
   HERO 
   ============================================ */

/* Tablets */
@media screen and (max-width: 992px) {
    .equipo-hero {
        height: 70vh;
        min-height: 500px;
        margin-top: 80px;
    }
    
    .equipo-hero::before {
        background-position: 70% center; 
    }
    
    .equipo-hero-title {
        font-size: 3.2rem;
    }
    
    .equipo-hero-description {
        font-size: 1.1rem;
        max-width: 500px;
    }
}


@media screen and (max-width: 768px) {
    .equipo-hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .equipo-hero::before {
        background-position: 65% center;
        opacity: 0.25; 
    }
    
    .equipo-hero-content {
        padding: 0 25px;
    }
    
    .equipo-hero-badge {
        font-size: 12px;
        padding: 6px 20px;
        margin-bottom: 15px;
        background: rgba(0,0,0,0.3);
        backdrop-filter: blur(5px);
    }
    
    .equipo-hero-title {
        font-size: 2.8rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .text-highlight::after {
        height: 6px;
        bottom: 3px;
    }
    
    .equipo-hero-description {
        font-size: 1rem;
        max-width: 450px;
        line-height: 1.5;
    }
}


@media screen and (max-width: 576px) {
    .equipo-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .equipo-hero::before {
        background-position: 60% center;
    }
    
    .equipo-hero-content {
        padding: 0 20px;
    }
    
    .equipo-hero-badge {
        font-size: 10px;
        padding: 5px 16px;
        letter-spacing: 1px;
    }
    
    .equipo-hero-title {
        font-size: 2.2rem;
    }
    
    .equipo-hero-description {
        font-size: 0.9rem;
        max-width: 100%;
        padding: 0 10px;
    }
}


@media screen and (max-width: 380px) {
    .equipo-hero-title {
        font-size: 1.8rem;
    }
    
    .equipo-hero-badge {
        font-size: 9px;
        padding: 4px 14px;
    }
    
    .equipo-hero-description {
        font-size: 0.85rem;
    }
}

/* ============================================
   CARRUSEL - AJUSTES RESPONSIVE 
   ============================================ */

@media screen and (max-width: 768px) {
    .equipo-carousel-section {
        padding: 60px 0;
    }
    
    .equipo-carousel-container {
        padding: 0 40px;
    }
    
    .equipo-carousel-slide .equipo-card {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .equipo-card-image {
        height: 220px;
    }
    
    .equipo-card-content {
        padding: 20px 15px;
    }
    
    .equipo-card-content h3 {
        font-size: 1.2rem;
    }
    
    .equipo-card-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .carousel-indicators {
        margin-top: 30px;
        gap: 10px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
}

@media screen and (max-width: 576px) {
    .equipo-carousel-container {
        padding: 0 35px;
    }
    
    .equipo-card-image {
        height: 200px;
    }
    
    .equipo-card-content h3 {
        font-size: 1.1rem;
    }
    
    .equipo-card-content p {
        font-size: 0.85rem;
    }
    
    .carousel-arrow {
        width: 32px;
        height: 32px;
    }
}

/* ============================================
   SHOWCASE - AJUSTES RESPONSIVE 
   ============================================ */

@media screen and (max-width: 768px) {
    .equipo-showcase-section {
        padding: 60px 0;
    }
    
    .showcase-grid {
        gap: 15px;
        padding: 0 15px;
    }
    
    .showcase-large .showcase-content {
        padding: 30px 25px;
    }
    
    .showcase-large .showcase-badge {
        font-size: 10px;
        padding: 5px 14px;
        margin-bottom: 10px;
    }
    
    .showcase-large .showcase-content h3 {
        font-size: 1.6rem;
    }
    
    .showcase-large .showcase-content p {
        font-size: 0.95rem;
    }
    
    .showcase-small .showcase-mini-overlay i {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 576px) {
    .showcase-grid {
        grid-template-rows: 280px 180px 180px;
    }
    
    .showcase-large .showcase-content {
        padding: 25px 20px;
    }
    
    .showcase-large .showcase-content h3 {
        font-size: 1.4rem;
    }
    
    .showcase-large .showcase-content p {
        font-size: 0.85rem;
    }
    
    .showcase-small .showcase-mini-overlay i {
        font-size: 2rem;
    }
}

/* ============================================
   AJUSTES RESPONSIVE
   ============================================ */

@media screen and (max-width: 768px) {
    .equipo-cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
        padding: 0 20px;
    }
    
    .cta-content p {
        font-size: 1rem;
        padding: 0 25px;
        margin-bottom: 30px;
    }
    
    .btn-cta {
        padding: 14px 35px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 576px) {
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    .btn-cta {
        padding: 12px 30px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 380px) {
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 0.85rem;
    }
    
    .btn-cta {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* ============================================
   AJUSTES GENERALES DE TEXTO Y ESPACIADO
   ============================================ */


@media screen and (max-width: 768px) {
    .section-header {
        margin-bottom: 35px;
        padding: 0 20px;
    }
    
    .section-badge {
        font-size: 11px;
        padding: 5px 16px;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .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;
    }
}

/* ============================================
    ANIMACIONES EN MÓVIL
   ============================================ */


@media screen and (max-width: 768px) {
    .equipo-hero::before {
        animation: none; 
    }
    
    .showcase-large:hover img,
    .showcase-small:hover img {
        transform: none; 
    }
    
    .showcase-large::before,
    .showcase-small .showcase-mini-overlay {
        transition: opacity 0.3s ease; 
    }
}

/* ===== 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; }
}
