/* --- VARIABLES --- */
        :root {
            --primary-blue: #05142a;
            /* Azul marino profundo */
            --dark-bg: #030a15;
            --accent-gold: #d4af37;
            /* Dorado metálico elegante */
            --accent-gold-hover: #b5952f;
            --overlay-color: rgba(5, 20, 42, 0.65);
            --overlay-hover: rgba(5, 20, 42, 0.80);
            --text-dark: #1F2937;
            --white: #FFFFFF;
            --bg-light: #FAFAFA;
        }

        .bg-marble {
            background-color: var(--bg-light);
            background-image: none;
        }

        /* --- BASE --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html, body {
            font-family: 'Golos Text', sans-serif;
            color: var(--text-dark);
            line-height: 1.6;
            padding-top: 0;
            overflow-x: hidden;
            width: 100%;
            max-width: 100%;
        }

        h1,
        h2,
        h3,
        h4 {
            font-family: 'Golos Text', sans-serif;
            color: var(--primary-blue);
        }

        a {
            text-decoration: none;
            transition: 0.3s;
        }

        ul {
            list-style: none;
        }

        /* --- UTILIDADES --- */
        .container {
            max-width: 1250px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 4px;
            font-weight: 700;
            text-transform: uppercase;
            cursor: pointer;
            border: none;
            letter-spacing: 1px;
            transition: all 0.4s ease;
        }

        .btn-gold {
            background-color: var(--accent-gold);
            color: var(--white);
            box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
        }

        .btn-gold:hover {
            background-color: var(--accent-gold-hover);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
        }

        .section-padding {
            padding: 90px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.8rem;
            margin-bottom: 15px;
        }

        .section-title .line {
            width: 70px;
            height: 3px;
            background-color: var(--accent-gold);
            margin: 0 auto;
        }

        /* --- HEADER --- */
        header {
            background-color: transparent;
            box-shadow: none;
            transition: background-color 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            height: 100px;
            display: flex;
            align-items: center;
        }

        header.scrolled {
            background-color: rgba(5, 20, 42, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            height: 75px;
        }

        header.scrolled .logo-img {
            height: 55px;
        }

        /* Profile page always has dark background header */
        body.profile-page header {
            background-color: rgba(5, 20, 42, 0.95) !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
            height: 75px !important;
        }
        body.profile-page header .logo-img {
            height: 55px !important;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            max-width: 1400px;
        }

        /* Destacando el logo */
        .logo-container {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        .logo-img {
            height: 80px;
            width: auto;
            transition: transform 0.3s ease;
        }

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

        .menu-toggle {
            display: none;
        }

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

        .nav-links a {
            color: var(--white);
            font-weight: 700;
            text-transform: none;
            font-size: 0.85rem;
            letter-spacing: 0.5px;
            position: relative;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -5px;
            left: 0;
            background-color: var(--accent-gold);
            transition: width 0.3s;
        }

        .nav-links a:hover {
            color: var(--accent-gold);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .lang-switch {
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--white);
            display: flex;
            gap: 5px;
            align-items: center;
        }

        .lang-switch a {
            color: var(--white);
            opacity: 0.6;
            text-decoration: none;
            transition: 0.3s;
        }

        .lang-switch a.active,
        .lang-switch a:hover {
            color: var(--accent-gold);
            opacity: 1;
        }

        .hero {
            background-color: var(--primary-blue);
            color: var(--white);
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }

        .hero-static {
            background-image: linear-gradient(110deg, rgba(5, 20, 42, 0.94), rgba(5, 20, 42, 0.68)), url('../oficina-aerea.webp');
            background-size: cover;
            background-position: center;
        }

        .hero-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transform: scale(1.05);
            z-index: 0;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(5, 20, 42, 0.7) 100%);
            z-index: 1;
        }

        .hero-container {
            position: relative;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            width: 100%;
        }

        .hero-text {
            position: relative;
            margin-top: 15vh;
        }

        /* Logo destacado en el hero opcional */
        .hero-logo-large {
            max-width: 250px;
            margin: 0 auto 15px auto;
            display: block;
            filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
        }

        .hero-text h1 {
            text-align: center;
            color: var(--white);
            font-size: 4rem;
            line-height: 1.1;
            margin-bottom: 25px;
        }

        .hero-text h1 span {
            color: var(--accent-gold);
        }

        .hero-text p {
            text-align: center;
            font-size: 1.2rem;
            margin: 0 auto 15px auto;
            opacity: 0.9;
            max-width: 700px;
            font-weight: 300;
        }

        .hero-image-wrapper {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            border: 2px solid rgba(197, 160, 89, 0.4);
            height: 100%;
            min-height: 400px;
        }

        .hero-photo {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            display: block;
            background-color: var(--primary-blue);
        }

        /* --- SERVICIOS CON DISEÑO TIPO TARJETA / CUADRO --- */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
        }

        .service-link {
            display: block;
            text-decoration: none;
            height: 100%;
        }

        .service-card {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            height: 280px;
            /* Altura ideal para la descripción */
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            transition: all 0.8s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        /* Capa oscura/rojo encima de la imagen de fondo */
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--overlay-color);
            z-index: 1;
            transition: all 0.8s ease;
        }

        .service-link:hover .service-card {
            transform: translateY(-8px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
        }

        .service-link:hover .service-card::before {
            background: var(--overlay-hover);
        }

        .service-content {
            position: relative;
            z-index: 2;
            padding: 25px 20px;
            color: var(--white);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
        }

        .service-content i {
            font-size: 1.4rem;
            margin-bottom: 10px;
            color: var(--white);
            transition: all 0.8s ease;
        }

        .service-link:hover .service-content i {
            color: var(--accent-gold);
            transform: scale(1.15) translateY(-5px);
        }

        .service-content h3 {
            font-size: 1.1rem;
            color: var(--white);
            margin-bottom: 15px;
            font-family: 'Golos Text', sans-serif;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 700;
        }

        .service-content p {
            font-size: 0.85rem;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 300;
            display: -webkit-box;
            -webkit-line-clamp: 5;
            line-clamp: 5;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* --- EQUIPO Y RESTO --- */
        /* --- PRESENCIA REGIONAL --- */
        .regional-presence-section {
            background-color: var(--primary-blue);
            color: var(--white);
            border-top: 2px solid var(--accent-gold);
            background-image: linear-gradient(rgba(5, 20, 42, 0.96), rgba(5, 20, 42, 0.96));
            background-size: cover;
            background-attachment: fixed;
            background-position: center;
        }

        .presence-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .subtitle-tag {
            color: var(--white);
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .subtitle-tag i {
            color: #ff0000;
            font-size: 1.3rem;
            background: #fff;
            padding: 4px;
            border-radius: 4px;
        }

        .presence-text h2 {
            font-size: 3.2rem;
            color: var(--white);
            line-height: 1.1;
            margin-bottom: 30px;
            font-family: 'Golos Text', sans-serif;
            font-weight: 800;
        }

        .presence-text p {
            font-size: 1.15rem;
            color: #d0d0d0;
            margin-bottom: 45px;
            line-height: 1.8;
        }

        .btn-red {
            background-color: var(--accent-gold);
            color: var(--white);
            display: inline-block;
            padding: 12px 30px;
            border-radius: 4px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .btn-red:hover {
            background-color: var(--accent-gold-hover);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
        }

        .locations-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .location-card {
            position: relative;
            height: 450px;
            border-radius: 4px;
            overflow: hidden;
            background-size: cover;
            background-position: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .location-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
            z-index: 1;
        }

        .location-content {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 40px;
            z-index: 2;
        }

        .city-name {
            display: inline-block;
            color: var(--accent-gold);
            font-size: 0.95rem;
            font-weight: 800;
            letter-spacing: 2px;
            margin-bottom: 12px;
            text-transform: uppercase;
        }

        .city-name::after {
            content: ' ─────';
            color: var(--accent-gold);
            position: relative;
            top: -2px;
            margin-left: 10px;
        }

        .location-content h3 {
            color: var(--white);
            font-size: 2.2rem;
            margin-bottom: 15px;
            font-family: 'Golos Text', sans-serif;
            font-weight: 800;
            text-transform: uppercase;
            line-height: 1.1;
        }

        .location-content p {
            color: #e0e0e0;
            font-size: 1.1rem;
            line-height: 1.6;
            font-weight: 500;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .team-member {
            text-align: center;
        }

        .member-img {
            width: min(100%, 210px);
            max-width: 210px;
            height: auto;
            aspect-ratio: 4 / 5;
            margin: 0 auto 16px;
            display: block;
            border-radius: 6px;
            object-fit: cover;
            object-position: 50% 22%;
            border: 2px solid rgba(212, 175, 55, 0.3);
            transition: all 0.8s ease;
        }

        .team-card {
            max-width: 230px;
            margin: 0 auto;
        }

        .team-member:hover .member-img,
        .team-card:hover .member-img {
            transform: scale(1.05);
            filter: brightness(1.1);
        }

        .forms-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }

        .form-box {
            background: rgba(255, 255, 255, 0.05);
            padding: 45px;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            border-top: 3px solid var(--accent-gold);
            color: var(--white);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 700;
            color: var(--primary-blue);
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 14px;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            font-family: 'Golos Text', sans-serif;
            background-color: #fafafa;
            transition: border-color 0.3s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-gold);
            background-color: #fff;
        }

        .form-group textarea {
            height: 120px;
            resize: vertical;
        }

        /* --- MAPA Y CONTACTO SECUNDARIO --- */
        .contact-map-wrapper {
            background: var(--white);
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .contact-map-wrapper h3 {
            text-align: left;
            color: var(--primary-blue);
            font-size: 1.8rem;
            margin-bottom: 5px;
        }

        .map-container {
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid #eee;
        }

        .contact-info-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .contact-info-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            font-size: 1.05rem;
            color: #444;
            line-height: 1.5;
        }

        .contact-info-list i {
            color: var(--primary-blue);
            font-size: 1.2rem;
            margin-top: 3px;
        }

        footer {
            background-color: var(--primary-blue);
            color: #fff;
            padding: 60px 0 30px;
            text-align: center;
            font-size: 0.95rem;
            border-top: 3px solid var(--accent-gold);
        }

        /* Logo en footer para enfatizar marca */
        .footer-logo {
            max-width: 150px;
            margin: 0 auto 20px auto;
            display: block;
            opacity: 0.8;
        }

        .social-icons {
            margin-bottom: 20px;
        }

        .social-icons a {
            color: var(--accent-gold);
            margin: 0 15px;
            font-size: 1.2rem;
            transition: color 0.3s;
        }

        .social-icons a:hover {
            color: var(--white);
        }

        .footer-links {
            margin: 25px 0;
            text-align: center;
        }

        .footer-links a {
            color: #d1d1d1;
            margin: 0 15px;
            cursor: pointer;
            text-decoration: underline;
        }

        .footer-links a:hover {
            color: var(--accent-gold);
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 2001;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background-color: #fefefe;
            margin: 5% auto;
            padding: 40px;
            border: 1px solid #888;
            width: 80%;
            max-width: 800px;
            border-radius: 8px;
            position: relative;
        }

        .close-btn {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close-btn:hover {
            color: var(--primary-blue);
        }

        .whatsapp-wrapper {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 2000;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .whatsapp-label {
            background: white;
            color: #333;
            padding: 8px 14px;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            font-size: 0.8rem;
            font-weight: 600;
            line-height: 1.3;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transform: translateX(15px);
            transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        }

        .whatsapp-wrapper:hover .whatsapp-label {
            opacity: 1;
            visibility: visible;
            transform: translateX(0);
        }

        .whatsapp-label span {
            display: block;
            color: #25d366;
            font-weight: 700;
        }

        .whatsapp-float {
            background-color: #25d366;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 26px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s, background-color 0.3s;
        }

        .whatsapp-float:hover {
            transform: scale(1.1) rotate(-5deg);
            background-color: #1ebe57;
        }

        @media (max-width: 900px) {
            .hero-container {
                grid-template-columns: 1fr;
                text-align: left;
            }

            .hero-text h1 {
                font-size: 2.5rem;
            }

            .section-title h2 {
                font-size: 2.0rem;
            }

            .hero-text p {
                margin: 0 auto 30px auto;
                font-size: 1.05rem;
            }

            .menu-toggle {
                display: block;
                color: var(--white);
                font-size: 1.8rem;
                cursor: pointer;
                transition: color 0.3s;
                margin-left: auto;
            }

            .menu-toggle:hover {
                color: var(--accent-gold);
            }

            .nav-links {
                position: absolute;
                top: 100%;
                /* Just below the header */
                left: 0;
                width: 100%;
                background-color: rgba(5, 20, 42, 0.98);
                /* Brand dark blue */
                flex-direction: column;
                align-items: center;
                gap: 20px;
                padding: 30px 0;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);

                /* Hidden by default on mobile, but animatable */
                max-height: 0;
                overflow: hidden;
                opacity: 0;
                visibility: hidden;
                transition: all 0.4s ease;
            }

            .nav-links.active {
                max-height: 400px;
                opacity: 1;
                visibility: visible;
            }

            .nav-links li {
                width: 100%;
                text-align: left;
            }

            .nav-links a {
                display: block;
                padding: 10px;
                font-size: 1.1rem;
            }

            .lang-switch,
            .mobile-hidden {
                display: none !important;
                /* hide lang switch inside nav on mobile to keep it simple */
            }

            .forms-wrapper {
                grid-template-columns: 1fr;
            }

            .hero-image-wrapper {
                max-width: 100%;
                margin: 0 auto;
                min-height: 350px;
            }

            .presence-container {
                grid-template-columns: 1fr;
            }

            .regional-presence-section {
                background-attachment: scroll !important;
            }
        }

        /* --- POR QUÉ ELEGIRNOS --- */
        .why-choose-us {
            background-color: var(--white);
            text-align: center;
            color: var(--primary-blue);
        }

        .why-header {
            margin-bottom: 60px;
        }



        .why-subtitle {
            color: var(--accent-gold);
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .why-subtitle i {
            background-color: var(--accent-gold);
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 1rem;
        }

        .why-title {
            color: var(--primary-blue);
            font-size: 2.8rem;
            font-weight: 800;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
            align-items: stretch;
        }

        .blog-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

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

        .blog-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .blog-content {
            padding: 25px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .blog-content h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .blog-content p {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 20px;
            font-size: 0.95rem;
            flex-grow: 1;
        }

        .why-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .why-card {
            background: var(--primary-blue);
            border: 1px solid rgba(212, 175, 55, 0.15);
            border-radius: 8px;
            padding: 40px;
            transition: transform 0.3s, border-color 0.3s;
        }

        .why-card:hover {
            transform: translateY(-5px);
            border-color: var(--accent-gold);
        }

        .why-icon {
            color: var(--accent-gold);
            font-size: 2.2rem;
            margin-bottom: 20px;
        }

        .why-card h3 {
            color: var(--white);
            font-size: 1.35rem;
            margin-bottom: 15px;
            font-weight: 700;
        }

        .why-card p {
            color: rgba(255, 255, 255, 0.75);
            line-height: 1.7;
            font-size: 1.05rem;
        }

        @media (max-width: 768px) {
            .section-padding {
                padding: 50px 0;
            }
            .hero-text {
                margin-top: 5vh;
            }
            .hero-image-wrapper {
                min-height: 250px;
            }
            .contact-map-wrapper {
                padding: 25px;
            }
            .contact-info-list li span {
                word-break: break-word;
            }
            .hero-text h1 {
                font-size: 2.2rem;
            }
            .section-title h2 {
                font-size: 1.8rem;
            }

            .why-grid,
            .team-grid,
            .services-grid,
            .sub-services-grid {
                grid-template-columns: 1fr !important;
                gap: 20px;
            }

            .why-title {
                font-size: 2.0rem;
            }

            .counters-grid {
                grid-template-columns: 1fr !important;
            }

            .culture-grid,
            .blog-grid {
                grid-template-columns: 1fr;
            }

            .whatsapp-float {
                width: 45px;
                height: 45px;
                font-size: 24px;
            }

            table.escala-table, .escala-table {
                display: block;
                overflow-x: auto;
                white-space: nowrap;
                -webkit-overflow-scrolling: touch;
            }

            table.dt {
                width: 100%;
                display: table;
                table-layout: fixed;
                white-space: normal;
            }
            table.dt th, table.dt td {
                word-wrap: break-word;
                overflow-wrap: break-word;
            }
        }

        /* --- ANIMACIÓN DE REBOTE PARA ICONOS (ANTIGRAVITY) --- */
        @keyframes icon-bounce {
            0%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        i:hover,
        a:hover i,
        .btn:hover i,
        .service-card:hover i,
        .sub-service-card:hover i,
        .whatsapp-float:hover i {
            animation: icon-bounce 0.5s ease-in-out;
            display: inline-block;
        }
/* --- SUBPAGE SPECIFIC STYLES --- */
.area-hero {
    background: linear-gradient(rgba(5, 20, 42, 0.85), rgba(5, 20, 42, 0.85)), url('../oficina-aerea.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 140px 0 40px 0;
    text-align: center;
}

.area-hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.area-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.content-section {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 80px 0;
}

.grid-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: start;
}

.main-text h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 30px;
}

.main-text h2:first-child {
    margin-top: 0;
}

.main-text p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1rem;
}

.main-text strong {
    color: var(--primary-blue);
}

/* Sub-services grid */
.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.sub-service-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.sub-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.sub-service-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.sub-service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.sub-service-content {
    padding: 20px;
}

.sub-service-content h4 {
    color: var(--primary-blue);
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-family: 'Golos Text', sans-serif;
    font-weight: 700;
}

.sub-service-content p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 120px;
}

.sidebar h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-gold);
}

.services-menu {
    list-style: none;
    padding: 0;
}

.services-menu li {
    margin-bottom: 5px;
}

.services-menu a {
    display: block;
    padding: 12px 15px;
    color: #444;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

.services-menu a:hover,
.services-menu a.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    padding-left: 20px;
}

/* Feature list (for pages that still use it) */
.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--accent-gold);
    font-size: 1rem;
}

@media (max-width: 900px) {
    .grid-content {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .area-hero {
        padding: 90px 0 30px 0;
    }

    .area-hero h1 {
        font-size: 2rem;
    }
}

/* --- NUEVO FOOTER --- */
.new-footer {
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 50px 0 10px;
    font-family: 'Golos Text', sans-serif;
    border-top: 3px solid var(--primary-blue);
    text-align: left;
    background: linear-gradient(135deg, #020b18 0%, var(--primary-blue) 55%, #0a2445 100%);
}

.footer-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.new-footer .footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(5, 20, 42, 0.85) 100%);
    z-index: 1;
}

/* Accesibilidad y estados globales */
.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    padding: 12px 18px;
    color: #05142a;
    background: #fff;
    border: 3px solid var(--accent-gold);
    border-radius: 4px;
    font-weight: 800;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.menu-toggle {
    padding: 10px;
    min-width: 44px;
    min-height: 44px;
    border: 0;
    background: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 3px;
}

.form-privacy-note {
    margin: 4px 0 18px;
    color: #4b5563;
    font-size: 0.82rem;
    line-height: 1.55;
}

.form-privacy-note a {
    font-weight: 700;
    text-decoration: underline;
}

.tool-footer {
    padding: 26px 18px;
    color: #e5e7eb;
    background: #05142a;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.7;
}

.tool-footer a {
    color: #f3cf70;
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-video,
    .footer-video {
        display: none;
    }
}

.new-footer .footer-content-wrapper {
    position: relative;
    z-index: 2;
}

.new-footer .footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.new-footer .footer-brand {
    flex: 1;
    min-width: 250px;
}

.new-footer .footer-logo-new {
    max-width: 160px;
    opacity: 0.9;
}

.new-footer .footer-locations {
    flex: 2;
    min-width: 300px;
}

.new-footer .footer-location-title {
    margin-bottom: 25px;
}

.new-footer .footer-location-title h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.new-footer .footer-location-title .line {
    width: 60px;
    height: 2px;
    background-color: var(--white);
}

.new-footer .footer-location-cols {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.new-footer .location-col h4 {
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.new-footer .location-col ul {
    list-style: none;
    padding: 0;
}

.new-footer .location-col li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.5;
}

.new-footer .location-col a {
    color: #e0e0e0;
    text-decoration-color: rgba(255, 255, 255, 0.45);
}

.new-footer .location-col a:hover {
    color: var(--white);
}

.new-footer .location-col i {
    color: var(--white);
    margin-top: 4px;
    font-size: 1.1rem;
}

.new-footer .footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 25px 0 15px;
}

.new-footer .footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.new-footer .footer-empty {
    order: 3;
}

.new-footer .footer-copy {
    color: #cccccc;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 8px;
    order: 2;
}

.new-footer .footer-copy p {
    margin-bottom: 12px;
}

.new-footer .footer-links-new a {
    color: #cccccc;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}

.new-footer .footer-links-new a:hover {
    color: var(--white);
}

.new-footer .footer-social {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
    order: 1;
}

.new-footer .social-square {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--white);
    color: var(--text-dark);
    border-radius: 6px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.new-footer .social-square:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .new-footer .footer-top {
        flex-direction: column;
    }
    .new-footer .footer-bottom {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    .new-footer .footer-empty {
        display: none;
    }
    .new-footer .footer-copy {
        order: 1;
    }
    .new-footer .footer-social {
        order: 2;
        justify-content: center;
    }
}

/* ==========================================================================
   PROFILE PAGE (PBPLAW STYLE)
   ========================================================================== */

/* Breadcrumbs */
.profile-breadcrumb {
    padding: 20px 0;
    margin-top: 0; /* Removed margin to fix collapsing */
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 500;
}
.profile-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}
.profile-breadcrumb a:hover {
    color: var(--accent-gold);
}
.profile-breadcrumb span {
    margin: 0 10px;
    color: #a0a0a0;
}

/* Profile Hero */
.profile-hero-section {
    padding: 100px 0 20px 0; /* Added 100px top padding for fixed header offset */
    background-color: var(--primary-blue); /* Base dark blue */
    background-image:
        radial-gradient(circle at 120% 0%, rgba(32, 142, 230, 0.9) 0%, rgba(32, 142, 230, 0.9) 45%, transparent 45.1%),
        radial-gradient(circle at 120% 150%, rgba(23, 112, 184, 0.9) 0%, rgba(23, 112, 184, 0.9) 50%, transparent 50.1%);
    color: var(--white);
    position: relative;
    overflow: visible; /* Allow image to overlap */
}
.profile-hero-flex {
    display: flex;
    gap: 50px;
    align-items: center; /* Center align items to allow the image to hang down */
}
.profile-hero-left {
    flex: 0 0 350px;
    position: relative;
}
.profile-hero-left img {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top;
    border-radius: 20px; /* Slightly rounded corners like reference */
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transform: translateY(80px); /* Overlap effect */
}
.profile-hero-right {
    flex: 1;
    padding-top: 40px;
    padding-bottom: 60px;
}
.profile-name {
    font-size: 4rem;
    color: var(--white);
    font-family: 'Golos Text', sans-serif;
    line-height: 1.1;
    margin-bottom: 5px;
}
.profile-lastname {
    font-size: 4rem;
    color: #4ab2cc; /* Light blue color from reference */
    font-family: 'Golos Text', sans-serif;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 15px;
}
.profile-role {
    font-size: 1.2rem;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.profile-desc {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Social/Contact Icons */
.profile-social-icons {
    display: flex;
    gap: 15px;
}
.profile-social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.profile-social-icons a:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

/* Tabs Section */
.profile-tabs-section {
    padding: 100px 0 60px 0; /* Extra top padding for overlapping image */
    background-color: var(--white);
}
.profile-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}
.profile-tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 1.1rem;
    font-family: 'Golos Text', sans-serif;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 5px;
}
.profile-tab-btn:hover {
    color: var(--primary-blue);
    background-color: #f5f5f5;
}
.profile-tab-btn.active {
    color: var(--white);
    background-color: var(--primary-blue);
}
.profile-tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}
.profile-tab-pane.active {
    display: block;
}
.profile-tab-content-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    max-width: 800px;
}
.profile-tab-content-text p {
    margin-bottom: 20px;
}
.profile-tab-content-text h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: 8px;
}
.profile-tab-content-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}
.profile-tab-content-text ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 25px 0;
}
.profile-tab-content-text li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    line-height: 1.6;
}
.profile-tab-content-text li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--accent-gold);
    font-weight: bold;
    font-size: 1.4rem;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .profile-hero-flex {
        flex-direction: column;
    }
    .profile-hero-left {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .profile-name, .profile-lastname {
        font-size: 3rem;
    }
}

/* --- CUSTOM CURSOR FOLLOWER --- */
.custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    will-change: transform;
    width: 8px;
    height: 8px;
    background-color: #3b82f6; /* Modern electric blue */
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8), 0 0 20px rgba(59, 130, 246, 0.4);
}

/* Visible state */
.custom-cursor-dot.visible {
    opacity: 1;
}

/* Hovering interactive elements */
.custom-cursor-dot.hovering {
    width: 6px;
    height: 6px;
    background-color: #60a5fa; /* Lighter blue */
    box-shadow: 0 0 15px rgba(96, 165, 250, 1), 0 0 30px rgba(96, 165, 250, 0.6);
}


/* --- STATS COUNTER --- */
.stats-counter-container {
    margin-top: 80px;
    border-top: 1px solid #f0f0f0;
    padding-top: 60px;
    width: 100%;
}

.stats-counter-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.stats-counter-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 10px 0;
}

/* Vertical dividers matching the image with a brand navy tint */
.stats-counter-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(5, 20, 42, 0.1);
}

.stats-counter-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--accent-gold); /* Gold matching the branding */
    line-height: 1;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.stats-counter-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue); /* Navy matching the branding */
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .stats-counter-container {
        margin-top: 50px;
        padding-top: 40px;
    }

    .stats-counter-grid {
        flex-direction: column;
        gap: 45px;
    }

    .stats-counter-item:not(:last-child)::after {
        right: 0;
        left: 0;
        bottom: -22px;
        top: auto;
        height: 1px;
        width: 60%;
        margin: 0 auto;
    }
}


