/* =========================
   GRENA V2 - Modern Design
   Inter Font + Glass Morphism
========================= */

:root {
    /* GRENA Colors — Paleta oficial */
    --grena-blue: #0d0d87ad;
    --grena-blue-light: #3B7FCC;
    --grena-red: #D72638;
    --grena-navy: #1B263B;
    --grena-navy-dark: #0E1B2A;
    --grena-cream: #E0E1DD;

    /* Light Theme */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-alt: #edf0f5;
    --text-primary: #0a0a0f;
    --text-secondary: rgba(10, 10, 15, 0.7);
    --text-tertiary: rgba(10, 10, 15, 0.5);
    --border-color: rgba(0, 0, 0, 0.08);
    --card-bg: rgba(0, 0, 0, 0.02);
    --shadow: rgba(0, 0, 0, 0.1);
    
    /* Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Smooth scroll snap (opcional) */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =========================
   FLOATING NAVIGATION
========================= */
.nav-floating {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    background: #0d0d87ad;
    transition: all 0.3s var(--ease-out-expo);
}

.nav-floating.scrolled {
    padding: 12px 0;
    background: #0d0d87; /* color sólido */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 45px;
    transition: height 0.3s ease;
}

.nav-floating.scrolled .nav-logo img {
    height: 38px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.2px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--grena-red);
    border-radius: 2px;
}

/* =========================
   DROPDOWN NAVIGATION
========================= */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item-dropdown .nav-link i.fa-chevron-down {
    font-size: 9px;
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.nav-item-dropdown:hover .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out-expo);
    z-index: 1000;
    pointer-events: none;
}

.nav-dropdown::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-item-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-link {
    display: block;
    padding: 10px 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: -0.1px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-link:hover {
    color: var(--grena-blue);
    background: rgba(26, 86, 168, 0.04);
    padding-left: 28px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* =========================
   HAMBURGER BUTTON
========================= */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}
.nav-hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s ease, width 0.3s ease;
    transform-origin: center;
}
.nav-hamburger:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255,255,255,0.4); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hamburger siempre visible sobre fondo azul */

/* =========================
   MOBILE NAV OVERLAY
========================= */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.nav-mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.nav-mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: #fff;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    overflow-y: auto;
}
.nav-mobile-panel.open { transform: translateX(0); }

.nav-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    flex-shrink: 0;
}
.nav-mobile-header img { height: 36px; }
.nav-mobile-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    background: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: var(--text-secondary);
    transition: background 0.2s ease;
}
.nav-mobile-close:hover { background: rgba(0,0,0,0.05); }

.nav-mobile-links {
    flex: 1;
    padding: 16px 0;
    list-style: none;
}
.nav-mobile-links li { margin: 0; }

.nav-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    letter-spacing: -0.2px;
}
.nav-mobile-link:hover, .nav-mobile-link.active { color: var(--grena-blue); background: rgba(0,56,255,0.04); }
.nav-mobile-link.active { border-left: 3px solid var(--grena-blue); padding-left: 21px; }
.nav-mobile-link i { font-size: 10px; opacity: 0.4; transition: transform 0.3s ease; }
.nav-mobile-link.expanded i { transform: rotate(180deg); opacity: 0.8; }

.nav-mobile-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1);
    background: rgba(0,56,255,0.02);
    list-style: none;
}
.nav-mobile-sub.open { max-height: 400px; }
.nav-mobile-sub a {
    display: block;
    padding: 10px 24px 10px 40px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s ease, background 0.15s ease;
    border-left: 1px solid rgba(0,56,255,0.1);
    margin-left: 24px;
}
.nav-mobile-sub a:hover { color: var(--grena-blue); background: rgba(0,56,255,0.04); }

.nav-mobile-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(0,0,0,0.07);
    flex-shrink: 0;
}
.nav-mobile-footer .login-btn { width: 100%; justify-content: center; }

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #ffffff;
    color: var(--grena-blue);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-expo);
}

.login-btn:hover {
    transform: translateY(-2px);
    background: #f0f4ff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.login-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: translateX(4px);
}

/* =========================
   HERO FULL SCREEN
========================= */
.hero-full {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 32px 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, 
        rgba(26, 86, 168, 0.15) 0%, 
        transparent 70%);
    filter: blur(80px);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.9; transform: translateX(-50%) scale(1.1); }
}

.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: var(--grena-blue);
    font-size: 12px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 92px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title .highlight {
    background: var(--grena-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.hero-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 80px;
}

.cta-primary,
.cta-secondary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--ease-out-expo);
}

.cta-primary {
    background: var(--grena-blue);
    color: white;
    border: none;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 86, 168, 0.4);
}

.cta-secondary {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.cta-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--grena-blue);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-box {
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-4px);
    border-color: var(--grena-blue);
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    background: var(--grena-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--grena-blue), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { opacity: 0; transform: translateY(-10px); }
    50% { opacity: 1; transform: translateY(0); }
}

/* =========================
   SECTION STYLING
========================= */

/* Animación de entrada para secciones */
section {
    opacity: 0;
    animation: fadeInSection 1s ease-out forwards;
    transition: all 0.6s var(--ease-out-expo);
}

section:nth-child(even) {
    animation-delay: 0.1s;
}

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

.section-header {
    text-align: center;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grena-blue);
    margin-bottom: 8px;
    padding: 0;
}

.section-header h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================
   SERVICES CAROUSEL SECTION
========================= */
.services-carousel-section {
    padding: 10px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.services-carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--border-color) 20%, 
        var(--border-color) 80%, 
        transparent);
}

.services-carousel-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, 
        rgba(26, 86, 168, 0.05) 0%, 
        transparent 70%);
    pointer-events: none;
    filter: blur(60px);
}

/* Carousel Cards Styles */
.cc-wrapper {
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.cc-wrapper *,
.cc-wrapper *::before,
.cc-wrapper *::after {
    box-sizing: border-box;
}

.cc-carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
}

.cc-cards-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cc-card {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
    overflow: visible;
    width: 420px;
    position: absolute;
    border: 1px solid var(--border-color);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.cc-card.active {
    z-index: 3;
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: brightness(1);
}

.cc-card.next {
    z-index: 2;
    transform: translateX(280px) scale(0.85);
    opacity: 0.4;
    filter: brightness(0.7);
    pointer-events: none;
}

.cc-card.prev {
    z-index: 2;
    transform: translateX(-280px) scale(0.85);
    opacity: 0.4;
    filter: brightness(0.7);
    pointer-events: none;
}

.cc-card.hidden {
    z-index: 1;
    transform: translateX(280px) scale(0.85);
    opacity: 0.4;
    filter: brightness(0.7);
    pointer-events: none;
}

.cc-card.active:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 80px rgba(26, 86, 168, 0.4);
}

.cc-card-image {
    position: absolute;
    top: -110px;
    right: -80px;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.cc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 30px rgba(26, 86, 168, 0.3));
}

.cc-card-content {
    padding: 35px 30px;
    position: relative;
}

.cc-card-badge {
    display: inline-block;
    background: var(--grena-blue);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.cc-card-title {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
    max-width: 60%;
    line-height: 1.3;
}

.cc-card-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

.cc-card-features {
    list-style: none;
    margin-bottom: 25px;
    padding: 0;
}

.cc-card-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
}

.cc-card-features li:before {
    content: "✓";
    background: var(--grena-blue);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
}

.cc-card-button {
    background: var(--grena-blue);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    width: 100%;
}

.cc-card-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.cc-card-button:active {
    transform: translateY(0);
}

.cc-nav-button {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 18px;
    color: var(--grena-blue);
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cc-nav-button:hover {
    background: var(--grena-blue);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 86, 168, 0.4);
}

/* =========================
   SERVICES MODERN (OLD - BACKUP)
========================= */
.services-modern {
    padding: 160px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.services-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--border-color) 20%, 
        var(--border-color) 80%, 
        transparent);
}

.services-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, 
        rgba(26, 86, 168, 0.05) 0%, 
        transparent 70%);
    pointer-events: none;
    filter: blur(60px);
}

.services-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-modern {
    padding: 48px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(40px);
}

.service-modern.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-modern:nth-child(1) { transition-delay: 0.1s; }
.service-modern:nth-child(2) { transition-delay: 0.2s; }
.service-modern:nth-child(3) { transition-delay: 0.3s; }

.service-modern:hover {
    transform: translateY(-8px);
    border-color: var(--grena-blue);
    box-shadow: 0 20px 50px var(--shadow);
}

.service-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 64px;
    font-weight: 900;
    color: var(--card-bg);
    opacity: 0.5;
}

.service-icon-modern {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--grena-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.service-modern:hover .service-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.service-modern h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service-modern p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-modern p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.feature-tag i {
    color: var(--grena-blue);
    font-size: 11px;
}

/* =========================
   FLEET SECTION
========================= */
.fleet-section {
    padding: 160px 0;
    background: var(--bg-primary);
    position: relative;
}

.fleet-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--border-color) 20%, 
        var(--border-color) 80%, 
        transparent);
}

.fleet-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--border-color) 20%, 
        var(--border-color) 80%, 
        transparent);
}

.fleet-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.fleet-image {
    position: relative;
}

.fleet-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(26, 86, 168, 0.3));
    transition: transform 0.6s var(--ease-out-expo);
}

.fleet-image:hover img {
    transform: scale(1.05) rotate(-2deg);
}

.fleet-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--grena-blue);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(26, 86, 168, 0.4);
}

.fleet-content {
    padding: 0 40px;
}

.fleet-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
}

.fleet-intro strong {
    color: var(--text-primary);
    font-weight: 600;
}

.fleet-specs {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-30px);
}

.spec-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.spec-item:hover {
    border-color: var(--grena-blue);
    transform: translateX(4px);
}

.spec-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(26, 86, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--grena-blue);
    flex-shrink: 0;
}

.spec-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.spec-info p {
    font-size: 14px;
    color: var(--text-tertiary);
}

.btn-fleet {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    background: var(--grena-blue);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-fleet:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(26, 86, 168, 0.4);
}

.btn-fleet i {
    transition: transform 0.3s ease;
}

.btn-fleet:hover i {
    transform: translateX(4px);
}

/* =========================
   PROJECTS SECTION
========================= */
.projects-section {
    padding: 160px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-alt);
    position: relative;
    overflow: hidden;
}
.projects-section .container { width: 100%; }

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--border-color) 20%, 
        var(--border-color) 80%, 
        transparent);
}

.projects-section::after {
    content: '';
    position: absolute;
    bottom: 50%;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, 
        rgba(26, 86, 168, 0.04) 0%, 
        transparent 70%);
    pointer-events: none;
    filter: blur(80px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    opacity: 0;
    transform: scale(0.9) translateY(30px);
}

.project-card.animate-in {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.project-card:nth-child(1) { transition-delay: 0.1s; }
.project-card:nth-child(2) { transition-delay: 0.2s; }
.project-card:nth-child(3) { transition-delay: 0.3s; }

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--grena-blue);
    box-shadow: 0 20px 50px var(--shadow);
}

.project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    color: white;
}

.project-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.project-overlay p {
    font-size: 14px;
    opacity: 0.8;
}

.project-stats {
    display: flex;
    gap: 24px;
    padding: 20px 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.project-stats div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-stats i {
    color: var(--grena-blue);
}

/* =========================
   VIDEO SECTION PREMIUM
========================= */
.video-section-premium {
    padding: 160px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.video-section-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--border-color) 20%, 
        var(--border-color) 80%, 
        transparent);
}

.video-section-premium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, 
        rgba(26, 86, 168, 0.05) 0%, 
        transparent 70%);
    pointer-events: none;
    filter: blur(80px);
}

.video-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.video-left h2 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.video-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 48px;
}

.video-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.video-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.video-feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.video-feature-item:hover {
    border-color: var(--grena-blue);
    transform: translateX(8px);
}

.feature-icon-small {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(26, 86, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--grena-blue);
    flex-shrink: 0;
}

.video-feature-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.video-feature-item p {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
}

/* Video Player Container */
.video-player-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 25px 60px var(--shadow);
    border: 1px solid var(--border-color);
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
}

/* Play Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 86, 168, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out-expo);
    cursor: pointer;
}

.play-btn-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.play-btn-large:hover {
    transform: scale(1.1);
}

.play-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.play-btn-large:hover .play-icon-wrapper {
    box-shadow: 0 16px 50px rgba(26, 86, 168, 0.6);
}

.play-icon-wrapper i {
    font-size: 32px;
    color: var(--grena-blue);
    margin-left: 4px;
}

.play-btn-large span {
    color: white;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Custom Controls */
.video-custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    padding: 60px 24px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-custom-controls.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Progress Bar */
.video-progress-container {
    margin-bottom: 16px;
    cursor: pointer;
}

.video-progress-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    position: relative;
    overflow: visible;
}

.video-progress-filled {
    height: 100%;
    background: var(--grena-blue);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.video-progress-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    left: 0%;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-progress-container:hover .video-progress-handle {
    opacity: 1;
}

/* Bottom Controls */
.video-controls-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-controls-left,
.video-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-control-btn {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* Volume Group */
.video-volume-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-volume-slider-container {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
}

.video-volume-group:hover .video-volume-slider-container {
    width: 80px;
}

.video-volume-slider {
    width: 80px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.video-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

.video-volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
}

/* Time Display */
.video-time {
    display: flex;
    align-items: center;
    gap: 4px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.time-separator {
    opacity: 0.5;
}

/* Video Stats Grid */
.video-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.video-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.video-stat-item i {
    color: var(--grena-blue);
    font-size: 16px;
}

/* =========================
   CONTACT MODERN
========================= */
.contact-modern {
    padding: 160px 0;
    background: var(--bg-primary);
    position: relative;
}

.contact-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--border-color) 20%, 
        var(--border-color) 80%, 
        transparent);
}

.contact-modern::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, 
        rgba(26, 86, 168, 0.06) 0%, 
        transparent 70%);
    pointer-events: none;
    filter: blur(70px);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info h2 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 48px;
}

.contact-info > p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: var(--grena-blue);
    transform: translateX(4px);
}

.method-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(26, 86, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--grena-blue);
    flex-shrink: 0;
}

.method-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.method-info span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.method-info strong {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--grena-blue);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

.contact-visual {
    padding: 0 40px;
}

.visual-card {
    padding: 48px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    backdrop-filter: blur(10px);
}

.visual-card i {
    font-size: 36px;
    color: var(--grena-blue);
    margin-bottom: 24px;
}

.visual-card p {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* =========================
   FOOTER MODERN
========================= */
.footer-modern {
    padding: 80px 0 0;
    background: linear-gradient(180deg, #1f2d5f 0%, #182450 50%, #131d42 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
}

.footer-modern .footer-brand p,
.footer-modern .footer-col a,
.footer-modern .footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
}

.footer-modern .footer-col h4 {
    color: #ffffff;
}

.footer-modern .footer-col a:hover {
    color: #ffffff;
}

/* Footer Social Icons (Brand Column) */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    opacity: 0.85;
}
.footer-social-btn:hover {
    transform: translateY(-3px) scale(1.08);
    opacity: 1;
    box-shadow: 0 8px 24px rgba(59, 127, 204, 0.3);
}
.footer-social-linkedin  { background: rgba(255,255,255,0.12); }
.footer-social-instagram { background: linear-gradient(135deg, #E1306C, #C13584, #833AB4); }
.footer-social-facebook  { background: rgba(255,255,255,0.12); }
.footer-social-whatsapp  { background: #25d366; }

/* Footer Contact Column */
.footer-col-contact .footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.footer-col-contact .footer-contact-item i {
    width: 20px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    flex-shrink: 0;
}
.footer-col-contact .footer-contact-item a,
.footer-col-contact .footer-contact-item span {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}
.footer-col-contact .footer-contact-item a:hover {
    color: #ffffff;
}

/* ============================
   FOOTER — Layout & Components
============================ */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 52px;
    padding-bottom: 52px;
}

.footer-brand img {
    height: 46px;
    margin-bottom: 18px;
    filter: brightness(1.1);
}

.footer-brand p {
    font-size: 14.5px;
    color: rgba(255,255,255,0.48);
    line-height: 1.7;
    max-width: 300px;
    margin: 0;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
    color: #ffffff;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #3B7FCC;
    border-radius: 2px;
}

.footer-col a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    margin-bottom: 14px;
    transition: color 0.25s ease, transform 0.25s ease;
}
.footer-col a:hover {
    color: #ffffff;
    transform: translateX(3px);
}
.footer-col a i.fa-circle-dot {
    font-size: 5px;
    opacity: 0.35;
    flex-shrink: 0;
    transition: opacity 0.25s ease, color 0.25s ease;
}
.footer-col a:hover i.fa-circle-dot {
    opacity: 1;
    color: #6aadea;
}

/* Footer Bottom */
.footer-bottom {
    padding: 28px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    margin: 0;
}
.footer-bottom-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
}

/* =========================
   BOTONES FLOTANTES DE CONTACTO
========================= */
.float-contact-hub {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
    z-index: 9999;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 0 0;
    height: 52px;
    border-radius: 26px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    max-width: 52px;          /* colapsado: sólo ícono */
    transition: max-width 0.4s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.3s ease,
                transform 0.3s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
    position: relative;
}
.float-btn:hover {
    max-width: 240px;         /* expandido con texto */
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.32);
}

.float-btn i {
    font-size: 22px;
    min-width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 26px;
}

.float-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.2px;
    padding-right: 4px;
    opacity: 0;
    transition: opacity 0.25s ease 0.1s;
    pointer-events: none;
}
.float-btn:hover .float-label {
    opacity: 1;
}

.float-btn-whatsapp {
    background: #25D366;
}
.float-btn-whatsapp i {
    background: #1ebe5c;
}
.float-btn-whatsapp:hover {
    box-shadow: 0 10px 30px rgba(37,211,102,0.45);
}

.float-btn-phone {
    background: var(--grena-blue);
}
.float-btn-phone i {
    background: rgba(0,0,0,0.12);
}
.float-btn-phone:hover {
    box-shadow: 0 10px 30px rgba(13,13,135,0.45);
}

/* Tooltip superior */
.float-tooltip {
    display: none;
}

/* Pulse en WhatsApp */
.float-btn-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 26px;
    background: #25D366;
    animation: float-pulse 2.8s ease-out infinite;
    z-index: -1;
}
@keyframes float-pulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* Mobile */
@media (max-width: 600px) {
    .float-contact-hub {
        bottom: 20px;
        right: 16px;
        gap: 10px;
    }
    .float-btn {
        height: 48px;
        max-width: 48px;
        border-radius: 24px;
    }
    .float-btn i {
        min-width: 48px;
        height: 48px;
        font-size: 20px;
        border-radius: 24px;
    }
    .float-btn:hover {
        max-width: 200px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-col-contact {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
@media (max-width: 900px) and (min-width: 601px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-col-contact {
        grid-column: 1 / -1;
    }
}

/* =========================
   HERO BACKGROUND IMAGE
========================= */
.hero-bg-image {
    position: relative;
}

.hero-bg-photo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: block;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(14, 27, 42, 0.55) 0%,
        rgba(14, 27, 42, 0.35) 50%,
        rgba(14, 27, 42, 0.72) 100%
    );
}

/* Hero text blanco sobre overlay oscuro */
.hero-bg-image .hero-title {
    color: #ffffff;
}

.hero-bg-image .hero-description {
    color: rgba(255, 255, 255, 0.85);
}

.hero-bg-image .hero-description strong {
    color: #ffffff;
}

.hero-bg-image .hero-badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.hero-bg-image .hero-badge i {
    color: #7da1ff;
}

.hero-bg-image .stat-box {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
}

.hero-bg-image .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

.hero-bg-image .cta-secondary {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.hero-bg-image .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-bg-image .scroll-indicator {
    color: rgba(255, 255, 255, 0.6);
}

.hero-bg-image .scroll-line {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent);
}

/* =========================
   PAGE HERO (Sub-pages)
========================= */
.page-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 32px;
    overflow: hidden;
    text-align: center;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Imagen de fondo estándar para sub-páginas */
.page-hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

/* Overlay estándar para todos los page-hero */
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,6,25,0.85) 0%, rgba(0,18,52,0.65) 45%, rgba(0,0,0,0.75) 100%);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-hero-title {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 16px;
    color: var(--text-primary);
    color:#fff;

}

.page-hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================
   PAGE SUB-NAVIGATION
========================= */
.page-subnav {
    position: sticky;
    top: 70px;
    z-index: 100;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 32px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.page-subnav::-webkit-scrollbar {
    display: none;
}

.page-subnav .container {
    display: flex;
    gap: 32px;
    white-space: nowrap;
}

.subnav-link {
    display: inline-block;
    padding: 16px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-tertiary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.subnav-link:hover,
.subnav-link.active {
    color: var(--text-primary);
    border-bottom-color: var(--grena-blue);
}

/* =========================
   CONTENT SECTIONS (Sub-pages)
========================= */
.content-section {
    min-height: 100vh;
    padding: 100px 0;
    display: flex;
    align-items: center;
}

.content-section > .container {
    width: 100%;
}

.content-section.alt-bg {
    background: var(--bg-alt);
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Cultura split: imagen arriba a la derecha, texto largo a la izquierda */
.cultura-split {
    align-items: start;
    grid-template-columns: 3fr 2fr;
}

.cultura-lead {
    font-size: 17.5px !important;
    font-weight: 500;
    color: var(--text-primary) !important;
    line-height: 1.85 !important;
    border-left: 3px solid var(--grena-blue);
    padding-left: 18px;
    margin-bottom: 22px !important;
}

.cultura-pillars {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 30px;
}

.cultura-pillar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cultura-pillar i {
    color: var(--grena-blue);
    font-size: 15px;
    flex-shrink: 0;
}

.cultura-pillar:hover {
    border-color: var(--grena-blue);
    box-shadow: 0 4px 16px rgba(26, 86, 168, 0.07);
}

.content-text h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.content-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-visual {
    display: flex;
    justify-content: center;
}

.content-img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.stat-highlight {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    padding: 16px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.stat-highlight .stat-number {
    font-size: 28px;
}

/* =========================
   TIMELINE
========================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--grena-blue);
    transform-origin: top center;
    transform: scaleY(0);
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline.timeline-line-visible::before {
    transform: scaleY(1);
}

.timeline-item {
    position: relative;
    margin-bottom: 52px;
    padding-left: 40px;
    opacity: 0;
    transform: translateX(-28px) translateY(12px);
    transition:
        opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

.timeline-dot {
    position: absolute;
    left: -49px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--grena-blue);
    border: 3px solid var(--bg-primary);
    z-index: 1;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
    box-shadow: 0 0 0 0 rgba(26, 86, 168, 0.4);
}

.timeline-item.animate-in .timeline-dot {
    transform: scale(1);
    animation: timeline-dot-pulse 2.4s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes timeline-dot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(26, 86, 168, 0.45); }
    50%  { box-shadow: 0 0 0 8px rgba(26, 86, 168, 0); }
    100% { box-shadow: 0 0 0 0 rgba(26, 86, 168, 0); }
}

.timeline-content {
    padding: 26px 28px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition:
        border-color 0.35s ease,
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s ease;
}

.timeline-content:hover {
    border-color: var(--grena-blue);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(26, 86, 168, 0.08);
}

.timeline-year {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--grena-blue);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: rgba(26, 86, 168, 0.08);
    border-radius: 30px;
    border: 1px solid rgba(26, 86, 168, 0.18);
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =========================
   FEATURE LIST
========================= */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--grena-blue);
}

.feature-item i {
    font-size: 20px;
    color: var(--grena-blue);
    margin-top: 2px;
    flex-shrink: 0;
}

.feature-item div h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feature-item div p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* =========================
   PHILOSOPHY / VALUES
========================= */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.philosophy-card {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    border-color: var(--grena-blue);
    transform: translateY(-4px);
}

.philosophy-icon {
    font-size: 32px;
    color: var(--grena-blue);
    margin-bottom: 20px;
}

.philosophy-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.philosophy-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.value-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    border-color: var(--grena-blue);
    transform: translateY(-4px);
}

.value-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--grena-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.value-icon {
    font-size: 24px;
    color: var(--grena-blue);
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================
   STRATEGY / OBJECTIVES
========================= */
.strategy-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.pillar {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.pillar:hover {
    border-color: var(--grena-blue);
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.pillar-num {
    font-size: 32px;
    font-weight: 900;
    background: var(--grena-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pillar h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.pillar p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.objective-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.objective-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.objective-card:hover {
    border-color: var(--grena-blue);
}

.objective-icon {
    font-size: 24px;
    color: var(--grena-blue);
    margin-bottom: 16px;
}

.objective-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.objective-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.objective-progress {
    margin-top: 8px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--grena-blue);
    border-radius: 4px;
    transition: width 1.5s var(--ease-out-expo);
}

.progress-bar + span {
    font-size: 13px;
    font-weight: 600;
    color: var(--grena-blue);
}

/* =========================
   TEAM GRID
========================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.team-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.team-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    border-color: var(--grena-blue);
    transform: translateY(-4px);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--grena-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    font-weight: 800;
    color: white;
}

.team-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.team-role {
    font-size: 13px;
    color: var(--grena-blue);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =========================
   ALIANZAS SECTION
========================= */
.alianzas-section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-alt);
}

.alianzas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.alianza-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.alianza-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.alianza-card:hover {
    border-color: var(--grena-blue);
    transform: translateY(-4px);
}

.alianza-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(26, 86, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--grena-blue);
}

.alianza-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.alianza-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.alianza-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 86, 168, 0.1);
    color: var(--grena-blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* =========================
   CLIENTS / EXPERIENCES / COVERAGE
========================= */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.client-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.client-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.client-card:hover {
    border-color: var(--grena-blue);
    transform: translateY(-4px);
}

.client-logo-placeholder {
    width: 120px;
    height: 80px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--grena-blue);
}

.client-logo-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.client-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.client-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.client-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 86, 168, 0.1);
    color: var(--grena-blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.experience-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 280px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.experience-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.experience-card.large {
    grid-column: span 2;
    min-height: 360px;
}

.experience-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-tertiary);
}

.experience-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(transparent, rgba(10, 10, 15, 0.95));
    z-index: 1;
}

.experience-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(26, 86, 168, 0.3);
    color: white;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.experience-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.experience-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.experience-stats {
    display: flex;
    gap: 24px;
}

.experience-stats span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.experience-stats span i {
    color: var(--grena-blue);
    margin-right: 6px;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 60px;
    align-items: start;
}

.coverage-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.coverage-card {
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.coverage-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.coverage-card:hover {
    border-color: var(--grena-blue);
}

.coverage-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(26, 86, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--grena-blue);
    flex-shrink: 0;
}

.coverage-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.coverage-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.coverage-status {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--bg-tertiary);
    color: var(--text-tertiary);
}

.coverage-status.active {
    background: rgba(0, 200, 83, 0.15);
    color: #00c853;
}

.coverage-map-placeholder {
    height: 100%;
    min-height: 400px;
}

.map-visual {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    font-size: 48px;
}

.map-visual p {
    font-size: 16px;
    margin-top: 16px;
    color: var(--text-secondary);
}

.map-stats {
    display: flex;
    gap: 32px;
    margin-top: 24px;
}

.map-stat {
    text-align: center;
}

.map-stat-number {
    font-size: 28px;
    font-weight: 800;
    background: var(--grena-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.map-stat span {
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================
   POLICIES (Seguridad)
========================= */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.policy-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.policy-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.policy-card:hover {
    border-color: var(--grena-blue);
}

.policy-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.policy-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(26, 86, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--grena-blue);
    flex-shrink: 0;
}

.policy-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.policy-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--grena-blue);
    font-size: 12px;
}

/* =========================
   CERTIFICATIONS
========================= */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.cert-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.cert-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.cert-card:hover {
    border-color: var(--grena-blue);
    transform: translateY(-4px);
}

.cert-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--grena-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: white;
}

.cert-badge.pending {
    background: rgba(26, 86, 168, 0.4);
}

.cert-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.cert-card > span {
    font-size: 13px;
    color: var(--grena-blue);
    font-weight: 600;
}

.cert-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 12px;
}

.cert-status {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 12px;
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* =========================
   SGI STATS
========================= */
.sgi-visual-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.sgi-hero-img {
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    display: block;
}

.sgi-stats-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
}

.sgi-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.sgi-stat.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.sgi-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(26, 86, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--grena-blue);
    flex-shrink: 0;
}

.sgi-stat .stat-number {
    font-size: 28px;
    font-weight: 800;
}

.sgi-stat .stat-label {
    font-size: 13px;
}

/* =========================
   CONTACT PAGE
========================= */
.content-section:has(.contact-layout) {
    min-height: auto;
    padding: 60px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 36px;
    align-items: start;
}

.contact-main,
.contact-side {
    display: grid;
    gap: 20px;
    align-content: start;
}

.contact-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.contact-channels h2,
.contact-form-wrapper h2 {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-channels > p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.channel-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.4s var(--ease-out-expo);
}

.channel-card.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.channel-card:hover {
    border-color: var(--grena-blue);
}

.channel-card--stack {
    align-items: flex-start;
}

.channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(26, 86, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--grena-blue);
    flex-shrink: 0;
}

.channel-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.channel-info p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.channel-info a {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.channel-info a:hover {
    color: var(--grena-blue);
}

.channel-list {
    display: grid;
    gap: 12px;
}

.channel-list-item {
    display: grid;
    grid-template-columns: minmax(110px, 140px) 1fr;
    gap: 12px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.channel-list-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.channel-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.channel-value,
.channel-value-group {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.channel-value-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.contact-hours {
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.contact-hours--featured {
    border-left: 4px solid var(--grena-blue);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.contact-hours h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-hours h4 i {
    color: var(--grena-blue);
    margin-right: 8px;
}

.contact-hours p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* Contact Form */
.contact-form-wrapper {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.contact-form {
    margin-top: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--grena-blue);
}

.form-group textarea {
    resize: vertical;
}

.btn-primary-v2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--grena-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-primary-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 86, 168, 0.4);
}

/* =========================
   LOCATIONS
========================= */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.location-card {
    padding: 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
}

.location-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.location-card:hover {
    border-color: var(--grena-blue);
    transform: translateY(-4px);
}

.location-card.main-location {
    border-color: var(--grena-blue);
}

.location-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    background: var(--grena-blue);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.location-icon {
    font-size: 32px;
    color: var(--grena-blue);
    margin-bottom: 16px;
}

.location-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.location-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}

.location-details p i {
    color: var(--grena-blue);
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
}

/* Map Container */
.map-container {
    margin-top: 48px;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
}

.map-placeholder p {
    font-size: 16px;
    color: var(--text-secondary);
}

.map-placeholder span {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

/* Dos ubicaciones */
.locations-grid--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.location-badge--secondary {
    background: var(--grena-orange, #E87722);
}

.btn-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding: 8px 18px;
    background: transparent;
    border: 1px solid var(--grena-blue);
    color: var(--grena-blue);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.btn-location:hover {
    background: var(--grena-blue);
    color: #fff;
}

/* Grilla de mapas */
.maps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 48px;
}

.map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-label i {
    color: var(--grena-blue);
}

.map-wrapper iframe {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
    .maps-grid {
        grid-template-columns: 1fr;
    }
    .locations-grid--two {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

/* =========================
   ORGANIGRAMA
========================= */
.organigrama-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 40px 0 20px;
    -webkit-overflow-scrolling: touch;
}

.org-tree {
    display: inline-block;
    min-width: 100%;
    text-align: center;
}

.org-tree ul {
    padding-top: 35px;
    position: relative;
    display: flex;
    justify-content: center;
    list-style: none;
    transition: all 0.4s;
}

.org-tree li {
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 35px 15px 0;
    transition: all 0.4s;
}

/* Conectores */
.org-tree li::before,
.org-tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid var(--border-color);
    width: 50%;
    height: 35px;
    transition: border-color 0.3s ease;
}

.org-tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid var(--border-color);
}

.org-tree li:only-child::after,
.org-tree li:only-child::before {
    display: none;
}

.org-tree li:only-child {
    padding-top: 0;
}

.org-tree li:first-child::before,
.org-tree li:last-child::after {
    border: 0 none;
}

.org-tree li:last-child::before {
    border-right: 2px solid var(--border-color);
    border-radius: 0 8px 0 0;
}

.org-tree li:first-child::after {
    border-radius: 8px 0 0 0;
}

.org-tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid var(--border-color);
    width: 0;
    height: 35px;
    transform: translateX(-50%);
    transition: border-color 0.3s ease;
}

/* Nodo / Tarjeta */
.org-nodo {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--grena-blue);
    border-radius: 12px;
    padding: 24px 20px 20px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 200px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    cursor: default;
}

.org-nodo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 86, 168, 0.15);
    border-color: transparent;
    border-top: 4px solid var(--grena-red);
}

/* Avatar */
.org-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--grena-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 22px;
    color: white;
    box-shadow: 0 4px 10px rgba(26, 86, 168, 0.2);
}

/* Badge */
.org-badge {
    background: rgba(26, 86, 168, 0.1);
    color: var(--grena-blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.org-tree li:hover > .org-nodo .org-badge {
    background: rgba(26, 86, 168, 0.12);
    color: var(--grena-red);
}

/* Textos */
.org-nombre {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.org-puesto {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Hover en conectores */
.org-tree li:hover::before,
.org-tree li:hover::after {
    border-color: var(--grena-red);
}

.org-tree li:hover > ul::before {
    border-color: var(--grena-red);
}

/* =========================
   OFERTA SECTION (QUÉ ENTREGAMOS) — FONDO BLANCO
========================= */
.oferta-section {
    padding: 100px 0 80px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.oferta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
}

.oferta-top {
    padding: 0 0 60px;
}

.oferta-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
}

.oferta-header-left h2 {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-top: 12px;
}

.oferta-highlight {
    background: var(--grena-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.oferta-header-right {
    max-width: 360px;
}

.oferta-header-right p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.oferta-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--grena-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: gap 0.3s ease;
}

.oferta-cta-link:hover { gap: 14px; }

.oferta-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--grena-blue);
    background: rgba(26, 86, 168, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
}

.oferta-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.oferta-card {
    padding: 36px 28px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(20px);
}

.oferta-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.oferta-card:hover {
    border-color: var(--grena-blue);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 86, 168, 0.1);
}

.oferta-card--featured {
    background: rgba(26, 86, 168, 0.04);
    border-color: rgba(26, 86, 168, 0.2);
}

.oferta-card-num {
    font-size: 56px;
    font-weight: 900;
    color: rgba(26, 86, 168, 0.06);
    position: absolute;
    top: 12px; right: 16px;
    line-height: 1;
}

.oferta-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(26, 86, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--grena-blue);
    margin-bottom: 16px;
}

.oferta-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.oferta-card-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.oferta-card-specs span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.oferta-card-specs span i { color: var(--grena-blue); font-size: 12px; }

.oferta-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--grena-blue);
    text-decoration: none;
    transition: gap 0.3s ease;
}

.oferta-card-link:hover { gap: 10px; }

.oferta-pv-bar {
    display: flex;
    align-items: center;
    padding: 28px 40px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0;
}

.oferta-pv-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 160px;
    padding: 8px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s;
}

.oferta-pv-item.animate-in { opacity: 1; transform: translateY(0); }

.oferta-pv-icon {
    font-size: 20px;
    color: var(--grena-blue);
}

.oferta-pv-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.oferta-pv-item span {
    font-size: 12px;
    color: var(--text-tertiary);
}

.oferta-pv-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    margin: 0 20px;
}

/* =========================
   SEC-BAND DIVISOR
========================= */
.sec-band {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--grena-blue) 35%, var(--grena-red) 65%, transparent 100%);
    opacity: 0.25;
}

/* =========================
   CASOS DE ÉXITO — SECCIÓN UNIFICADA (OSCURA)
   Antes/Después + Proyectos
========================= */
.casos-section {
    padding: 120px 0;
    background: #0d1117;
    position: relative;
    overflow: hidden;
}

.casos-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 86, 168, 0.5) 50%, transparent);
}

.casos-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(26, 86, 168, 0.06) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(80px);
}

/* Header en fondo oscuro */
.casos-section .section-header {
    margin-bottom: 64px;
}

.casos-section .section-header .section-tag {
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.casos-section .section-header h2 {
    color: #ffffff;
}

.casos-section .section-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 8px;
    max-width: 520px;
}

/* Layout timelapse dentro de casos */
.timelapse-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.timelapse-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.personaje-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.personaje-img {
    max-height: 360px;
    width: auto;
    filter: drop-shadow(0 20px 48px rgba(26, 86, 168, 0.25));
}

.personaje-texto {
    text-align: center;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.personaje-frase {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
    margin-bottom: 14px;
}

.personaje-frase strong { color: #ffffff; }

.personaje-cargo {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.personaje-cargo i {
    color: var(--grena-blue);
    margin-right: 6px;
}

/* Slider comparador */
.timelapse-right {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.comparison-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    letter-spacing: 0.3px;
}

.comparison-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 420px;
    cursor: col-resize;
    overflow: hidden;
    border-radius: 16px;
    user-select: none;
}

.comparison-after,
.comparison-before {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.comparison-after img,
.comparison-before img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.comparison-before {
    clip-path: inset(0 50% 0 0);
}

.comparison-label {
    position: absolute;
    bottom: 16px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 10;
}

.label-before {
    left: 16px;
    background: rgba(0, 0, 0, 0.7);
    color: rgba(255, 255, 255, 0.9);
}

.label-after {
    right: 16px;
    background: var(--grena-blue);
    color: white;
}

.comparison-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    z-index: 20;
    cursor: col-resize;
}

.handle-line {
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
}

.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.handle-mixer-img {
    width: 44px; height: 44px;
    object-fit: contain;
}

/* Divisor interno entre slider y proyectos */
.casos-inner-divider {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 64px 0 48px;
}

.casos-inner-divider::before,
.casos-inner-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.casos-inner-divider span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

/* Project cards sobre fondo oscuro */
.casos-section .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.casos-section .project-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    opacity: 0;
    transform: scale(0.95) translateY(24px);
}

.casos-section .project-card.animate-in {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.casos-section .project-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--grena-blue);
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.casos-section .project-stats {
    padding: 16px 24px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.casos-section .project-stats div {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.casos-section .project-stats i {
    color: var(--grena-blue);
}

/* CTA al pie de la sección */
.casos-cta {
    text-align: center;
    margin-top: 64px;
}

/* =========================
   PROPUESTA DE VALOR — FONDO BLANCO
========================= */
.pv-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.pv-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color) 20%, var(--border-color) 80%, transparent);
}

.pv-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
}

.pv-pillar {
    padding: 40px 32px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
    opacity: 0;
    transform: translateY(20px);
}

.pv-pillar.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.pv-pillar:hover {
    border-color: var(--grena-blue);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 86, 168, 0.08);
}

.pv-pillar-number {
    font-size: 64px;
    font-weight: 900;
    color: rgba(26, 86, 168, 0.05);
    position: absolute;
    top: 16px; right: 20px;
    line-height: 1;
}

.pv-pillar-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: rgba(26, 86, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--grena-blue);
    margin-bottom: 20px;
}

.pv-pillar h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.pv-pillar-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pv-pillar-tags span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pv-pillar-tags span i { color: var(--grena-blue); font-size: 12px; }

.pv-pillar-certifications {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cert-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-mobile-overlay { display: block; }
    .nav-mobile-panel { display: flex; }
    
    .fleet-split,
    .contact-wrapper,
    .video-content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    /* Reducir padding en móvil */
    .services-modern,
    .services-carousel-section,
    .fleet-section,
    .projects-section,
    .contact-modern,
    .video-section-premium {
        padding: 60px 0;
    }
    
    .video-left h2 {
        font-size: 36px;
    }
    
    /* Carousel responsive */
    .cc-carousel-container {
        height: 600px;
    }
    
    .cc-card {
        width: 380px;
    }
    
    .cc-card.next,
    .cc-card.prev {
        transform: translateX(240px) scale(0.8);
    }
    
    .cc-card.prev {
        transform: translateX(-240px) scale(0.8);
    }

    /* New page components */
    .content-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cultura-split {
        grid-template-columns: 1fr;
    }

    .cultura-pillars {
        grid-template-columns: 1fr;
    }

    .content-section {
        padding: 60px 0;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .strategy-pillars {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .alianzas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .experiences-grid {
        grid-template-columns: 1fr;
    }

    .experience-card.large {
        grid-column: span 1;
    }

    .coverage-grid {
        grid-template-columns: 1fr;
    }

    .policies-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-main,
    .contact-side {
        gap: 16px;
    }

    .contact-panels {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .channel-list-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .org-nodo {
        min-width: 170px;
        padding: 18px 14px 16px;
    }

    .org-tree li {
        padding: 30px 8px 0;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 16px;
    }
    
    .nav-logo img {
        height: 35px;
    }
    
    .nav-links {
        display: none;
    }
    
    .login-btn span {
        display: none;
    }
    
    .login-btn {
        padding: 10px 12px;
        min-width: auto;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        display: none;
    }
    
    .services-modern,
    .fleet-section,
    .projects-section,
    .contact-modern,
    .video-section-premium {
        padding: 80px 0;
    }
    
    .services-layout {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .video-left h2 {
        font-size: 32px;
    }
    
    .video-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .video-volume-group:hover .video-volume-slider-container {
        width: 0;
    }
    
    /* Carousel mobile adjustments */
    .cc-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .cc-carousel-container {
        height: auto;
        min-height: 420px;
        padding: 60px 10px 10px;
        margin-top: 20px;
    }
    
    .cc-card {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .cc-card.next,
    .cc-card.prev,
    .cc-card.hidden {
        display: none;
    }
    
    .cc-card-image {
        width: 150px;
        height: 150px;
        top: -30px;
        right: 50%;
        transform: translateX(50%);
        z-index: 1;
    }
    
    .cc-card-image img {
        width: 100%;
        height: 100%;
    }
    
    .cc-card-content {
        padding-top: 120px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .cc-card-title {
        font-size: 22px;
    }
    
    .cc-card-description {
        font-size: 14px;
    }
    
    .cc-card-features {
        font-size: 13px;
    }
    
    .cc-nav-button {
        width: 50px;
        height: 50px;
    }
    
    /* Fleet section mobile */
    .fleet-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .fleet-image {
        order: 2;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .fleet-content {
        order: 1;
        padding: 0 20px;
    }
    
    .fleet-intro {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .fleet-badge {
        top: 12px;
        right: 12px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .spec-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .spec-icon {
        margin-bottom: 12px;
    }
    
    .btn-fleet {
        width: 100%;
        justify-content: center;
    }

    /* New page components mobile */
    .page-hero {
        min-height: 45vh;
        padding: 0 16px 52px;
    }

    .page-subnav .container {
        gap: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .alianzas-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .certifications-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .map-stats {
        flex-direction: column;
        gap: 16px;
    }

    .experience-stats {
        flex-direction: column;
        gap: 8px;
    }

    /* Organigrama mobile: vertical stack */
    .org-tree ul {
        flex-direction: column;
        align-items: center;
    }

    .org-tree li {
        padding: 20px 0 0;
    }

    .org-tree li::before,
    .org-tree li::after {
        display: none;
    }

    .org-tree ul ul::before {
        height: 20px;
    }

    .org-nodo {
        min-width: 220px;
    }
}
