/* ==========================================================================
   AZZUL - SISTEMA DE DISEÑO GLOBAL & ESTILOS PREMIUM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Paleta de Colores (Hormigón & Azul Avanzado) */
    --primary-hsl: 215, 100%, 45%;
    --primary: hsl(var(--primary-hsl));
    --primary-hover: hsl(215, 100%, 38%);
    --primary-light: #2563eb;
    
    --accent-hsl: 188, 100%, 48%;
    --accent: hsl(var(--accent-hsl));
    --accent-glow: rgba(0, 210, 255, 0.4);
    
    --eco-green-hsl: 152, 69%, 41%;
    --eco-green: hsl(var(--eco-green-hsl));
    
    /* Escala de Grises (Representando Concreto y Acero) */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    /* Colores Semánticos */
    --bg-light: var(--slate-50);
    --bg-card: #ffffff;
    --text-main: var(--slate-800);
    --text-muted: var(--slate-500);
    --border-color: var(--slate-200);
    
    /* Tipografía */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Bordes y Sombras */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 15px 20px -10px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 20px rgba(0, 82, 204, 0.15);
    --shadow-accent-glow: 0 0 25px rgba(0, 210, 255, 0.35);

    /* Transiciones */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Layout */
    --header-height: 80px;
    --max-width: 1280px;
}

/* ==========================================================================
   RESET & ESTILOS BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--slate-900);
    font-weight: 700;
    line-height: 1.25;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--slate-100);
}
::-webkit-scrollbar-thumb {
    background: var(--slate-300);
    border-radius: var(--radius-full);
    border: 2px solid var(--slate-100);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--slate-500);
}

/* ==========================================================================
   UTILIDADES & MAQUETACIÓN
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md, 1.5rem);
}

.section {
    padding: 6rem 0;
    position: relative;
}

.section-bg-dark {
    background-color: #0E1E38;
    color: #F8F9FA;
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
    color: #ffffff;
}

.section-bg-dark p,
.section-bg-dark li {
    color: #F8F9FA;
}

.section-title-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
    background: rgba(0, 82, 204, 0.08);
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
}

.section-bg-dark .section-tag {
    color: var(--accent);
    background: rgba(0, 210, 255, 0.1);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.section-bg-dark .section-subtitle {
    color: #F8F9FA;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Gradientes de Texto */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-white {
    background: linear-gradient(135deg, #ffffff, var(--slate-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--accent), #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==========================================================================
   COMPONENTES PREMIUM
   ========================================================================== */

/* Botones Premium con Efectos */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-sm), var(--shadow-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 8px 25px rgba(0, 82, 204, 0.35);
    color: #ffffff;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background-color: transparent;
    color: var(--slate-900);
    border: 2px solid var(--slate-300);
}

.section-bg-dark .btn-secondary {
    color: #ffffff;
    border-color: var(--slate-600);
}

.btn-secondary:hover {
    background-color: var(--slate-100);
    border-color: var(--slate-900);
    transform: translateY(-3px);
}

.section-bg-dark .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #00a2ff);
    color: var(--slate-950);
    font-weight: 700;
    box-shadow: var(--shadow-accent-glow);
}

.btn-accent:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.5);
    filter: brightness(1.1);
}

/* Tarjetas Premium y Estilo Bento */
.card, .mv-card, .blueprint-card, .portfolio-card, .training-step-card, .training-form-box, .contact-card, .contact-form-box {
    background: var(--bg-card);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .card, .mv-card, .blueprint-card, .portfolio-card, .training-step-card, .training-form-box, .contact-card, .contact-form-box {
        padding: 1.5rem;
    }
}

.section-bg-dark .card, .section-bg-dark .mv-card, .section-bg-dark .portfolio-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.card:hover, .mv-card:hover, .blueprint-card:hover, .portfolio-card:hover, .training-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 82, 204, 0.15);
}

.section-bg-dark .card:hover, .section-bg-dark .mv-card:hover, .section-bg-dark .portfolio-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: var(--shadow-lg), 0 12px 30px rgba(0, 210, 255, 0.15);
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.card:hover::after {
    opacity: 1;
}

/* ==========================================================================
   ESTRUCTURA BENTO GRID (REGLAS DE DISEÑO DE ANTIGRAVITY)
   ========================================================================== */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.bento-col-span-2 {
    grid-column: span 2;
}

.bento-col-span-3 {
    grid-column: span 3;
}

.bento-col-span-4 {
    grid-column: span 4;
}

.bento-row-span-2 {
    grid-row: span 2;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-col-span-2,
    .bento-col-span-3,
    .bento-col-span-4 {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .bento-col-span-2,
    .bento-col-span-3,
    .bento-col-span-4 {
        grid-column: span 1;
    }
}

/* ==========================================================================
   CABECERA (NAVBAR PREMIUM)
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

/* Navbar con Scroll */
.header-scrolled {
    background-color: rgba(15, 23, 42, 0.85); /* Fondo slate oscuro con Blur */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.header-scrolled .logo-text {
    color: #ffffff;
}

.header-scrolled .nav-link {
    color: #ffffff;
}

.header-scrolled .nav-link:hover,
.header-scrolled .nav-link.active {
    color: var(--accent);
}

.header-scrolled .burger span {
    background-color: #ffffff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 82, 204, 0.3);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--slate-900);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-text span {
    color: var(--primary);
}

.logo-text.dark {
    color: #ffffff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: #ffffff;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.header-scrolled .nav-link::after {
    background: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    margin-left: 1rem;
}

/* Mega Menú en Navbar */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 1140px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1100;
}

.nav-item-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.mega-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.25rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.mega-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 210, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.mega-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.mega-badge.badge-green {
    color: var(--eco-green);
}

.mega-badge.badge-blue {
    color: #38bdf8; /* Cielo brillante */
}

.mega-card h4 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.mega-card p {
    color: var(--slate-400);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.mega-link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: auto;
    display: inline-block;
}

.mega-link:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .nav-item-dropdown {
        flex-direction: column;
        width: 100%;
    }
    
    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.5rem 0 0 0;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .nav-item-dropdown.active .mega-menu {
        display: block;
    }
    
    .mega-menu-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mega-card {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.04);
        text-align: left;
    }
}

/* Burger Menu para Móvil */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
}

.burger span {
    width: 100%;
    height: 2px;
    background-color: var(--slate-900);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
}

@media (max-width: 992px) {
    .burger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--slate-950);
        flex-direction: column;
        justify-content: flex-start;
        gap: 2rem;
        padding: 5rem 2rem 2rem 2rem;
        transition: var(--transition-smooth);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.4);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: #ffffff;
        font-size: 1.25rem;
        width: 100%;
        text-align: center;
    }
    
    .nav-link::after {
        left: 25%;
        width: 0;
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        width: 50%;
    }
    
    .nav-btn {
        margin-left: 0;
        width: 100%;
    }
}

/* Burger Animation Activa */
.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   SECCIÓN HERO (LANDING)
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background-color: var(--slate-950);
    color: #ffffff;
    overflow: hidden;
}

/* Grid Patrón de Fondo */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 82, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.12) 0%, transparent 50%),
        linear-gradient(rgba(2, 6, 23, 0.8), rgba(2, 6, 23, 0.95)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 48c-2 0-3 1-4 2v4c0 1-1 2-2 2h-4c-1 0-2 1-2 2s1 2 2 2h4c3 0 5-2 5-5v-4c0-1 1-2 2-2s2-1 2-2-1-2-2-2zM6 12c2 0 3-1 4-2V6c0-1 1-2 2-2h4c1 0 2-1 2-2S17 0 16 0h-4C9 0 7 2 7 5v4c0 1-1 2-2 2S3 12 3 13s1 2 2 2zm42-8h-4c-1 0-2-1-2-2s1-2 2-2h4c3 0 5 2 5 5v4c0 1-1 2-2 2s-2-1-2-2V6c0-1-1-2-2-2zM12 48h4c1 0 2 1 2 2s-1 2-2 2h-4c-3 0-5-2-5-5v-4c0-1 1-2 2-2s2 1 2 2v4c0 1 1 2 2 2z' fill='%2364748b' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2rem;
    backdrop-filter: blur(4px);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge span {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--accent);
    animation: pulseGlow 1.5s infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.1s forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 650px;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

#hero-btn-portfolio.btn-secondary {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#hero-btn-portfolio.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    transform: translateY(-3px);
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1.2s ease 0.4s forwards;
    width: 100%;
    perspective: 1000px;
}

/* Fondo de Líneas Guía (Blueprint Grid) */
.hero-visual::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1px dashed rgba(0, 242, 254, 0.25);
    background-image: 
        linear-gradient(rgba(0, 242, 254, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 254, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 1;
    pointer-events: none;
    transform: translateZ(-20px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.5s ease;
}

.hero-visual:hover::before {
    transform: translateZ(-10px) translate(-5px, 5px);
    border-color: rgba(0, 242, 254, 0.45);
}

/* Contenedor del video con perspectiva y rotación 3D */
.hero-video-wrapper {
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.8), 
        0 15px 30px -10px rgba(0, 242, 254, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: rotateY(-12deg) rotateX(4deg) scale(0.95);
    transform-style: preserve-3d;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease;
}

.hero-visual:hover .hero-video-wrapper {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 
        0 40px 80px -20px rgba(0, 0, 0, 0.9), 
        0 20px 45px -15px rgba(0, 242, 254, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Placa Flotante de Ingeniería adaptada */
.hero-floating-plate {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-accent-glow);
    z-index: 10;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease;
}

/* Efecto de flotación coordinada sutil al hacer hover en el bloque visual */
.hero-visual:hover .hero-floating-plate {
    transform: translate3d(8px, -8px, 15px);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.4);
}

.plate-status-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

.plate-text {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
}

/* Ilustración CSS de Bloque ICF Tecnológico */
.icf-isometric {
    width: 320px;
    height: 380px;
    position: relative;
    transform: rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
}

.icf-layer {
    position: absolute;
    width: 280px;
    height: 80px;
    background: linear-gradient(135deg, #475569, #1e293b);
    border: 2px solid #64748b;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.icf-layer-top {
    transform: translateZ(100px);
    background: linear-gradient(135deg, var(--slate-700), var(--slate-900));
}

.icf-layer-concrete {
    transform: translateZ(50px);
    background: linear-gradient(135deg, #94a3b8, #64748b);
    border-color: #cbd5e1;
    opacity: 0.95;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4);
}

.icf-layer-concrete::after {
    content: 'CONCRETO';
    font-family: var(--font-heading);
    font-weight: 800;
    color: #ffffff;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    transform: rotateX(-60deg) rotateY(45deg); /* Enderezar el texto para visualización */
}

.icf-layer-bottom {
    transform: translateZ(0);
}

/* ==========================================================================
   SECCIÓN AZZUL BUILDING PRODUCTS
   ========================================================================== */

.products-grid {
    margin-top: 2rem;
}

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
}

.product-visual-wrapper {
    width: 100%;
    height: 220px;
    background-color: var(--slate-100);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--slate-200);
}

/* Dibujos vectoriales con puro CSS y SVG integrados */
.product-icon-container {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 82, 204, 0.05);
    color: var(--primary);
    transition: var(--transition-smooth);
}

.product-card:hover .product-icon-container {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent);
}

.product-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--slate-900);
}

.product-spec-list {
    margin: 1.25rem 0;
    border-top: 1px solid var(--slate-200);
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.product-spec-label {
    color: var(--text-muted);
}

.product-spec-val {
    font-weight: 600;
    color: var(--slate-800);
}

.product-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
}

.product-btn {
    font-size: 0.875rem;
    padding: 0.5rem 1.25rem;
}

/* ==========================================================================
   SHOWCASE DE AZZUL SAN BLAS (PROYECTO INSIGNIA)
   ========================================================================== */

.featured-project-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: linear-gradient(145deg, var(--slate-900), var(--slate-950));
    border: 1px solid var(--slate-800);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 450px;
}

@media (max-width: 992px) {
    .featured-project-card {
        grid-template-columns: 1fr;
    }
}

.featured-project-img-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.vector-line-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 210, 255, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 210, 255, 0.04) 1px, transparent 1px);
    pointer-events: none;
}

.blueprint-vector-render {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.vector-house-layout {
    width: 85%;
    height: 70%;
    border: 2px dashed var(--accent);
    position: relative;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.5rem;
    box-sizing: border-box;
    overflow: hidden; /* Encierre limpio */
}

.comparison-wrapper {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: flex 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.comparison-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) and (pointer: fine) {
    .vector-house-layout:hover .comparison-wrapper {
        flex: 1;
        opacity: 0.4;
    }

    .vector-house-layout .comparison-wrapper:hover {
        flex: 9;
        opacity: 1;
    }

    .vector-house-layout .comparison-wrapper:hover img {
        object-fit: contain;
    }
}

.badge-floating {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 10;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .badge-floating {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
        top: 8px;
        left: 8px;
    }
}

.vector-house-roof {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 40px dashed var(--accent);
    position: absolute;
    top: -42px;
}

.vector-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid var(--accent);
    padding: 0.25rem 0.5rem;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 4px;
    margin: 0.5rem 0;
}

.featured-project-info {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .featured-project-info {
        padding: 2rem 1.5rem;
    }
}

.featured-project-info h3 {
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.featured-project-info p {
    color: #f1f5f9;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.2);
    transform: translateY(-2px);
}

.stat-item .num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    display: block;
}

.stat-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--slate-400);
}

/* ==========================================================================
   FOOTER CORPORATIVO
   ========================================================================== */

.footer {
    background-color: var(--slate-950);
    color: var(--slate-400);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid var(--slate-900);
}

.footer-top {
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-description {
    font-size: 0.95rem;
    color: var(--slate-500);
    max-width: 320px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.95rem;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-info-item svg {
    width: 20px;
    height: 20px;
    fill: var(--slate-600);
    margin-top: 0.15rem;
    transition: var(--transition-fast);
}

.footer-info-item:hover svg {
    fill: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--slate-900);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--slate-600);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: var(--slate-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   ANIMACIONES CLAVE
   ========================================================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ==========================================================================
   FORM & INTERACTIVE LIST ADDITIONS
   ========================================================================== */

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--slate-800);
    border-radius: var(--radius-md);
    color: #ffffff;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
}

.form-input::placeholder {
    color: var(--slate-500);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

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

/* Accordion / List Elements */
.accordion-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.section-bg-dark .accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.05);
}

.accordion-item:hover {
    border-color: rgba(0, 210, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: #ffffff;
    text-align: left;
}

.accordion-header span {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 700;
    margin-right: 1rem;
}

.accordion-header svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    transition: var(--transition-smooth);
}

.accordion-body {
    padding: 0 1.5rem 1.25rem 3rem;
    color: var(--slate-300);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Visual Decoration */
.about-blueprint {
    position: relative;
    width: 100%;
    height: 380px;
    background: radial-gradient(circle at center, #0f1c3f, #070d1e);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.about-blueprint::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 210, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 210, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ==========================================================================
   SUBPÁGINAS COMPONENTES & ESTILOS DE INTERACTIVIDAD
   ========================================================================== */

/* Héroes de Subpáginas */
.hero-page {
    padding: 8rem 0 4.5rem 0;
    background-color: var(--slate-950);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(0, 82, 204, 0.12) 0%, transparent 60%),
        linear-gradient(rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.98)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54 48c-2 0-3 1-4 2v4c0 1-1 2-2 2h-4c-1 0-2 1-2 2s1 2 2 2h4c3 0 5-2 5-5v-4c0-1 1-2 2-2s2-1 2-2-1-2-2-2zM6 12c2 0 3-1 4-2V6c0-1 1-2 2-2h4c1 0 2-1 2-2S17 0 16 0h-4C9 0 7 2 7 5v4c0 1-1 2-2 2S3 12 3 13s1 2 2 2zm42-8h-4c-1 0-2-1-2-2s1-2 2-2h4c3 0 5 2 5 5v4c0 1-1 2-2 2s-2-1-2-2V6c0-1-1-2-2-2zM12 48h4c1 0 2 1 2 2s-1 2-2 2h-4c-3 0-5-2-5-5v-4c0-1 1-2 2-2s2 1 2 2v4c0 1 1 2 2 2z' fill='%2364748b' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
    z-index: 1;
}

.hero-page .container {
    position: relative;
    z-index: 2;
}

.hero-page h1 {
    font-size: 3.25rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-page p {
    color: var(--slate-400);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.15rem;
}

@media (max-width: 768px) {
    .hero-page {
        padding: 7rem 0 3.5rem 0;
    }
    .hero-page h1 {
        font-size: 2.25rem;
    }
    .hero-page p {
        font-size: 1rem;
    }
}

.badge-cyan {
    background: rgba(0, 210, 255, 0.1) !important;
    color: var(--accent) !important;
    border: 1px solid rgba(0, 210, 255, 0.2) !important;
}

.badge-green {
    background: rgba(16, 185, 129, 0.1) !important;
    color: var(--eco-green) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

/* Características en Nosotros */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.about-feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-check-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 82, 204, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.about-feature-item h4 {
    font-size: 1.1rem;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.about-feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Visor de Capas Técnico (sistema.html) */
.sistema-visor-container {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .sistema-visor-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.layers-interactive-viewer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.layer-btn {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: left;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    color: var(--text-main);
}

.layer-btn:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.layer-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.layer-btn.active .layer-btn-desc {
    color: rgba(255, 255, 255, 0.8);
}

.layer-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    opacity: 0.8;
}

.layer-btn-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.layer-btn-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    transition: color 0.3s ease;
}

.viewer-display {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    position: relative;
    min-height: 320px;
}

.viewer-content-pane {
    display: none;
    width: 100%;
}

.viewer-content-pane.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

.viewer-layer-badge {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.viewer-content-pane h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--slate-900);
}

.viewer-content-pane p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.viewer-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.viewer-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--slate-800);
}

.viewer-feature-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    flex-shrink: 0;
}

/* Tabla de Especificaciones */
.specs-table-wrapper {
    margin-top: 4rem;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: #ffffff;
    min-width: 600px;
}

.specs-table th, .specs-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.specs-table th {
    background: var(--slate-100);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--slate-900);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td.highlight {
    background: rgba(0, 82, 204, 0.02);
    color: var(--primary);
    font-weight: 600;
}

/* ==========================================================================
   SECCIÓN RETOS DE LA CONSTRUCCIÓN (Bento Grid)
   ========================================================================== */
#retos-construccion {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #0E1E38;
}

#retos-grid {
    margin-top: 2rem;
}

.retos-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

/* Decoración tecnológica de fondo en las tarjetas Bento */
.retos-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(78, 168, 222, 0.03) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.retos-card:hover::before {
    background: radial-gradient(circle at top right, rgba(78, 168, 222, 0.06) 0%, transparent 70%);
}

/* Línea de acento oculta arriba que se revela en hover */
.retos-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), #4EA8DE);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.retos-card:hover::after {
    opacity: 1;
}

/* Hover de Bento Cards */
.retos-card:hover {
    transform: translateY(-5px);
    border-color: rgba(78, 168, 222, 0.25);
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.4),
        0 0 25px rgba(78, 168, 222, 0.05);
    background: rgba(255, 255, 255, 0.05);
}

.retos-icon-container {
    width: 24px;
    height: 24px;
    max-width: 24px;
    max-height: 24px;
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4EA8DE; /* Celeste */
    transition: all 0.3s ease;
    z-index: 3;
    margin-bottom: 0.5rem;
}

.retos-icon-container svg {
    width: 20px;
    height: 20px;
    max-width: 100%;
    height: auto;
    stroke-width: 1.5 !important;
}

.retos-card:hover .retos-icon-container {
    color: #ffffff;
    transform: scale(1.1);
}

.retos-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 3;
}

.retos-card-content h3 {
    font-size: 1.35rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.retos-card-content p {
    font-size: 0.95rem;
    color: #F8F9FA;
    line-height: 1.65;
}

.retos-card:hover .retos-card-content p {
    color: #ffffff;
}

@media (max-width: 992px) {
    .retos-card {
        padding: 2rem;
    }
}

/* ==========================================================================
   REDISEÑO DE TABLA COMPARATIVA DE EFICIENCIA TÉCNICA
   ========================================================================== */
#comparativa-tecnica {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #0E1E38;
}

#comparativa-tecnica .specs-table-wrapper {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 
        0 20px 40px -15px rgba(0, 0, 0, 0.2), 
        0 0 0 1px rgba(15, 23, 42, 0.02);
    overflow-x: auto;
    margin-top: 0;
}

#comparativa-tecnica .specs-table {
    background: #ffffff;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-width: 700px;
}

#comparativa-tecnica .specs-table th,
#comparativa-tecnica .specs-table td {
    padding: 1.35rem 1.75rem;
    border-bottom: 1px solid var(--slate-200);
    color: #333333; /* Gris Carbón Oscuro */
    transition: all 0.3s ease;
    background: #ffffff; /* Clean white background cells */
}

#comparativa-tecnica .specs-table th {
    background: #f8fafc; /* Light gray background for headers */
    font-family: var(--font-heading);
    font-weight: 700;
    color: #0E1E38; /* Azul Profundo */
    font-size: 1.05rem;
    border-bottom: 2px solid var(--slate-200);
}

#comparativa-tecnica .specs-table tr:hover td {
    color: #111111;
    background: #f1f5f9;
}

/* Columna Resaltada: Sistema Avanzado AZZUL ICF */
#comparativa-tecnica .specs-table th.highlight-header {
    color: #4EA8DE; /* Celeste */
    font-weight: 800;
    border-bottom: 2px solid #4EA8DE;
    background: #f0f9ff;
    box-shadow: inset 1px 0 0 rgba(78, 168, 222, 0.15), inset -1px 0 0 rgba(78, 168, 222, 0.15);
}

#comparativa-tecnica .specs-table td.highlight {
    background: #f0f9ff; /* Light sky blue background tint for highlighted system cell */
    color: #4EA8DE; /* Celeste */
    font-weight: 700;
    box-shadow: inset 1px 0 0 rgba(78, 168, 222, 0.15), inset -1px 0 0 rgba(78, 168, 222, 0.15);
}

/* Resplandor especial y borde en la columna de AZZUL al hacer hover a la fila */
#comparativa-tecnica .specs-table tr:hover td.highlight {
    background: #e0f2fe;
    color: #0284c7;
}

#comparativa-tecnica .specs-table tr:last-child td {
    border-bottom: none;
}

#comparativa-tecnica .specs-table tr:last-child td.highlight {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Sub-Business Pestañas e Insumos */
.sub-tabs-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.sub-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.tab-trigger {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    opacity: 0.6;
    background: none;
    border: none;
}

.tab-trigger:hover {
    opacity: 0.9;
}

.tab-trigger.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease forwards;
}

/* Catálogo de Productos */
.product-shape-visual {
    width: 100%;
    height: 180px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    transition: var(--transition-smooth);
}

.product-card:hover .product-shape-visual {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.2);
    transform: scale(1.02);
}

.shape-svg-mock {
    width: 90px;
    height: 90px;
    stroke: var(--accent);
    opacity: 0.85;
}

.product-specs {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
}

.product-spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}

.product-spec-row span:first-child {
    color: var(--slate-400);
}

.product-spec-row span:last-child {
    font-weight: 600;
    color: #ffffff;
}

/* Academia / Training */
.training-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .training-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.training-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.training-step-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

.step-num {
    background: var(--accent);
    color: var(--slate-950);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

.step-details h4 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
    color: #0E1E38;
}

.step-details p {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.6;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0E1E38;
    margin-bottom: 0.35rem;
    display: inline-block;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--slate-300);
    border-radius: var(--radius-md);
    background: #ffffff;
    color: #333333;
    transition: var(--transition-smooth);
}

.form-control::placeholder {
    color: var(--slate-400);
}

.form-control:focus {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
    outline: none;
}

select.form-control option {
    background: #ffffff;
    color: #333333;
}

/* Portafolio con Filtros (proyectos.html) */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--slate-300);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--slate-950);
    border-color: var(--accent);
    font-weight: 700;
    box-shadow: var(--shadow-accent-glow);
}

.portfolio-img-box {
    height: 220px;
    background: radial-gradient(circle at center, #0b1329, #050714);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-card-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.portfolio-card-info h4 {
    font-size: 1.35rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #0E1E38;
}

.portfolio-card-info p {
    font-size: 0.9rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.portfolio-card-specs {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #333333;
    margin-top: auto;
}

/* Contacto Layout (contacto.html) */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3.5rem;
    align-items: start;
}

@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

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

.contact-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid var(--border-color) !important;
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 82, 204, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
}

.contact-card-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--slate-900);
}

.contact-card-details p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-title-group {
    margin-bottom: 2rem;
}

.form-title-group h3 {
    font-size: 1.85rem;
    margin-bottom: 0.5rem;
    color: var(--slate-900);
}

.form-title-group p {
    color: var(--text-muted);
    font-size: 1rem;
}

.form-row-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.contact-form-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.contact-form-box .form-control {
    background: #ffffff;
    border: 1px solid var(--slate-300);
    color: var(--text-main);
}

.contact-form-box .form-control:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
}

.contact-form-box .form-label {
    color: var(--slate-700);
}

/* Validación y Toasts de Éxito */
.invalid-feedback {
    display: none;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.form-control.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-control.is-invalid + .invalid-feedback {
    display: block;
}

/* Spinner e Indicador de Carga */
.submit-indicator {
    display: none;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.section-bg-dark .submit-indicator,
.section-dark .submit-indicator {
    color: var(--slate-400);
}

.submit-indicator.active {
    display: flex;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 82, 204, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

.section-bg-dark .spinner,
.section-dark .spinner {
    border-color: rgba(0, 210, 255, 0.1);
    border-top-color: var(--accent);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.success-message-toast {
    display: none;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--eco-green);
    color: var(--eco-green);
    border-radius: var(--radius-md);
    margin-top: 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    animation: fadeInUp 0.3s ease;
}

.success-message-toast.active {
    display: block;
}

/* Footer responsivo de 4 columnas */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   SISTEMA DE EFECTOS DIVERSIFICADOS PARA FOTOGRAFÍAS (UI REFACTOR)
   ========================================================================== */

/* 1. Card Scale Reveal (Galería / Portafolio) */
.effect-scale-reveal {
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}
.effect-scale-reveal img,
.effect-scale-reveal svg {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.6s ease;
}
.effect-scale-reveal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.effect-scale-reveal:hover img,
.effect-scale-reveal:hover svg {
    transform: scale(1.06);
}
.effect-scale-reveal:hover img {
    filter: saturate(1.15) brightness(1.02);
}

/* 2. Parallax / Float (Imágenes Corporativas - Nosotros / Sostenibilidad) */
.effect-float {
    animation: floatAnimation 6s ease-in-out infinite;
    transition: box-shadow 0.3s ease;
}
@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* 3. Blueprint Border Highlight (Insumos / Productos) */
.effect-blueprint-highlight {
    border: 1px solid rgba(0, 242, 254, 0.1);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.effect-blueprint-highlight:hover {
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
}

/* Overrides for text color in dark sections and card elements */
.section-bg-dark p,
.section-bg-dark li,
.section-bg-dark span:not(.badge):not(.mega-badge):not([style*="color"]) {
    color: #F8F9FA !important;
}

.section-dark p,
.section-dark li,
.section-dark span:not(.badge):not(.mega-badge):not([style*="color"]) {
    color: #1e293b !important;
}

.section-bg-dark .card p,
.section-bg-dark .card ul,
.section-bg-dark .card li {
    color: #F8F9FA !important;
}

/* Custom quote button in Celeste for products section */
.btn-quote-celeste {
    background-color: #4EA8DE !important;
    color: #FFFFFF !important;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 15px rgba(78, 168, 222, 0.35);
    transition: all 0.3s ease;
}

.btn-quote-celeste:hover {
    background-color: #3895cd !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 168, 222, 0.5);
}

/* Section dark overrides for portfolio cards */
.section-bg-dark .portfolio-card-info h4 {
    color: #ffffff;
}
.section-bg-dark .portfolio-card-info p {
    color: var(--slate-400);
}
.section-bg-dark .portfolio-card-specs {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--slate-400);
}


/* ==========================================================================
   NUEVAS CORRECCIONES DE RESPONSIVIDAD (JUNIO 2026)
   ========================================================================== */

/* Colapso de la cuadrícula de 3 columnas en pantallas móviles y tablets <= 768px */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr !important;
    }
}

/* Margen inferior para el video del Hero en móviles para evitar que choque con Retos */
@media (max-width: 992px) {
    .hero-visual {
        margin-bottom: 3rem !important;
    }
}

/* Ciencia Constructiva Tech Info Block - Adaptabilidad Responsiva */
.tech-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tech-info-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 3rem;
}

@media (max-width: 992px) {
    .tech-info-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .tech-info-block {
        padding: 1.5rem 1rem !important;
    }
    .tech-text-content {
        text-align: left !important;
    }
}

/* ==========================================================================
   GALERÍA DE AVANCES EN VIDEO (PROYECTOS)
   ========================================================================== */

.video-card {
    background: linear-gradient(145deg, var(--slate-900), var(--slate-950));
    border: 1px solid var(--slate-800);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

.video-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.15);
}

.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000000;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-card-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.video-card-info p {
    color: #f1f5f9;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Opacidad cruzada e interactividad cinemática en la galería de videos - Solo Escritorio */
@media (hover: hover) and (pointer: fine) {
    #video-gallery-section .grid-3:hover .video-card {
        opacity: 0.5;
    }

    #video-gallery-section .grid-3 .video-card:hover {
        opacity: 1;
        transform: translateY(-10px) scale(1.04);
        box-shadow: 0 25px 50px rgba(0, 210, 255, 0.25);
        z-index: 5;
    }
}

/* Estilos de soporte para sección de sub-negocios en fondo oscuro */
.section-bg-dark .training-step-card,
.section-bg-dark .training-form-box {
    background: rgba(30, 41, 59, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

.section-bg-dark .training-step-card h4,
.section-bg-dark .training-form-box h4 {
    color: #ffffff !important;
}

.section-bg-dark .training-step-card p {
    color: #cbd5e1 !important; /* light grey readable description */
}

/* Reestructuración responsiva de tabla comparativa en móvil */
@media (max-width: 768px) {
    #comparativa-tecnica .specs-table-wrapper {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        overflow-x: visible !important;
    }
    
    #comparativa-tecnica .specs-table-wrapper > div {
        overflow-x: visible !important;
    }

    #comparativa-tecnica .specs-table {
        display: block !important;
        width: 100% !important;
        min-width: 100% !important;
        background: transparent !important;
    }

    #comparativa-tecnica .specs-table thead {
        display: none !important;
    }

    #comparativa-tecnica .specs-table tbody {
        display: block !important;
        width: 100% !important;
    }

    #comparativa-tecnica .specs-table tr {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-bottom: 1.5rem !important;
        background: #ffffff !important;
        border: 1px solid rgba(15, 23, 42, 0.08) !important;
        border-radius: 16px !important;
        padding: 1.5rem !important;
        box-shadow: var(--shadow-sm) !important;
        box-sizing: border-box !important;
    }

    #comparativa-tecnica .specs-table tr:hover td {
        background: transparent !important;
    }

    #comparativa-tecnica .specs-table td {
        display: block !important;
        width: 100% !important;
        padding: 0.5rem 0 !important;
        border: none !important;
        background: transparent !important;
        color: #333333 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    /* 1. Título del Parámetro */
    #comparativa-tecnica .specs-table td:nth-child(1) {
        font-family: var(--font-heading);
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        color: #0E1E38 !important;
        border-bottom: 1px solid var(--slate-200) !important;
        padding-bottom: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    /* 2. Construcción Tradicional */
    #comparativa-tecnica .specs-table td:nth-child(2) {
        font-size: 0.95rem !important;
        color: #4b5563 !important;
        background: #f8fafc !important;
        border: 1px solid rgba(15, 23, 42, 0.05) !important;
        border-radius: 8px !important;
        padding: 0.75rem 1rem !important;
        margin-top: 0.5rem !important;
    }
    #comparativa-tecnica .specs-table td:nth-child(2)::before {
        content: "Construcción Tradicional (Ladrillo): ";
        display: block;
        font-weight: 700;
        font-size: 0.8rem;
        text-transform: uppercase;
        color: #64748b;
        margin-bottom: 0.25rem;
    }

    /* 3. Sistema Avanzado AZZUL ICF (resaltado en caja azul claro) */
    #comparativa-tecnica .specs-table td:nth-child(3).highlight {
        font-size: 1rem !important;
        font-weight: 800 !important;
        background: #f0f9ff !important;
        border: 2px solid #00d2ff !important;
        border-radius: 8px !important;
        padding: 0.85rem 1.1rem !important;
        margin-top: 0.75rem !important;
        color: #0284c7 !important;
        box-shadow: 0 10px 20px -10px rgba(0, 210, 255, 0.25) !important;
    }
    #comparativa-tecnica .specs-table td:nth-child(3).highlight::before {
        content: "Sistema Avanzado AZZUL ICF:";
        display: block;
        font-weight: 800;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 0.25rem;
        color: #0284c7;
    }
}

/* Indicador táctil flotante en móviles para comparativa y videos */
@media (max-width: 768px) {
    .comparison-wrapper::after,
    .video-container::after {
        position: absolute;
        bottom: 12px;
        right: 12px;
        background: rgba(15, 23, 42, 0.85);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: #ffffff;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.35rem 0.75rem;
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        pointer-events: none;
        z-index: 10;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    .comparison-wrapper::after {
        content: "🔍 Toca para expandir";
    }
    .video-container::after {
        content: "▶️ Toca para reproducir video";
    }
    
    html[lang="en"] .comparison-wrapper::after {
        content: "🔍 Tap to expand";
    }
    html[lang="en"] .video-container::after {
        content: "▶️ Tap to play video";
    }
}

/* Selector de Idioma Premium */
.lang-selector {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    padding: 0.2rem 0.4rem;
    gap: 0.15rem;
    vertical-align: middle;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.lang-btn:hover {
    color: #ffffff;
}

.lang-btn.active {
    color: #ffffff;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 82, 204, 0.4);
}

.header-scrolled .lang-btn.active {
    background: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 210, 255, 0.4);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .lang-selector {
        margin-top: 1rem;
        align-self: center;
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
    }
}

