/* contactanos.css - Estilos completos para la página de contacto CON ALINEACIÓN IGUAL A GALERÍA */
:root {
    --blue-100: #EAF3FB;
    --brand-blue: #0072CE;
    --blue-dark: #003a6b;
    --accent: #059beb;
    --muted: #6b7785;
    --bg: #f6f7f8;
    --white: #ffffff;
    --black: #000000;
    --dark-block: #0b0b0b;
    --max-width: 1200px;
    --header-height: 110px;
    /* Altura total del header: top-bar + nav */
    --topbar-height: 80px;
    /* Altura solo de la top bar */
    --container-padding: 20px;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #213242;
}

/* Reset y Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.45;
    font-family: Arial, sans-serif;
}

/* REUTILIZABLES */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* TOP BAR - CORREGIDO PARA SER RESPONSIVE */
.top-bar-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.top-bar-link:hover .top-bar {
    background: var(--blue-dark);
    transition: background 0.3s ease;
}

.top-bar {
    height: var(--topbar-height);
    background: var(--brand-blue);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.top-bar-content {
    max-width: var(--max-width);
    width: 90%; /* CAMBIADO DE 80% A 90% PARA RESPONSIVE */
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar-text {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    font-family: Arial, sans-serif;
    white-space: nowrap;
}

.top-bar-flags {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.top-bar-flags img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    object-fit: cover;
}

/* HEADER PRINCIPAL - CORREGIDO */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 6px rgba(3, 18, 39, 0.06);
}

/* Nav - CORREGIDO PARA SER RESPONSIVE */
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 25px var(--container-padding);
    width: 90%; /* CAMBIADO DE 80% A 90% PARA RESPONSIVE */
}

/* LOGO DE 150px - CORREGIDO */
.brand {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 20px 0;
}

.brand .logo {
    width: 150px;
    height: auto;
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 15px 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--blue-dark);
    font-weight: 600;
    letter-spacing: 0.6px;
    font-size: 18px;
    font-family: Arial, sans-serif;
    transition: color 0.3s ease;
    white-space: nowrap;
    padding: 10px 0;
}

.main-nav ul li a:hover {
    color: var(--brand-blue);
}

.cta-and-burger {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 26px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    font-family: Arial, sans-serif;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-blue);
    border: 2px solid var(--brand-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Burger Menu - CORREGIDO PARA MOSTRARSE */
.burger {
    width: 44px;
    height: 44px;
    display: none;
    border-radius: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.burger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--brand-blue);
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================================== */
/* BOTÓN FLOTANTE PARA VOLVER ARRIBA - SOLO MOBILE */
/* =========================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--brand-blue), #00ccff);
    border: none;
    border-radius: 50px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 114, 206, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 114, 206, 0.6);
}

.scroll-top-btn svg {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
}

.scroll-top-btn .btn-text {
    color: white;
    font-size: 11px;
    font-weight: 600;
    margin-top: -4px;
    font-family: Arial, sans-serif;
}

/* =========================================== */
/* HERO CON SISTEMA DE CAPAS INDEPENDIENTES   */
/* =========================================== */
.hero {
    margin-top: calc(var(--topbar-height) + var(--header-height));
    padding: 40px 0 20px;
    max-width: 100%;
    width: 100%;
    color: #fff;
    min-height: 450px;
    position: relative;
    overflow: visible;
    box-shadow: inset 0 -80px 80px -40px rgba(90, 0, 255, 0.7);
}

/* FONDO DEL HERO */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00a3e9, #7f00ff);
    z-index: 0;
    overflow: hidden;
}

/* CAPAS BASE (todas absolutas y de tamaño completo) */
.hero-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTENEDOR PARA CADA CAPA - CORREGIDO */
.hero-layer .hero-container {
    width: 90%; /* CAMBIADO DE 80% A 90% PARA RESPONSIVE */
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    height: 100%;
}

/* CAPA DE IMAGEN DEL EQUIPO - MÁS GRANDE */
.team-layer .hero-container {
    justify-content: flex-end;
    align-items: flex-end;
}

.team-layer .hero-team {
    flex: 0 0 35%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: auto;
}

.team-layer .hero-team img {
    height: auto;
    max-height: 500px;
    width: auto;
    max-width: 100%;
    border-radius: 0;
    object-fit: contain;
    object-position: right bottom;
    border: none;
    transform: scale(1.1);
    transform-origin: right bottom;
}

/* CAPA DE DECORACIÓN - IMAGEN DE 1920px */
.decoration-layer {
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.decoration-img {
    width: 100%;
    max-width: 1920px;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    position: relative;
    top: 0;
    left: 0;
}

/* CAPA DE CONTENIDO (TEXTO Y BOTÓN) - ALINEADO A LA IZQUIERDA CON TOP BAR */
.content-layer .hero-container {
    justify-content: flex-start;
    align-items: center;
}

.content-layer .hero-content {
    flex: 1;
    position: relative;
    z-index: 3;
    padding-left: 0;
    margin-left: 0;
    /* ALINEACIÓN CON EL TEXTO DEL TOP BAR (izquierda) */
    max-width: 50%; /* Para que ocupe la mitad izquierda */
}

.content-layer .hero-content h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    opacity: 0.9;
    margin-left: 0; /* Sin margen especial */
}

.content-layer .hero-content h2 {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--white);
    margin-top: 8px;
    max-width: 100%;
    margin-left: 0; /* Sin margen especial */
}

.btn-hero {
    background: #fff;
    color: #0072CE;
    display: inline-block;
    padding: 12px 25px;
    margin-top: 15px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
    position: relative;
    z-index: 4;
    margin-left: 0; /* Sin margen especial */
}

.btn-hero:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* =========================================== */
/* TÍTULOS DE SECCIÓN                          */
/* =========================================== */
.section-title {
    text-align: center;
    font-size: 32px;
    color: var(--blue-dark);
    margin-bottom: 40px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--brand-blue);
}

/* =========================================== */
/* TEAM SECTIONS                               */
/* =========================================== */
.team-section {
    padding: 60px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
    background: #f2f3ff;
}

/* MODIFICACIÓN: GRID DE 4 COLUMNAS EN ESCRITORIO */
.team-grid {
    display: grid;
    gap: 30px;
    justify-content: center;
    max-width: 100%;
    margin: auto;
}

.comerciales-grid,
.equipo-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* CARD - TAMAÑOS RESPONSIVOS */
.card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 520px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-img {
    overflow: hidden;
    position: relative;
    flex: 0 0 300px;
    height: 300px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

/* =========================================== */
/* AJUSTES ESPECÍFICOS PARA TARJETAS DEL EQUIPO */
/* =========================================== */

/* Reducir la altura de las tarjetas del equipo */
.card-equipo {
    height: 420px !important; /* Reducida de 520px */
}

/* Ajustar la altura de la imagen en tarjetas del equipo */
.card-equipo .card-img {
    flex: 0 0 260px !important; /* Reducida de 300px */
    height: 260px !important;
}

/* Ajustar el espaciado en el cuerpo de la tarjeta */
.card-equipo .card-body {
    padding: 20px 15px;
    justify-content: flex-start; /* Cambiado de space-between */
}

.card-equipo .card-body h3 {
    margin-bottom: 15px;
}

.card-equipo .card-body p {
    margin-bottom: 0;
    line-height: 1.5;
}

/* =========================================== */
/* NUEVA POSICIÓN DE BANDERAS                 */
/* =========================================== */
.flags-left {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 2;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.flag-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
}

.flag-container img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.flag-container img:hover {
    transform: scale(1.1);
}

/* Eliminamos las banderas antiguas */
.flag, .flag-multiple {
    display: none !important;
}

.card-body {
    padding: 18px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-body h3 {
    margin: 0 0 12px;
    font-weight: 700;
    font-size: 22px;
    color: var(--blue-dark);
}

.card-body p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 16px;
    flex: 1;
}

/* Estilos para el enlace del teléfono */
.phone-link {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 2px 0;
    margin-top: 5px;
}

.phone-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Botón Hablemos */
.btn-talk {
    width: 100%;
    margin: 0;
    padding: 14px 0;
    border: none;
    background: #3a30ff;
    color: #fff;
    border-radius: 0 0 18px 18px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
    box-sizing: border-box;
    font-size: 15px;
}

.btn-talk:hover {
    background: #2a20ee;
    color: #fff;
    text-decoration: none;
}

/* =========================================== */
/* ESPACIADO ENTRE SECCIONES                  */
/* =========================================== */
.equipo-section {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    padding-top: 40px;
}

/* =========================================== */
/* RESPONSIVE - ESCRITORIO (min-width: 992px) */
/* =========================================== */
@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .card {
        width: 100%;
        height: 520px;
    }
    
    .card-img {
        flex: 0 0 300px;
    }
    
    .team-layer .hero-team img {
        max-height: 480px;
        transform: scale(1.15);
        position: relative;
        bottom: -80px;
    }
    
    .hero {
        min-height: 500px;
        overflow: visible;
    }
    
    .team-layer .hero-team {
        align-items: flex-start;
        margin-top: 30px;
    }
    
    .team-layer .hero-container {
        align-items: flex-start;
        padding-top: 30px;
    }
    
    .content-layer .hero-content {
        width: 50%;
        max-width: 50%;
    }
    
    .team-layer .hero-team {
        width: 50%;
    }
    
    .content-layer .hero-content h2 {
        font-size: 34px;
    }
    
    .decoration-img {
        max-width: 1920px;
        opacity: 0.8;
    }
    
    .flag-container img {
        width: 50px;
        height: 50px;
    }
    
    /* OCULTAR BOTÓN FLOTANTE EN ESCRITORIO */
    .scroll-top-btn {
        display: none !important;
    }
}

/* =========================================== */
/* RESPONSIVE - TABLET (768px-991px)          */
/* =========================================== */
@media (min-width: 768px) and (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
    
    .card {
        width: 100%;
        height: 480px;
    }
    
    .card-img {
        flex: 0 0 260px;
        height: 260px;
    }
    
    .content-layer .hero-content h2 {
        font-size: 30px;
    }
    
    .team-layer .hero-team img {
        max-height: 420px;
        transform: scale(1.05);
        bottom: 0;
    }
    
    .decoration-img {
        max-width: 1200px;
        opacity: 0.6;
    }
    
    .flag-container img {
        width: 40px;
        height: 40px;
    }
    
    .card-body h3 {
        font-size: 20px;
    }
    
    .card-body p {
        font-size: 15px;
    }
    
    .btn-talk {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* AJUSTES RESPONSIVE PARA TARJETAS DEL EQUIPO */
    .card-equipo {
        height: 420px !important;
    }
    
    .card-equipo .card-img {
        flex: 0 0 230px !important;
        height: 230px !important;
    }
}

/* =========================================== */
/* RESPONSIVE - TABLET/MOBILE COMPARTIDO      */
/* =========================================== */
@media (max-width: 991px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .brand-col .logo-footer {
        width: 180px;
    }

    /* EN TABLET/MOBILE: VOLVER AL LAYOUT ORIGINAL (UNA SOLA CAPA) */
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 40px 0 20px;
        min-height: auto;
        box-shadow: inset 0 -60px 60px -30px rgba(90, 0, 255, 0.7);
        overflow: hidden;
    }
    
    .hero-layer {
        position: relative !important;
        display: block !important;
        height: auto !important;
        z-index: auto !important;
    }
    
    .hero-layer .hero-container {
        flex-direction: column;
        width: 90%; /* TABLET: 90% */
        text-align: center;
        gap: 25px;
        position: relative !important;
        height: auto !important;
    }
    
    .content-layer .hero-content {
        width: 100%;
        padding: 0;
        margin-left: 0 !important;
        max-width: 100% !important;
    }
    
    .content-layer .hero-content h2 {
        font-size: 28px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .team-layer .hero-team {
        width: 70%;
        justify-content: center;
        padding: 0;
        position: relative !important;
        z-index: auto !important;
        align-items: center;
        margin-top: 0;
    }

    .team-layer .hero-team img {
        height: auto;
        width: 100%;
        max-height: 380px;
        margin-right: 0 !important;
        object-fit: contain;
        transform: scale(1);
        bottom: 0;
    }
    
    /* OCULTAR DECORACIÓN EN TABLET/MOBILE */
    .decoration-layer {
        display: none !important;
    }

    /* TOP BAR Y NAV WRAP PARA TABLET */
    .top-bar-content {
        width: 90%; /* TABLET: 90% */
        flex-direction: row;
        gap: 8px;
    }

    .top-bar-flags {
        justify-content: center;
    }

    .top-bar-flags img {
        width: 40px;
        height: 40px;
    }

    .nav-wrap {
        width: 90%; /* TABLET: 90% */
    }
}

/* =========================================== */
/* RESPONSIVE - MOBILE (max-width: 767px)     */
/* =========================================== */
@media (max-width: 767px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    
    .card {
        width: 100%;
        height: 450px;
    }
    
    .card-img {
        flex: 0 0 250px;
        height: 250px;
    }
    
    .team-layer .hero-team img {
        bottom: 0;
        transform: scale(1);
    }
    
    .flag-container img {
        width: 35px;
        height: 35px;
    }
    
    .card-body h3 {
        font-size: 18px;
    }
    
    .card-body p {
        font-size: 14px;
    }
    
    .btn-talk {
        padding: 10px 0;
        font-size: 13px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .burger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: calc(var(--topbar-height) + var(--header-height));
        right: 0;
        background: var(--white);
        width: 100%;
        height: calc(100vh - (var(--topbar-height) + var(--header-height)));
        transform: translateX(100%);
        transition: transform .3s ease;
        box-shadow: -12px 0 30px rgba(3, 18, 39, 0.08);
        padding: 24px;
        z-index: 1001; /* AÑADIDO Z-INDEX */
    }

    .main-nav.open {
        transform: translateX(0%);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
        margin-top: 20px;
        text-align: left;
    }

    .main-nav ul li a {
        font-size: 16px;
        padding: 10px 0;
        display: block;
    }

    /* Ocultar botón en barra superior mobile */
    .cta-and-burger .btn-primary {
        display: none !important;
    }

    /* BOTÓN MOBILE EN EL MENÚ */
    .mobile-only {
        display: none;
    }

    .mobile-btn {
        width: 100% !important;
        margin: 0 !important;
        padding: 14px 22px !important;
        font-size: 15px !important;
        color: white !important;
        font-weight: 700 !important;
        background: #0072CE !important;
        border: 2px solid #0072CE !important;
        border-radius: 26px !important;
        display: block !important;
        text-align: center !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
    }

    .mobile-btn:hover {
        background: var(--blue-dark) !important;
        border-color: var(--blue-dark) !important;
    }

    /* NAV WRAP PARA MOBILE */
    .nav-wrap {
        padding: 25px 15px !important;
        width: 100% !important;
    }

    /* LOGO EN MOBILE */
    .brand {
        padding: 15px 0;
    }

    .brand .logo {
        width: 140px;
        height: auto;
        padding: 10px 0;
    }

    /* HERO PARA MOBILE */
    .hero {
        margin-top: calc(var(--topbar-height) + var(--header-height));
        padding: 30px 0 20px;
        min-height: auto;
        box-shadow: inset 0 -40px 40px -20px rgba(90, 0, 255, 0.7);
    }
    
    .hero-layer .hero-container {
        width: 95%;
        padding: 0 15px;
    }

    .content-layer .hero-content h2 {
        font-size: 26px;
    }

    .content-layer .hero-content h4 {
        font-size: 14px;
    }
    
    .btn-hero {
        padding: 10px 20px;
        font-size: 14px;
        margin-top: 10px;
    }

    /* AJUSTAR IMAGEN A LO ANCHO EN MOBILE */
    .team-layer .hero-team {
        width: 85%;
        display: flex;
        justify-content: center;
    }

    .team-layer .hero-team img {
        width: 100%;
        height: auto;
        max-height: 320px;
        object-fit: contain;
    }

    /* TOP BAR PARA MOBILE - CORREGIDO */
    .top-bar {
        height: auto;
        min-height: 70px;
        padding: 8px 0;
    }

    .top-bar-content {
        width: 100% !important;
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .top-bar-text {
        font-size: 16px;
        text-align: center;
        width: 100%;
        line-height: 1.2;
        white-space: normal;
        padding: 0 10px;
    }

    .top-bar-flags {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
        padding: 0 10px;
    }

    .top-bar-flags img {
        width: 28px !important;
        height: 28px !important;
    }

    .team-section {
        padding: 30px 20px 40px;
    }
    
    .equipo-section {
        padding-top: 30px;
    }
    
    /* BOTÓN FLOTANTE EN MOBILE */
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .scroll-top-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .scroll-top-btn .btn-text {
        font-size: 10px;
    }
    
    /* AJUSTES RESPONSIVE PARA TARJETAS DEL EQUIPO */
    .card-equipo {
        height: 400px !important;
    }
    
    .card-equipo .card-img {
        flex: 0 0 220px !important;
        height: 220px !important;
    }
}

/* =========================================== */
/* RESPONSIVE - MOBILE PEQUEÑO (max-width: 480px) */
/* =========================================== */
@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
        --header-height: 110px;
    }

    .brand .logo {
        width: 140px;
    }

    .hero {
        margin-top: calc(var(--topbar-height) + var(--header-height));
        padding: 25px 0 15px;
        box-shadow: inset 0 -30px 30px -15px rgba(90, 0, 255, 0.7);
    }
    
    .hero-layer .hero-container {
        width: 100%;
        padding: 0 10px;
        gap: 20px;
    }

    .content-layer .hero-content h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    .btn-hero {
        padding: 10px 20px;
        font-size: 14px;
        margin-top: 15px;
    }

    .team-layer .hero-team {
        width: 95%;
    }

    .team-layer .hero-team img {
        max-height: 280px;
    }

    .team-section {
        padding: 25px 16px 35px;
    }

    .team-grid {
        gap: 20px;
    }

    .top-bar {
        height: auto;
        min-height: 70px;
    }

    .top-bar-content {
        gap: 5px;
    }

    .top-bar-text {
        font-size: 14px;
        line-height: 1.3;
        padding: 0 5px;
    }

    .top-bar-flags img {
        width: 26px !important;
        height: 26px !important;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .brand-col .logo-footer {
        width: 140px;
    }

    .footer-title-white {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .mobile-btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }

    .flag-container img {
        width: 30px;
        height: 30px;
    }
    
    /* BOTÓN FLOTANTE EN MOBILE PEQUEÑO */
    .scroll-top-btn {
        bottom: 15px;
        right: 15px;
        width: 52px;
        height: 52px;
    }
    
    .scroll-top-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .scroll-top-btn .btn-text {
        font-size: 9px;
    }
    
    /* AJUSTES RESPONSIVE PARA TARJETAS DEL EQUIPO */
    .card-equipo {
        height: 380px !important;
    }
    
    .card-equipo .card-img {
        flex: 0 0 200px !important;
        height: 200px !important;
    }
}

/* FOOTER - CORREGIDO PARA SER RESPONSIVE */
.site-footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.95);
    padding: 60px 0 40px;
    width: 100%;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    align-items: start;
    text-align: left;
}

.footer-title-white {
    margin: 0 0 20px;
    color: var(--white);
    font-size: 18px;
    font-family: Arial, sans-serif;
    font-weight: 700;
    text-align: left;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link-linkedin {
    color: #0072ce;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    justify-content: flex-start;
    text-align: left;
}

.footer-link-linkedin:hover {
    color: var(--accent);
}

.linkedin-text {
    color: #0072ce;
    font-weight: 600;
}

.footer-link-mediakit {
    color: #0072ce;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    justify-content: flex-start;
    text-align: left;
}

.footer-link-mediakit:hover {
    color: var(--accent);
}

.mediakit-text {
    color: #0072ce;
    font-weight: 600;
}

.footer-icon {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.footer-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: -15px;
}

.brand-col .logo-footer {
    width: 200px;
    height: auto;
    max-width: 100%;
}

.copyright {
    opacity: 0.8;
    font-size: 14px;
    font-family: Arial, sans-serif;
    margin: 0;
    text-align: left;
}

.footer-contact {
    font-style: normal;
    line-height: 1.6;
    font-family: Arial, sans-serif;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.contact-link {
    color: #0072ce;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    justify-content: flex-start;
    text-align: left;
}

.contact-link:hover {
    color: var(--accent);
}

.contact-text {
    color: #0072ce;
    font-weight: 600;
}

/* RESPONSIVE PARA FOOTER EN MOBILE */
@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 30px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .footer-title-white {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .brand-col .logo-footer {
        width: 160px;
    }
    
    .copyright {
        font-size: 13px;
    }
    
    .footer-link-linkedin,
    .footer-link-mediakit,
    .contact-link {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 20px;
    }
    
    .footer-inner {
        gap: 25px;
        padding: 0 16px;
    }
    
    .footer-title-white {
        font-size: 15px;
    }
    
    .brand-col .logo-footer {
        width: 140px;
    }
    
    .copyright {
        font-size: 12px;
    }
}