        :root {
            /* Light Theme */
            --bg-dark: #FAFAFA;
            --bg-panel: #FFFFFF;
            --bg-panel-solid: #FFFFFF;
            --text-main: #333333;
            --text-muted: #555555;
            --accent-gold: #00B4D8;
            /* Turquoise Accent */
            --accent-gold-hover: #0096C7;
            --border-subtle: rgba(0, 0, 0, 0.08);
            --text-heading: #1A1A1A;

            /* Typography */
            --font-display: 'Outfit', sans-serif;
            --font-body: 'Inter', sans-serif;

            /* Spacing & Layout */
            --section-padding: 6rem 5%;
            --border-radius: 12px;
            --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        }

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

        html {
            scroll-behavior: smooth;
            background-color: var(--bg-dark);
            color: var(--text-main);
            font-family: var(--font-body);
            line-height: 1.6;
        }

        body {
            overflow-x: hidden;
        }

        /* Typography Defaults */
        h1,
        h2,
        h3,
        h4 {
            font-family: var(--font-display);
            font-weight: 600;
            line-height: 1.2;
            color: var(--text-heading);
        }

        p {
            color: var(--text-muted);
            font-size: 0.95rem;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition-smooth);
        }

        /* Utilities */
        .glass-panel {
            background: var(--bg-panel);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border-subtle);
            border-radius: var(--border-radius);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
            /* softer for light theme */
        }

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

        .section-title {
            text-align: center;
            font-size: 4rem;
            margin-bottom: 3rem;
            position: relative;
            display: block;
            width: 100%;
            z-index: 1;
            /* Above background overlay */
        }

        .section-subtitle {
            text-align: center;
            font-size: 1.5rem;
            margin-bottom: 4rem;
            max-width: 800px;
            margin-inline: auto;
        }

        .btn {
            display: inline-block;
            padding: 1rem 2.5rem;
            border-radius: 30px;
            font-family: var(--font-display);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: var(--transition-smooth);
            border: none;
        }

        .btn-primary {
            background-color: var(--accent-gold);
            color: #FFFFFF;
            border: 3px solid #71d9ee;
        }

        .btn-primary:hover {
            background: var(--accent-gold-hover);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
        }

        .btn-cyan {
            background-color: #00ADB5;
            color: #ffffff;
            font-size: 1.1rem;
            width: 100%;
            text-align: center;
        }

        .btn-cyan:hover {
            background-color: #00969e;
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(0, 173, 181, 0.3);
        }

        .service-action-buttons {
            display: flex;
            flex-direction: column;
            align-items: center;
            /* Center buttons horizontally */
            gap: 1rem;
            margin-top: 2rem;
            width: 70%;
        }

        .btn-service-red {
            background-color: #EF4444;
            /* bright red */
            color: #FFFFFF;
            width: auto;
            /* Allow text to fit */
            min-width: 70%;
            /* Ensure reasonable width */
            max-width: 95%;
            /* Prevent overflowing card bounds */
            text-align: center;
            border-radius: 8px;
            /* Slightly squarer modern look */
            padding: 0.5rem 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 0.75rem;
            /* Reduced font size */
            white-space: normal;
            line-height: 1.25;
            /* Prevent text wrapping */
        }

        .btn-service-red:hover {
            background-color: #DC2626;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
        }

        .btn-service-green {
            background-color: #10B981;
            /* bright green */
            color: #FFFFFF;
            width: auto;
            /* Allow text to fit */
            min-width: 70%;
            /* Ensure reasonable width */
            max-width: 95%;
            /* Prevent overflowing card bounds */
            text-align: center;
            border-radius: 8px;
            padding: 0.5rem 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            font-size: 0.75rem;
            /* Reduced font size */
            white-space: normal;
            line-height: 1.25;
            /* Prevent text wrapping */
        }

        .btn-service-green:hover {
            background-color: #059669;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
        }

        /* Animations */
        .fade-in-up {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.8s ease-out, transform 0.8s ease-out;
        }

        .fade-in-up.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* ================= HEADER ================= */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            padding: 1rem 5%;
            transition: var(--transition-smooth);
            background: rgba(31, 41, 55, 0.7);
            /* Translucent gray background */
            backdrop-filter: blur(10px);
            /* Add a subtle blur effect */
        }

        header.scrolled {
            background: rgba(11, 13, 23, 0.9);
            backdrop-filter: blur(15px);
            border-bottom: 1px solid var(--border-subtle);
            padding: 0.8rem 5%;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .nav-container {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            gap: 2.5rem;
            /* Set same spacing as between menu links */
        }

        .logo-text {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.5rem;
            font-weight: 300;
            letter-spacing: 2pt;
            color: #FFFFFF;
            /* Force white in header */
            display: flex;
            flex-direction: column;
            line-height: 1;
        }

        .logo-text span {
            font-family: var(--font-display);
            font-size: 0.7rem;
            color: var(--accent-gold);
            font-weight: 400;
            letter-spacing: 3px;
            margin-top: 4px;
        }

        .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
            margin-left: 0;
            /* Remove auto margin to keep it next to logo */
        }

        .nav-links li a {
            font-family: var(--font-display);
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: bold;
            color: #FFFFFF;
            position: relative;
        }

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

        .nav-links li a:not(.btn-emergency):hover::after,
        .nav-links li a.active::after {
            width: 100%;
        }

        .btn-emergency {
            background-color: #E74C3C !important;
            color: #FFF !important;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 0.85rem !important;
            font-weight: 700 !important;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
            animation: pulse-red 2s infinite;
        }

        .btn-emergency:hover {
            background-color: #C0392B !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(192, 57, 43, 0.6);
        }

        @keyframes pulse-red {
            0% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.8);
            }

            50% {
                transform: scale(1.05);
                box-shadow: 0 0 0 15px rgba(231, 76, 60, 0);
            }

            100% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
            }
        }

        .btn-emergency-green {
            animation: pulse-green 2s infinite;
        }

        @keyframes pulse-green {
            0% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8);
            }

            50% {
                transform: scale(1.05);
                box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
            }

            100% {
                transform: scale(0.95);
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }

        .mobile-menu-btn {
            display: none;
            font-size: 1.5rem;
            color: var(--accent-gold);
            cursor: pointer;
            background: none;
            border: none;
        }

        /* ================= HERO SECTION ================= */
        .hero {
            height: 70vh;
            min-height: 700px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 0 5%;
            overflow: hidden;
            background-color: var(--bg-dark);
        }

        .hero::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('./Images/LogoCarstens8.jpeg') 85% 0% / cover no-repeat;
            z-index: 0;
        }

        .hero-content {
            position: relative;
            max-width: 1000px;
            width: 100%;
            z-index: 1;
            /* Se ha removido el margin-top de 250px para permitir el centrado correcto */
            transform: translateY(-20vh);
            /* Sube el contenedor visualmente para estar "más arriba" de la mitad exacta */
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .hero-text-logo {
            margin: 0 auto 15rem auto;
            text-align: center;
        }

        .hero-logo-img {
            display: block;
            margin: 1rem auto 3rem auto;
            max-width: 90%;
            width: 450px;
            height: auto;
            border: 3px solid #11fffb;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgb(65, 188, 215);
            padding: 1rem;
            background-color: #FFFFFF;
        }

        .hero-logo-main {
            font-family: 'Montserrat', sans-serif;
            font-size: 7.5rem;
            font-weight: 300;
            color: #FFFFFF;
            line-height: 1;
            letter-spacing: 1.3pt;
            margin-bottom: 0.2rem;
            text-transform: uppercase;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .hero-logo-sub {
            font-family: var(--font-display);
            font-size: 2.2rem;
            font-weight: 600;
            color: var(--accent-gold);
            line-height: 1;
            letter-spacing: 12px;
            text-transform: uppercase;
            margin-left: 12px;
            /* to visually center with letter-spacing */
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        @media (max-width: 900px) {
            .hero-logo-main {
                font-size: 5rem;
            }

            .hero-logo-sub {
                font-size: 1.5rem;
                letter-spacing: 8px;
                margin-left: 8px;
            }
        }

        @media (max-width: 600px) {
            .hero-logo-main {
                font-size: 3.5rem;
            }

            .hero-logo-sub {
                font-size: 1rem;
                letter-spacing: 4px;
                margin-left: 4px;
            }
        }

        .hero-slogan {
            font-size: 2.5rem;
            font-weight: 200;
            line-height: 2.2;
            margin-bottom: 1rem;
            color: #FFFFFF;
            /* explicit white for hero */
        }

        .social-links {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            margin-top: 2rem;
        }

        .social-links a {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: var(--bg-panel);
            border: 1px solid var(--border-subtle);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .social-links a:hover {
            background: var(--accent-gold);
            color: #FFF;
            transform: translateY(-3px);
            border-color: var(--accent-gold);
        }

        /* ================= STATS SECTION ================= */
        .stats-section {
            padding: 20rem 5%;
            background:
                linear-gradient(rgba(194, 193, 203, 0.1), rgba(15, 14, 31)),
                url('./Images/fondoestadistica.jpeg') center/cover no-repeat;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .stats-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 5rem;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 5rem;
            color: var(--accent-gold);
            margin-bottom: 0.5rem;
            font-weight: 800;
        }

        .stat-item p {
            font-family: var(--font-display);
            text-transform: uppercase;
            font-size: 1.5rem;
            letter-spacing: 1px;
            color: rgba(255, 255, 255, 0.85);
            /* Ajustado para mejor contraste sobre fondo oscuro */
            font-weight: 500;
        }

        /* ================= SERVICES SECTION ================= */
        .services {
            padding: var(--section-padding);
            width: 100%;
            background: linear-gradient(rgba(1, 17, 51, 0.65), rgba(1, 17, 51, 0.85)), url('./Images/gente1.jpeg') center/cover no-repeat;
        }

        .services-container {
            max-width: 1400px;
            margin: 0 auto;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
            gap: 2rem;
        }

        .service-card {
            padding: 3rem 2rem;
            display: flex;
            flex-direction: column;
            align-items: center;
            /* Centered content */
            text-align: center;
            /* Centered text */
            transition: var(--transition-smooth);
            cursor: default;
            border: 3px solid #11fffb;
            border-radius: var(--border-radius);
            box-shadow: 0 10px 30px rgba(5, 180, 216, 0.30);
            /* very soft shadow */

            /* Enhanced Card Spacing */

            min-height: 520px;
            /* Stretch height to push action buttons down */

            /* Card Background Image & Overlay Setup */
            position: relative;
            overflow: hidden;
            /* Ensure overlay respects border radius */
            color: var(--text-main);
            /* Ensure text stays readable */
        }

        /* Card Background Layer */
        /* Note: Individual background images are set inline on each card */

        /* 85% Translucent Dark Overlay for Card */
        .service-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(4, 3, 21, 0.65);
            /* 85% opacity dark overlay */
            z-index: 1;
        }

        /* Ensure card content sits above background and overlays */
        .service-card>* {
            position: relative;
            z-index: 2;
        }

        .service-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent-gold);
            box-shadow: 0 15px 35px rgb(31, 69, 184);
            /* cyan glow tint */
        }

        .service-icon {
            font-size: 5rem;
            /* Adjusted for FA icons */
            color: var(--accent-gold);
            margin-bottom: 1.5rem;
            width: 98px;
            height: 98px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-smooth);
        }

        .service-card:hover .service-icon {
            background: var(--accent-gold);
            color: #FFF;
        }

        .service-card h3 {
            font-size: 1.6rem;
            margin-bottom: 1rem;
            color: rgb(5, 180, 216);
        }

        .service-card p {
            color: white;
            font-size: 1.05rem;
        }

        /* ================= FLIP CARD ================= */
        .flip-card {
            background-color: transparent;
            perspective: 1000px;
            min-height: 540px;
        }

        .flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: left;
            transition: transform 0.8s;
            transform-style: preserve-3d;
        }

        .flip-card:hover .flip-card-inner,
        .flip-card.flipped .flip-card-inner {
            transform: rotateY(180deg);
        }

        .flip-card-front,
        .flip-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            border-radius: var(--border-radius);
        }

        .flip-card-front {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            padding: 3rem 2rem;
            background: var(--bg-panel);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid var(--border-subtle);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .flip-card-back {
            background: rgba(11, 13, 23, 0.95);
            border: 2px solid var(--accent-gold);
            transform: rotateY(180deg);
            padding: 1.2rem 1.2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            /* distribute content to push buttons to bottom */
            box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
            overflow: hidden;
        }

        .flip-card-back p {
            font-size: 0.8rem;
            line-height: 1.35;
            color: #E2E8F0;
            text-align: justify;
        }

        /* ================= ABOUT SECTION ================= */
        .about-section {
            padding: var(--section-padding);
            background: linear-gradient(rgba(157, 156, 176, 0.8), rgba(4, 3, 21, 0.80)), url('./Images/FondoPablo2.jpg') center/cover no-repeat;
            position: relative;
            overflow: hidden;
            color: white;
            /* Ensure text is readable on dark background */
        }

        .about-section p {
            color: rgba(255, 255, 255, 0.85);
            /* Slightly muted white for paragraphs */
        }

        .about-content h2 {
            color: white;
        }

        .about-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-image {
            position: relative;
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: -15px;
            left: -15px;
            right: -15px;
            bottom: -15px;
            border: 5px solid #00B4D8;
            border-radius: var(--border-radius);
            z-index: 0;
        }

        .about-image img {
            width: 100%;
            border-radius: var(--border-radius);
            position: relative;
            z-index: 1;
            box-shadow: 0 15px 35px rgba(0, 180, 216, 0.2);
            filter: grayscale(20%) contrast(1.1);
        }

        .about-content h2 {
            font-size: 3rem;
            margin-bottom: 0.5rem;
        }

        .about-content .role {
            color: var(--accent-gold);
            font-family: var(--font-display);
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            margin-bottom: 2rem;
            display: block;
        }

        .about-content p {
            margin-bottom: 1.5rem;
        }

        /* ================= BOOK SECTION ================= */
        .book-promo {
            padding: var(--section-padding);
            background: linear-gradient(rgba(4, 3, 21, 0.80), rgba(4, 3, 21, 0.80)), url('./Images/ventana.jpeg') center/cover no-repeat;
            background-attachment: fixed;
        }

        .book-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            background: linear-gradient(rgb(245, 241, 241, 0.9), rgba(132, 207, 223, 1));
            border-radius: 20px;
            padding: 4rem;
            border: 1px solid var(--border-subtle);
            box-shadow: 0 10px 40px rgba(0, 180, 216, .5);
        }

        .book-image img {
            width: 100%;
            max-width: 400px;
            border-radius: 8px;
            box-shadow: -15px 15px 30px rgba(0, 0, 0, 1);
            transition: transform 0.4s ease;
        }

        .book-image img:hover {
            transform: scale(1.05) rotate(2deg);
        }

        .book-content h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        /* ================= TEAM SECTION ================= */
        .team {
            padding: var(--section-padding);
            width: 100%;
            background: linear-gradient(rgba(4, 3, 21, 0.80), rgba(4, 3, 21, 0.80)), url('./Images/equipo.jpeg') center/cover no-repeat;
        }

        .team .section-title {
            color: #00B4D8;
        }

        .team .section-subtitle {
            color: white;
        }

        .team-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
            gap: 2rem;
            margin-top: 3rem;
            max-width: 1400px;
            margin-inline: auto;
        }

        .team-card-img {
            width: 100%;
            height: auto;
            border-radius: 12px;
            transition: var(--transition-smooth);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
            border: 1px solid var(--border-subtle);
            object-fit: cover;
            cursor: pointer;
        }

        .team-card-img:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 45px rgba(212, 175, 55, 0.15);
            border-color: var(--accent-gold);
        }

        /* ================= PRESS SECTION ================= */
        .press {
            padding: var(--section-padding);
            background: linear-gradient(rgba(38, 36, 69, 0.8), rgba(4, 3, 21, 0.95)), url('./Images/noticias.png') center/cover no-repeat;
            background-attachment: fixed;
        }

        .press .section-title,
        .press .section-subtitle {
            color: white;
        }

        .press-carousel-container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            display: flex;
            align-items: center;
        }

        .press-carousel-btn {
            background: var(--bg-panel);
            border: 1px solid var(--border-subtle);
            color: var(--text-main);
            width: 48px;
            height: 48px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: var(--transition-smooth);
            position: absolute;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .press-carousel-btn:hover {
            background: var(--accent-gold);
            color: var(--bg-dark);
            border-color: var(--accent-gold);
        }

        .press-carousel-btn.prev {
            left: -24px;
        }

        .press-carousel-btn.next {
            right: -24px;
        }

        .press-grid {
            display: flex;
            gap: 2rem;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            padding-bottom: 1rem;
            width: 100%;
            -ms-overflow-style: none;
            /* IE and Edge */
            scrollbar-width: none;
            /* Firefox */
        }

        .press-grid::-webkit-scrollbar {
            display: none;
        }

        .press-marquee-track {
            display: flex;
            gap: 2rem;
            width: max-content;
            animation: press-marquee 40s linear infinite;
        }

        .press-marquee-track:hover {
            animation-play-state: paused;
        }

        @keyframes press-marquee {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(calc(-50% - 1rem));
            }
        }


        .press-item {
            min-width: calc(33.333% - 1.34rem);
            scroll-snap-align: start;
            flex-shrink: 0;
            position: relative;
            border-radius: var(--border-radius);
            overflow: hidden;
            aspect-ratio: 16/9;
            background: var(--bg-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--border-subtle);
            cursor: pointer;
        }

        @media (max-width: 1024px) {
            .press-item {
                min-width: calc(50% - 1rem);
            }
        }

        @media (max-width: 768px) {
            .press-item {
                min-width: 100%;
            }

            .press-carousel-btn {
                display: none;
            }
        }

        .press-grid-view .press-item {
            width: auto;
            min-width: auto;
        }

        .press-item::before {
            content: '\f144';
            /* FontAwesome Play icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 4rem;
            color: rgba(255, 255, 255, 0.8);
            position: absolute;
            z-index: 2;
            transition: var(--transition-smooth);
        }

        .press-item:hover::before {
            color: #FF0000;
            transform: scale(1.1);
        }

        .press-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 1.5rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
            z-index: 1;
            transform: translateY(10px);
            opacity: 0.9;
            transition: var(--transition-smooth);
        }

        .press-item:hover .press-overlay {
            transform: translateY(0);
            opacity: 1;
        }

        .press-overlay h4 {
            font-size: 1.1rem;
            margin-bottom: 0.2rem;
            font-weight: 600;
            color: #FFFFFF;
        }

        /* ================= HABLEMOS DE SECTION - VERTICAL LIST ================= */
        .hablemos-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }

        .hablemos-item {
            display: flex;
            align-items: center;
            background: rgba(11, 13, 23, 0.95);
            border: 1px solid var(--border-subtle);
            border-radius: calc(var(--border-radius) / 2);
            padding: 0.75rem;
            text-decoration: none;
            transition: var(--transition-smooth);
            cursor: pointer;
        }

        .hablemos-item:hover {
            border-color: var(--accent-gold);
            transform: translateY(-2.5px);
            box-shadow: 0 5px 12.5px rgba(0, 180, 216, 0.15);
        }

        .hablemos-thumbnail {
            width: 160px;
            aspect-ratio: 16/9;
            height: auto;
            flex-shrink: 0;
            border-radius: 4px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .hablemos-thumbnail::before {
            content: '\f144';
            /* FontAwesome Play icon */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 1.5rem;
            color: rgba(255, 255, 255, 0.8);
            position: absolute;
            z-index: 2;
            transition: var(--transition-smooth);
        }

        .hablemos-item:hover .hablemos-thumbnail::before {
            color: #FF0000;
            transform: scale(1.1);
        }

        .hablemos-content {
            display: flex;
            flex-direction: column;
            margin-left: 0.75rem;
            justify-content: center;
        }

        .hablemos-episode {
            color: #00B4D8;
            font-size: 0.6rem;
            text-transform: uppercase;
            font-weight: bold;
            letter-spacing: 0.5px;
            margin-bottom: 0.25rem;
        }

        .hablemos-title {
            color: #FFFFFF;
            font-size: 0.85rem;
            font-weight: 600;
            margin: 0;
            line-height: 1.3;
        }

        @media (max-width: 600px) {
            .hablemos-item {
                flex-direction: column;
                align-items: flex-start;
            }

            .hablemos-thumbnail {
                width: 100%;
                aspect-ratio: 16/9;
                height: auto;
                /* Wider for mobile */
                margin-bottom: 1rem;
            }

            .hablemos-content {
                margin-left: 0;
            }
        }

        .press-overlay .text-gold {
            font-weight: bold;
        }

        /* ================= CONTACT SECTION ================= */
        .contact {
            padding: var(--section-padding);
            background: linear-gradient(rgba(4, 3, 21, 0.90), rgba(4, 3, 21, 0.90)), url('./Images/sala1.png') center/cover no-repeat;
            background-attachment: fixed;
        }

        .contact .section-title,
        .contact .section-subtitle,
        .contact h3,
        .contact h4,
        .contact p {
            color: #FFFFFF;
        }

        .contact-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .contact-map {
            width: 100%;
            height: 100%;
            min-height: 400px;
            border-radius: var(--border-radius);
            overflow: hidden;
            border: .2rem solid #00B4D8;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .contact-map iframe {
            width: 100%;
            height: 100%;
            border: 0;
            filter: invert(90%) hue-rotate(180deg) brightness(80%) contrast(110%);
        }

        .contact-info {
            padding-right: 2rem;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .info-icon {
            font-size: 1.5rem;
            color: var(--accent-gold);
            width: 50px;
            height: 50px;
            background: var(--bg-panel-solid);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-form {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .form-group {
            position: relative;
        }

        .form-control {
            width: 100%;
            background: var(--bg-panel-solid);
            border: 1px solid var(--border-subtle);
            padding: 1.2rem 1.5rem;
            border-radius: 8px;
            color: var(--text-main);
            font-family: var(--font-body);
            font-size: 1rem;
            transition: var(--transition-smooth);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--accent-gold);
            background: rgba(255, 255, 255, 0.05);
            box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

        /* ================= FOOTER ================= */
        footer {
            background: #111827;
            color: #FFFFFF;
            padding: 3rem 5%;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        footer p {
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            color: #9CA3AF;
        }

        /* ================= MODAL STYLES ================= */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.85);
            /* Dark overlay */
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 2000;
            opacity: 0;
            transition: opacity 0.3s ease;
            backdrop-filter: blur(5px);
        }

        .modal-overlay.active {
            display: flex;
            opacity: 1;
        }

        .modal-container {
            background: #121212;
            /* Dark background matching reference */
            border: 1px solid #333;
            border-radius: 12px;
            width: 90%;
            max-width: 700px;
            max-height: 90vh;
            overflow-y: auto;
            padding: 3rem;
            position: relative;
            transform: translateY(20px) scale(0.95);
            transition: all 0.3s ease;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
        }

        .modal-container::-webkit-scrollbar {
            width: 8px;
        }

        .modal-container::-webkit-scrollbar-track {
            background: #121212;
            border-radius: 8px;
        }

        .modal-container::-webkit-scrollbar-thumb {
            background: rgba(0, 180, 216, 0.3);
            border-radius: 8px;
        }

        .modal-container::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 180, 216, 0.6);
        }

        .modal-overlay.active .modal-container {
            transform: translateY(0) scale(1);
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            width: 30px;
            height: 30px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            cursor: pointer;
            transition: all 0.2s;
        }

        .modal-close:hover {
            background: rgba(255, 255, 255, 0.2);
            color: #00B4D8;
        }

        .modal-icon-top {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: 1px solid #00B4D8;
            /* Cyan accent */
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            color: #00B4D8;
            font-size: 1.8rem;
        }

        .modal-title {
            text-align: center;
            color: #FFFFFF;
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
            font-family: var(--font-display);
        }

        .modal-subtitle {
            text-align: center;
            color: #9CA3AF;
            /* Gray muted text */
            font-style: italic;
            font-size: 0.95rem;
            margin-bottom: 2rem;
        }

        .modal-content-box {
            background: #1A1A1A;
            border: 1px solid #2A2A2A;
            border-radius: 8px;
            padding: 2rem;
            margin-bottom: 2rem;
        }

        .modal-section-title {
            color: #6B7280;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        .modal-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .modal-list li {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            color: #E5E7EB;
            /* Light gray text */
            margin-bottom: 0.3rem;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .modal-list li:last-child {
            margin-bottom: 0;
        }

        .modal-list li i {
            color: #00B4D8;
            /* Checklist cyan accent */
            margin-top: 3px;
            flex-shrink: 0;
        }

        .modal-result-box {
            text-align: center;
        }

        .modal-result-title {
            color: #00B4D8;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.8rem;
            font-weight: 600;
        }

        .modal-result-content {
            background: #002D36;
            /* Dark cyan tint */
            border: 1px solid #004A59;
            padding: 1rem;
            border-radius: 6px;
            color: #FFFFFF;
            font-weight: 500;
            font-size: 0.95rem;
        }

        /* ================= RESPONSIVE ================= */
        @media (max-width: 1024px) {
            .stats-container {
                grid-template-columns: repeat(2, 1fr);
            }

            .about-container,
            .book-container,
            .contact-container {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .book-promo {
                background: var(--bg-dark);
            }

            .book-container {
                padding: 2rem;
            }

            .about-image::before {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: var(--accent-gold);
                padding: 1rem 0;
                box-shadow: 0 5px 15px rgba(0,0,0,0.5);
                border-top: 1px solid var(--border-subtle);
                z-index: 1000;
            }

            .nav-links.show {
                display: flex !important;
            }
            
            .nav-links li {
                width: 100%;
                text-align: center;
                margin: 0.5rem 0;
            }

            .btn-emergency {
                padding: 0.5rem 0.6rem !important;
                font-size: 0.75rem !important;
                white-space: nowrap;
            }

            .emergency-text-full {
                display: none !important;
            }

            .emergency-text-short {
                display: inline !important;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero::before {
                background-position: 35% center;
            }

            .hero-logo-img {
                width: 250px;
                margin-bottom: 1.5rem;
            }

            .hero-main-logo {
                margin-bottom: 2rem;
            }

            .hero-slogan {
                font-size: 1.2rem;
            }

            .section-title {
                font-size: 2.2rem;
            }

            .section-subtitle {
                font-size: 1rem;
            }
        }


        @media (max-width: 600px) {
            .stats-container {
                grid-template-columns: 1fr !important;
            }

            .modal-content {
                padding: 1.5rem;
            }
        }

        @media (max-width: 768px) {
            .stat-item h3 {
                font-size: 3.5rem;
            }
        }

        /* ================= FLOATING SOCIAL BUTTONS ================= */
        .social-float-container {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            right: 40px;
            z-index: 1000;
        }

        .social-toggle-btn {
            display: none;
        }

        .social-icons-wrapper {
            display: flex;
            flex-direction: column-reverse;
            gap: 15px;
        }

        .social-float {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            color: #FFF;
            text-align: center;
            font-size: 30px;
            box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition-smooth);
            text-decoration: none;
        }

        .social-float.whatsapp {
            background-color: #25d366;
        }

        .social-float.whatsapp:hover {
            background-color: #20b858;
            box-shadow: 0px 6px 20px rgba(37, 211, 102, 0.4);
        }

        .social-float.facebook {
            background-color: #1877F2;
        }

        .social-float.facebook:hover {
            background-color: #166fe5;
            box-shadow: 0px 6px 20px rgba(24, 119, 242, 0.4);
        }

        .social-float.instagram {
            background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
        }

        .social-float.instagram:hover {
            background: linear-gradient(45deg, #e0892f 0%, #d66037 25%, #cc243e 50%, #bd205f 75%, #ad167d 100%);
            box-shadow: 0px 6px 20px rgba(220, 39, 67, 0.4);
        }

        .social-float.youtube {
            background-color: #FF0000;
        }

        .social-float.youtube:hover {
            background-color: #e60000;
            box-shadow: 0px 6px 20px rgba(255, 0, 0, 0.4);
        }

        .social-float.linkedin {
            background-color: #0A66C2;
        }

        .social-float.linkedin:hover {
            background-color: #0958a8;
            box-shadow: 0px 6px 20px rgba(10, 102, 194, 0.4);
        }

        .social-float.tiktok {
            background-color: #000000;
            color: #ffffff;
        }

        .social-float.tiktok:hover {
            background-color: #333333;
            box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
        }

        .social-float:hover {
            color: #FFF;
            transform: scale(1.1) translateY(-5px);
        }

        @media (max-width: 768px) {
            .social-float-container {
                right: 15px;
                top: auto;
                bottom: 25px;
                transform: none;
            }

            .social-toggle-btn {
                display: flex;
                width: 50px;
                height: 50px;
                border-radius: 50%;
                background-color: var(--accent-gold);
                color: #FFF;
                align-items: center;
                justify-content: center;
                font-size: 24px;
                box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
                cursor: pointer;
                z-index: 1001;
            }

            .social-icons-wrapper {
                display: none;
                flex-direction: column;
                gap: 10px;
                position: absolute;
                bottom: 60px;
                right: 0;
            }

            .social-icons-wrapper.show {
                display: flex;
            }

            .social-float {
                width: 45px;
                height: 45px;
                font-size: 20px;
            }
        }

        .contact-container-3col {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr max-content 1fr;
            gap: 4rem;
            align-items: center;
            width: 100%;
        }

        @media (max-width: 1024px) {
            .contact-container-3col {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .contact-spacer {
                display: none !important;
            }
        }