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

/* ========================= */
/* VARIABLES (EDICIÓN PREMIUM LIGHT CONTRASTE) */
/* ========================= */
:root {
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-subtle: #f1f5f9;
    
    /* Paleta Contraste Mecánico */
    --navy-deep: #0b1528;      /* Azul marino oscuro metalizado */
    --steel-dark: #1e293b;     /* Gris acero oscuro */
    --steel-gray: #64748b;     /* Gris mecánico medio */
    
    /* Elementos Reactivos (Fuego e Hiper-tecnología) */
    --cyan-turbo: #00b4d8;     /* Celeste / Cian reactivo */
    --orange-fire: #ff5500;    /* Naranjo fuego escape */
    --orange-glow: rgba(255, 85, 0, 0.15);
}

/* ========================= */
/* BODY */
/* ========================= */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    background-image: 
        linear-gradient(180deg, var(--white) 0%, var(--bg-light) 35%, var(--bg-subtle) 100%),
        radial-gradient(rgba(30, 41, 59, 0.02) 1px, transparent 0); /* Malla técnica sutil */
    background-size: 100%, 24px 24px;
    color: var(--navy-deep);
    overflow-x: hidden;
    position: relative;
}

/* Decoraciones de profundidad en el fondo (Glows controlados) */
body::before {
    content: "";
    position: fixed;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(40px);
}

body::after {
    content: "";
    position: fixed;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(50px);
}

/* ========================= */
/* ESTRUCTURAS GENERALES Y BOTONES */
/* ========================= */
.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* Botón Principal Industrial */
.primary-button {
    display: inline-block;
    margin-top: 15px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--steel-dark) 100%);
    border-left: 3px solid var(--orange-fire);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 10px 30px rgba(11, 21, 40, 0.15);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 85, 0, 0.2);
    border-left: 3px solid var(--cyan-turbo);
}

/* ========================= */
/* NAVBAR ACCENT SLICK */
/* ========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.nav-container {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 190px;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--steel-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--cyan-turbo), var(--orange-fire));
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--navy-deep);
}

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

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    color: var(--navy-deep);
    cursor: pointer;
}

/* ========================= */
/* HERO CARRUSEL AUTOMOTRIZ */
/* ========================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--navy-deep);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Degradado agresivo sobre las imágenes del Slider */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 21, 40, 0.85) 0%, rgba(30, 41, 59, 0.4) 100%);
}

.hero-content {
    position: absolute;
    top: 55%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 3;
    max-width: 750px;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
    color: var(--bg-subtle);
    font-weight: 400;
}

.hero-button {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--orange-fire) 0%, #cc4400 100%);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.35);
    transition: all 0.35s ease;
}

.hero-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 85, 0, 0.5);
}

/* Controles del Slider */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 55px;
    height: 55px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(11, 21, 40, 0.3);
    backdrop-filter: blur(8px);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-arrow:hover {
    background: var(--white);
    color: var(--navy-deep);
    border-color: var(--white);
}

.prev { left: 30px; }
.next { right: 30px; }

/* ========================= */
/* SECCIÓN PRESENTACIÓN */
/* ========================= */
.presentation {
    padding: 140px 0;
}

.presentation-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

/* Badge Tecnológico */
.section-tag {
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px 18px;
    border-radius: 6px;
    background: var(--bg-subtle);
    border: 1px solid rgba(30, 41, 59, 0.1);
    color: var(--navy-deep);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.presentation-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.presentation-text p {
    color: var(--steel-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

/* Contenedor de Imagen con marco industrial */
.presentation-image {
    position: relative;
}

.presentation-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(11, 21, 40, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

/* Filo Angular de Contraste Trasero */
.presentation-image::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--cyan-turbo);
    border-radius: 16px;
    top: 20px;
    left: 20px;
    z-index: 1;
}

/* ========================= */
/* SECCIÓN PROPUESTA ACERO IMPERIAL */
/* ========================= */
.proposal {
    padding-bottom: 140px;
}

.proposal-container {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 80px;
    align-items: center;
}

.proposal-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.proposal-text p {
    color: var(--steel-gray);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Tarjeta Limpia de Servicios con sombras pesadas */
.proposal-services {
    background: var(--white);
    border-radius: 24px;
    padding: 45px;
    border: 1px solid rgba(30, 41, 59, 0.06);
    box-shadow: 0 40px 80px rgba(11, 21, 40, 0.08);
    position: relative;
}

.proposal-services h3 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--navy-deep);
    padding-bottom: 10px;
}

/* Filas de Servicios Premium */
.service-item {
    padding: 20px 24px;
    border-radius: 12px;
    background: var(--bg-light);
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--steel-dark);
    display: flex;
    align-items: center;
    border-left: 4px solid var(--steel-gray);
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-item:hover {
    transform: translateX(8px);
    background: var(--white);
    border-left: 4px solid var(--orange-fire);
    color: var(--navy-deep);
    box-shadow: 0 10px 25px rgba(255, 85, 0, 0.1);
}

/* Modificación de Botón dentro de la tarjeta */
.proposal-services .primary-button {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* ========================= */
/* FOOTER DE ALTO IMPACTO */
/* ========================= */
.footer {
    background: var(--navy-deep);
    color: var(--white);
    padding-top: 90px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo img {
    width: 200px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer h3 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cyan-turbo);
}

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

.footer-links a {
    text-decoration: none;
    color: #94a3b8;
    margin-bottom: 14px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-contact p {
    margin-bottom: 16px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--orange-fire);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
    color: #64748b;
}

/* ========================= */
/* WHATSAPP FLOTANTE */
/* ========================= */
.whatsapp-button {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 2rem;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.08);
}

/* ========================= */
/* QUERIES RESPONSIVE ADAPTATIVOS */
/* ========================= */
@media(max-width:1100px){
    .hero-content h1 { font-size: 3rem; }
    .presentation-container, .proposal-container { gap: 40px; }
}

@media(max-width:980px){
    .navbar { background: var(--white); }
    .menu-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 90px);
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 50px 40px;
        transition: right 0.4s ease;
        box-shadow: -10px 10px 40px rgba(0,0,0,0.05);
    }
    .nav-menu.active { right: 0; }
    .presentation-container, .proposal-container { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-links, .footer-contact p { align-items: center; justify-content: center; }
}

@media(max-width:768px){
    /* ================================================= */
    /* TUS REGLAS ORIGINALES (Mantenidas intactas) */
    /* ================================================= */
    .hero-content h1 { font-size: 2.3rem; }
    .presentation, .proposal { padding: 80px 0; }
    .presentation-text h2, .proposal-text h2 { font-size: 2rem; }
    .presentation-image::before { display: none; }

    /* ================================================= */
    /* NUEVO: CENTRAR BOTONES Y TEXTO DEL CARRUSEL */
    /* ================================================= */
    .hero-content {
        left: 50% !important; /* Mueve el contenedor al centro de la pantalla */
        transform: translate(-50%, -50%) !important; /* Lo centra perfectamente */
        text-align: center !important; /* Centra el texto y los botones automáticamente */
        max-width: 90% !important; /* Evita que choque con los bordes */
        width: 100%;
    }

    /* ================================================= */
    /* NUEVO: FLECHAS MÁS CHICAS Y SUTILES */
    /* ================================================= */
    .hero-arrow {
        width: 40px !important;       /* Reducimos el tamaño del círculo */
        height: 40px !important;      /* Reducimos el tamaño del círculo */
        font-size: 0.9rem !important; /* Icono de la flecha más pequeño */
        background: rgba(255, 255, 255, 0.2) !important; /* Más transparente */
        backdrop-filter: blur(4px);
    }

    .prev { left: 15px !important; }  /* Las pegamos un poco más al borde */
    .next { right: 15px !important; } /* para que no tapen el texto central */
}

@media(max-width:500px){
    .hero-button, .primary-button { width: 100%; text-align: center; }
    .proposal-services { padding: 30px 20px; }
}

/* ================================================= */
/* ABOUT US HERO */
/* ================================================= */

/* ================================================= */
/* CONFIGURACIÓN GLOBAL Y VARIABLES DE MODO LUZ PREMIUM */
/* ================================================= */
:root {
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-subtle: #f1f5f9;
    
    /* Paleta Contraste Mecánico */
    --navy-deep: #0b1528;      /* Azul marino oscuro metalizado */
    --steel-dark: #1e293b;     /* Gris acero oscuro */
    --steel-gray: #64748b;     /* Gris mecánico medio */
    
    /* Elementos Reactivos (Fuego e Hiper-tecnología) */
    --cyan-turbo: #00b4d8;     /* Celeste / Cian reactivo */
    --orange-fire: #ff5500;    /* Naranjo fuego escape */
    --orange-fire-glow: rgba(255, 85, 0, 0.15);
    
    --transition-slick: cubic-bezier(0.23, 1, 0.32, 1);
}

body.turbo-theme-light {
    background-color: var(--white);
    background-image: 
        linear-gradient(180deg, var(--white) 0%, var(--bg-light) 40%, var(--bg-subtle) 100%),
        radial-gradient(rgba(11, 21, 40, 0.015) 1px, transparent 0); /* Malla técnica sutil de plano técnico */
    background-size: 100%, 28px 28px;
    color: var(--navy-deep);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Etiquetas Estilizadas */
.section-tag-cyan {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--cyan-turbo);
    border-left: 3px solid var(--cyan-turbo);
    padding-left: 10px;
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
}

.section-tag-fire {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--orange-fire);
    border-left: 3px solid var(--orange-fire);
    padding-left: 10px;
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.3);
}

/* ================================================= */
/* BOTONES DE ALTA COMPETICIÓN */
/* ================================================= */
.primary-button-fire {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--orange-fire) 0%, #cc4400 100%);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.35);
    transition: all 0.35s ease;
    border: none;
    cursor: pointer;
}

.primary-button-fire:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 85, 0, 0.5);
}

/* ================================================= */
/* ABOUT HERO (Slick Light Mode) */
/* ================================================= */
.about-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.about-hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: brightness(0.5) contrast(1.1);
}

/* Overlay sutil para mantener el Hero oscuro y que resalte el texto light */
.about-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 21, 40, 0.95) 0%,
        rgba(11, 21, 40, 0.7) 50%,
        rgba(0, 180, 216, 0.05) 100%
    );
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    color: var(--white);
}

.about-hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #d1d9e6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero-content p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #cbd5e1;
    font-weight: 400;
}

/* ================================================= */
/* HISTORIA Y CIERRE (Layouts de Ingeniería) */
/* ================================================= */
.about-history {
    padding: 140px 0;
    background-color: var(--white);
    position: relative;
}

.about-closing {
    padding-bottom: 140px;
    background-color: var(--bg-light);
}

.history-container, .closing-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

/* Títulos Metálicos */
.history-text h2, .values-title-block h2, .closing-text h2 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--navy-deep) 30%, var(--steel-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

/* Hover effect en títulos metálicos para el POOM */
.history-text h2:hover, .closing-text h2:hover {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--cyan-turbo) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.2);
}

.history-text p, .closing-text p {
    font-size: 1.05rem;
    color: var(--steel-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* Tratamiento de Imagen con Efecto Profundidad (Poom Visual) */
.history-image-wrapper, .closing-image-wrapper {
    position: relative;
    z-index: 2;
}

.history-image-wrapper img, .closing-image-wrapper img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 30px 70px rgba(11, 21, 40, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

/* Filo Angular de Contraste Trasero */
.image-border-glow {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(11, 21, 40, 0.05), transparent 50%, rgba(0, 180, 216, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

/* Glow Angular Detrás (Cian Láser o Fuego) */
.history-image-wrapper::before, .closing-image-wrapper::before {
    content: "";
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 16px;
    top: -5%;
    left: -5%;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
}

.history-image-wrapper::before { background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, transparent 70%); }
.closing-image-wrapper::before { background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%); }

/* Card experiencia metalizada */
.experience-card {
    position: absolute;
    right: -40px;
    bottom: -40px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(11, 21, 40, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center;
    border-left: 4px solid var(--cyan-turbo);
}

.experience-card h3 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--navy-deep);
    line-height: 1;
    margin-bottom: 5px;
}

.experience-card p {
    color: var(--steel-gray);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin: 0;
}

/* ================================================= */
/* VALORES (Tarjetas Reactivas de Alto Impacto) */
/* ================================================= */
.about-values {
    padding: 140px 0;
    background-color: var(--white);
    position: relative;
}

.values-title-block {
    text-align: center;
    max-width: 900px;
    margin: auto;
    margin-bottom: 80px;
}

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

/* Tarjeta Tecnológica Limpia */
.value-tech-card {
    position: relative;
    padding: 50px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid rgba(11, 21, 40, 0.05);
    box-shadow: 0 20px 50px rgba(11, 21, 40, 0.06);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--transition-slick), box-shadow 0.4s var(--transition-slick);
}

/* Filo Metalizado Reactivo (Se activa al Hover) */
.value-tech-card .card-border-glow {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(11, 21, 40, 0.1), transparent 50%, rgba(11, 21, 40, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
    transition: background 0.4s ease;
}

/* Icon Box Mecanizado (Oscuro) */
.value-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--steel-dark) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan-turbo);
    font-size: 2.2rem;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(11, 21, 40, 0.2);
    border: 1px solid rgba(0, 180, 216, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.value-tech-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    color: var(--navy-deep);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.value-tech-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--steel-gray);
    margin: 0;
}

/* HOVER TÉCNICO ACTIVADO (¡POOM!) */
.value-tech-card:hover {
    transform: translateY(-8px) scale(1.01);
}

.value-tech-card.cyan-accent:hover {
    box-shadow: 0 30px 70px rgba(0, 180, 216, 0.15);
}

/* Activar Filos Láser */
.value-tech-card.cyan-accent:hover .card-border-glow {
    background: linear-gradient(135deg, var(--cyan-turbo) 0%, transparent 50%, var(--cyan-turbo) 100%);
}

.value-tech-card:hover .value-icon-box {
    transform: scale(1.05);
}
.value-tech-card.cyan-accent:hover .value-icon-box { box-shadow: 0 15px 30px rgba(0, 180, 216, 0.3); }

.value-tech-card:hover h3 {
    color: var(--cyan-turbo);
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
}

/* Acento Fuego para tarjetas específicas */
.value-tech-card.fire-accent:hover {
    box-shadow: 0 30px 70px rgba(255, 85, 0, 0.15);
}
.value-tech-card.fire-accent:hover .card-border-glow {
    background: linear-gradient(135deg, var(--orange-fire) 0%, transparent 50%, var(--orange-fire) 100%);
}
.value-tech-card.fire-accent:hover h3 {
    color: var(--orange-fire);
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.3);
}
.value-tech-card.fire-accent .value-icon-box { color: var(--orange-fire); border-color: rgba(255, 107, 0, 0.15); }
.value-tech-card.fire-accent:hover .value-icon-box { box-shadow: 0 15px 30px rgba(255, 85, 0, 0.3); }


/* ================================================= */
/* RESPONSIVE DESIGN INTELIGENTE */
/* ================================================= */
@media(max-width:1100px){
    .history-container, .closing-container { gap: 40px; }
    .history-text h2, .values-title-block h2, .closing-text h2 { font-size: 2.6rem; }
    .about-hero-content h1 { font-size: 3.2rem; }
}

@media(max-width:980px){
    .navbar { background: var(--white); }
    .history-container, .closing-container, .values-grid { grid-template-columns: 1fr; max-width: 650px; margin: 0 auto; }
    .experience-card { position: static; transform: none; margin: -20px auto 30px; width: fit-content; border-left: none; border-bottom: 4px solid var(--cyan-turbo); }
    .history-text, .closing-text, .values-title-block { text-align: center; }
}

@media(max-width:768px){
    .about-hero { height: 55vh; }
    .about-hero-content {margin-top: 50px;}
    .about-hero-content h1 { font-size: 2.4rem; }
    .history-text h2, .values-title-block h2, .closing-text h2 { font-size: 2rem; }
    .about-history, .about-values, .about-closing { padding: 80px 0; }
    .experience-card h3 { font-size: 2.5rem; }
    .value-tech-card { padding: 40px 30px; }
}

@media(max-width:500px){
    .about-hero-content h1 { font-size: 1.8rem; }
}

/* ================================================= */
/* SERVICES HERO */
/* ================================================= */

.services-hero{

    position:relative;

    height:76vh;

    display:flex;

    align-items:center;

    overflow:hidden;

}

/* Imagen */

.services-hero img{

    position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;

    transform:scale(1.06);

    filter:
    saturate(1.08)
    contrast(1.02);

}

/* Overlay cinematográfico */

.services-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        120deg,
        rgba(3,8,18,0.92),
        rgba(10,18,30,0.82),
        rgba(5,10,20,0.58)
    );

}

/* Glow ambiental cyan */

.services-hero::before{

    content:"";

    position:absolute;

    width:720px;

    height:720px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(0,207,255,0.14),
        rgba(0,207,255,0.04),
        transparent
    );

    top:-360px;

    right:-220px;

    filter:blur(60px);

    z-index:1;

}

/* Glow ambiental navy */

.services-hero::after{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    border-radius:50%;

    background:
    radial-gradient(
        circle,
        rgba(13,27,42,0.40),
        transparent
    );

    bottom:-220px;

    left:-180px;

    filter:blur(50px);

    z-index:1;

}

/* Contenido */

.services-hero-content{

    position:relative;

    z-index:2;

    max-width:780px;

    color:white;

}

.services-hero-content h1{

    font-size:4.4rem;

    line-height:1.05;

    margin-bottom:30px;

    letter-spacing:-1px;

}

.services-hero-content p{

    font-size:1.18rem;

    line-height:1.95;

    max-width:650px;

    color:#d8e3ed;

}

/*-------------------SERVICIOS------------------*/

/* ================================================= */
/* GLOBAL LIGHT THEME & VARIABLES (ADAPTADO INICIO) */
/* ================================================= */
:root {
    --white: #ffffff;
    --bg-light: #f8fafc;
    --bg-subtle: #f1f5f9;
    
    /* Paleta Contraste Mecánico */
    --navy-deep: #0b1528;      /* Azul marino oscuro metalizado */
    --steel-dark: #1e293b;     /* Gris acero oscuro */
    --steel-gray: #64748b;     /* Gris mecánico medio */
    
    /* Elementos Reactivos (Fuego e Hiper-tecnología) */
    --cyan-turbo: #00b4d8;     /* Celeste / Cian reactivo */
    --orange-fire: #ff5500;    /* Naranjo fuego escape */
    --orange-glow: rgba(255, 85, 0, 0.15);
    
    --transition-slick: cubic-bezier(0.23, 1, 0.32, 1);
}

body.turbo-theme-light {
    background-color: var(--white);
    background-image: 
        linear-gradient(180deg, var(--white) 0%, var(--bg-light) 40%, var(--bg-subtle) 100%),
        radial-gradient(rgba(11, 21, 40, 0.015) 1px, transparent 0); /* Malla técnica sutil */
    background-size: 100%, 28px 28px;
    color: var(--navy-deep);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

/* Etiquetas Estilizadas (Mismo estilo Inicio) */
.section-tag-cyan {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--cyan-turbo);
    border-left: 3px solid var(--cyan-turbo);
    padding-left: 10px;
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
}

.section-tag-fire {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--orange-fire);
    border-left: 3px solid var(--orange-fire);
    padding-left: 10px;
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.3);
}

/* ================================================= */
/* SERVICES HERO (Estilo Slick Light) */
/* ================================================= */
.services-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
    border-bottom: 1px solid rgba(11, 21, 40, 0.08);
}

.services-hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    filter: brightness(0.5) contrast(1.1);
}

/* Overlay sutil para mantener el Hero oscuro y que resalte el texto light */
.services-overlay-light {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(11, 21, 40, 0.92) 0%,
        rgba(11, 21, 40, 0.7) 50%,
        rgba(0, 180, 216, 0.05) 100%
    );
    z-index: 1;
}

.services-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    color: var(--white);
}

.services-hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #d1d9e6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #cbd5e1;
    font-weight: 400;
}

/* ================================================= */
/* SERVICES GRID SECTION (Impacto POOM Directo) */
/* ================================================= */
.services-grid-section {
    padding: 120px 0;
    position: relative;
}

.services-title-block {
    text-align: center;
    margin-bottom: 80px;
}

.services-title-block h2 {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 10px 0 0 0;
    background: linear-gradient(135deg, var(--navy-deep) 30%, var(--steel-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid Imponente de 2 Columnas */
.services-main-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Tarjetas Tecnológicas Premium */
.service-tech-card {
    position: relative;
    padding: 50px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid rgba(11, 21, 40, 0.05);
    box-shadow: 0 20px 50px rgba(11, 21, 40, 0.06);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--transition-slick), box-shadow 0.4s var(--transition-slick);
}

/* Filo Metalizado Reactivo */
.service-tech-card .card-border-glow {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px; /* Grosor del filo mecánico */
    background: linear-gradient(135deg, rgba(11, 21, 40, 0.1), transparent 50%, rgba(0, 180, 216, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
    transition: background 0.4s ease;
}

/* Contenido Interno */
.service-content-wrap {
    position: relative;
    z-index: 4;
}

/* Icono Industrial */
.service-icon-box {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--steel-dark) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cyan-turbo);
    font-size: 2.2rem;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(11, 21, 40, 0.2);
    border: 1px solid rgba(0, 180, 216, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-tech-card h3 {
    font-size: 1.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    color: var(--navy-deep);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.service-tech-card p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--steel-gray);
    margin-bottom: 25px;
}

/* Detalle Técnico Inferior */
.tech-detail {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--steel-gray);
    border-top: 1px solid rgba(11, 21, 40, 0.08);
    padding-top: 15px;
    display: block;
    letter-spacing: 1.5px;
}

/* ================================================= */
/* HOVER TÉCNICO ACTIVADO (POOM!) */
/* ================================================= */
.service-tech-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 70px rgba(0, 180, 216, 0.15);
}

/* Activar Filos Láser */
.service-tech-card:hover .card-border-glow {
    background: linear-gradient(135deg, var(--cyan-turbo) 0%, transparent 50%, var(--cyan-turbo) 100%);
}

.service-tech-card:hover .service-icon-box {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 180, 216, 0.3);
}

.service-tech-card:hover h3 {
    color: var(--cyan-turbo);
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.3);
}

/* Acento Fuego para tarjetas específicas */
.service-tech-card.fire-accent:hover {
    box-shadow: 0 30px 70px rgba(255, 85, 0, 0.15);
}

.service-tech-card.fire-accent:hover .card-border-glow {
    background: linear-gradient(135deg, var(--orange-fire) 0%, transparent 50%, var(--orange-fire) 100%);
}

.service-tech-card.fire-accent:hover .service-icon-box {
    color: var(--orange-fire);
    box-shadow: 0 15px 30px rgba(255, 85, 0, 0.3);
}

.service-tech-card.fire-accent:hover h3 {
    color: var(--orange-fire);
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.3);
}

/* ================================================= */
/* TECHNICAL PROCESS SECTION (Sutil y Claro) */
/* ================================================= */
.technical-process-section {
    padding-bottom: 120px;
    background-color: var(--white);
    position: relative;
}

.process-title-block {
    text-align: center;
    margin-bottom: 80px;
}

.process-title-block h2 {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 900;
    background: linear-gradient(135deg, var(--navy-deep) 30%, var(--steel-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid de Workflow */
.tech-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 20px;
}

/* Tarjeta de Paso Sutil */
.process-step-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(11, 21, 40, 0.04);
    position: relative;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.process-step-card:hover {
    background: var(--white);
    transform: translateY(-5px);
    border-color: rgba(11, 21, 40, 0.08);
}

/* Número Flotante */
.step-number {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(11, 21, 40, 0.03);
    line-height: 1;
}

.step-icon {
    font-size: 2rem;
    color: var(--steel-gray);
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

.process-step-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--navy-deep);
    margin-bottom: 15px;
}

.process-step-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--steel-gray);
}

/* Paso Activo Highlight */
.process-step-card.step-active {
    background: var(--navy-deep);
    color: var(--white);
}

.process-step-card.step-active .step-icon { color: var(--cyan-turbo); }
.process-step-card.step-active h3 { color: var(--white); }
.process-step-card.step-active p { color: #b0c4de; }
.process-step-card.step-active .step-number { color: rgba(255, 255, 255, 0.03); }

/* ================================================= */
/* COTIZACIÓN CTA SECTION (Impacto Industrial) */
/* ================================================= */
.cotizacion-cta-section {
    padding-bottom: 120px;
}

/* Caja CTA Industrial Pesada */
.cta-industrial-box {
    position: relative;
    background-color: var(--navy-deep);
    background-image: radial-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 0);
    background-size: 20px 20px;
    padding: 100px 60px;
    border-radius: 24px;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(11, 21, 40, 0.2);
}

/* Glow trasandino reactivo naranja */
.cta-overlay-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 85, 0, 0.15) 0%, transparent 70%);
    top: -250px;
    right: -200px;
    filter: blur(60px);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-industrial-box h2 {
    font-size: 3.2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.cta-industrial-box p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #cbd5e1;
    margin-bottom: 40px;
}

/* Botón Fuego (Mismo estilo Hero-button Inicio) */
.fire-button {
    display: inline-block;
    padding: 18px 36px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--orange-fire) 0%, #cc4400 100%);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.35);
    transition: all 0.35s ease;
}

.fire-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 85, 0, 0.5);
}

/* ================================================= */
/* RESPONSIVE DESIGN INTELIGENTE */
/* ================================================= */
@media(max-width:1200px){
    .services-main-grid { gap: 30px; }
    .service-tech-card { padding: 40px; }
    .services-hero-content h1 { font-size: 3.2rem; }
}

@media(max-width:1024px){
    .tech-process-grid { grid-template-columns: repeat(2, 1fr); gap: 25px; }
}

@media(max-width:980px){
    .navbar { background: var(--white); }
    .services-main-grid { grid-template-columns: 1fr; max-width: 700px; }
}

@media(max-width:768px){
    .services-hero { height: 55vh; }
    .services-hero-content {margin-top: 50px;}
    .services-hero-content h1 { font-size: 2.5rem; }
    .services-hero-content p { font-size: 1.1rem; }
    
    .services-grid-section, .technical-process-section, .cotizacion-cta-section { padding: 80px 0; }
    .services-title-block h2, .process-title-block h2, .cta-industrial-box h2 { font-size: 2.2rem; }
    .service-tech-card h3 { font-size: 1.6rem; }
    
    .tech-process-grid { grid-template-columns: 1fr; }
    .cta-industrial-box { padding: 80px 30px; }
}

@media(max-width:500px){
    .services-hero-content h1 { font-size: 2.1rem; }
    .cotizacion-cta-section { padding-bottom: 60px; }
    .cta-industrial-box { padding: 60px 20px; }
    .fire-button { width: 100%; text-align: center; }
}

/* ===============INDEX===================== */

/* CONFIGURACIÓN Y PALETA DE COLORES ULTRA-PREMIUM */
/* ================================================= */
:root {
    --bg-deep-marine: #02060e;      /* Azul marino profundo de fondo */
    --bg-card-dark: #07101e;        /* Base de tarjetas */
    --metallic-silver: #a1b5cc;     /* Acabado plata metálico */
    --fire-orange: #ff4500;         /* Iluminación color fuego */
    --fire-orange-glow: #ff7300;    /* Fuego secundario */
    --fire-cyan: #00f3ff;           /* Iluminación celeste fuego / cian láser */
    --fire-cyan-glow: #00a8ff;      /* Celeste de profundidad */
    --border-metal: rgba(161, 181, 204, 0.25);
    --transition-sharp: cubic-bezier(0.2, 1, 0.2, 1);
}

body.turbo-theme {
    background-color: var(--bg-deep-marine);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Etiquetas Estilizadas */
.section-tag-fire {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--fire-orange);
    border-left: 3px solid var(--fire-orange);
    padding-left: 10px;
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 0 0 12px var(--fire-orange-glow);
}

.section-tag-cyan {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--fire-cyan);
    border-left: 3px solid var(--fire-cyan);
    padding-left: 10px;
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 0 0 12px var(--fire-cyan-glow);
}

/* ================================================= */
/* HERO - ESTILO RACING AGRESIVO */
/* ================================================= */
.works-hero {
    position: relative;
    height: 65vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
    border-bottom: 2px solid var(--border-metal);
}

.works-hero img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    filter: brightness(0.4) contrast(1.1);
}

.works-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        140deg,
        rgba(2, 6, 14, 0.95) 20%,
        rgba(7, 16, 30, 0.8) 60%,
        rgba(0, 243, 255, 0.1) 100%
    );
    z-index: 1;
}

/* Destello Iluminación Filosa Fuego / Celeste en Hero */
.works-hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.15) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    filter: blur(50px);
    z-index: 1;
}

.works-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.works-hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, var(--metallic-silver));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.works-hero-content p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #b0c4de;
}

/* ================================================= */
/* SHOWROOM GRID MASIVO (TODO DE FRENTE) */
/* ================================================= */
.showroom-section {
    padding: 100px 0;
    background-color: var(--bg-deep-marine);
    position: relative;
}

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

.showroom-title-block h2 {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.5px;
    margin: 10px 0 0 0;
    background: linear-gradient(135deg, #fff 30%, var(--metallic-silver) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Grid Imponente de 3 Columnas Estables */
.showroom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Tarjetas Multimedia Premium */
.media-card {
    position: relative;
    height: 380px;
    background: var(--bg-card-dark);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: transform 0.4s var(--transition-sharp), box-shadow 0.4s var(--transition-sharp);
}

/* Iluminación con borde afilado metálico */
.card-border-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1.5px; /* Grosor del filo metálico */
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 40%, rgba(0, 243, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 4;
    transition: background 0.4s ease;
}

.media-card img, 
.media-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-sharp), filter 0.4s ease;
}

/* Envoltura para videos */
.video-container-wrapper {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
}

/* Capa Oscura / Overlay inicial */
.media-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 14, 0.9) 0%, rgba(2, 6, 14, 0.2) 60%, transparent 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

/* Capa de Información del Archivo */
.media-info-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 3;
    transform: translateY(10px);
    transition: transform 0.4s var(--transition-sharp);
}

.media-type-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 12px;
}

/* Badge especial de color fuego para Videos */
.media-type-badge.video-badge {
    background: rgba(255, 69, 0, 0.2);
    border-color: rgba(255, 69, 0, 0.4);
    color: #ff9d76;
    text-shadow: 0 0 6px var(--fire-orange);
}

.media-info-layer h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

/* ================================================= */
/* EFECTOS HOVER DINÁMICOS (POOM!) */
/* ================================================= */

/* Hover General Tarjeta */
.media-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px rgba(0, 243, 255, 0.15);
}

/* Filos de luz láser reactivos */
.media-card:hover .card-border-glow {
    background: linear-gradient(135deg, var(--fire-cyan) 0%, transparent 50%, var(--fire-orange) 100%);
}

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

/* Hover específico en Items Tipo Imagen */
.media-card.type-image:hover .media-info-layer h3 {
    color: var(--fire-cyan);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* Hover específico en Items Tipo Video */
.media-card.type-video:hover .media-info-layer h3 {
    color: var(--fire-orange);
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

.media-card:hover .media-info-layer {
    transform: translateY(0);
}

/* ================================================= */
/* MODAL / LIGHTBOX DE ALTA FIDELIDAD */
/* ================================================= */
.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 14, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.4s;
    z-index: 99999;
    outline: none;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Contenedor Estructural del Contenido Agrandado */
.modal-content-wrapper {
    position: relative;
    width: 85%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.modal-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-content img,
.modal-content video {
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    display: block;
}

/* Título Descriptivo de la Galería Abierta */
.modal-caption {
    margin-top: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 1px;
    text-align: center;
    border-bottom: 2px solid var(--fire-cyan);
    padding-bottom: 6px;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.3);
}

/* Botón Cerrar Avanzado */
.close-modal {
    position: absolute;
    top: 40px;
    right: 50px;
    color: var(--metallic-silver);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    z-index: 100;
}

.close-modal:hover {
    color: var(--fire-orange);
    transform: rotate(90deg);
}

/* Flechas Laterales de Navegación */
.modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border: 1px solid rgba(161, 181, 204, 0.2);
    border-radius: 50%;
    background: rgba(7, 16, 30, 0.6);
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--transition-sharp);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.modal-arrow:hover {
    background: #ffffff;
    color: var(--bg-deep-marine);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.modal-arrow.prev { left: 40px; }
.modal-arrow.next { right: 40px; }

.modal-arrow:active {
    transform: translateY(-50%) scale(0.92);
}

/* Loader de Carga */
.modal-loader {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 243, 255, 0.1);
    border-top-color: var(--fire-cyan);
    border-radius: 50%;
    animation: spinModal 0.8s linear infinite;
    display: none;
}

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

/* ================================================= */
/* RESPONSIVE DESIGN INTELIGENTE */
/* ================================================= */
@media (max-width: 1200px) {
    .showroom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .works-hero-content h1 { font-size: 3.2rem; }
    .modal-arrow { width: 55px; height: 55px; }
    .modal-arrow.prev { left: 20px; }
    .modal-arrow.next { right: 20px; }
}

@media (max-width: 768px) {
    .works-hero { height: 55vh; }
    .works-hero-content {margin-top: 50px;}
    .works-hero-content h1 { font-size: 2.4rem; }
    .showroom-title-block h2 { font-size: 2.2rem; }
    
    .showroom-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .media-card { height: 320px; }
    
    .modal-arrow {
        position: static;
        transform: none;
        width: 48%;
        height: 50px;
        border-radius: 8px;
        margin-top: 15px;
    }
    .gallery-modal {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
    }
    .modal-content-wrapper {
        width: 95%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .modal-content img, .modal-content video { max-height: 55vh; }
    .close-modal { top: 20px; right: 25px; font-size: 2rem; }
}

/* ================================================= */
/* VARIABLES DE COMPETICIÓN (ADICIONALES) */
/* ================================================= */
:root {
    --bg-racing-dark: #070e1a;      /* Fondo base más profundo */
    --bg-panel-dark: #0d1626;        /* Fondo de tarjetas/paneles */
    --cyan: #00cfff;                /* Cian láser */
    --cyan-glow: rgba(0, 207, 255, 0.25);
    --orange-fire: #ff6b00;         /* Naranja fuego */
    --orange-fire-glow: rgba(255, 107, 0, 0.2);
    --text-steel: #b0c4de;          /* Texto gris acero legible */
    --border-metal: rgba(255, 255, 255, 0.06);
    --transition-nitro: cubic-bezier(0.19, 1, 0.22, 1);
}

body.turbo-theme {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-racing-dark);
    /* Imagen de malla técnica sutil de fondo */
    background-image: 
        linear-gradient(rgba(11, 22, 43, 0.95), rgba(11, 22, 43, 0.98)),
        radial-gradient(var(--border-metal) 1px, transparent 1px);
    background-size: 100%, 25px 25px;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Títulos de Sección Estilizados (Mismo estilo anterior) */
.section-tag-cyan, .section-tag-fire {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 3px;
    padding-left: 10px;
    display: inline-block;
    margin-bottom: 15px;
}
.section-tag-cyan { color: var(--cyan); border-left: 3px solid var(--cyan); text-shadow: 0 0 10px var(--cyan-glow); }
.section-tag-fire { color: var(--orange-fire); border-left: 3px solid var(--orange-fire); text-shadow: 0 0 10px var(--orange-fire-glow); }

/* ================================================= */
/* CONTACT SECTION BASE */
/* ================================================= */
.contact-section {
    position: relative;
    padding: 130px 0 100px;
    overflow: hidden;
}

/* Glow fondo ambiental */
.contact-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 207, 255, 0.1), transparent 70%);
    top: -200px;
    right: -200px;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

/* Título Impactante */
.contact-header {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: auto;
    margin-bottom: 80px;
}

.contact-header h1 {
    font-size: 3.8rem;
    font-weight: 900;
    color: white;
    margin-bottom: 25px;
    line-height: 1.05;
    text-transform: uppercase;
    background: linear-gradient(135deg, white, #a1b5cc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.contact-header p {
    color: var(--text-steel);
    line-height: 1.8;
    font-size: 1.15rem;
    font-weight: 400;
}

/* ================================================= */
/* GRID LAYOUT Afilado */
/* ================================================= */
.contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 35px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ================================================= */
/* COLUMNA INFO - TARJETAS TÉCNICAS */
/* ================================================= */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Tarjeta Base */
.contact-card {
    position: relative;
    padding: 30px;
    border-radius: 12px; /* Esquinas más afiladas */
    background-color: var(--bg-panel-dark);
    border: 1px solid var(--border-metal);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--transition-nitro), border-color 0.4s ease;
}

/* "Filo de Luz" Metálico Base */
.card-border-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* Icon Industrial */
.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    background: #0b1523;
    border: 1px solid var(--border-metal);
    font-size: 1.6rem;
    box-shadow: inset 0 2px 3px rgba(255,255,255,0.03);
    transition: color 0.3s ease, background 0.3s ease;
}

/* Textos dentro de la tarjeta */
.contact-card h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.contact-card p, .loc-link {
    color: var(--text-steel);
    line-height: 1.7;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

/* VARIANTES DE FILO REACTIVO (HOVER) */

/* Look Cian Reactivo */
.tech-card-cyan:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(0, 207, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 207, 255, 0.15);
}
.tech-card-cyan .contact-icon { color: var(--cyan); border-color: rgba(0, 207, 255, 0.2); }
.tech-card-cyan:hover .contact-icon { background: rgba(0, 207, 255, 0.05); }

/* Look Fuego Reactivo */
.tech-card-fire:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 107, 0, 0.4);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.15);
}
.tech-card-fire .contact-icon { color: var(--orange-fire); border-color: rgba(255, 107, 0, 0.2); }
.tech-card-fire:hover .contact-icon { background: rgba(255, 107, 0, 0.05); }

/* Botón WhatsApp de Columna con Look "Activado" */
.contact-whatsapp-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(145deg, #101c2e, #0a1322);
    border: 1px solid #25D366; /* Borde verde fijo */
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.1);
}

.contact-whatsapp-btn i { font-size: 1.5rem; color: #25D366; }

.contact-whatsapp-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.2);
}

/* ================================================= */
/* COLUMNA FORMULARIO - PANEL TÉCNICO */
/* ================================================= */
.contact-form-container {
    position: relative;
    padding: 45px;
    border-radius: 12px;
    background-color: var(--bg-panel-dark);
    backdrop-filter: blur(10px); /* Efecto cristal esmerilado sutil */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-metal);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* "Filo de Luz" Metálico Base */
.panel-border-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 207, 255, 0.1), transparent 50%, rgba(255, 107, 0, 0.05));
    pointer-events: none;
    z-index: 1;
}

/* Form Layout Grilla Interna */
.contact-form {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Título de Formulario Industrial */
.contact-form h2 {
    grid-column: 1/-1;
    color: white;
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* Grupos de Formulario que ocupan todo el ancho */
.full { grid-column: 1/-1; }

/* Styling de Inputs y Textarea Futuristas */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 22px;
    border-radius: 8px; /* Afilados */
    border: 1px solid rgba(255,255,255,0.03);
    background: #060c15; /* Fondo oscuro profundo */
    color: white;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
}

/* Textarea min-height */
.form-group textarea {
    min-height: 150px;
    resize: none;
    line-height: 1.6;
}

/* Efecto Focus Activado Láser Cian */
.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(0, 207, 255, 0.4);
    background: #08111e;
    box-shadow: 0 0 15px rgba(0, 207, 255, 0.15);
}

/* Placeholder Gris Acero */
.form-group input::placeholder,
.form-group textarea::placeholder { color: #5f6b78; font-weight: 400; }

/* Botón de Envío "Nitro" */
.btn-fire-nitro {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 30px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--orange-fire) 0%, #cc4400 100%);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s var(--transition-nitro);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.25);
}

.btn-fire-nitro i { font-size: 1.1rem; transition: transform 0.3s ease; }

.btn-fire-nitro:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 107, 0, 0.4);
}

.btn-fire-nitro:hover i { transform: translateX(5px) scale(1.1); }

/* ================================================= */
/* MAP MAPA - LOOK MECANIZADO */
/* ================================================= */
.map-section {
    padding: 0 0 130px;
    position: relative;
    z-index: 2;
}

/* Contenedor del Mapa con Look Técnico */
.map-tech-wrapper {
    position: relative;
    overflow: hidden;
    padding: 15px; /* Marco industrial alrededor del iframe */
    border-radius: 12px;
    background-color: var(--bg-panel-dark);
    border: 1px solid var(--border-metal);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* Iframe del Mapa */
.map-tech-wrapper iframe {
    width: 100%;
    height: 480px;
    border: none;
    border-radius: 6px; /* Afilado dentro del marco */
    filter: invert(90%) hue-rotate(180deg); /* Opcional: Mapa oscuro futurista */
    display: block;
}

/* Link Overlay de Mapa */
.map-link-overlay {
    margin-top: 15px;
    text-align: center;
}

/* Link Estilizado sutil */
.map-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-steel);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.map-link-btn i { color: var(--cyan); font-size: 1.1rem; }

.map-link-btn:hover {
    color: white;
}

/* ================================================= */
/* RESPONSIVE DESIGN INTELIGENTE */
/* ================================================= */
@media(max-width:1100px){
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 750px;
    }
    .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .contact-card {
        flex: 1 1 calc(50% - 13px);
    }
    .contact-whatsapp-btn {
        width: 100%;
    }
}

@media(max-width:768px){
    .contact-section { padding: 110px 0 80px; }
    .contact-header h1 { font-size: 3rem; }
    .contact-info { flex-direction: column; }
    .contact-form { grid-template-columns: 1fr; gap: 15px; }
    .contact-form h2 { font-size: 2rem; }
    .contact-form-container { padding: 30px; }
    .map-tech-wrapper iframe { height: 380px; }
}

@media(max-width:500px){
    .contact-header h1 { font-size: 2.2rem; }
    .contact-card, .contact-form-container { padding: 25px; }
    .map-tech-wrapper { padding: 10px; }
    .map-tech-wrapper iframe { height: 320px; }
}

/* WHATSAPP GLOBAL (Asegurar que esté por encima de todo) */
.whatsapp-button-global {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button-global:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

/*Enlaces*/

.contact-card a,
.footer a{

    color: inherit;

    text-decoration: none;

    transition: 0.3s;

}



.contact-card a:hover,
.footer a:hover{

    color: var(--color-principal);

}

.footer-social{ /*enlaces de instagram y facebook*/
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a{
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;

    color: var(--white);
    text-decoration: none;

    transition: all 0.3s ease;
}

.footer-social a:hover{
    transform: translateY(-3px);
    border-color: var(--cyan-turbo);
    color: var(--cyan-turbo);
}

.footer-social i{
    font-size: 1.1rem;
}

@media(max-width:768px){

    .footer-social{
        justify-content: center;
    }

}