﻿/* ========================================
   MEGAMINE - INDEX.CSS V8.1 DEFINITIVO
   HERO OPTIMIZADO - SIN SUPERPOSICIONES
   BASADO EN ESTRUCTURA GRUPO 8A
======================================== */

/* === VARIABLES EXTENDIDAS === */
:root {
    /* Colores principales (MegaMine) */
    --gold-primary: #D4A450;
    --gold-dark: #C89A3F;
    --gold-light: #E4B460;
    --gold-glow: rgba(212, 164, 80, 0.6);
    
    /* Paleta de negros */
    --black: #0A0A0A;
    --black-light: #121212;
    --black-overlay: rgba(10, 10, 10, 0.92);
    
    /* Paleta de grises */
    --gray-dark: #1A1A1A;
    --gray-medium: #2A2A2A;
    --gray-light: #3A3A3A;
    --gray-border: #4A4A4A;
    --gray-text: #CCCCCC;
    --gray-text-light: #E0E0E0;
    
    /* Colores de acento */
    --white: #FFFFFF;
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #F44336;
    --info: #2196F3;
    
    /* Tipografías */
    --font-heading: 'Barlow', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    
    /* Transiciones */
    --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);
    
    /* Sombras */
    --shadow-gold: 0 10px 40px rgba(212, 164, 80, 0.4);
    --shadow-gold-lg: 0 20px 60px rgba(212, 164, 80, 0.5);
    --shadow-black: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-black-lg: 0 20px 50px rgba(0, 0, 0, 0.9);
    
    /* Espaciados */
    --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-content {
    text-align: center;
}

.loading-logo {
    width: 200px;
    margin: 0 auto 40px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-logo img {
    filter: drop-shadow(0 0 30px var(--gold-glow));
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: var(--gray-dark);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px var(--gold-glow);
}

.loading-text {
    color: var(--gray-text);
    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(--gold-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.cursor-inner {
    width: 100%;
    height: 100%;
    background: var(--gold-primary);
    border-radius: 50%;
    animation: cursorPulse 1.5s infinite;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold-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 - CON BOTÓN DE REGRESO ESTILO GRUPO 8A
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 2px solid rgba(212, 164, 80, 0.3);
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.8);
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.99);
    border-bottom-color: var(--gold-primary);
    box-shadow: 0 8px 50px rgba(0, 0, 0, 0.95);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.nav-brand::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, transparent, var(--gold-primary), transparent);
    opacity: 0.5;
}

.nav-brand img {
    height: 70px;
    filter: drop-shadow(0 5px 20px rgba(212, 164, 80, 0.5));
    transition: all var(--transition);
}

.nav-brand:hover img {
    filter: drop-shadow(0 8px 30px rgba(212, 164, 80, 0.8));
    transform: scale(1.03);
}

/* Botón de regreso estilo Grupo 8A */
.nav-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-primary);
    font-size: 0.85em;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 6px 12px;
    background: rgba(212, 164, 80, 0.08);
    border: 1px solid rgba(212, 164, 80, 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(212, 164, 80, 0.2);
    border-color: var(--gold-primary);
}

.nav-back-btn:hover i {
    transform: translateX(-3px);
}

@media (max-width: 992px) {
    .nav-back-btn {
        display: none;
    }
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.85em;
    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(--gold-primary), transparent);
    transition: transform var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold-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(--gold-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-text);
    font-weight: 600;
    font-size: 0.85em;
    padding: 8px 12px;
    background: rgba(212, 164, 80, 0.08);
    border-radius: 4px;
    border-left: 3px solid var(--gold-primary);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-phone i {
    color: var(--gold-primary);
    font-size: 1.1em;
}

.nav-phone:hover {
    background: rgba(212, 164, 80, 0.15);
    color: var(--gold-primary);
    transform: translateX(3px);
}

.nav-btn {
    background: var(--gold-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(--gold-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(--gold-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.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(--gold-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 responsive navbar */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 20px;
    }
    .nav-menu a {
        font-size: 0.78em;
        letter-spacing: 1px;
    }
    .nav-phone span {
        display: none;
    }
    .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(10,10,10,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 - NUEVO DISEÑO LIMPIO
======================================== */
.hero {
    position: relative;
    margin-top: 90px;
    height: calc(100vh - 90px);
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(10, 10, 10, 0.93) 0%,
        rgba(10, 10, 10, 0.78) 55%,
        rgba(10, 10, 10, 0.35) 100%
    );
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 8%;
}

.hero-inner {
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gold-primary);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards 0.2s;
}

.hero-eyebrow i {
    font-size: 0.9em;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 1px;
    display: flex;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards 0.4s;
}

.hero-title-gold {
    color: var(--gold-primary);
    text-shadow: 0 0 40px rgba(212, 164, 80, 0.5);
}

.hero-desc {
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    color: var(--gray-text-light);
    line-height: 1.75;
    max-width: 520px;
    padding-left: 18px;
    border-left: 3px solid var(--gold-primary);
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards 0.6s;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards 0.8s;
}

.hbtn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all var(--transition);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    cursor: pointer;
    white-space: nowrap;
}

.hbtn-primary {
    background: var(--gold-primary);
    color: var(--black);
    border: 2px solid var(--gold-primary);
}

.hbtn-primary:hover {
    background: transparent;
    color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(212, 164, 80, 0.45);
}

.hbtn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.hbtn-ghost:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    transform: translateY(-3px);
}

.hero-scroll-down {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: var(--gold-primary);
    width: 44px;
    height: 44px;
    border: 2px solid rgba(212, 164, 80, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition);
    opacity: 0;
    animation: heroFadeUp 0.7s ease forwards 1.1s, heroBounce 2s ease 1.8s infinite;
}

.hero-scroll-down:hover {
    background: rgba(212, 164, 80, 0.2);
    border-color: var(--gold-primary);
}

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

@keyframes heroBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(8px); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        margin-top: 80px;
        height: calc(100vh - 80px);
    }
    .hero-body { padding: 0 6%; }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 70px;
        height: calc(100vh - 70px);
        min-height: 540px;
    }
    .hero-body { padding: 0 5%; }
    .hero-inner { gap: 20px; max-width: 100%; }
    .hero-ctas { flex-direction: column; align-items: stretch; }
    .hbtn { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.4rem; }
    .hero-inner { gap: 16px; }
}

/* ========================================
   STATS BAR MEJORADA
======================================== */
.stats-bar {
    padding: 80px 0;
    background: var(--gray-dark);
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-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(212, 164, 80, 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(212,164,80,0.1), transparent);
    transition: left 0.6s ease;
}
.stat-card:hover::before { left: 100%; }
.stat-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212,164,80,0.2);
}
.stat-icon-wrapper { position: relative; }
.stat-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,164,80,0.1);
    border: 2px solid var(--gold-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(--gold-primary);
}
.stat-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--gold-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(--gold-primary); }
.stat-label {
    font-size: 0.95em;
    color: var(--gray-text);
    margin-top: 10px;
    font-weight: 500;
}
.stat-bar {
    width: 100%;
    height: 4px;
    background: rgba(212,164,80,0.2);
    margin-top: 15px;
    overflow: hidden;
    border-radius: 10px;
}
.stat-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
    transition: width 2s ease;
    box-shadow: 0 0 10px var(--gold-glow);
}
.stat-card:hover .stat-bar-fill { width: 100%; }

/* ========================================
   AOS (ANIMATE ON SCROLL)
======================================== */
[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.8); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* ========================================
   ABOUT SECTION (SIN CERTIFICACIONES)
======================================== */
.about-section {
    padding: 120px 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
}
.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-image:hover img { transform: scale(1.1); }
.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.4), rgba(212,164,80,0.2));
}
.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    border: 3px solid var(--gold-primary);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    z-index: -1;
}
.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--gold-primary);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9em;
    text-transform: uppercase;
}
.section-tag.center { justify-content: center; }
.section-tag.light { color: var(--gold-light); }
.section-tag i { font-size: 1.2em; }
.section-title {
    font-family: var(--font-heading);
    font-size: 3.5em;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--white);
}
.section-title.center { text-align: center; }
.section-title.light { color: var(--white); }
.section-title .highlight { color: var(--gold-primary); }
.title-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary), transparent);
    box-shadow: 0 0 15px var(--gold-glow);
}
.title-line.center { margin: 0 auto; }
.section-text {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--gray-text-light);
}
.section-description {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--gray-text);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.section-description.light { color: var(--gray-text-light); }
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}
.feature-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(26,26,26,0.5);
    border-left: 4px solid var(--gold-primary);
    transition: all var(--transition);
}
.feature-box:hover {
    background: rgba(212,164,80,0.1);
    transform: translateX(10px);
}
.feature-icon { font-size: 2em; color: var(--gold-primary); }
.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 1.1em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}
.feature-text p { font-size: 0.95em; color: var(--gray-text); }
.about-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.about-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    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);
}
.about-btn.primary {
    background: var(--gold-primary);
    color: var(--black);
    border: 2px solid var(--gold-primary);
}
.about-btn.primary:hover {
    background: transparent;
    color: var(--gold-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
.about-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.about-btn.secondary:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-section {
    padding: 120px 0;
    background: var(--gray-dark);
    position: relative;
}
.section-header { margin-bottom: 80px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.service-card {
    position: relative;
    background: var(--black);
    border: 2px solid rgba(212,164,80,0.3);
    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);
}
.service-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212,164,80,0.3);
}
.service-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-image img { transform: scale(1.1); }
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(10,10,10,0.9));
}
.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 4em;
    font-weight: 900;
    color: var(--gold-primary);
    opacity: 0.2;
    line-height: 1;
}
.service-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,164,80,0.1);
    border: 2px solid var(--gold-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(--gold-primary);
    margin-bottom: 10px;
}
.service-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3em;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}
.service-content p {
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--gray-text);
}
.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
    color: var(--gray-text-light);
}
.service-features i { color: var(--gold-primary); font-size: 0.8em; }
.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    font-weight: 700;
    font-size: 0.85em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold-primary);
    transition: all var(--transition);
    align-self: flex-start;
}
.service-btn:hover { gap: 15px; }

/* ========================================
   EQUIPMENT SECTION
======================================== */
.equipment-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.equipment-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/megamine/assets/images/equipment-bg.jpg') center/cover;
    opacity: 0.05;
}
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.equipment-item {
    position: relative;
    overflow: hidden;
    clip-path: polygon(25px 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%, 0 25px);
    height: 450px;
    transition: all var(--transition);
}
.equipment-item:hover { transform: scale(1.02); }
.equipment-image {
    position: relative;
    width: 100%;
    height: 100%;
}
.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.equipment-item:hover .equipment-image img { transform: scale(1.1); }
.equipment-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(10,10,10,0.95));
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity var(--transition);
}
.equipment-item:hover .equipment-overlay { opacity: 1; }
.equipment-info {
    padding: 40px;
    width: 100%;
    transform: translateY(30px);
    transition: transform var(--transition);
}
.equipment-item:hover .equipment-info { transform: translateY(0); }
.equipment-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--gold-primary);
    color: var(--black);
    font-weight: 700;
    font-size: 0.75em;
    letter-spacing: 1px;
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
    margin-bottom: 20px;
}
.equipment-info h3 {
    font-family: var(--font-heading);
    font-size: 1.6em;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 15px;
}
.equipment-info p {
    font-size: 1em;
    color: var(--gray-text-light);
    margin-bottom: 20px;
}
.equipment-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}
.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.spec-item i { font-size: 1.5em; color: var(--gold-primary); }
.spec-item span {
    font-size: 0.85em;
    font-weight: 700;
    color: var(--white);
}
.equipment-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: transparent;
    color: var(--gold-primary);
    border: 2px solid var(--gold-primary);
    font-weight: 700;
    font-size: 0.85em;
    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);
}
.equipment-btn:hover {
    background: var(--gold-primary);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

/* ========================================
   SAFETY SECTION (SIN CERTIFICACIONES)
======================================== */
.safety-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.safety-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.safety-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.safety-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.95), rgba(10,10,10,0.90));
}
.safety-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}
.safety-text {
    font-size: 1.15em;
    line-height: 1.9;
    color: var(--gray-text-light);
    max-width: 900px;
    margin-bottom: 60px;
}
.safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}
.safety-item {
    padding: 35px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(212,164,80,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);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}
.safety-item:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212,164,80,0.3);
}
.safety-icon {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: var(--gold-primary);
}
.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--gold-glow), transparent);
    opacity: 0;
    transition: opacity var(--transition);
}
.safety-item:hover .icon-glow {
    opacity: 0.6;
    animation: pulse 2s infinite;
}
.safety-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2em;
    font-weight: 700;
    color: var(--white);
}
.safety-item p {
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--gray-text);
}
.safety-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(212,164,80,0.2);
    border: 1px solid var(--gold-primary);
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 700;
    color: var(--gold-primary);
}
.safety-stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}
.safety-stat-box {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 30px 40px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(15px);
    border: 3px solid var(--gold-primary);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all var(--transition);
}
.safety-stat-box:hover {
    background: rgba(212,164,80,0.1);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212,164,80,0.4);
}
.stat-icon-lg { font-size: 3.5em; color: var(--gold-primary); }
.stat-info-lg {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stat-number-lg {
    font-family: var(--font-heading);
    font-size: 2.5em;
    font-weight: 900;
    color: var(--gold-primary);
    line-height: 1;
}
.stat-label-lg {
    font-size: 0.95em;
    color: var(--gray-text-light);
    font-weight: 600;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    position: relative;
    overflow: hidden;
}
.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(circle, var(--black) 1px, transparent 1px);
    background-size: 30px 30px;
}
.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.cta-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
    border: 3px solid var(--black);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    font-size: 3em;
    color: var(--black);
}
.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5em;
    font-weight: 900;
    color: var(--black);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
.cta-content p {
    font-size: 1.3em;
    color: rgba(0,0,0,0.8);
    margin-bottom: 40px;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons {
    display: flex;
    gap: 20px;
    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);
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--black);
    border-top: 3px solid var(--gold-primary);
    padding: 80px 0 0;
    position: relative;
}
.footer-wave {
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    box-shadow: 0 0 20px var(--gold-glow);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--gray-light);
}
.footer-logo {
    width: 185px;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 20px rgba(212,164,80,0.4));
}
.footer-col p {
    color: var(--gray-text);
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1em;
}
.footer-social {
    display: flex;
    gap: 15px;
}
.footer-social a {
    width: 48px;
    height: 48px;
    background: var(--gray-medium);
    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;
}
.footer-social a:hover {
    background: var(--gold-primary);
    color: var(--black);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212,164,80,0.4);
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.2em;
    font-weight: 700;
    color: var(--gold-primary);
    margin-bottom: 25px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 12px;
}
.footer-col ul li a {
    color: var(--gray-text);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
}
.footer-col ul li a i {
    font-size: 0.8em;
    color: var(--gold-primary);
}
.footer-col ul li a:hover {
    color: var(--gold-primary);
    transform: translateX(8px);
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-text);
    font-size: 1em;
    margin-bottom: 15px;
}
.footer-contact li i {
    color: var(--gold-primary);
    width: 22px;
    margin-top: 3px;
}
.footer-bottom {
    padding: 30px 0;
    text-align: center;
    color: var(--gray-text);
    font-size: 0.95em;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.footer-bottom-links a {
    color: var(--gray-text);
    transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--gold-primary); }
.footer-bottom-links span { color: var(--gray-border); }

/* ========================================
   BACK TO TOP
======================================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: var(--gold-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(212,164,80,0.5);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover {
    background: var(--gold-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold-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;
}

/* ========================================
   NOTIFICATION SYSTEM
======================================== */
.notification-container {
    position: fixed;
    top: 120px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.notification {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background: var(--gray-dark);
    border-left: 4px solid var(--info);
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: translateX(400px);
    opacity: 0;
    transition: all var(--transition);
    min-width: 350px;
    max-width: 450px;
}
.notification.show { transform: translateX(0); opacity: 1; }
.notification i { font-size: 1.5em; color: var(--info); }
.notification-success { border-left-color: var(--success); }
.notification-success i { color: var(--success); }
.notification-error { border-left-color: var(--error); }
.notification-error i { color: var(--error); }
.notification span {
    flex: 1;
    color: var(--gray-text-light);
    font-size: 0.95em;
}
.notification-close {
    background: transparent;
    border: none;
    color: var(--gray-text);
    font-size: 1.2em;
    cursor: pointer;
    transition: color var(--transition);
    padding: 5px;
}
.notification-close:hover { color: var(--white); }

/* ========================================
   RESPONSIVE GENERAL
======================================== */
@media (max-width: 1400px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1200px) {
    .equipment-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    body { cursor: default; }
    .custom-cursor, .cursor-follower { display: none; }
    .nav-container { padding: 8px 25px; }
    .nav-brand img { height: 55px; }
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .equipment-grid { grid-template-columns: 1fr; }
    .safety-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .cta-buttons { flex-direction: column; align-items: stretch; }
    .cta-content h2 { font-size: 2.5em; }
    .section-title { font-size: 2.5em; }
}
@media (max-width: 480px) {
    .section-title { font-size: 2em; }
    .cta-content h2 { font-size: 2em; }
    .notification { min-width: calc(100vw - 40px); }
}

/* ========================================
   SCROLL PROGRESS BAR (creada desde JS)
======================================== */
#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold-primary);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(212, 164, 80, 0.8);
}