/* ========================================
   LA GRANDE - INDEX.CSS V3.1
   Diseño Moderno para Construcción Vial
   Verde y Plata - Con secciones Grupo 8A
   + Botón Regresar a grupo8a.com (optimizado)
   + Bolsa de Empleo
   - Sección CEO eliminada
   - Certificaciones removidas
======================================== */

/* === VARIABLES === */
:root {
    --green-primary: #2D8B3C;
    --green-dark: #1F6129;
    --green-light: #3FA54E;
    --silver: #C0C0C0;
    --silver-dark: #8B8B8B;
    --silver-light: #E5E5E5;
    --black: #0A0A0A;
    --gray-dark: #1A1A1A;
    --gray-medium: #2A2A2A;
    --gray-light: #3A3A3A;
    --gray-text: #CCCCCC;
    --white: #FFFFFF;
    --bg-soft: #f7f9f7;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --shadow-green: 0 10px 40px rgba(45, 139, 60, 0.4);
    --shadow-black: 0 10px 30px rgba(0, 0, 0, 0.7);
}

/* === RESET === */
*,
*::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(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow: hidden;
}

body.loaded {
    overflow: auto;
}

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.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.loading-logo {
    width: 220px;
    margin: 0 auto;
    animation: loadingPulse 2s ease-in-out infinite;
}

.loading-logo img {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(45, 139, 60, 0.7));
}

@keyframes loadingPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.06); opacity: 0.85; }
}

.loading-bar {
    width: 320px;
    height: 4px;
    background: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--green-primary), var(--green-light));
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(45, 139, 60, 0.7);
    border-radius: 10px;
}

.loading-text {
    color: var(--gray-text);
    font-size: 0.85em;
    letter-spacing: 4px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

/* ========================================
   CUSTOM CURSOR
======================================== */
.custom-cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--green-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-inner {
    width: 100%;
    height: 100%;
    background: var(--green-primary);
    border-radius: 50%;
    animation: cursorPulse 1.5s infinite;
}

@keyframes cursorPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.6); opacity: 0.5; }
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--green-primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.custom-cursor.cursor-hover,
.cursor-follower.cursor-hover {
    width: 60px;
    height: 60px;
    background: rgba(45, 139, 60, 0.15);
    border-color: var(--green-light);
}

/* ========================================
   NAVBAR (optimizado)
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all var(--transition);
    transform: translateY(0);
    opacity: 1;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar.hidden {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-brand {
    display: flex;
    align-items: center;
    transition: transform var(--transition);
}

.nav-brand:hover {
    transform: scale(1.03);
}

.nav-brand img {
    height: 55px; /* reducido de 65px */
}

.nav-back-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--green-primary);
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    background: rgba(45, 139, 60, 0.08);
    border: 1px solid rgba(45, 139, 60, 0.3);
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
    transition: all var(--transition);
    white-space: nowrap;
}

.nav-back-btn i {
    font-size: 0.75em;
    transition: transform var(--transition);
}

.nav-back-btn:hover {
    background: rgba(45, 139, 60, 0.15);
    border-color: var(--green-primary);
}

.nav-back-btn:hover i {
    transform: translateX(-3px);
}

.nav-menu {
    display: flex;
    gap: 35px; /* reducido de 45px */
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 0.82em; /* reducido de 0.88em */
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
    transition: color var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green-primary);
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--green-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px; /* reducido de 25px */
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-dark);
    font-weight: 600;
    font-size: 0.85em; /* reducido de 0.9em */
    padding: 8px 12px; /* reducido */
    background: var(--silver-light);
    border-radius: 6px;
    transition: all var(--transition);
}

.nav-phone i {
    color: var(--green-primary);
    font-size: 1em;
}

.nav-phone:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.nav-phone:hover i {
    color: var(--white);
}

.nav-btn {
    background: var(--green-primary);
    color: var(--white);
    padding: 8px 20px; /* reducido de 12px 28px */
    font-weight: 700;
    font-size: 0.78em; /* reducido */
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all var(--transition);
    box-shadow: 0 4px 15px rgba(45, 139, 60, 0.3);
    white-space: nowrap;
}

.nav-btn:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 2.5px;
    background: var(--green-primary);
    transition: all var(--transition);
    border-radius: 2px;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-8px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* Ocultar texto del teléfono en pantallas medianas */
@media (max-width: 1200px) {
    .nav-phone span {
        display: none;
    }
    .nav-phone i {
        font-size: 1.2em;
    }
    .nav-menu {
        gap: 25px;
    }
}

@media (max-width: 992px) {
    .nav-back-btn.desktop-only {
        display: none;
    }
}

/* ========================================
   HERO SECTION (mejorado)
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    max-height: 1100px;
    overflow: hidden;
    margin-top: 71px; /* ajustado por altura del navbar optimizado */
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.55;
    pointer-events: none;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease;
}

.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;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.82) 0%,
        rgba(45, 139, 60, 0.40) 100%
    );
}

/* ========================================
   HERO CONTENT
======================================== */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    padding: 40px 8% 30px 8%;
    gap: 0;
    max-width: 900px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 2px solid var(--green-primary);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    align-self: start;
    width: fit-content;
    pointer-events: all;
    opacity: 0;
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
    margin-top: 0;
}

.hero-badge i {
    color: var(--green-primary);
    font-size: 1em;
}

.hero-badge span {
    color: var(--green-dark);
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.75em;
    text-transform: uppercase;
}

.hero-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 15px 0 5px 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.4em, 5vw, 4.2em);
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.title-line {
    display: block;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    opacity: 0;
    animation: fadeInUp 0.9s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.4s; }
.title-line:nth-child(2) { animation-delay: 0.6s; }
.title-line:nth-child(3) { animation-delay: 0.8s; }

.title-line.highlight {
    color: var(--green-primary);
    text-shadow:
        0 0 25px rgba(45, 139, 60, 0.5),
        2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.9s forwards;
    max-width: 500px;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--green-primary), transparent);
    box-shadow: 0 0 8px rgba(45, 139, 60, 0.5);
}

.divider-icon {
    font-size: 1.1em;
    color: var(--green-primary);
    padding: 0 8px;
}

.hero-text {
    font-size: clamp(0.85em, 1.4vw, 1.05em);
    color: var(--white);
    line-height: 1.6;
    font-weight: 400;
    max-width: 560px;
    padding: 12px 18px;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 8px;
    border-left: 4px solid var(--green-primary);
    opacity: 0;
    animation: fadeInUp 0.9s ease-out 1.0s forwards;
}

.hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.9s ease-out 1.15s forwards;
    pointer-events: all;
    padding-bottom: 10px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 0.82em;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    border-radius: 40px;
    transition: all var(--transition);
    white-space: nowrap;
    pointer-events: all;
}

.hero-btn.primary {
    background: var(--green-primary);
    color: var(--white);
    box-shadow: 0 5px 20px rgba(45, 139, 60, 0.4);
}

.hero-btn.primary:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
}

.hero-btn.secondary {
    background: rgba(255, 255, 255, 0.92);
    color: var(--green-dark);
    font-weight: 700;
}

.hero-btn.secondary:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255,255,255,0.4);
}

/* ========================================
   HERO STATS
======================================== */
.hero-stats {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.35s forwards;
    padding: 15px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    pointer-events: none;
    align-items: center;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-right: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    margin-right: 30px;
}

.hero-stat-item:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.hero-stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.5em, 2.2vw, 2em);
    font-weight: 900;
    color: var(--green-primary);
    line-height: 1;
    display: inline-block;
    text-shadow: 0 0 20px rgba(45, 139, 60, 0.5);
}

.hero-stat-item .stat-plus {
    font-family: var(--font-heading);
    font-size: 1.1em;
    font-weight: 900;
    color: var(--green-light);
    display: inline-block;
    vertical-align: super;
    margin-left: 2px;
}

.hero-stat-item .stat-label {
    font-size: 0.74em;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ========================================
   DECORACIONES GEOMÉTRICAS
======================================== */
.hero-decoration {
    position: absolute;
    background: linear-gradient(135deg, var(--green-primary), transparent);
    opacity: 0.10;
    z-index: 2;
    pointer-events: none;
}

.hero-decoration-1 {
    top: 10%;
    right: 8%;
    width: 260px;
    height: 260px;
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    animation: heroDeco 22s infinite ease-in-out;
}

.hero-decoration-2 {
    bottom: 15%;
    right: 20%;
    width: 160px;
    height: 160px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: heroDeco 16s infinite ease-in-out reverse;
}

.hero-decoration-3 {
    top: 50%;
    right: 5%;
    width: 110px;
    height: 110px;
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    animation: decoRotate 35s infinite linear;
}

@keyframes heroDeco {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%       { transform: translate(20px, -20px) rotate(120deg); }
    66%       { transform: translate(-15px, 15px) rotate(240deg); }
}

@keyframes decoRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ========================================
   SLIDER CONTROLS
======================================== */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    transform: translateY(-50%);
    pointer-events: none;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--green-primary);
    font-size: 1.2em;
    cursor: pointer;
    transition: all var(--transition);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(45, 139, 60, 0.2);
}

.slider-btn:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-green);
}

.btn-ripple {
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

.btn-ripple.active {
    width: 120px;
    height: 120px;
    opacity: 0;
}

/* ========================================
   SLIDER PAGINATION
======================================== */
.slider-pagination {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 14px;
    align-items: center;
}

.pagination-dot {
    position: relative;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dot-inner {
    display: block;
    width: 45px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid var(--green-primary);
    clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
    transition: all var(--transition);
}

.pagination-dot.active .dot-inner {
    width: 65px;
    background: var(--green-primary);
    box-shadow: 0 0 15px rgba(45, 139, 60, 0.8);
}

.dot-label {
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.68em;
    color: var(--white);
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity var(--transition);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.pagination-dot:hover .dot-label,
.pagination-dot.active .dot-label {
    opacity: 1;
}

/* ========================================
   SLIDER PROGRESS BAR
======================================== */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(45, 139, 60, 0.2);
    z-index: 10;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--green-primary), var(--green-light));
    box-shadow: 0 0 15px rgba(45, 139, 60, 0.7);
    transition: none;
}

/* ========================================
   SCROLL INDICATOR
======================================== */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.scroll-indicator span {
    display: block;
    font-size: 0.7em;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
}

.scroll-arrow {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--green-primary);
    transition: all var(--transition);
    font-size: 0.85em;
}

.scroll-indicator:hover .scroll-arrow {
    background: var(--green-primary);
    color: var(--white);
}

/* ========================================
   HERO SOCIAL BAR
======================================== */
.hero-social {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0;
    animation: slideInRight 0.8s ease-out 1.5s forwards;
}

.social-link {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(45, 139, 60, 0.5);
    color: var(--green-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);
    cursor: pointer;
}

.social-link:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateX(-4px);
    box-shadow: -4px 4px 15px rgba(45, 139, 60, 0.4);
}

.social-tooltip {
    position: absolute;
    right: 56px;
    background: var(--green-primary);
    color: var(--white);
    padding: 6px 12px;
    font-size: 0.73em;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
    border-radius: 2px;
}

.social-link:hover .social-tooltip {
    opacity: 1;
    right: 62px;
}

/* ========================================
   STATS BAR
======================================== */
.stats-bar {
    background: var(--green-primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 50px,
        rgba(255, 255, 255, 0.03) 50px,
        rgba(255, 255, 255, 0.03) 51px
    );
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform var(--transition);
    padding: 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.stat-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    color: var(--white);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all var(--transition);
}

.stat-item:hover .stat-icon {
    background: var(--white);
    color: var(--green-primary);
    transform: rotate(5deg) scale(1.1);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8em;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    display: block;
}

.stat-number::after {
    content: '+';
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7em;
}

.stat-label {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.3;
    margin-top: 5px;
}

/* ========================================
   SECTION GENERAL
======================================== */
.section-tag {
    margin-bottom: 12px;
}

.section-tag span {
    display: inline-block;
    background: rgba(45, 139, 60, 0.1);
    color: var(--green-primary);
    padding: 6px 18px;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.75em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid rgba(45, 139, 60, 0.2);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3em;
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: var(--black);
}

.section-title.light {
    color: var(--white);
}

.section-title .highlight {
    color: var(--green-primary);
    display: block;
}

.safety-section .section-title .highlight {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.title-line-bar {
    width: 80px;
    height: 4px;
    background: var(--green-primary);
    margin-bottom: 25px;
    border-radius: 2px;
}

.safety-section .title-line-bar {
    background: rgba(255, 255, 255, 0.8);
}

.title-line-bar.center {
    margin-left: auto;
    margin-right: auto;
}

.section-header-center {
    text-align: center;
    margin-bottom: 70px;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-section {
    background: var(--white);
    padding: 100px 0;
    position: relative;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about-text {
    font-size: 1.05em;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--green-primary);
}

.about-mision-vision {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 25px 0 20px;
}

.mv-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    background: #f4f9f5;
    border-left: 4px solid var(--green-primary);
    border-radius: 8px;
    transition: background var(--transition);
}

.mv-card:hover {
    background: #eaf4ec;
}

.mv-icon {
    width: 44px;
    height: 44px;
    background: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--white);
    font-size: 1.2em;
    flex-shrink: 0;
}

.mv-card h4 {
    font-family: var(--font-heading);
    font-size: 0.95em;
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 4px;
}

.mv-card p {
    font-size: 0.88em;
    color: #444;
    line-height: 1.55;
    margin: 0;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 28px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--black);
    font-weight: 500;
    padding: 12px 16px;
    background: var(--silver-light);
    border-radius: 8px;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.feature:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateX(5px);
    border-left-color: var(--green-dark);
}

.feature i {
    color: var(--green-primary);
    font-size: 1.2em;
    transition: color var(--transition);
    flex-shrink: 0;
}

.feature:hover i {
    color: var(--white);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--green-primary);
    color: var(--white);
    padding: 14px 32px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 10px;
    border-radius: 50px;
    transition: all var(--transition);
    font-size: 0.9em;
    box-shadow: 0 4px 20px rgba(45, 139, 60, 0.3);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image-wrapper img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.08);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--green-primary);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-badge i {
    font-size: 2.2em;
    color: var(--white);
}

.image-badge div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.image-badge h4 {
    font-size: 1.3em;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.image-badge p {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ========================================
   POLÍTICA / VALORES / OBJETIVOS SECTION
======================================== */
.politica-section {
    background: var(--bg-soft);
    padding: 90px 0;
}

.politica-intro {
    max-width: 760px;
    margin: 0 auto 55px;
    font-size: 1.05em;
    color: #555;
    line-height: 1.8;
    font-style: italic;
    text-align: center;
}

.valores-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.valor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 30px 24px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 22px rgba(0,0,0,0.07);
    min-width: 140px;
    transition: all var(--transition);
    border-bottom: 4px solid var(--green-primary);
    cursor: default;
}

.valor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(45,139,60,0.15);
}

.valor-icon {
    width: 58px;
    height: 58px;
    background: var(--green-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.4em;
    transition: transform var(--transition);
}

.valor-card:hover .valor-icon {
    transform: rotate(10deg) scale(1.1);
}

.valor-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88em;
    color: var(--black);
    text-align: center;
    letter-spacing: 0.5px;
}

.objetivos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.objetivo-card {
    background: var(--white);
    padding: 32px 26px;
    border-radius: 16px;
    box-shadow: 0 4px 22px rgba(0,0,0,0.07);
    position: relative;
    border-top: 4px solid var(--green-primary);
    transition: all var(--transition);
}

.objetivo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(45,139,60,0.12);
}

.objetivo-num {
    font-family: var(--font-heading);
    font-size: 3.2em;
    font-weight: 900;
    color: rgba(45,139,60,0.07);
    position: absolute;
    top: 10px;
    right: 18px;
    line-height: 1;
    pointer-events: none;
}

.objetivo-card h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 10px;
    font-size: 1em;
}

.objetivo-card p {
    color: #555;
    font-size: 0.91em;
    line-height: 1.65;
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-section {
    background: var(--silver-light);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.bg-pattern {
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 40px,
        var(--green-primary) 40px,
        var(--green-primary) 41px
    );
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 35px 25px;
    position: relative;
    transition: all var(--transition);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 139, 60, 0.05), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--green-primary);
    transition: width 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { width: 100%; }

.service-number {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3.5em;
    font-weight: 900;
    color: rgba(45, 139, 60, 0.08);
    line-height: 1;
    font-family: var(--font-heading);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    color: var(--white);
    margin-bottom: 20px;
    border-radius: 12px;
    transition: all var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-green);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35em;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 12px;
    line-height: 1.2;
}

.service-description {
    color: var(--gray-dark);
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 0.93em;
}

.service-image {
    width: 100%;
    height: 170px;
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 12px;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.12);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-primary);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.85em;
    text-transform: uppercase;
    transition: gap var(--transition);
}

.service-link:hover { gap: 14px; }

/* ========================================
   PROJECTS SECTION
======================================== */
.projects-section {
    background: var(--white);
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.project-item {
    position: relative;
    height: 380px;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.project-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-item:hover .project-image img {
    transform: scale(1.15);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(45, 139, 60, 0.85) 60%,
        rgba(45, 139, 60, 0.96) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 35px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-info {
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 4px 12px;
    font-size: 0.72em;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 10px;
    backdrop-filter: blur(5px);
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.1;
}

.project-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-size: 0.88em;
    line-height: 1.5;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--green-primary);
    padding: 10px 20px;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.85em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all var(--transition);
}

.project-btn:hover {
    background: var(--green-primary);
    color: var(--white);
    gap: 14px;
}

/* ========================================
   SAFETY SECTION
======================================== */
.safety-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.safety-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.safety-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.safety-section:hover .safety-bg img {
    transform: scale(1.0);
}

.safety-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(45, 139, 60, 0.95) 0%,
        rgba(31, 97, 41, 0.9) 100%
    );
}

.safety-content {
    position: relative;
    z-index: 1;
    max-width: 950px;
}

.safety-section .section-tag span {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
}

.safety-text {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 45px;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.safety-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border-left: 4px solid var(--white);
    transition: all var(--transition);
    border-top: 1px solid rgba(255,255,255,0.15);
}

.safety-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateX(6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.safety-icon {
    width: 55px;
    height: 55px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6em;
    color: var(--green-primary);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all var(--transition);
}

.safety-item:hover .safety-icon {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.safety-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1em;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.safety-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.93em;
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--silver-dark) 0%, var(--silver) 100%);
    padding: 90px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.15), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 3.2em;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 18px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.cta-content p {
    font-size: 1.25em;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 32px;
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all var(--transition);
}

.cta-btn.primary {
    background: var(--green-primary);
    color: var(--white);
    box-shadow: 0 6px 25px rgba(45, 139, 60, 0.4);
}

.cta-btn.primary:hover {
    background: var(--green-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
}

.cta-btn.secondary {
    background: var(--white);
    color: var(--green-dark);
}

.cta-btn.secondary:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* ========================================
   EMPLEO SECTION
======================================== */
.empleo-section {
    padding: 90px 0;
    background: var(--bg-soft);
    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(45,139,60,0.03) 0%, transparent 30%);
    pointer-events: none;
}

.empleo-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.05em;
    color: var(--gray-dark);
    line-height: 1.8;
    text-align: center;
}

.empleo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.empleo-card {
    background: var(--white);
    border: 2px solid rgba(45, 139, 60, 0.2);
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    padding: 45px 35px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.empleo-card:hover {
    border-color: var(--green-primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(45, 139, 60, 0.15);
}

.empleo-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 139, 60, 0.1);
    border: 3px solid var(--green-primary);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    font-size: 2.8em;
    color: var(--green-primary);
    transition: all var(--transition);
}

.empleo-card:hover .empleo-icon {
    background: var(--green-primary);
    color: var(--white);
}

.empleo-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.empleo-card p {
    font-size: 1em;
    color: #444;
    line-height: 1.7;
    margin-bottom: 25px;
}

.empleo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--green-primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.85em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: all var(--transition);
    border: 2px solid var(--green-primary);
    position: relative;
    overflow: hidden;
}

.empleo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--green-dark);
    transition: left 0.4s ease;
}

.empleo-btn span,
.empleo-btn i {
    position: relative;
    z-index: 1;
}

.empleo-btn:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
}

.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: 8px 0;
    border-bottom: 1px solid rgba(45, 139, 60, 0.1);
    color: #444;
    font-size: 0.95em;
}

.vacantes-lista li i {
    color: var(--green-primary);
    font-size: 0.8em;
}

.vacantes-nota {
    font-size: 0.85em !important;
    color: #777 !important;
    margin-top: 10px;
    font-style: italic;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--gray-dark);
    padding: 70px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--gray-light);
}

.footer-logo {
    width: 170px;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: var(--gray-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition);
    border-radius: 8px;
}

.footer-social a:hover {
    background: var(--green-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 139, 60, 0.4);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.15em;
    font-weight: 700;
    color: var(--green-primary);
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--gray-text);
    transition: all var(--transition);
    display: inline-block;
    font-size: 0.95em;
}

.footer-col ul li a:hover {
    color: var(--green-primary);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-text);
    font-size: 0.92em;
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-contact li i {
    color: var(--green-primary);
    width: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact li a {
    color: var(--gray-text);
    transition: color var(--transition);
}

.footer-contact li a:hover {
    color: var(--green-primary);
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: var(--gray-text);
    font-size: 0.88em;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ========================================
   BACK TO TOP
======================================== */
.back-to-top {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 52px;
    height: 52px;
    background: var(--green-primary);
    color: var(--white);
    border: none;
    font-size: 1.4em;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 999;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(45, 139, 60, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--green-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-green);
}

/* ========================================
   NOTIFICATION SYSTEM
======================================== */
.notification-container {
    position: fixed;
    top: 120px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.notification {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    background: var(--white);
    border-left: 4px solid var(--green-primary);
    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.2);
    transform: translateX(420px);
    opacity: 0;
    transition: all 0.4s ease;
    min-width: 340px;
    max-width: 450px;
    pointer-events: all;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success { border-left-color: var(--green-primary); }
.notification-error   { border-left-color: #F44336; }
.notification-info    { border-left-color: #2196F3; }

.notification i {
    font-size: 1.5em;
    color: var(--green-primary);
    flex-shrink: 0;
}

.notification-error i { color: #F44336; }
.notification-info i  { color: #2196F3; }

.notification span {
    flex: 1;
    color: var(--gray-dark);
    font-size: 0.95em;
    font-weight: 500;
}

.notification-close {
    background: transparent;
    border: none;
    color: var(--silver-dark);
    font-size: 1.1em;
    cursor: pointer;
    padding: 5px;
    transition: color var(--transition);
}

.notification-close:hover {
    color: var(--black);
}

/* ========================================
   AOS - SCROLL REVEAL
======================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 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-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos-delay="500"] { transition-delay: 0.5s; }

/* ========================================
   KEYFRAMES GLOBALES
======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0);    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to   { opacity: 1; transform: translateX(0);     }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0);    }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .hero-title { font-size: clamp(2.2em, 4vw, 3.5em); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .objetivos-grid { grid-template-columns: repeat(2, 1fr); }
    .empleo-grid { gap: 30px; }
    .nav-menu { gap: 25px; }
}

@media (max-width: 992px) {
    .nav-back-btn.desktop-only {
        display: none;
    }
}

@media (max-width: 900px) {
    .ceo-card { grid-template-columns: 1fr; gap: 30px; }
    .ceo-photo { max-width: 220px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .nav-container { padding: 8px 22px; }
    .nav-brand img { height: 45px; }
    .nav-right { display: none; }
    .menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 61px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 30px 20px;
        gap: 20px;
        transform: translateY(-120%);
        transition: transform var(--transition);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active { transform: translateY(0); }

    .hero { height: 100vh; min-height: 600px; margin-top: 61px; }
    .hero-content { padding: 30px 5% 20px 5%; max-width: 100%; }
    .hero-title { font-size: clamp(2em, 7vw, 2.8em); }
    .hero-text { font-size: 0.92em; padding: 10px 14px; }
    .hero-actions { flex-direction: column; }
    .hero-btn { width: 100%; justify-content: center; }
    .hero-stat-item { padding-right: 20px; margin-right: 20px; }
    .hero-stat-item .stat-number { font-size: clamp(1.3em, 4vw, 1.8em); }
    .hero-social { display: none; }
    .slider-controls { padding: 0 15px; }
    .slider-btn { width: 40px; height: 40px; font-size: 1em; }

    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .about-mision-vision { gap: 12px; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .safety-grid { grid-template-columns: 1fr; }
    .empleo-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 35px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-btn { width: 100%; justify-content: center; }
    .cta-content h2 { font-size: 2.2em; }
    .section-title { font-size: 2.3em; }
    .custom-cursor, .cursor-follower { display: none; }
    .hero-decoration { opacity: 0.05; }

    .valores-grid { gap: 14px; }
    .valor-card { min-width: 120px; padding: 22px 16px; }
    .objetivos-grid { grid-template-columns: 1fr; }
    .politica-intro { font-size: 0.95em; }
    .empleo-card { padding: 35px 25px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.8em, 6vw, 2.2em); }
    .hero-badge { padding: 6px 12px; }
    .hero-badge span { font-size: 0.68em; }
    .hero-stats { flex-wrap: wrap; gap: 15px; }
    .hero-stat-item {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        flex-direction: row;
        align-items: center;
        gap: 6px;
    }
    .section-title { font-size: 2em; }
    .cta-content h2 { font-size: 1.8em; }
    .stats-grid { grid-template-columns: 1fr; }
    .loading-bar { width: 240px; }
    .loading-logo { width: 160px; }
    .empleo-card h3 { font-size: 1.5em; }
}