/* ========================================
   GRUPO 8A — LA GRANDE CONSTRUCTORA S.A. DE C.V.
   CSS CORPORATIVO V3.0 (NAVBAR Y HERO OPTIMIZADOS)
======================================== */

/* === VARIABLES CORPORATIVAS === */

:root {
    --silver-primary: #C0C0C0;
    --silver-dark: #A8A8A8;
    --silver-light: #D8D8D8;
    --silver-glow: rgba(192, 192, 192, 0.6);

    --gray-darkest: #1A1A1A;
    --gray-darker: #2A2A2A;
    --gray-dark: #3A3A3A;
    --gray-medium: #4A4A4A;
    --gray-light: #6A6A6A;
    --gray-lighter: #8A8A8A;
    --gray-lightest: #ABABAB;

    --black: #0D0D0D;
    --black-light: #151515;
    --black-overlay: rgba(13, 13, 13, 0.92);

    --white: #FFFFFF;
    --text-primary: #E5E5E5;
    --text-secondary: #CCCCCC;
    --text-muted: #999999;

    --accent-blue: #4A90E2;
    --accent-green: #50C878;
    --success: #4CAF50;
    --warning: #FFA726;
    --error: #EF5350;
    --info: #42A5F5;

    --font-heading: 'Barlow', sans-serif;
    --font-body: 'Rajdhani', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --shadow-silver: 0 10px 40px rgba(192, 192, 192, 0.3);
    --shadow-silver-lg: 0 20px 60px rgba(192, 192, 192, 0.4);
    --shadow-black: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-black-lg: 0 20px 50px rgba(0, 0, 0, 0.9);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
}

/* === RESET MEJORADO === */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-fluid {
    width: 100%;
    padding: 0 40px;
}

/* ========================================
   LOADING SCREEN
======================================== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 220px;
    margin: 0 auto 40px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-logo img {
    filter: drop-shadow(0 0 30px var(--silver-glow));
}

.loading-bar {
    width: 320px;
    height: 4px;
    background: var(--gray-darker);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--silver-dark), var(--silver-light));
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px var(--silver-glow);
}

.loading-text {
    color: var(--text-secondary);
    font-size: 0.9em;
    letter-spacing: 3px;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ========================================
   CUSTOM CURSOR
======================================== */

.custom-cursor,
.cursor-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.custom-cursor {
    width: 10px;
    height: 10px;
    background: var(--silver-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.cursor-inner {
    width: 100%;
    height: 100%;
    background: var(--silver-primary);
    border-radius: 50%;
    animation: cursorPulse 1.5s infinite;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--silver-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
}

.cursor-hover {
    width: 60px;
    height: 60px;
}

@keyframes cursorPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* ========================================
   NAVBAR (MEJORADO Y COMPACTO)
======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(13,13,13,0.98) 0%, rgba(13,13,13,0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 2px solid rgba(192, 192, 192, 0.3);
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.8);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(13, 13, 13, 0.99);
    border-bottom-color: var(--silver-primary);
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.95);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 6px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    position: relative;
}

.nav-brand::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--silver-primary), transparent);
}

.nav-brand img {
    height: 70px;
    filter: drop-shadow(0 5px 20px rgba(192, 192, 192, 0.4));
    transition: all var(--transition);
}

.nav-brand:hover img {
    filter: drop-shadow(0 8px 30px rgba(192, 192, 192, 0.7));
    transform: scale(1.03);
}

/* Botón "Regresar a grupo8a.com" */
.nav-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--silver-primary);
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    background: rgba(192, 192, 192, 0.08);
    border: 1px solid rgba(192, 192, 192, 0.3);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-back-btn i {
    font-size: 0.8em;
    transition: transform var(--transition);
}

.nav-back-btn:hover {
    background: rgba(192, 192, 192, 0.2);
    border-color: var(--silver-primary);
}

.nav-back-btn:hover i {
    transform: translateX(-3px);
}

/* Ocultar botón de regreso en móvil (por defecto se muestra en desktop) */
@media (max-width: 992px) {
    .nav-back-btn.desktop-only {
        display: none;
    }
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.82em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    transition: color var(--transition);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--silver-primary), transparent);
    transition: transform var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--silver-primary);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--transition);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    opacity: 1;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--silver-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85em;
    padding: 8px 12px;
    background: rgba(192, 192, 192, 0.08);
    border-radius: 4px;
    border-left: 3px solid var(--silver-primary);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-phone i {
    color: var(--silver-primary);
    font-size: 1.1em;
}

.nav-phone:hover {
    background: rgba(192, 192, 192, 0.15);
    color: var(--silver-primary);
    transform: translateX(3px);
}

.nav-btn {
    background: var(--silver-primary);
    color: var(--black);
    padding: 10px 22px;
    font-weight: 700;
    font-size: 0.8em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: all var(--transition);
    border: 2px solid var(--silver-primary);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.4s ease;
}

.nav-btn span {
    position: relative;
    z-index: 1;
}

.nav-btn:hover {
    color: var(--silver-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-silver);
}

.nav-btn:hover::before {
    left: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--silver-primary);
    transition: all var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Ajustes para pantallas medianas */
@media (max-width: 1200px) {
    .nav-container {
        padding: 6px 30px;
    }
    .nav-menu {
        gap: 20px;
    }
    .nav-menu a {
        font-size: 0.78em;
        letter-spacing: 1px;
    }
    .nav-phone span {
        display: none; /* oculta el texto, solo ícono */
    }
    .nav-phone i {
        font-size: 1.3em;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13,13,13,0.99);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 999;
    }
    .nav-menu.active a {
        font-size: 1.4em;
        letter-spacing: 4px;
    }
    .menu-toggle {
        display: flex;
        z-index: 1000;
    }
    .nav-right {
        gap: 10px;
    }
    .nav-btn {
        padding: 8px 16px;
        font-size: 0.75em;
    }
}

/* ========================================
   HERO SECTION (MEJORADO, SIN SUPERPOSICIONES)
======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    max-height: 1100px;
    overflow: hidden;
    margin-top: 90px; /* ajustado por navbar más compacto */
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 20s ease;
}

.hero-slide.active .hero-bg img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        115deg,
        rgba(13,13,13,0.97) 0%,
        rgba(13,13,13,0.90) 40%,
        rgba(13,13,13,0.70) 70%,
        rgba(192,192,192,0.10) 100%
    );
}

.hero-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, transparent 49%, rgba(192,192,192,0.03) 49%, rgba(192,192,192,0.03) 51%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(192,192,192,0.03) 49%, rgba(192,192,192,0.03) 51%, transparent 51%);
    background-size: 60px 60px;
    opacity: 0.3;
}

.hero-decoration {
    position: absolute;
    background: linear-gradient(135deg, var(--silver-primary), transparent);
    opacity: 0.12;
    z-index: 2;
}

.hero-decoration-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: float 20s infinite ease-in-out;
}

.hero-decoration-2 {
    bottom: 15%;
    right: 8%;
    width: 200px;
    height: 200px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: float 15s infinite ease-in-out reverse;
}

.hero-decoration-3 {
    top: 50%;
    right: 15%;
    width: 150px;
    height: 150px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: rotate 30s infinite linear;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 3;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(192, 192, 192, 0.10);
    backdrop-filter: blur(10px);
    border: 2px solid var(--silver-primary);
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    align-self: flex-start;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
}

.badge-icon {
    font-size: 1.5em;
    color: var(--silver-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(192, 192, 192, 0.15);
    border-radius: 50%;
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.badge-label {
    font-size: 0.7em;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-weight: 500;
}

.badge-value {
    font-size: 0.9em;
    color: var(--silver-primary);
    letter-spacing: 2px;
    font-weight: 700;
}

.hero-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5em;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.5s forwards;
}

.title-line {
    display: block;
    position: relative;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.title-line::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(192, 192, 192, 0.3);
}

.title-line.highlight {
    color: var(--silver-primary);
    text-shadow:
        0 0 30px rgba(192, 192, 192, 0.8),
        0 0 60px rgba(192, 192, 192, 0.5);
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.7s forwards;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--silver-primary), transparent);
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.divider-icon {
    font-size: 1.1em;
    color: var(--silver-primary);
    padding: 0 10px;
}

.hero-text {
    font-size: 1.15em;
    line-height: 1.7;
    color: var(--text-primary);
    max-width: 650px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    border-left: 4px solid var(--silver-primary);
    border-radius: 4px;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.9s forwards;
}

.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 5px;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 1.1s forwards;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: all var(--transition);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.5s ease;
    z-index: 1;
}

.hero-btn.primary {
    background: var(--silver-primary);
    color: var(--black);
    border: 2px solid var(--silver-primary);
}

.hero-btn.primary .btn-bg {
    background: var(--black);
}

.hero-btn.primary:hover {
    color: var(--silver-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-silver-lg);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.hero-btn.secondary .btn-bg {
    background: var(--white);
}

.hero-btn.secondary:hover {
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255,255,255,0.3);
}

.hero-btn:hover .btn-bg {
    left: 0;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 15px;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 1.3s forwards;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 900;
    color: var(--silver-primary);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.stat-plus {
    font-size: 0.6em;
    color: var(--silver-light);
}

.stat-label {
    font-size: 0.8em;
    color: var(--text-secondary);
    letter-spacing: 1px;
    font-weight: 500;
}

.slider-controls {
    position: absolute;
    bottom: 10%;
    left: 8%;
    z-index: 4;
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.5s forwards;
}

.slider-btn {
    width: 55px;
    height: 55px;
    background: rgba(192, 192, 192, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--silver-primary);
    color: var(--silver-primary);
    font-size: 1.3em;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.slider-btn:hover {
    background: var(--silver-primary);
    color: var(--black);
    transform: scale(1.1);
    box-shadow: var(--shadow-silver);
}

.btn-ripple {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    transform: scale(0);
    pointer-events: none;
}

.btn-ripple.active {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to { transform: scale(20); opacity: 0; }
}

.slider-pagination {
    position: absolute;
    bottom: 10%;
    right: 8%;
    z-index: 4;
    display: flex;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.5s forwards;
}

.pagination-dot {
    position: relative;
    cursor: pointer;
    transition: all var(--transition);
}

.dot-inner {
    display: block;
    width: 45px;
    height: 8px;
    background: rgba(192, 192, 192, 0.3);
    border: 2px solid var(--silver-primary);
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
    transition: all var(--transition);
}

.pagination-dot.active .dot-inner {
    width: 70px;
    background: var(--silver-primary);
    box-shadow: 0 0 20px var(--silver-glow);
}

.dot-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7em;
    color: var(--text-secondary);
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity var(--transition);
}

.pagination-dot:hover .dot-label,
.pagination-dot.active .dot-label {
    opacity: 1;
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(192, 192, 192, 0.2);
    z-index: 4;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--silver-dark), var(--silver-light));
    box-shadow: 0 0 20px var(--silver-glow);
}

.scroll-indicator {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 1.7s forwards;
}

.scroll-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.scroll-text span {
    font-size: 0.7em;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 600;
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
}

.scroll-arrow i {
    color: var(--silver-primary);
    font-size: 1.1em;
    animation: bounce 2s infinite;
}

.scroll-arrow i:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.6;
}

.scroll-line {
    width: 2px;
    height: 35px;
    background: linear-gradient(180deg, var(--silver-primary), transparent);
    margin-top: 5px;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

.hero-social {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    animation: slideInRight 0.8s ease-out 1.5s forwards;
}

.social-link {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid var(--silver-primary);
    color: var(--silver-primary);
    font-size: 1.1em;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--silver-primary);
    color: var(--black);
    transform: translateX(-5px);
    box-shadow: -5px 5px 20px rgba(192, 192, 192, 0.4);
}

.social-tooltip {
    position: absolute;
    right: 55px;
    background: var(--silver-primary);
    color: var(--black);
    padding: 6px 12px;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

.social-link:hover .social-tooltip {
    opacity: 1;
    right: 60px;
}

/* Media queries específicas para hero */
@media (max-width: 1400px) {
    .hero-title {
        font-size: 4.5em;
    }
    .hero-text {
        font-size: 1.1em;
        max-width: 600px;
    }
    .hero-stats {
        gap: 30px;
    }
    .stat-number {
        font-size: 2.5em;
    }
}

@media (max-width: 1200px) {
    .hero-content {
        left: 5%;
        max-width: 700px;
    }
    .hero-title {
        font-size: 4em;
    }
    .hero-text {
        font-size: 1em;
        padding: 18px 25px;
    }
    .hero-actions {
        gap: 15px;
    }
    .btn-content {
        padding: 12px 25px;
        font-size: 0.85em;
    }
    .hero-stats {
        gap: 25px;
    }
    .stat-number {
        font-size: 2.2em;
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: 750px;
        margin-top: 80px;
    }
    .hero-content {
        left: 4%;
        max-width: 600px;
        gap: 25px;
    }
    .hero-title {
        font-size: 3.5em;
        gap: 15px;
    }
    .hero-text {
        font-size: 0.95em;
        padding: 15px 20px;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    .hero-stat-item {
        min-width: 120px;
    }
    .slider-controls,
    .slider-pagination {
        bottom: 8%;
    }
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
    }
    .dot-inner {
        width: 40px;
    }
    .pagination-dot.active .dot-inner {
        width: 60px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 700px;
        margin-top: 70px;
    }
    .hero-content {
        left: 5%;
        right: 5%;
        max-width: none;
        gap: 20px;
    }
    .hero-title {
        font-size: 2.8em;
    }
    .hero-text {
        font-size: 0.9em;
        padding: 12px 18px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .hero-btn {
        width: 100%;
    }
    .btn-content {
        justify-content: center;
        padding: 12px 20px;
    }
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    .hero-stat-item {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }
    .stat-number {
        font-size: 2em;
    }
    .slider-controls {
        left: 5%;
        bottom: 5%;
    }
    .slider-pagination {
        right: 5%;
        bottom: 5%;
    }
    .hero-social {
        display: none; /* se oculta en móvil para no saturar */
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.2em;
    }
    .hero-text {
        font-size: 0.85em;
    }
    .hero-badge {
        padding: 8px 16px;
    }
    .badge-icon {
        width: 30px;
        height: 30px;
        font-size: 1.2em;
    }
}

/* ========================================
   STATS BAR
======================================== */

.stats-bar {
    padding: 80px 0;
    background: var(--gray-darker);
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--silver-primary), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: rgba(26, 26, 26, 0.6);
    border: 2px solid rgba(192, 192, 192, 0.3);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192,192,192,0.1), transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    border-color: var(--silver-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(192, 192, 192, 0.2);
}

.stat-icon-wrapper {
    position: relative;
}

.stat-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 192, 192, 0.1);
    border: 2px solid var(--silver-primary);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    font-size: 2em;
    color: var(--silver-primary);
}

.stat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--silver-glow), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}

.stat-card:hover .stat-glow {
    opacity: 1;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3em;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.stat-suffix {
    font-size: 0.6em;
    color: var(--silver-primary);
}

.stat-label {
    font-size: 0.95em;
    color: var(--text-secondary);
    margin-top: 10px;
    font-weight: 500;
}

.stat-bar {
    width: 100%;
    height: 4px;
    background: rgba(192, 192, 192, 0.2);
    margin-top: 15px;
    overflow: hidden;
    border-radius: 10px;
}

.stat-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--silver-dark), var(--silver-light));
    transition: width 2s ease;
    box-shadow: 0 0 10px var(--silver-glow);
}

.stat-card:hover .stat-bar-fill {
    width: 100%;
}

/* ========================================
   SECTION HEADERS
======================================== */

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.subtitle-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--silver-primary));
}

.section-subtitle span {
    font-size: 0.9em;
    letter-spacing: 3px;
    color: var(--silver-primary);
    font-weight: 600;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5em;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--silver-primary), transparent);
    box-shadow: 0 0 15px var(--silver-glow);
}

.section-description {
    font-size: 1.15em;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-header.light .section-title,
.section-header.light .section-description {
    color: var(--white);
}

/* ========================================
   ABOUT SECTION
======================================== */

.about-section {
    padding: 120px 0;
    background: var(--black);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.about-card {
    background: var(--gray-darker);
    border: 2px solid rgba(192, 192, 192, 0.2);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    overflow: hidden;
    transition: all var(--transition);
}

.about-card:hover {
    border-color: var(--silver-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(192, 192, 192, 0.2);
}

.about-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-card:hover .about-card-image img {
    transform: scale(1.1);
}

.about-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(13,13,13,0.8) 100%);
}

.about-card-content {
    padding: 40px 35px;
}

.about-card-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 192, 192, 0.1);
    border: 2px solid var(--silver-primary);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    font-size: 2em;
    color: var(--silver-primary);
    margin-bottom: 25px;
}

.about-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-card-content p {
    font-size: 1.05em;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* === VALUES === */

.values-section {
    margin-top: 60px;
}

.values-title {
    font-family: var(--font-heading);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    color: var(--white);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.value-card {
    position: relative;
    background: var(--gray-darker);
    border: 2px solid rgba(192, 192, 192, 0.2);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    overflow: hidden;
    transition: all var(--transition);
}

.value-card:hover {
    border-color: var(--silver-primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(192, 192, 192, 0.25);
}

.value-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.value-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.value-card:hover .value-card-image img {
    transform: scale(1.15);
}

.value-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(13,13,13,0.9) 100%);
}

.value-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 192, 192, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid var(--silver-primary);
    border-radius: 50%;
    font-size: 2.5em;
    color: var(--silver-primary);
    z-index: 2;
}

.value-card h4 {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin: 25px 0 15px;
    letter-spacing: 1px;
}

.value-card p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: center;
    padding: 0 25px 30px;
}

/* ========================================
   DIVISIONS SECTION
======================================== */

.divisions-section {
    padding: 120px 0;
    background: var(--gray-darkest);
    position: relative;
}

.divisions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 80px;
}

.division-card {
    position: relative;
    background: var(--gray-darker);
    border: 2px solid rgba(192, 192, 192, 0.2);
    clip-path: polygon(25px 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%, 0 25px);
    overflow: hidden;
    transition: all var(--transition);
}

.division-card:hover {
    border-color: var(--silver-primary);
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(192, 192, 192, 0.25);
}

.division-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.division-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.division-card:hover .division-image img {
    transform: scale(1.1);
}

.division-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(13,13,13,0.95) 100%);
}

.division-content {
    padding: 45px 40px;
}

.division-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(192, 192, 192, 0.1);
    border: 2px solid var(--silver-primary);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    margin-bottom: 25px;
}

.division-badge i {
    font-size: 1.3em;
    color: var(--silver-primary);
}

.division-badge span {
    font-size: 0.85em;
    letter-spacing: 2px;
    color: var(--silver-primary);
    font-weight: 600;
    text-transform: uppercase;
}

.division-title {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.division-description {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.division-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.division-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95em;
    color: var(--text-secondary);
}

.division-feature i {
    color: var(--silver-primary);
    font-size: 1.1em;
}

.division-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: var(--silver-primary);
    color: var(--black);
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 2px;
    text-transform: uppercase;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: all var(--transition);
    border: 2px solid var(--silver-primary);
    position: relative;
    overflow: hidden;
}

.division-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.4s ease;
}

.division-btn span,
.division-btn i {
    position: relative;
    z-index: 1;
}

.division-btn:hover {
    color: var(--silver-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-silver);
}

.division-btn:hover::before {
    left: 0;
}

/* === SYNERGY === */

.synergy-section {
    margin-top: 60px;
    padding: 60px;
    background: var(--gray-darker);
    border: 2px solid rgba(192, 192, 192, 0.2);
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    text-align: center;
    transition: border-color var(--transition);
}

.synergy-section:hover {
    border-color: var(--silver-primary);
}

.synergy-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 192, 192, 0.1);
    border: 3px solid var(--silver-primary);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    font-size: 3em;
    color: var(--silver-primary);
    margin: 0 auto 30px;
}

.synergy-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.synergy-content p {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 40px;
}

.synergy-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.synergy-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px 25px;
    background: rgba(192, 192, 192, 0.05);
    border: 1px solid rgba(192, 192, 192, 0.15);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all var(--transition);
    min-width: 160px;
}

.synergy-benefit:hover {
    background: rgba(192, 192, 192, 0.12);
    border-color: var(--silver-primary);
    transform: translateY(-5px);
}

.synergy-benefit i {
    font-size: 2.5em;
    color: var(--silver-primary);
}

.synergy-benefit span {
    font-size: 0.95em;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: center;
}

/* ========================================
   MACHINERY / PROJECTS SECTION
======================================== */

.machinery-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.machinery-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.machinery-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.machinery-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.90) 100%);
}

.machinery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.machinery-card {
    background: var(--gray-darker);
    border: 2px solid rgba(192, 192, 192, 0.2);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    overflow: hidden;
    transition: all var(--transition);
}

.machinery-card:hover {
    border-color: var(--silver-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(192, 192, 192, 0.25);
}

.machinery-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.machinery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.machinery-card:hover .machinery-image img {
    transform: scale(1.15);
}

/* Se eliminó .machinery-badge (certificaciones) */

.machinery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 13, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.machinery-card:hover .machinery-overlay {
    opacity: 1;
}

.machinery-overlay-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.machinery-overlay-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    background: var(--silver-primary);
    color: var(--black);
    font-weight: 700;
    font-size: 0.85em;
    letter-spacing: 1px;
    text-transform: uppercase;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: all var(--transition);
}

.machinery-overlay-btn:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-silver);
}

.machinery-content {
    padding: 30px 25px;
}

.machinery-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.machinery-brand i {
    color: var(--silver-primary);
    font-size: 1.2em;
}

.machinery-brand span {
    font-size: 0.85em;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.machinery-content h4 {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.machinery-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(192, 192, 192, 0.2);
}

.machinery-spec {
    display: flex;
    align-items: center;
    gap: 8px;
}

.machinery-spec i {
    color: var(--silver-primary);
    font-size: 0.9em;
}

.machinery-spec span {
    font-size: 0.85em;
    color: var(--text-secondary);
    font-weight: 600;
}

.machinery-description {
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.machinery-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.machinery-tag {
    padding: 6px 15px;
    background: rgba(192, 192, 192, 0.1);
    border: 1px solid var(--silver-primary);
    color: var(--silver-primary);
    font-size: 0.75em;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

/* ========================================
   CTA SECTION
======================================== */

.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--silver-primary) 0%, var(--silver-light) 100%);
    opacity: 0.95;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border: 3px solid var(--black);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    font-size: 3.5em;
    color: var(--black);
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3.8em;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 25px;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 1.35em;
    color: rgba(0, 0, 0, 0.8);
    margin-bottom: 45px;
    font-weight: 500;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 18px 38px;
    font-weight: 700;
    font-size: 0.95em;
    letter-spacing: 2px;
    text-transform: uppercase;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: all var(--transition);
}

.cta-btn.primary {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
}

.cta-btn.primary:hover {
    background: transparent;
    color: var(--black);
    border-color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

.cta-btn.secondary:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-btn.tertiary {
    background: var(--white);
    color: var(--black);
    border: 2px solid var(--white);
}

.cta-btn.tertiary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.3);
}

/* ========================================
   CONTACT SECTION
======================================== */

.contact-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.90) 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info-card {
    padding: 30px;
    background: var(--gray-darker);
    border: 2px solid rgba(192, 192, 192, 0.2);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    margin-bottom: 25px;
    transition: all var(--transition);
    display: flex;
    gap: 20px;
}

.contact-info-card:hover {
    border-color: var(--silver-primary);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(192, 192, 192, 0.2);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 192, 192, 0.1);
    border: 2px solid var(--silver-primary);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    font-size: 1.8em;
    color: var(--silver-primary);
    flex-shrink: 0;
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.contact-info-content p {
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-secondary);
}

.contact-info-content a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.contact-info-content a:hover {
    color: var(--silver-primary);
}

.contact-social {
    margin-top: 30px;
}

.contact-social h4 {
    font-family: var(--font-heading);
    font-size: 1.2em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.contact-social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-dark);
    border: 2px solid var(--silver-primary);
    color: var(--white);
    font-size: 1.2em;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: all var(--transition);
}

.contact-social-links a:hover {
    background: var(--silver-primary);
    color: var(--black);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(192, 192, 192, 0.4);
}

.contact-form-wrapper {
    background: var(--gray-darker);
    border: 2px solid rgba(192, 192, 192, 0.2);
    clip-path: polygon(25px 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%, 0 25px);
    padding: 45px 40px;
    transition: border-color var(--transition);
}

.contact-form-wrapper:hover {
    border-color: rgba(192, 192, 192, 0.5);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95em;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.form-group label i {
    color: var(--silver-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    background: var(--gray-dark);
    border: 2px solid rgba(192, 192, 192, 0.2);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1em;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    transition: all var(--transition);
}

.form-group select option {
    background: var(--gray-dark);
    color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--silver-primary);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* MEJORA: estilos de validación visual para campos */
.form-group input.field-valid,
.form-group select.field-valid,
.form-group textarea.field-valid {
    border-color: var(--success);
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.2);
}

.form-group input.field-invalid,
.form-group select.field-invalid,
.form-group textarea.field-invalid {
    border-color: var(--error);
    box-shadow: 0 0 12px rgba(239, 83, 80, 0.2);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    cursor: pointer;
    accent-color: var(--silver-primary);
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.9em;
    color: var(--text-secondary);
    line-height: 1.6;
    cursor: pointer;
}

.form-checkbox label a {
    color: var(--silver-primary);
    text-decoration: underline;
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 45px;
    background: var(--silver-primary);
    color: var(--black);
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 2px;
    text-transform: uppercase;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all var(--transition);
    border: 2px solid var(--silver-primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.4s ease;
}

.form-submit-btn span,
.form-submit-btn i {
    position: relative;
    z-index: 1;
}

.form-submit-btn:hover {
    color: var(--silver-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-silver);
}

.form-submit-btn:hover::before {
    left: 0;
}

.form-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   EMPLEO SECTION (NUEVA)
======================================== */

.empleo-section {
    padding: 100px 0;
    background: var(--gray-darkest);
    position: relative;
    overflow: hidden;
}

.empleo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(192,192,192,0.03) 0%, transparent 30%);
    pointer-events: none;
}

.empleo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.empleo-card {
    background: var(--gray-darker);
    border: 2px solid rgba(192, 192, 192, 0.2);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    padding: 50px 40px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.empleo-card:hover {
    border-color: var(--silver-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(192, 192, 192, 0.25);
}

.empleo-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(192, 192, 192, 0.1);
    border: 3px solid var(--silver-primary);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    font-size: 3em;
    color: var(--silver-primary);
    transition: all var(--transition);
}

.empleo-card:hover .empleo-icon {
    background: var(--silver-primary);
    color: var(--black);
}

.empleo-card h3 {
    font-family: var(--font-heading);
    font-size: 2em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.empleo-card p {
    font-size: 1.1em;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.empleo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--silver-primary);
    color: var(--black);
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 2px;
    text-transform: uppercase;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: all var(--transition);
    border: 2px solid var(--silver-primary);
    position: relative;
    overflow: hidden;
}

.empleo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--black);
    transition: left 0.4s ease;
}

.empleo-btn span,
.empleo-btn i {
    position: relative;
    z-index: 1;
}

.empleo-btn:hover {
    color: var(--silver-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-silver);
}

.empleo-btn:hover::before {
    left: 0;
}

.vacantes-lista {
    text-align: left;
    margin: 20px 0;
}

.vacantes-lista li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    color: var(--text-secondary);
    font-size: 1em;
}

.vacantes-lista li i {
    color: var(--silver-primary);
    font-size: 0.8em;
}

.vacantes-nota {
    font-size: 0.9em !important;
    color: var(--text-muted) !important;
    margin-top: 15px;
    font-style: italic;
}

/* ========================================
   NOTIFICATION SYSTEM
======================================== */

.notification-container {
    position: fixed;
    top: 120px;
    right: 30px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 420px;
    width: calc(100% - 60px);
}

/* ========================================
   FOOTER — FIX COMPLETO V2.0
======================================== */

.footer {
    background: var(--black);
    position: relative;
    overflow: hidden;
}

/* Línea decorativa superior */
.footer-wave {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--silver-primary), transparent);
    box-shadow: 0 0 20px var(--silver-glow);
}

/* Patrón de fondo sutil */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, transparent 49%, rgba(192,192,192,0.015) 49%, rgba(192,192,192,0.015) 51%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(192,192,192,0.015) 49%, rgba(192,192,192,0.015) 51%, transparent 51%);
    background-size: 80px 80px;
    pointer-events: none;
}

.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(192, 192, 192, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-logo {
    width: 200px;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 20px rgba(192, 192, 192, 0.4));
    transition: filter var(--transition);
}

.footer-logo:hover {
    filter: drop-shadow(0 8px 30px rgba(192, 192, 192, 0.7));
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1em;
}

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background: var(--gray-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    font-size: 1.1em;
    border: 1px solid rgba(192, 192, 192, 0.2);
}

.footer-social a:hover {
    background: var(--silver-primary);
    color: var(--black);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(192, 192, 192, 0.4);
    border-color: var(--silver-primary);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1em;
    font-weight: 700;
    color: var(--silver-primary);
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--silver-primary);
    box-shadow: 0 0 8px var(--silver-glow);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98em;
    padding: 4px 0;
}

.footer-col ul li a i {
    font-size: 0.75em;
    color: var(--silver-primary);
    transition: transform var(--transition);
}

.footer-col ul li a:hover {
    color: var(--silver-primary);
    transform: translateX(8px);
}

.footer-col ul li a:hover i {
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-secondary);
    font-size: 0.97em;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--silver-primary);
    width: 20px;
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 1em;
}

.footer-contact li a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.footer-contact li a:hover {
    color: var(--silver-primary);
}

.footer-bottom {
    padding: 28px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.92em;
    line-height: 1.6;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.88em;
    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--silver-primary);
}

.footer-bottom-links span {
    color: var(--gray-light);
    font-size: 0.8em;
}

/* ========================================
   BACK TO TOP
======================================== */

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--silver-primary);
    color: var(--black);
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--silver-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-silver-lg);
}

.btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.back-to-top:hover .btn-circle {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
}

/* ========================================
   AOS OVERRIDES
======================================== */

[data-aos] {
    opacity: 0;
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ========================================
   TIMELINE SECTION
======================================== */

.timeline-section {
    padding: 120px 0;
    background: var(--black-light);
    position: relative;
    overflow: hidden;
}

.timeline-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(90deg, transparent 49%, rgba(192,192,192,0.02) 49%, rgba(192,192,192,0.02) 51%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(192,192,192,0.02) 49%, rgba(192,192,192,0.02) 51%, transparent 51%);
    background-size: 80px 80px;
    pointer-events: none;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        transparent 0%,
        var(--silver-primary) 5%,
        var(--silver-primary) 95%,
        transparent 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.4);
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:not(.right) {
    flex-direction: row;
    padding-right: calc(50% + 50px);
}

.timeline-item.right {
    flex-direction: row-reverse;
    padding-left: calc(50% + 50px);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.timeline-year {
    background: var(--silver-primary);
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 0.78em;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 6px 14px;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(192, 192, 192, 0.4);
    transition: all var(--transition);
}

.timeline-item:hover .timeline-year {
    background: var(--white);
    box-shadow: 0 8px 30px rgba(192, 192, 192, 0.7);
}

.timeline-dot {
    width: 56px;
    height: 56px;
    background: var(--gray-darker);
    border: 3px solid var(--silver-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: var(--silver-primary);
    box-shadow: 0 0 0 6px rgba(192,192,192,0.1), 0 8px 25px rgba(0,0,0,0.7);
    transition: all var(--transition);
    position: relative;
    z-index: 4;
}

.timeline-dot.active {
    background: var(--silver-primary);
    color: var(--black);
    box-shadow: 0 0 0 8px rgba(192,192,192,0.2), 0 0 30px rgba(192,192,192,0.5);
    animation: activePulse 2s infinite;
}

@keyframes activePulse {
    0%, 100% { box-shadow: 0 0 0 8px rgba(192,192,192,0.2), 0 0 30px rgba(192,192,192,0.5); }
    50%       { box-shadow: 0 0 0 16px rgba(192,192,192,0.05), 0 0 50px rgba(192,192,192,0.7); }
}

.timeline-item:hover .timeline-dot {
    background: var(--silver-primary);
    color: var(--black);
    transform: scale(1.15);
    box-shadow: 0 0 0 10px rgba(192,192,192,0.15), 0 10px 30px rgba(192,192,192,0.4);
}

.timeline-content {
    width: 100%;
}

.timeline-card {
    background: var(--gray-darker);
    border: 2px solid rgba(192, 192, 192, 0.2);
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
    padding: 30px 35px;
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192,192,192,0.07), transparent);
    transition: left 0.6s ease;
}

.timeline-card:hover::before {
    left: 100%;
}

.timeline-card:hover,
.timeline-card.active {
    border-color: var(--silver-primary);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(192, 192, 192, 0.15);
}

.timeline-card.active {
    border-color: var(--silver-primary);
    background: rgba(42, 42, 42, 0.9);
}

.timeline-item:not(.right) .timeline-card::after {
    content: '';
    position: absolute;
    right: -36px;
    top: 38px;
    width: 36px;
    height: 2px;
    background: linear-gradient(90deg, var(--silver-primary), transparent);
}

.timeline-item.right .timeline-card::after {
    content: '';
    position: absolute;
    left: -36px;
    top: 38px;
    width: 36px;
    height: 2px;
    background: linear-gradient(270deg, var(--silver-primary), transparent);
}

.timeline-card-header {
    margin-bottom: 15px;
}

.timeline-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver-primary);
    padding: 5px 14px;
    background: rgba(192, 192, 192, 0.1);
    border-left: 3px solid var(--silver-primary);
}

.timeline-category.active {
    color: var(--black);
    background: var(--silver-primary);
    border-left-color: var(--black);
}

.timeline-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3em;
    font-weight: 700;
    color: var(--white);
    margin: 12px 0 18px;
    letter-spacing: 1px;
}

.timeline-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.timeline-list li {
    font-size: 0.97em;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.timeline-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--silver-primary);
    font-size: 0.85em;
    top: 2px;
}

.timeline-list li strong {
    color: var(--white);
}

.timeline-list li em {
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.9em;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 1400px) {
    .container { max-width: 1200px; }
    .hero-title { font-size: 4.8em; }
    .section-title { font-size: 3em; }
    .footer-grid { gap: 40px; }
}

@media (max-width: 1200px) {
    .nav-menu { gap: 35px; }
    .hero-content { max-width: 700px; }
    .hero-title { font-size: 4.2em; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .machinery-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 992px) {
    .nav-menu { display: none; }
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13,13,13,0.99);
        backdrop-filter: blur(20px);
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 999;
    }
    .nav-menu.active a {
        font-size: 1.4em;
        letter-spacing: 4px;
    }
    .menu-toggle { display: flex; z-index: 1000; }
    .hero-title { font-size: 3.5em; }
    .about-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .divisions-grid { grid-template-columns: 1fr; }
    .empleo-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
}

@media (max-width: 768px) {
    .container { padding: 0 25px; }
    .nav-container { padding: 8px 25px; }
    .hero { margin-top: 80px; }
    .hero-title { font-size: 2.8em; gap: 20px; }
    .hero-stats { flex-direction: column; gap: 30px; }
    .hero-social { display: none; }
    .stats-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .machinery-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-top { padding: 60px 0 40px; }
    .cta-content h2 { font-size: 2.5em; }
    .cta-content p { font-size: 1.1em; }
    .section-title { font-size: 2.3em; }
    .division-title { font-size: 2em; }
    .synergy-section { padding: 40px 25px; }
    .synergy-benefits { gap: 20px; }
    .back-to-top { bottom: 20px; right: 20px; }
    .notification-container { right: 15px; top: 100px; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.2em; }
    .hero-text { font-size: 1em; padding: 18px 20px; }
    .hero-btn .btn-content { padding: 14px 25px; font-size: 0.85em; }
    .timeline-section { padding: 80px 0; }
    .timeline-card { padding: 22px 20px; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
    .timeline-card h4 { font-size: 1.1em; }
    .timeline-list li { font-size: 0.9em; }
    .empleo-card { padding: 30px 20px; }
    .empleo-card h3 { font-size: 1.6em; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 30px 20px; }
}

/* ========================================
   TIMELINE RESPONSIVE
======================================== */

@media (max-width: 900px) {
    .timeline::before { left: 28px; }

    .timeline-item:not(.right),
    .timeline-item.right {
        flex-direction: row;
        padding-right: 0;
        padding-left: 90px;
    }

    .timeline-marker { left: 28px; }

    .timeline-item:not(.right) .timeline-card::after,
    .timeline-item.right .timeline-card::after { display: none; }

    .timeline-year { font-size: 0.7em; padding: 4px 10px; }
    .timeline-dot { width: 44px; height: 44px; font-size: 1em; }
}

/* Ajustes globales para evitar desbordamientos */
@media (max-width: 992px) {
    .nav-menu.active {
        padding-top: 80px;
        overflow-y: auto;
    }
    .nav-menu.active a {
        font-size: 1.3em;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9em;
    }
    .hero-text {
        font-size: 0.8em;
        padding: 10px 15px;
    }
    .btn-content {
        font-size: 0.75em;
        padding: 10px 15px;
    }
}