/* ================================================================
   1. EL DESIGN SYSTEM (MÁS DE 100 VARIABLES DE CONTROL)
   ================================================================ */
:root {
    /* --- Identidad Cromática Primosa --- */
    --accent: #ce0000;
    --accent-rgb: 206, 0, 0;
    --accent-dark: #8b0000;
    --accent-bright: #ff1a1a;
    --accent-glow: rgba(206, 0, 0, 0.45);
    --accent-soft: rgba(206, 0, 0, 0.08);
    --accent-ultra-soft: rgba(206, 0, 0, 0.03);

    /* --- Arquitectura de Superficies (Elevación) --- */
    --bg-0: #000000;         /* Negro absoluto (Background) */
    --bg-1: #050505;         /* Negro profundo (Secciones) */
    --bg-2: #0a0a0a;         /* Gris carbón (Tarjetas Nivel 1) */
    --bg-3: #111111;         /* Gris industrial (Elevación Nivel 2) */
    --bg-4: #1a1a1a;         /* Gris de contraste (Hover) */
    --bg-glass: rgba(10, 10, 10, 0.75);

    /* --- Escala de Blancos e Iluminación --- */
    --white: #ffffff;
    --text-high: #f5f5f7;    /* Texto principal / Títulos */
    --text-mid: #a1a1a6;     /* Cuerpo de texto / Descripciones */
    --text-low: #6e6e73;     /* Texto deshabilitado / Legal / Placeholders */
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.18);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* --- Tipografía de Alta Ingeniería --- */
    --font-h: 'Syncopate', sans-serif;
    --font-b: 'Plus Jakarta Sans', sans-serif;
    
    /* --- Sistema de Movimiento de Autor --- */
    --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6);
    --ts: 0.3s var(--ease-out);
    --tm: 0.6s var(--ease-out);
    --tl: 1.2s var(--ease-out);

    /* --- Geometría y Layout --- */
    --radius-pill: 100px;
    --radius-xl: 48px;
    --radius-l: 24px;
    --radius-m: 12px;
    --container: 1440px;
}

/* ================================================================
   2. RESET TÉCNICO DE PRECISIÓN MILIMÉTRICA
   ================================================================ */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--bg-0);
}

body {
    background-color: var(--bg-1);
    color: var(--text-high);
    font-family: var(--font-b);
    line-height: 1.8;
    overflow-x: hidden;
    cursor: default;
    word-spacing: 0.5px;
}

/* Scrollbar Personalizada Primosa Core */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { 
    background: var(--text-low); 
    border-radius: 10px; 
    transition: var(--ts);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Estructura Base de Contenedores */
.container { 
    width: 90%; 
    max-width: var(--container); 
    margin: 0 auto; 
    position: relative; 
}

a { text-decoration: none; color: inherit; transition: var(--ts); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ================================================================
   3. NAVEGACIÓN GLASSMORPHISM V2 (ESTABILIDAD TOTAL)
   ================================================================ */
.glass-nav {
    position: fixed;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    max-width: 1400px;
    z-index: 10000;
    padding: 14px 45px;
    background: var(--bg-glass);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    transition: all 0.8s var(--ease-out);
}

/* Estado Scroll: La nav se compacta */
.glass-nav.scrolled {
    top: 15px;
    width: 98%;
    padding: 10px 50px;
    background: rgba(5, 5, 5, 0.98);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.nav-content {
    display: grid;
    grid-template-columns: auto 1fr auto; /* Bloqueo de 3 columnas para evitar saltos */
    align-items: center;
    gap: 40px;
}

/* Marca Primosa */
.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 210px; /* Crucial: Bloquea el ancho para que los idiomas no se muevan */
}

.main-logo { 
    height: 46px; 
    width: auto; 
    transition: var(--tm);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.05));
}

.brand-wrapper:hover .main-logo { 
    transform: rotate(-8deg) scale(1.1); 
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.brand-text { display: flex; flex-direction: column; }
.p-name { 
    font-family: var(--font-h); 
    font-size: 19px; 
    letter-spacing: 2px; 
    line-height: 1; 
    font-weight: 700;
}

.p-sub { 
    font-size: 8.5px; 
    font-weight: 900; 
    color: var(--accent); 
    letter-spacing: 4.5px; 
    text-transform: uppercase;
    margin-top: 4px;
}

/* Links Centrales */
.nav-center { display: flex; justify-content: center; }
.nav-links { display: flex; gap: 35px; align-items: center; }

.nav-links a {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    color: var(--text-mid);
    padding: 6px 0;
    position: relative;
    opacity: 0.8;
}

.nav-links a:hover { 
    color: var(--white); 
    opacity: 1; 
    transform: translateY(-1px);
}

/* Subrayado Animado */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: var(--tm);
}

.nav-links a:hover::after { width: 100%; }

/* Lado Derecho: Idiomas y CTA */
.nav-right {
    display: flex;
    align-items: center;
    gap: 35px;
    min-width: 250px; /* Bloqueo de ancho derecho */
    justify-content: flex-end;
}

/* Selector de Idiomas Blindado */
.lang-selector {
    display: flex;
    gap: 12px;
    padding-right: 25px;
    border-right: 1px solid var(--border);
    height: 20px;
    align-items: center;
}

.lang-btn {
    font-size: 10px;
    font-weight: 900;
    color: var(--text-low);
    letter-spacing: 1px;
    transition: var(--ts);
    position: relative;
}

.lang-btn:hover, .lang-btn.active { color: var(--accent); }
.lang-btn.active::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 3px;
    background: var(--accent);
    border-radius: 50%;
}

/* Botón Contacto en Menú */
.cta-nav a {
    background: var(--white) !important;
    color: var(--bg-0) !important;
    padding: 12px 28px !important;
    border-radius: var(--radius-pill);
    font-weight: 900 !important;
    font-size: 11px !important;
    box-shadow: 0 4px 15px rgba(255,255,255,0.1);
}

.cta-nav a:hover {
    background: var(--accent) !important;
    color: var(--white) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px var(--accent-glow);
}

/* ================================================================
   4. HERO PREMIUM (CORREGIDO Y SIN SOLAPAMIENTOS)
   ================================================================ */
.hero-premium {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-0);
    /* Compensamos la altura del nav para que el título no quede tapado */
    padding-top: 100px; 
}

.hero-bg-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transform: scale(1.1);
    animation: heroImageMotion 30s linear infinite alternate;
}

@keyframes heroImageMotion {
    0% { transform: scale(1.1) translate(0, 0); }
    100% { transform: scale(1.2) translate(-1%, -1%); }
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        var(--bg-0) 0%, 
        transparent 30%, 
        transparent 70%, 
        var(--bg-0) 100%);
    z-index: 2;
}

.hero-content-overlay {
    position: relative;
    z-index: 5; /* Por debajo de la nav (z-index 10000) */
    text-align: center;
    max-width: 1300px;
    padding: 0 5%;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    color: var(--accent);
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.main-title {
    font-family: var(--font-h);
    font-size: clamp(3rem, 10vw, 7.5rem);
    line-height: 0.9;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
}

.outline {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--white);
    opacity: 0.9;
}

.hero-footer p {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-mid);
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 400;
    line-height: 1.6;
}

/* Botón Rectangular Rojo (Exacto a tu captura) */
.hero-cta-main {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 22px 50px;
    background: var(--accent);
    color: var(--white);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    border-radius: 2px; /* Rectangular como en la imagen */
    text-transform: uppercase;
    box-shadow: 0 15px 40px rgba(206, 0, 0, 0.3);
    transition: var(--tm);
}

.hero-cta-main:hover {
    background: var(--accent-bright);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--accent-glow);
}

/* ================================================================
   5. TRUST BAR: ICONOGRAFÍA Y ESTILO (REVISADO)
   ================================================================ */
.trust-bar {
    background: var(--bg-1);
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 20; /* Asegura que esté por encima de cualquier sombra del Hero */
}

.trust-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    border-radius: var(--radius-m);
    transition: var(--ts);
    flex: 1;
    justify-content: center;
}

/* Estilo de los Iconos */
.trust-item i {
    font-size: 24px;
    color: var(--accent);
    filter: drop-shadow(0 0 8px var(--accent-glow));
    transition: var(--tm);
}

.trust-item span {
    font-family: var(--font-h);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-mid);
    text-transform: uppercase;
    white-space: nowrap; /* Evita que el texto salte de línea */
}

/* Efecto Hover Individual */
.trust-item:hover {
    background: var(--accent-ultra-soft);
    transform: translateY(-5px);
}

.trust-item:hover i {
    transform: scale(1.2);
    color: var(--accent-bright);
    filter: drop-shadow(0 0 15px var(--accent-glow));
}

.trust-item:hover span {
    color: var(--white);
}

/* Responsivo para la barra */
@media (max-width: 992px) {
    .trust-flex {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .trust-item {
        justify-content: flex-start;
    }
}
/* Ajuste específico para Responsivo en Parte 2 */
@media (max-width: 1024px) {
    .trust-flex {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* ================================================================
   6. SECCIÓN MAESTRÍA (BENTO GRID CORREGIDO)
   ================================================================ */
.expertise-section {
    padding: 100px 0;
    background: var(--bg-0);
}

/* Título de sección que pusiste en el HTML */
.section-title.reveal {
    font-family: var(--font-h);
    font-size: 14px;
    letter-spacing: 5px;
    color: var(--text-low);
    margin-bottom: 60px;
    text-transform: uppercase;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Columnas */
    gap: 25px;
}

/* Base de tus bento-item */
.bento-item {
    background: var(--bg-1);
    border-radius: 40px; /* Redondeado de la imagen */
    padding: 60px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.6s var(--ease-out), background 0.6s var(--ease-out), border-color 0.6s var(--ease-out);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

/* Tu clase .bento-tag (01, 02, 03...) */
.bento-tag {
    font-family: var(--font-h);
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 30px;
    display: block;
}

/* Estilo especial para el tag "DESDE 2005" que tienes en la item-4 */
.bento-tag.red {
    display: inline-block;
    background: rgba(206, 0, 0, 0.1);
    color: var(--accent);
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid var(--accent);
}

.bento-content h3 {
    font-family: var(--font-b);
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.1;
}

.bento-content p {
    color: var(--text-mid);
    font-size: 18px;
    line-height: 1.5;
    max-width: 350px;
}

/* Iconos de fondo con tu clase .bento-bg-icon */
.bento-bg-icon {
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-size: 250px;
    color: rgba(255, 255, 255, 0.02);
    transform: rotate(-10deg);
    pointer-events: none;
    transition: transform 0.8s var(--ease-out), color 0.8s var(--ease-out);
    z-index: 1;
}

/* Soporte para la clase 'small' que tienes en algunos iconos */
.bento-bg-icon.small {
    font-size: 200px;
}

/* Animación al pasar el ratón */
.bento-item:hover {
    background: var(--bg-2);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.bento-item:hover .bento-bg-icon {
    color: rgba(206, 0, 0, 0.08);
    transform: rotate(0deg) scale(1.1);
}

/* ================================================================
   7. STATS Y BOTONES (COINCIDIENDO CON TU HTML)
   ================================================================ */
.bento-stats {
    display: flex;
    gap: 40px;
    margin-top: auto; /* Empuja hacia abajo */
    padding-top: 30px;
}

/* Clase .stat de tu HTML */
.stat {
    display: flex;
    flex-direction: column;
}

.stat span {
    font-size: 45px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat label {
    font-size: 10px;
    font-weight: 900;
    color: var(--accent);
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Tu clase .bento-btn (flecha derecha) */
.bento-btn {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: 0 10px 30px rgba(206, 0, 0, 0.3);
    transition: 0.4s var(--ease-out);
    z-index: 10;
}

.bento-btn:hover {
    background: var(--white);
    color: var(--accent);
    transform: scale(1.1) rotate(-45deg);
}

/* Responsivo para que no se rompa en tablets/móvil */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item {
        min-height: 350px;
        padding: 40px;
    }
}

/* ================================================================
   7.5 NUESTRA METODOLOGÍA (PROCESS SECTION)
   ================================================================ */
.process-section {
    padding: 100px 0;
    background: var(--bg-1); /* Un tono gris muy oscuro para diferenciar */
    border-top: 1px solid var(--border);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 pasos iguales */
    gap: 40px;
    position: relative;
}

/* Las tarjetas de proceso */
.process-card {
    background: var(--bg-0);
    padding: 60px 45px;
    border-radius: var(--radius-l);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.5s var(--ease-out);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* El número de paso (01, 02, 03) */
.p-num {
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
}

/* Pequeña línea decorativa después del número */
.p-num::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--accent-glow);
}

.process-card h4 {
    font-family: var(--font-b);
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.process-card p {
    font-family: var(--font-b) !important; /* <--- Añade esto solo para probar */
    color: var(--text-mid);
    font-size: 16px;
    line-height: 1.6;
}

/* Efectos Hover para los pasos */
.process-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    background: var(--bg-2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.process-card:hover .p-num {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

/* Línea de conexión entre tarjetas (Solo en Desktop) */
@media (min-width: 1024px) {
    .process-card:not(:last-child)::before {
        content: '→';
        position: absolute;
        right: -30px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        color: var(--border);
        z-index: 5;
    }
}

/* Responsivo para Metodología */
@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr; /* Uno debajo de otro en móvil */
        gap: 20px;
    }
    
    .process-card {
        padding: 40px;
    }

    .p-num::after {
        display: none;
    }
}

/* ================================================================
   8. SECCIÓN CONTACTO (ADAPTACIÓN EXACTA AL HTML)
   ================================================================ */
.contact-section {
    background: var(--bg-0);
    padding: 120px 0;
    border-top: 1px solid var(--border);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* División perfecta 50/50 */
    gap: 100px;
    align-items: start;
}

/* --- Lado Izquierdo: Info --- */
.massive-title {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 0.9;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 60px;
    text-transform: uppercase;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.c-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    transition: var(--ts);
}

.c-card i {
    font-size: 20px;
    color: var(--accent);
}

.c-card span {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-high);
}

.c-card:hover {
    border-color: var(--accent);
    transform: translateX(10px);
    background: var(--bg-2);
}

/* --- Lado Derecho: Formulario --- */
.contact-form-box {
    background: var(--bg-1);
    padding: 50px;
    border-radius: var(--radius-l);
    border: 1px solid var(--border);
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Inputs y Textarea Estilo Primosa */
.premium-form input,
.premium-form textarea {
    width: 100%;
    background: var(--bg-0);
    border: 1px solid var(--border);
    padding: 18px 25px;
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-b);
    font-size: 16px;
    transition: var(--ts);
    outline: none;
}

.premium-form input:focus,
.premium-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-ultra-soft);
}

/* Placeholder sutil */
.premium-form ::placeholder {
    color: var(--text-low);
    opacity: 0.5;
}

/* Botón ENVIAR SOLICITUD (Diseño de Autor) */
.submit-btn {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    padding: 22px 35px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between; /* Texto izquierda, icono derecha */
    align-items: center;
    font-family: var(--font-h);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    transition: var(--tm);
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--accent-bright);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--accent-glow);
}

.submit-btn i {
    font-size: 18px;
    transition: var(--ts);
}

.submit-btn:hover i {
    transform: translateX(8px) rotate(-15deg);
}

/* --- Responsivo --- */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-form-box {
        padding: 30px;
    }

    .massive-title {
        text-align: center;
    }
}

/* ================================================================
   9. ULTRA FOOTER (REVISIÓN DE ALTA FIDELIDAD)
   ================================================================ */
.ultra-footer {
    background: var(--bg-1);
    padding: 100px 0 50px; /* Más aire para que respire el diseño */
    border-top: 1px solid var(--border);
    width: 100%;
}

.f-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Alinea los elementos a la base para mayor elegancia */
}

/* Contenedor del Logo y Copyright */
.f-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 400px;
}

.f-logo {
    display: block;
    height: 55px; /* Tamaño ideal para visibilidad técnica */
    width: auto;
    object-fit: contain;
    /* Mejora el renderizado de la imagen en navegadores */
    image-rendering: -webkit-optimize-contrast; 
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.05));
    transition: var(--tm);
}

.f-logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 12px var(--accent-glow));
}

.f-left p {
    font-family: var(--font-b);
    font-size: 11px;
    font-weight: 600;
    color: var(--text-low);
    letter-spacing: 1px;
    margin: 0;
}

/* Lado Derecho: Redes y Legal */
.f-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 35px;
}

.f-socials {
    display: flex;
    gap: 15px;
}

.f-socials a {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mid);
    font-size: 18px;
    transition: var(--tm);
    background: transparent;
}

.f-socials a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.f-legal {
    display: flex;
    gap: 30px;
}

.f-legal a {
    font-size: 10px;
    font-weight: 800;
    color: var(--text-low);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--ts);
    text-decoration: none;
}

.f-legal a:hover {
    color: var(--accent);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .f-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 60px;
    }

    .f-right {
        align-items: center;
    }
    
    .f-logo {
        margin: 0 auto;
    }
}

/* ================================================================
   10. ADD-ON: SECCIÓN SERVICIOS (HEREDANDO DESIGN SYSTEM)
   ================================================================ */

/* Hero Header de Servicios */
.services-hero-header {
    padding: 220px 0 100px;
    background: var(--bg-0);
    text-align: center;
    border-bottom: 1px solid var(--border);
}

/* Grid de Servicios */
.services-grid-detailed {
    padding: 120px 0;
    background: var(--bg-1);
}

.s-card-premium {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 150px;
}

/* Inversión para el efecto zigzag */
.s-card-premium.reverse {
    direction: rtl;
}
.s-card-premium.reverse .s-card-info {
    direction: ltr;
}

/* Info del Servicio */
.s-card-number {
    font-family: var(--font-h);
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    letter-spacing: 4px;
}

.s-card-info h2 {
    font-family: var(--font-h);
    font-size: clamp(28px, 4vw, 45px);
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--white);
}

.s-card-divider {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-bottom: 35px;
    box-shadow: 0 0 15px var(--accent-glow);
}

.s-card-info p {
    font-size: 18px;
    color: var(--text-mid);
    max-width: 500px;
    margin-bottom: 40px;
}

/* Especificaciones Técnicas */
.s-card-specs {
    display: flex;
    gap: 40px;
    padding-top: 35px;
    border-top: 1px solid var(--border);
}

.spec-block span {
    display: block;
    font-size: 9px;
    font-weight: 900;
    color: var(--text-low);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.spec-block label {
    font-family: var(--font-h);
    font-size: 13px;
    color: var(--white);
    font-weight: 700;
}

/* Visuales de Servicios */
.s-img-frame {
    border-radius: var(--radius-l);
    overflow: hidden;
    height: 550px;
    border: 1px solid var(--border);
    position: relative;
}

.s-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--tl);
}

.s-card-premium:hover .s-img-frame img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Responsivo Servicios */
@media (max-width: 992px) {
    .s-card-premium, .s-card-premium.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 100px;
    }
    
    .s-img-frame {
        height: 350px;
    }
}

/* --- Estado Activo para la Navegación --- */
.nav-links a.active {
    color: var(--white);
    opacity: 1;
}

.nav-links a.active::after {
    width: 100%; /* Mantiene la línea roja visible siempre en la página actual */
}

/* Opcional: un sutil brillo para destacar que estás ahí */
.nav-links a.active {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* ================================================================
   EVOLUCIÓN HERO SERVICIOS (DYNAMIC & IMMERSIVE)
   ================================================================ */

.services-hero-header {
    position: relative;
    min-height: 90vh; /* Ocupa casi toda la pantalla */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 140px; /* Espacio para la nav */
}

/* El contenedor del fondo */
.hero-bg-visual {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2); /* Oscurecemos para que el texto brille */
    transform: scale(1.05);
    transition: transform 10s linear;
}

.services-hero-header:hover .hero-img {
    transform: scale(1.15); /* Efecto de zoom lento */
}

/* Gradiente para que la nav se vea bien arriba y el contenido abajo */
.hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.8) 0%, 
        transparent 40%, 
        transparent 70%, 
        var(--bg-1) 100%);
}

/* Efecto de malla metálica (Súper Pro) */
.hero-mesh-texture {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

/* Estilo de contenido centrado */
.hero-content-v2 {
    text-align: center;
    z-index: 10;
}

/* Indicador de "Sigue bajando" */
.scroll-indicator {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.mouse {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    position: relative;
    animation: scrollLine 2s infinite var(--ease-in-out);
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
/* Ajuste para que la imagen de servicios brille un poco más si el fondo es muy negro */
.hero-premium .hero-img-full {
    opacity: 0.6; /* Sube de 0.4 a 0.6 para que se vea más */
    filter: brightness(0.8) grayscale(0.3); /* Un toque industrial */
}

.services-grid-detailed {
    padding: 150px 0;
    background: var(--bg-1);
    position: relative;
    z-index: 10; /* Para que suba por encima del efecto vignette del hero */
}

/* Mejora del frame de imagen */
.s-img-frame {
    position: relative;
    background: var(--bg-2);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.s-img-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 100px rgba(0,0,0,0.3); /* Viñeta interna para profundidad */
    pointer-events: none;
}
/* Brillo metálico dinámico en hover */
.s-card-premium:hover .s-img-frame::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg);
    transition: 0.8s;
    z-index: 2;
}

.s-card-premium:hover .s-img-frame::before {
    left: 150%;
}

/* --- Estilos Especificaciones Técnicas --- */
.tech-specs-section {
    padding: 120px 0;
    background: var(--bg-0);
    border-top: 1px solid var(--border);
}

.specs-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.spec-icon-item {
    padding: 40px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    transition: var(--tm);
}

.spec-icon-item i {
    font-size: 35px;
    color: var(--accent);
    margin-bottom: 25px;
}

.spec-icon-item h3 {
    font-family: var(--font-h);
    font-size: 14px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: var(--white);
}

.spec-icon-item p {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.6;
}

.spec-icon-item:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    background: var(--bg-3);
}

/* --- Banner de Valores --- */
.values-accent-section {
    padding: 80px 0;
    background: var(--accent-soft);
    border-top: 1px solid var(--accent);
}

.values-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.value-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .values-flex {
        flex-direction: column;
        text-align: center;
    }
}


/* --- FILTROS (STICKY) --- */
.filter-section {
    padding: 30px 0;
    background: var(--bg-0);
    position: sticky;
    top: 80px; /* Si tu nav mide 80px */
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #777;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-h);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    letter-spacing: 1px;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 10px 20px rgba(230, 34, 34, 0.2);
    transform: translateY(-2px);
}

/* --- GALERÍA BENTO GRID --- */
.gallery-section {
    padding: 80px 0 120px;
    background: var(--bg-0);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 320px; /* Altura base de las filas */
    gap: 25px;
}

.project-card {
    grid-column: span 4; /* Por defecto ocupa 4 de 12 (3 columnas) */
    position: relative;
    overflow: hidden;
    background: #111;
    border-radius: 4px; /* Un toque muy leve de redondeo */
}

/* Variaciones de tamaño */
.project-card.large { grid-column: span 8; } 
.project-card.wide { grid-column: span 8; }
.project-card.tall { grid-row: span 2; } /* Ocupa dos filas de alto */

.p-img-box {
    width: 100%;
    height: 100%;
}

.p-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.p-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, 
        rgba(0,0,0,0.95) 0%, 
        rgba(0,0,0,0.4) 50%, 
        transparent 100%);
    opacity: 0.9;
    transition: opacity 0.4s ease;
}

.p-info {
    position: absolute;
    bottom: 0;
    padding: 40px;
    width: 100%;
    z-index: 2;
    transform: translateY(10px);
    transition: transform 0.4s ease;
}

.p-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.p-cat {
    color: var(--accent);
    font-family: var(--font-h);
    font-size: 9px;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
}

.p-year {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
}

.p-info h3 {
    font-family: var(--font-h);
    font-size: 20px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.p-link {
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-h);
    font-size: 10px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0; /* Solo se ve al hacer hover */
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

/* HOVER EFFECTS */
.project-card:hover .p-img-box img {
    transform: scale(1.08);
}

.project-card:hover .p-info {
    transform: translateY(0);
}

.project-card:hover .p-link {
    opacity: 1;
    transform: translateX(0);
}

.project-card:hover .p-overlay {
    background: linear-gradient(to top, 
        rgba(230, 34, 34, 0.4) 0%, /* Tinte rojo sutil al pasar el ratón */
        rgba(0,0,0,0.8) 100%);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .project-card.large, .project-card.wide { grid-column: span 12; }
    .project-card { grid-column: span 6; }
}

@media (max-width: 768px) {
    .projects-grid { grid-auto-rows: 350px; }
    .project-card, .project-card.large, .project-card.wide, .project-card.tall { 
        grid-column: span 12; 
    }
    .filter-section { top: 70px; }
    .p-info { padding: 30px; }
}

/* --- TARJETA DE BRANDING (ANIVERSARIO) --- */
.branding-card {
    background: linear-gradient(135deg, #111 0%, #050505 100%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid var(--accent) !important; /* Borde rojo sutil */
    position: relative;
}

/* Efecto de brillo metálico que se mueve */
.branding-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(230, 34, 34, 0.05), transparent);
    transform: rotate(45deg);
    animation: metalShine 6s infinite linear;
}

@keyframes metalShine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.branding-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.b-icon img {
    height: 40px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px var(--accent-glow));
}

.b-number {
    display: block;
    font-family: var(--font-h);
    font-size: 80px;
    line-height: 1;
    color: var(--white);
    font-weight: 700;
}

.b-label {
    display: block;
    font-family: var(--font-h);
    font-size: 14px;
    letter-spacing: 10px;
    color: var(--accent);
    margin-bottom: 15px;
}

.b-divider {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 15px auto;
}

.b-text p {
    font-family: var(--font-h);
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--text-mid);
}

.b-years {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: rgba(255,255,255,0.2);
    font-family: var(--font-b);
    letter-spacing: 2px;
}

/* --- FIX TARJETA BRANDING --- */
.branding-card {
    background: #0a0a0a !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(230, 34, 34, 0.3) !important;
    overflow: hidden;
}

.branding-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
    gap: 10px; /* Espacio uniforme entre bloques */
}

.b-icon img {
    height: 35px;
    margin-bottom: 10px;
}

.b-main-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.b-number {
    font-family: var(--font-h);
    font-size: clamp(60px, 5vw, 80px);
    line-height: 0.9;
    color: var(--white);
    font-weight: 700;
}

.b-label {
    font-family: var(--font-h);
    font-size: 12px;
    letter-spacing: 6px;
    color: var(--accent);
    font-weight: 700;
}

.b-divider {
    width: 30px;
    height: 2px;
    background: var(--accent);
    margin: 10px 0;
}

.b-footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Separa el lema de las fechas */
}

.b-footer-info p {
    font-family: var(--font-h);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--white);
    max-width: 200px;
    line-height: 1.4;
}

.b-years {
    font-family: var(--font-b);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 3px;
    font-weight: 600;
}

.primosa-smart-engine { padding: 80px 0; background: #000; }
.engine-main-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; }

.ui-badge { color: var(--accent); font-family: 'Syncopate'; font-size: 8px; letter-spacing: 3px; display: block; margin-bottom: 10px; }
.ui-header h2 { font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.ui-header p { color: #555; font-size: 13px; }

.textarea-wrapper { position: relative; margin-top: 30px; }
textarea {
    width: 100%; height: 220px; background: #080808; border: 1px solid #1a1a1a;
    border-radius: 12px; padding: 25px; color: #fff; font-size: 1.1rem; line-height: 1.6;
    transition: 0.3s; resize: none;
}
textarea:focus { border-color: var(--accent); outline: none; background: #0c0c0c; }

.typing-status { font-size: 10px; color: #444; margin-top: 10px; display: flex; align-items: center; gap: 8px; }
.dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; opacity: 0.5; }

.quick-examples { margin-top: 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.quick-examples span { font-size: 11px; color: #333; }
.quick-examples button { background: #111; border: 1px solid #222; color: #666; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 11px; }

/* Tarjeta Técnica */
.tech-sheet { background: #0a0a0a; border: 1px solid #222; border-radius: 12px; padding: 35px; position: sticky; top: 100px; }
.sheet-header h3 { font-family: var(--font-h); font-size: 12px; color: var(--accent); border-bottom: 1px solid #222; padding-bottom: 15px; margin-bottom: 25px; }

.s-row { display: flex; justify-content: space-between; margin-bottom: 20px; align-items: flex-start; }
.s-label { font-size: 9px; color: #444; font-weight: 800; }
.s-val { font-size: 14px; color: #eee; text-align: right; }

.s-tags { display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; max-width: 200px; }
.t-tag { background: #1a1a1a; font-size: 9px; padding: 3px 8px; border-radius: 3px; color: #888; border: 1px solid #333; }

.sheet-price { background: #000; padding: 25px; border-radius: 8px; margin-top: 30px; text-align: center; border: 1px solid var(--accent); }
.price-label { font-size: 9px; color: var(--accent); margin-bottom: 10px; }
.price-val { font-family: var(--font-h); font-size: 2.2rem; color: #fff; }

.cta-engine { width: 100%; background: var(--accent); color: #fff; border: none; padding: 18px; margin-top: 20px; font-weight: 800; cursor: pointer; }

@media (max-width: 900px) { .engine-main-grid { grid-template-columns: 1fr; } }
.primosa-ai-system { padding: 80px 0; background: #000; }
.engine-grid { display: grid; grid-template-columns: 1fr 400px; gap: 40px; }

.input-panel { background: #080808; border: 1px solid #1a1a1a; padding: 40px; border-radius: 12px; }
.badge-ai { color: var(--accent); font-family: 'Syncopate'; font-size: 8px; margin-bottom: 20px; letter-spacing: 2px; }

textarea {
    width: 100%; height: 180px; background: #000; border: 1px solid #222; border-radius: 8px;
    padding: 20px; color: #fff; font-size: 1.1rem; resize: none;
}

.contact-fields { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
.contact-fields input { background: #000; border: 1px solid #222; padding: 12px; color: #fff; border-radius: 4px; }

.report-panel { background: #111; border: 1px solid #222; padding: 35px; border-radius: 12px; height: fit-content; }
.report-item { display: flex; justify-content: space-between; margin-bottom: 20px; border-bottom: 1px solid #222; padding-bottom: 10px; }
.report-item .l { font-size: 9px; color: #555; font-weight: 800; }
.report-item .v { font-size: 14px; color: #fff; text-align: right; }
.price { color: var(--accent) !important; font-weight: 800; font-size: 1.8rem !important; }

.send-btn { width: 100%; background: var(--accent); color: #fff; border: none; padding: 20px; font-weight: 800; cursor: pointer; margin-top: 20px; transition: 0.3s; }
.send-btn:hover { background: #fff; color: #000; }

.bot-note { font-size: 9px; color: #444; margin-top: 15px; text-align: center; font-style: italic; }

/* --- ESTILOS EMPRESA --- */

.page-hero-enterprise {
    padding: 160px 0 80px;
    background: #000;
    text-align: center;
    border-bottom: 1px solid #111;
}

.page-hero-enterprise h1 { font-size: 3rem; margin-bottom: 15px; }
.page-hero-enterprise .subtitle { color: var(--accent); letter-spacing: 3px; font-size: 0.8rem; text-transform: uppercase; }

/* Timeline */
.section-label { font-size: 11px; letter-spacing: 5px; color: #333; margin-bottom: 60px; text-align: center; }
.history-content { padding: 100px 0; background: #050505; }
.timeline-block { max-width: 800px; margin: 0 auto; }

.entry { margin-bottom: 80px; position: relative; padding-left: 40px; border-left: 1px solid var(--accent); }
.entry-header { margin-bottom: 15px; }
.entry-year { display: block; font-weight: 800; color: var(--accent); font-size: 1.2rem; margin-bottom: 5px; }
.entry h3 { font-size: 1.8rem; color: #fff; }
.entry p { color: #888; line-height: 1.8; }

/* Founders */
.founders-section { padding: 100px 0; background: #000; }
.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; }
.founder-card { background: #080808; border: 1px solid #111; padding: 30px; }
.f-image-box { position: relative; margin-bottom: 25px; height: 400px; overflow: hidden; }
.f-image-box img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: 0.5s; }
.f-tag { position: absolute; bottom: 0; right: 0; background: var(--accent); color: #fff; padding: 8px 15px; font-size: 10px; font-weight: 700; }
.founder-card:hover img { filter: grayscale(0); }
.founder-card h3 { margin-bottom: 10px; color: #fff; }

/* Filosofía */
.philosophy-grid-section { padding: 100px 0; background: #050505; }
.ph-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 80px; }
.ph-box { text-align: center; padding: 20px; }
.ph-box h4 { color: var(--accent); margin-bottom: 15px; }
.ph-box p { color: #666; font-size: 0.9rem; }

.cta-enterprise { text-align: center; border-top: 1px solid #111; padding-top: 60px; }
.btn-enterprise-cta { 
    display: inline-block; margin-top: 30px; padding: 18px 40px; 
    background: var(--accent); color: #fff; text-decoration: none; font-weight: 800;
}

@media (max-width: 768px) {
    .founders-grid, .ph-container { grid-template-columns: 1fr; }
    .page-hero-enterprise h1 { font-size: 2.2rem; }
}
/* --- ADAPTACIÓN HERO EMPRESA --- */
.empresa-hero .main-title {
    line-height: 0.9;
    margin: 20px 0;
}

.empresa-hero .outline {
    -webkit-text-stroke: 1px var(--accent);
    color: transparent;
}

/* --- SECCIONES DE HISTORIA --- */
.story-container {
    background: #000;
    padding-bottom: 100px;
}

.story-section {
    padding: 120px 0;
    border-bottom: 1px solid #111;
}

.grid-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-section.reverse .grid-story {
    direction: rtl;
}

.story-section.reverse .story-info {
    direction: ltr;
}

.story-year {
    font-family: 'Syncopate', sans-serif; /* O la tipografía de títulos que uses */
    color: var(--accent);
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.2;
    display: block;
    margin-bottom: -20px;
}

.story-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #fff;
}

.story-info p {
    color: #888;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* MARCOS INDUSTRIALES PARA IMÁGENES */
.industrial-frame {
    position: relative;
    padding: 20px;
    border: 1px solid #222;
}

.industrial-frame::before {
    content: "";
    position: absolute;
    top: -5px; left: -5px;
    width: 20px; height: 20px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.industrial-frame img {
    width: 100%;
    filter: grayscale(1);
    transition: 0.5s;
}

.industrial-frame:hover img {
    filter: grayscale(0);
}

/* SECCIÓN FUNDADORES */
.founders-premium {
    padding: 120px 0;
    text-align: center;
}

.founders-flex {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
}

.founder-card {
    position: relative;
    width: 350px;
    overflow: hidden;
}

.founder-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: grayscale(1);
    transition: 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.founder-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0);
}

.f-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, #000);
    text-align: left;
}

.f-info h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.f-info span {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .grid-story { grid-template-columns: 1fr; gap: 40px; }
    .founders-flex { flex-direction: column; align-items: center; }
}