/* css/naves-modern-dark.css - REFACTORIZADO para imagen de fondo + overlay blanco + imagen flotante */

:root {
    --color-primary-modern: #0033a0; /* Azul corporativo */
    --color-secondary-modern: #ffffff; /* Cian */
    --color-text-dark: #2c3e50; /* Gris oscuro para texto */
    --color-text-medium: #555; /* Gris medio para subtítulos claros */
    --color-bg-dark: #1a1a1a; /* Fondo oscuro (Hero/CTA) */
    --color-text-light: #f0f0f0; /* Texto claro (Hero/CTA) */
    --color-text-muted: #b0b0b0; /* Texto claro secundario */
    --color-background-light: #ffffff; /* Blanco */
    --color-border-light: #ebebeb; /* Borde claro */
    --font-heading-modern: 'Oswald', sans-serif;
    --font-body-modern: 'Roboto', sans-serif;
    --font-accent-modern: 'Montserrat', sans-serif;
}

body {
    padding-top: 125px; 
    background-color: #f0f0f0; 
}

/* css/naves-modern-dark.css */

/* ... (resto del CSS :root, body, etc.) ... */

/* --- AJUSTE HERO SECTION --- */
/* (Asegúrate que el selector coincida con tu HTML, usualmente es el ID + clase) */
#naves-hero.modern-hero-section { 
    /* ... (tus estilos existentes de position, display, color, etc.) ... */
    position: relative; 
    width: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    overflow: hidden;
    color: white; 
    background-color: var(--color-bg-dark); 
    
    /* CAMBIO: Mueve la sección hacia arriba */
    margin-top: -125px; /* Valor negativo del padding-top del body */
    
    /* CAMBIO: Ajusta la altura para compensar */
    height: calc(65vh + 125px); /* Altura original + el padding del body */
}

/* Ajuste del contenido interno del Hero */
#naves-hero .hero-content-modern {
    /* ... (tus estilos existentes de position, z-index, max-width, etc.) ... */
    position: relative; 
    z-index: 2; 
    max-width: 800px; 
    padding-left: 20px; /* Mantener padding lateral */
    padding-right: 20px; /* Mantener padding lateral */
    
    /* CAMBIO: Añadir padding superior para bajar el contenido */
    padding-top: 145px; /* Altura del header (125px) + 20px extra */
    padding-bottom: 40px; /* Padding inferior (ajusta si es necesario) */
}

/* --- ESTILO UNIFICADO PARA BOTONES (MÁS ESPECÍFICO) --- */
/* --- ESTILO UNIFICADO PARA BOTONES (CORREGIDO) --- */

/* 1. Botón del Hero (Fondo Blanco) */
#naves-hero .cta-button-modern {
    background-color: var(--color-secondary-modern); /* Fondo blanco */
    color: var(--color-text-dark); /* Texto oscuro */
    padding: 15px 35px;
    border-radius: 5px;
    font-family: var(--font-accent-modern);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-shadow: none; 
    display: inline-block; 
    position: relative; /* z-index para estar sobre el video */
    z-index: 3;
}

/* 2. Botones de Producto (Fondo Azul) */
.product-showcase-section .cta-button-secondary {
    background-color: var(--color-primary-modern); /* FONDO AZUL */
    color: #ffffff; /* TEXTO BLANCO */
    padding: 15px 35px;
    border-radius: 5px;
    font-family: var(--font-accent-modern);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-shadow: none; 
    display: inline-block; 
    position: relative; /* z-index para estar sobre el overlay blanco */
    z-index: 3;
}
/* Efecto Hover para AMBOS botones */

/* 1. Hover del Hero (se vuelve Azul) */
#naves-hero .cta-button-modern:hover {
    background-color: var(--color-primary-modern); /* Fondo azul */
    color: #ffffff; /* Texto blanco */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: none;
}

/* 2. Hover de Producto (se vuelve Blanco) */
.product-showcase-section .cta-button-secondary:hover {
    background-color: var(--color-secondary-modern); /* FONDO BLANCO */
    color: var(--color-text-dark); /* TEXTO OSCURO */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: none;
}

/* ============================================ */
/* CORRECCIÓN LISTA (CUALIMETAL INTRO) */
/* ============================================ */

.feature-checklist {
    list-style: none;     /* 1. Elimina los puntos (bullets) */
    padding-left: 0;      /* 2. Elimina el relleno/indentación por defecto */
    margin-top: 30px;     /* 3. AÑADE ESPACIO entre el párrafo y la lista */
}

.feature-checklist li {
    display: flex;        /* Alinea el ícono y el texto */
    align-items: center;  /* Centra verticalmente el ícono con el texto */
    gap: 12px;            /* Espacio entre el ícono y el texto */
    margin-bottom: 15px;  /* Espacio entre cada item de la lista */
    
    /* Ajustes de fuente para que coincida con el párrafo */
    font-family: var(--font-body-modern);
    font-size: 1.1rem; 
    line-height: 1.6;
}

.feature-checklist .check-icon {
    /* Evita que el ícono se encoja */
    flex-shrink: 0; 
}





/* ... (resto de tu CSS para secciones de producto, CTA final, etc.) ... */
.hero-bg-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.hero-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }
.hero-video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(6, 22, 77, 0.4); }
.hero-content-modern { position: relative; z-index: 2; max-width: 800px; padding: 20px; }
.hero-subtitle-top { font-family: var(--font-accent-modern); font-size: 1.1rem; font-weight: 600; color: var(--color-secondary-modern); margin-bottom: 10px; letter-spacing: 2px; text-transform: uppercase; }
.hero-title-modern { font-family: var(--font-heading-modern); font-size: 3.8rem; font-weight: 700; line-height: 1.1; margin-bottom: 20px; text-transform: uppercase; color: white; } 
.hero-description-modern { font-family: var(--font-body-modern); font-size: 1.25rem; line-height: 1.6; margin-bottom: 30px; color: #e0e0e0; } 
.cta-button-modern { /* ... */ background-color: var(--color-secondary-modern); color: var(--color-text-dark); }
.cta-button-modern:hover { /* ... */ background-color: #0033a0; color:#dae7e9; }


/* --- Secciones Generales --- */
.section {
    padding: 80px 0;
    position: relative; /* Añadido para overlays */
    overflow: hidden; /* Contiene overlays */
}

/* --- ESTILOS BASE PARA SECCIONES CON FONDO + OVERLAY BLANCO --- */
.product-showcase-section,
.bg-pattern-light { /* bg-pattern-light ahora también tendrá fondo + overlay */
    background-color: var(--color-background-light); /* Fallback */
    color: var(--color-text-dark); /* Texto Oscuro por defecto */
    border-bottom: 1px solid var(--color-border-light); 
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax */
}

/* Aplicar imágenes de fondo específicas */
#cualimetal-intro { background-image: url('../assets/img/naves_industriales_3.jpg'); } /* <-- RUTA IMAGEN INTRO */
#ecorapid-section { background-image: url('../assets/img/ECORAPID.png'); } /* <-- RUTA IMAGEN ECORAPID */
#mecarapid-section { background-image: url('../assets/img/MECARAPID.png'); } /* <-- RUTA IMAGEN MECARAPID */
#naverapid-section { background-image: url('../assets/img/PLENAVE2.png'); } /* <-- RUTA IMAGEN NAVERAPID */
#plenave-section { background-image: url('../assets/plenav.jpeg'); }  /* <-- RUTA IMAGEN PLENAVE */

/* Overlay blanco común */
.product-showcase-section::before,
.bg-pattern-light::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Degradado blanco - Ajusta opacidad (0.9 a 0.6) según necesites */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6)); 
    z-index: 1; /* Detrás del contenido, encima del fondo */
}

/* --- Contenido dentro de secciones claras --- */
/* Asegurar que el contenedor principal esté sobre el overlay */
.product-showcase-section .container,
.bg-pattern-light .container {
    position: relative; 
    z-index: 2; 
}

/* --- Títulos y Subtítulos (Como estaban para fondo claro) --- */
.section-title-modern {
    font-family: var(--font-heading-modern); font-size: 3rem; font-weight: 700; text-align: center; margin-bottom: 15px; line-height: 1.2; text-transform: uppercase;
    color: var(--color-text-dark); /* Título Oscuro */
}
.section-title-modern span {
    color: var(--color-primary-modern); /* Span Azul */
}
.reg-symbol {
    font-size: 1.5rem; vertical-align: super;
    color: var(--color-primary-modern); /* ® Azul */
}
.section-subtitle-modern {
    font-family: var(--font-accent-modern); font-size: 1.2rem; color: var(--color-text-medium); text-align: center; max-width: 800px; margin: 0 auto 60px auto; line-height: 1.6;
}

/* --- Split Content (Intro en bg-pattern-light) --- */
.split-content { 
    display: flex; align-items: center; gap: 60px; 
    position: relative; /* Asegura z-index */
    z-index: 2;
}

/* Columna de la imagen flotante */
.split-image-content { 
    flex: 1; min-width: unset; /* Quitar min-width */
    display: flex; align-items: center; justify-content: center; 
    padding: 20px;
    z-index: 3; /* Encima del overlay */
}
.split-image-content img { 
    display: block; /* Asegurar que se vea */
    max-width: 100%; height: auto; border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
    transition: transform 0.3s ease;
}
.split-image-content img:hover { transform: translateY(-5px) scale(1.02); }

/* Columna de texto */
.split-text-content { 
    flex: 1; 
    background-color: transparent; /* Fondo transparente */
    padding: 0; border-radius: 0;
    z-index: 3; /* Encima del overlay */
    color: var(--color-text-dark);
}
.split-text-content .large-text { color: var(--color-text-dark); }
.split-text-content .feature-checklist li { color: var(--color-text-dark); }
.split-text-content .feature-checklist .check-icon { color: var(--color-primary-modern); }


/* --- Diseño de Sección de Producto --- */
.product-showcase-section .product-content-grid { 
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; 
    position: relative; /* Asegura z-index */
    z-index: 2;
}

/* Columna de la imagen flotante */
.product-showcase-section .product-image-box {
    position: relative; /* Quitar absolute */
    top: auto; left: auto; right: auto; width: auto; height: auto; /* Restablecer */
    display: flex; align-items: center; justify-content: center; 
    padding: 20px;
    background-image: none; /* Sin imagen de fondo aquí */
    z-index: 3; /* Encima del overlay */
    order: 1; /* Orden por defecto (izquierda) */
}
.product-showcase-section .reversed-grid .product-image-box {
    order: 2; /* Orden derecha en grid invertido */
}

/* La imagen flotante */
.product-showcase-section .product-image-box img {
   display: block; /* Asegurar que se vea */
   max-width: 100%; height: auto; border-radius: 8px; 
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
   transition: transform 0.3s ease;
}
.product-showcase-section .product-image-box img:hover { transform: translateY(-5px) scale(1.02); }

/* Columna de texto */
.product-showcase-section .product-details-box {
    background-color: transparent; /* Fondo transparente */
    padding: 0; border-radius: 0;
    z-index: 3; /* Encima del overlay */
    color: var(--color-text-dark);
    order: 2; /* Orden por defecto (derecha) */
}
.product-showcase-section .reversed-grid .product-details-box {
    order: 1; /* Orden izquierda en grid invertido */
}

/* Texto dentro de detalles */
.product-showcase-section .product-details-box h3 {
    color: var(--color-primary-modern); 
    border-bottom-color: var(--color-primary-modern); 
}
.product-showcase-section .product-details-box p {
    color: var(--color-text-dark); 
}
.product-showcase-section .text-center {
    margin-top: 50px; 
}


/* --- Tarjetas 3D (Claras, sobre el overlay) --- */
.product-showcase-section .feature-card-grid-3d,
.bg-pattern-light .feature-card-grid-3d {
     display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px;
     position: relative; z-index: 3; /* Encima del overlay */
}

.product-showcase-section .feature-card-3d,
.bg-pattern-light .feature-card-3d {
    background-color: rgba(255, 255, 255, 0.95); /* Blanco un poco más opaco */
    border: 1px solid rgba(0, 51, 160, 0.1); /* Borde azul muy sutil */
    border-radius: 8px; padding: 25px 20px; text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); /* Sombra más notable */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.product-showcase-section .feature-card-3d:hover,
.bg-pattern-light .feature-card-3d:hover {
    transform: translateY(-8px); 
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12); 
    border-color: var(--color-primary-modern); 
    background-color: #ffffff; /* Blanco sólido en hover */
}

.product-showcase-section .card-icon-3d i,
.bg-pattern-light .card-icon-3d i {
    stroke: var(--color-primary-modern); 
    width: 40px; height: 40px; stroke-width: 2;
}

.product-showcase-section .feature-card-3d h4,
.bg-pattern-light .feature-card-3d h4 {
    color: var(--color-text-dark); 
}







/* --- Responsive (Ajustes menores si son necesarios) --- */
@media (max-width: 992px) { 
    /* Ajustar grid de imagen/texto a 1 columna */
    .split-content { flex-direction: column; }
    .product-showcase-section .product-content-grid { grid-template-columns: 1fr; }
    /* Resetear orden en móvil */
    .product-showcase-section .reversed-grid .product-image-box,
    .product-showcase-section .reversed-grid .product-details-box { order: unset; }
    .split-image-content { margin-bottom: 30px; }
}
/* --- CTA Final (Se mantiene azul con texto blanco) --- */
#cta-final.cta-modern-bg { 
    background-color: var(--color-primary-modern); 
    background-image: none; 
    color: white; 
    border-bottom: none; 
    padding: 80px 0; 
}
#cta-final .cta-banner-content-modern { 
    text-align: center; 
    position: relative;
    z-index: 2;
}
#cta-final .cta-banner-content-modern h2 { 
    font-family: var(--font-heading-modern); 
    font-size: 2.8rem; 
    font-weight: 700; 
    margin-bottom: 15px; 
    color: white; 
    text-transform: uppercase; 
}
#cta-final .cta-banner-content-modern p { 
    font-family: var(--font-accent-modern); 
    font-size: 1.25rem; 
    margin-bottom: 30px; 
    color: #e0e0e0; 
}

/* --- ESTILO ESPECÍFICO Y FORZADO PARA EL BOTÓN DEL CTA FINAL --- */
#cta-final .cta-button-modern {
    /* === Copia EXACTA de los estilos base === */
    background-color: var(--color-secondary-modern) !important; /* Fondo cian FORZADO */
    color: var(--color-text-dark) !important; /* Texto oscuro FORZADO */
    padding: 15px 35px !important;
    border-radius: 5px !important;
    font-family: var(--font-accent-modern) !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease !important;
    border: none !important; /* Sin borde FORZADO */
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important; 
    text-shadow: none !important; 
    display: inline-block !important; 
    appearance: none !important; /* Resetear apariencia navegador */
    -webkit-appearance: none !important; /* Resetear apariencia navegador */
    line-height: normal !important; /* Asegurar altura línea normal */
}


#cta-final .cta-button-modern:hover {
    /* === Copia EXACTA de los estilos hover === */
    background-color: var(--color-primary-modern) !important; /* Fondo azul FORZADO */
    color: #ffffff !important; /* Texto blanco FORZADO */
    transform: translateY(-3px) !important; 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important; 
    border: none !important; /* Sin borde en hover FORZADO */
}

/* --- SECCIÓN ESPECIFICACIONES (NUEVA) --- */
.specs-grid {
    display: grid;
    /* 4 columnas en desktop, 2 en tablet, 1 en móvil */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.spec-card {
    background-color: transparent;
    border: 1px solid var(--color-text-muted, #ebebeb);
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 51, 160, 0.1); /* Sombra azulada */
}

.spec-icon {
    margin-bottom: 20px;
    height: 60px; /* Altura fija para alinear */
    display: flex;
    justify-content: center;
    align-items: center;
}

.spec-icon i {
    stroke: var(--color-primary-modern); /* Icono azul */
    width: 158px;
    height: 58px;
    stroke-width: 2;
}
/* Si usas <img> en lugar de <i> */
.spec-icon img {
    width: 160px; /* Ancho automático */
    height:160px; /* La altura controlará el tamaño */
    max-height: 90px; /* Altura máxima de la imagen */
    object-fit: contain;
}

.spec-title {
    font-family: var(--font-heading-modern);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-dark);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.spec-description {
    font-family: var(--font-body-modern);
    font-size: 1rem;
    color: var(--color-text-medium, #555);
    line-height: 1.6;
}

/* Responsive para la rejilla de especificaciones */
@media (max-width: 992px) {
    .specs-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    }
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr; /* 1 columna en móvil */
    }
}