/* ============================================
   GLOBAL PARTNER - Landing Page
   Premium Dark Theme with Cyan Accents
   
   Design System:
   - Base unit: 0.5rem (8px)
   - Spacing scale: 0.5, 1, 1.5, 2, 3, 4, 6, 8 rem
   - Border radius: 8px (sm), 12px (md), 16px (lg), 20px (xl)
   ============================================ */

/* CSS Variables - Light Theme (Cliente Request) */
:root {
    /* Colores Principales de Marca */
    --primary-orange: #FF6C22;
    --primary-orange-bright: #FF8544;
    --primary-orange-dark: #E55A10;

    --primary-teal: #3D6472;
    --primary-teal-bright: #4FAAA4;
    --primary-teal-dark: #2D4A55;

    /* Colores Secundarios */
    --secondary-gold: #FFB221;
    --secondary-cyan: #4FAAA4;
    --secondary-purple: #5F37BF;
    --secondary-navy: #192F3A;

    /* Alias para compatibilidad */
    --primary-gold: #FF6C22;
    --primary-gold-bright: #FF8544;
    --primary-gold-dark: #E55A10;

    --primary-cyan: #4FAAA4;
    --primary-cyan-bright: #358d87;
    /* Darker for light bg visibility */
    --primary-cyan-dark: #2a505c;

    /* Base Colors - LIGHT THEME */
    --dark-bg: #FFFFFF;
    --darker-bg: #F4F6F8;
    --card-bg: rgba(255, 255, 255, 0.95);

    --text-white: #1A202C;
    /* Now Dark Text */
    --text-inverse: #FFFFFF;
    /* New var for text on dark/colored backgrounds */

    --text-gray: #4A5568;
    --text-light-gray: #718096;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Typography - Guía de Marca Global Partner */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Archivo Black', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows - Adjusted for Light Theme */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-cyan: 0 0 30px rgba(79, 170, 164, 0.15);
    --shadow-cyan-lg: 0 0 50px rgba(79, 170, 164, 0.2);
    --shadow-orange: 0 0 30px rgba(255, 108, 34, 0.15);
    --shadow-orange-lg: 0 0 50px rgba(255, 108, 34, 0.2);
    /* Alias para compatibilidad */
    --shadow-gold: var(--shadow-orange);
    --shadow-gold-lg: var(--shadow-orange-lg);
}

/* Reset & Base - Compatible con Chrome, Firefox, Safari, Edge */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    /* Fix horizontal scroll */
    width: 100%;
    position: relative;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Fallback cuando una imagen no carga (Hostinger / rutas) */
img.img-error {
    background: rgba(0, 0, 0, 0.06);
    min-height: 60px;
    object-fit: none;
}

/* Typography Helpers - & con buena tipografía; en enlaces mismo peso que el texto */
.amp {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: inherit;
    font-style: normal;
    color: inherit;
    letter-spacing: 0.02em;
    line-height: 1;
    display: inline-block;
}

/* En enlaces (nav, dropdown, footer) el & no va en negrita */
.dropdown-link .amp,
.footer-links .amp,
.nav-link .amp {
    font-weight: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-xs) var(--space-lg);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-logo .logo-img {
    height: 65px;
    width: auto;
    transition: var(--transition-smooth);
}

.nav-logo:hover .logo-img {
    transform: scale(1.02);
    filter: drop-shadow(0 0 10px rgba(255, 108, 34, 0.3));
}

/* Fallback texto si no carga imagen */
.nav-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    letter-spacing: 2px;
    transition: var(--transition-smooth);
}

.nav-logo:hover .logo-text {
    text-shadow: 0 0 20px rgba(255, 108, 34, 0.4);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
    position: relative;
    padding: var(--space-xs) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-cyan);
}

.btn-contact {
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-cyan);
    color: var(--dark-bg);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.btn-contact:hover {
    background: var(--primary-cyan-bright);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 170, 164, 0.4);
}

/* Language Switcher */
.nav-lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 0.3rem 0.75rem;
}

.lang-btn {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.25s ease;
    text-decoration: none;
}

.lang-btn:hover,
.lang-btn.lang-active {
    color: var(--primary-cyan);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    user-select: none;
}

/* ============================================
   NAV DROPDOWN
   ============================================ */
.nav-item-dropdown {
    position: relative;
}

.has-dropdown {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.has-dropdown::after {
    display: none !important;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition-smooth);
    display: inline-block;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    list-style: none;
}

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

.dropdown-link {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-white);
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: rgba(79, 170, 164, 0.06);
    color: var(--primary-cyan-bright);
    border-left-color: var(--primary-cyan);
    padding-left: 1.5rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: var(--space-xs);
    background: none;
    border: none;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-white);
    /* This is now DARK text */
    transition: var(--transition-smooth);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION - Adaptado a zoom y viewport
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-video.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    display: none;
    /* Removed completely as requested */
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: max(5rem, 80px, calc(env(safe-area-inset-top, 0) + 4.5rem)) var(--space-lg) clamp(1rem, 2vw, var(--space-2xl));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 2vw, var(--space-xl));
    flex: 1 1 auto;
    min-height: 0;
}

/* Hero Header */
.hero-header {
    text-align: center;
    max-width: 800px;
    flex-shrink: 0;
}

.hero-title-image {
    max-width: min(80%, 600px);
    height: auto;
    width: auto;
    max-height: min(280px, calc(100vh - 220px), 32vh);
    object-fit: contain;
    object-position: center top;
    filter: drop-shadow(0 4px 30px rgba(0, 0, 0, 0.8));
    margin: 0 auto var(--space-md);
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 8px;
    line-height: 1.1;
    color: var(--text-inverse);
    /* Hero text must remain WHITE on video */
    margin-bottom: var(--space-sm);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--primary-cyan);
    margin-bottom: var(--space-md);
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    margin: 0 auto var(--space-md);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.5;
        width: 60px;
    }

    50% {
        opacity: 1;
        width: 100px;
    }
}

/* ============================================
   ANIMACIONES DE ENTRADA Y SCROLL
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatEffect {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 108, 34, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 108, 34, 0.6);
    }
}

/* Clases de animación */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-down {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slideInUp 1s ease-out forwards;
}

/* Delays para stagger */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Elementos ocultos antes de animación */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax effect en scroll */
.parallax-scroll {
    transition: transform 0.1s linear;
}

.hero-description {
    font-size: clamp(0.85rem, 1.5vw, 1.25rem);
    color: #FFFFFF;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

/* Hero Quick Links */
.hero-quick-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-md);
}

.hero-quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid transparent;
}

.hero-quick-btn i {
    font-size: 1.5rem;
}

.hero-quick-btn.btn-gold {
    background: rgba(255, 108, 34, 0.85);
    color: #FFFFFF;
    font-weight: 800;
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-quick-btn.btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-quick-btn.btn-gold:hover::after {
    left: 150%;
}

.hero-quick-btn.btn-gold:hover {
    background: rgba(255, 108, 34, 0.95);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 30px rgba(0, 0, 0, 0.4);
}

.hero-quick-btn.btn-cyan {
    background: rgba(79, 170, 164, 0.85);
    color: #FFFFFF;
    font-weight: 800;
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8), 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-quick-btn.btn-cyan::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-quick-btn.btn-cyan:hover::after {
    left: 150%;
}

.hero-quick-btn.btn-cyan:hover {
    background: rgba(79, 170, 164, 0.95);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Hero Path Cards - fijas, sin movimiento al hacer scroll */
.hero-paths {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(0.5rem, 2vw, var(--space-lg));
    width: 100%;
    min-height: 0;
}

.hero-path-card {
    position: relative;
    height: clamp(200px, 28vh, 340px);
    min-height: 160px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.hero-path-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-xl);
    z-index: 5;
    transition: var(--transition-smooth);
}

.hero-path-card:hover::before {
    border-color: var(--primary-cyan);
    box-shadow: inset 0 0 30px rgba(79, 170, 164, 0.1);
}

.hero-path-card:hover {
    transform: translateY(-8px);
}

.path-card-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.path-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hero-path-card:hover .path-card-bg img {
    transform: scale(1.08);
}

.path-card-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(6, 13, 24, 0.4) 0%,
            transparent 40%);
    z-index: 2;
}

.path-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    padding: clamp(0.35rem, 1vw, var(--space-sm)) var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 2px solid transparent;
    min-height: 56px;
    height: auto;
}

.path-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 5;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--primary-cyan);
    opacity: 0.12;
    line-height: 1;
    transition: var(--transition-smooth);
}

.hero-path-card:hover .path-number {
    opacity: 0.25;
    transform: scale(1.1);
}

.path-title {
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 1.2vw, 1.15rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    width: 100%;
    line-height: 1.25;
}

.path-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.path-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
    justify-content: center;
    max-width: 100%;
}

.path-services span {
    font-size: clamp(0.5rem, 1vw, 0.7rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-fast);
}

/* Etiquetas por fuera del marco: sobre la foto, arriba del título (barra) */
.path-services-on-photo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 80px;
    padding: 0 var(--space-md);
    z-index: 3;
    justify-content: center;
}

.path-services-on-photo span {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-path-card:hover .path-services-on-photo span {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-path-card:hover .path-services span {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.path-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-cyan);
    transition: var(--transition-smooth);
}

.path-link svg,
.path-link i {
    font-size: 18px;
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.hero-path-card:hover .path-link {
    gap: var(--space-sm);
}

.hero-path-card:hover .path-link svg,
.hero-path-card:hover .path-link i {
    transform: translateX(4px);
}

/* ===== CAMINO 1: MÁQUINAS (DORADO) ===== */
.hero-path-card.path-gold .path-card-content {
    border-top-color: var(--primary-gold);
    background: rgba(255, 108, 34, 0.15);
}

.hero-path-card.path-gold .path-number {
    color: var(--primary-gold);
}

.hero-path-card.path-gold:hover::before {
    border-color: var(--primary-gold);
    box-shadow: inset 0 0 30px rgba(255, 108, 34, 0.15);
}

.hero-path-card.path-gold .path-link {
    color: var(--primary-gold);
}

/* Indicador visual lateral */
.hero-path-card.path-gold::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--primary-gold), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 10;
    border-radius: 0 4px 4px 0;
}

.hero-path-card.path-gold:hover::after {
    opacity: 1;
}

/* ===== CAMINO 2: CONSULTORÍA (CYAN) ===== */
.hero-path-card.path-cyan .path-card-content {
    border-top-color: var(--primary-cyan);
    background: rgba(79, 170, 164, 0.2);
}

.hero-path-card.path-cyan .path-number {
    color: var(--primary-cyan);
}

.hero-path-card.path-cyan:hover::before {
    border-color: var(--primary-cyan);
    box-shadow: inset 0 0 30px rgba(79, 170, 164, 0.15);
}

.hero-path-card.path-cyan .path-link {
    color: var(--primary-cyan);
}

/* Indicador visual lateral */
.hero-path-card.path-cyan::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 4px;
    background: linear-gradient(to bottom, transparent, var(--primary-cyan), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 10;
    border-radius: 4px 0 0 4px;
}

.hero-path-card.path-cyan:hover::after {
    opacity: 1;
}

/* Hero Navigation Arrows */
.hero-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    color: var(--text-inverse);
    /* Arrows on video, keep white */
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.hero-nav-arrow:hover {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    color: var(--dark-bg);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav-arrow.prev {
    left: var(--space-lg);
}

.hero-nav-arrow.next {
    right: var(--space-lg);
}

/* Hero Bottom Bar */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(to top, rgba(6, 13, 24, 0.98), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.hero-bottom-info {
    font-size: 0.8rem;
    color: var(--text-gray);
}

.info-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.info-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: var(--radius-full);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

.video-nav-dots {
    display: flex;
    gap: var(--space-sm);
}

.video-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.video-dot.active {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    transform: scale(1.2);
}

.video-dot:hover:not(.active) {
    border-color: var(--primary-cyan);
    transform: scale(1.1);
}

.video-controls {
    display: flex;
    align-items: center;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: var(--transition-smooth);
}

.control-btn:hover {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    color: var(--dark-bg);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header.left {
    text-align: left;
}

.section-header.light .section-title {
    color: var(--primary-cyan-dark);
}

.section-header.light .section-subtitle {
    color: var(--text-gray);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-cyan);
    background: rgba(79, 170, 164, 0.1);
    border: 1px solid rgba(79, 170, 164, 0.2);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-cyan);
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-header.left .section-subtitle {
    margin: 0;
}

/* Gold Theme for Consultoría Section */
.section-tag.gold {
    color: var(--primary-gold);
    background: rgba(255, 108, 34, 0.1);
    border-color: rgba(255, 108, 34, 0.2);
}

.section-title.gold {
    color: var(--primary-gold);
}

/* ============================================
   MÁQUINAS Y REPUESTOS SECTION
   ============================================ */
.services-section {
    position: relative;
    padding: var(--space-3xl) var(--space-lg);
    background: #FFF8F4;
    /* Fondo naranja/dorado muy suave y desaturado */
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
    opacity: 0.6;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    grid-auto-rows: minmax(160px, 1fr);
    align-items: stretch;
}

.service-item-simple {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: linear-gradient(145deg, rgba(25, 25, 25, 0.95) 0%, rgba(30, 30, 30, 0.9) 100%);
    border: 1.5px solid rgba(255, 108, 34, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.service-item-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-bright));
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-item-simple::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 108, 34, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-item-simple:hover::before {
    opacity: 1;
}

.service-item-simple:hover::after {
    opacity: 1;
}

.service-item-simple:hover {
    border-color: rgba(255, 108, 34, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 108, 34, 0.25), 0 0 30px rgba(255, 108, 34, 0.15);
}

.service-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 108, 34, 0.15) 0%, rgba(255, 108, 34, 0.05) 100%);
    border: 1px solid rgba(255, 108, 34, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(255, 108, 34, 0.08), inset 0 2px 5px rgba(255, 255, 255, 0.6);
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 108, 34, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-item-simple:hover .service-icon {
    background: linear-gradient(135deg, rgba(255, 108, 34, 0.25) 0%, rgba(255, 108, 34, 0.1) 100%);
    border-color: var(--primary-gold);
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 10px 25px rgba(255, 108, 34, 0.2), inset 0 2px 5px rgba(255, 255, 255, 0.6);
}

.service-item-simple:hover .service-icon::before {
    opacity: 1;
}

.service-icon i {
    font-size: 26px;
    color: var(--primary-orange);
    position: relative;
    z-index: 1;
    transition: var(--transition-smooth);
}

.service-item-simple:hover .service-icon i {
    color: var(--primary-orange-bright);
    filter: drop-shadow(0 0 8px rgba(255, 108, 34, 0.5));
}

.service-item-simple h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
}

.service-item-simple:hover h3 {
    color: var(--primary-orange-bright);
    text-shadow: 0 0 15px rgba(255, 108, 34, 0.4);
}

/* Fila logo + título: ícono y título alineados y centrados entre sí */
.card-title-row {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-bottom: 1.5rem;
    width: 100%;
}
.card-title-row .service-icon,
.card-title-row .consultoria-icon {
    flex-shrink: 0;
    align-self: center;
}
.card-title-row h3 {
    flex: 1 1 auto;
    min-width: 0;
    align-self: center;
}

.service-item-simple {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.5rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    min-height: 0;
}

.service-item-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-gold);
}

.service-item-simple h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.4em;
    line-height: 1.35;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-item-simple p {
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.65;
    margin: 0;
    text-align: left;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.btn-primary {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: var(--primary-cyan);
    color: var(--dark-bg);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary-cyan-bright);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(79, 170, 164, 0.3);
}

.btn-primary.light {
    background: var(--text-white);
    color: var(--dark-bg);
}

.btn-primary.light:hover {
    background: var(--primary-cyan);
}

.btn-primary.gold {
    background: var(--primary-gold);
    color: var(--dark-bg);
}

.btn-primary.gold:hover {
    background: var(--primary-gold-bright);
    box-shadow: 0 10px 30px rgba(255, 108, 34, 0.3);
}

/* ============================================
   GALLERY CAROUSEL
   ============================================ */
.gallery-carousel {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 0 var(--space-xl);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.gallery-track {
    position: relative;
    width: 100%;
    height: 350px;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
}

.slide-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.75);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.slide-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.6);
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    bottom: var(--space-md);
    right: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 10;
}

.gallery-arrow {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.gallery-arrow svg {
    width: 18px;
    height: 18px;
    color: var(--text-white);
}

.gallery-arrow:hover {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

.gallery-arrow:hover svg {
    color: var(--dark-bg);
}

.gallery-dots {
    display: flex;
    gap: 0.4rem;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-dot.active {
    background: var(--primary-cyan);
    width: 24px;
    border-radius: 4px;
}

/* Border accent for carousel */
.gallery-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-cyan);
    z-index: 5;
}

/* Cyan Theme - etiqueta con contraste pero identidad cyan */
.gallery-carousel.cyan .slide-tag {
    background: rgba(0, 0, 0, 0.8);
    color: #b8f0ec;
    border-color: rgba(79, 170, 164, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.gallery-carousel.cyan::before {
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-cyan-bright));
}

.gallery-carousel.cyan .gallery-dot.active {
    background: var(--primary-cyan);
}

.gallery-carousel.cyan .gallery-arrow:hover {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

/* Gold Theme - etiqueta con contraste pero identidad naranja */
.gallery-carousel.gold .slide-tag {
    background: rgba(0, 0, 0, 0.8);
    color: #ffb380;
    border-color: rgba(255, 108, 34, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.gallery-carousel.gold::before {
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-bright));
}

.gallery-carousel.gold .gallery-dot.active {
    background: var(--primary-gold);
}

.gallery-carousel.gold .gallery-arrow:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-primary.large {
    padding: var(--space-sm) var(--space-xl);
    font-size: 1rem;
}

/* ============================================
   CONSULTORÍA COMEX SECTION
   ============================================ */
.consultoria-section {
    position: relative;
    padding: var(--space-3xl) var(--space-lg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #F2F8F8;
    /* Fondo cian muy suave y desaturado */
    /* Soft Gray #F4F6F8 */
}

.consultoria-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0.6;
    z-index: 20;
}

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

.consultoria-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultoria-overlay {
    background: rgba(255, 255, 255, 0.9);
    /* Solid-ish white without gradient */
}

.consultoria-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.consultoria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    grid-auto-rows: minmax(160px, 1fr);
    align-items: stretch;
}

.consultoria-item {
    background: #FFFFFF;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    min-height: 0;
}

.consultoria-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(79, 170, 164, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.consultoria-item:hover::before {
    opacity: 1;
}

.consultoria-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-cyan-bright));
    opacity: 0;
    transition: var(--transition-smooth);
}

.consultoria-item:hover::after {
    opacity: 1;
}

.consultoria-item:hover {
    border-color: rgba(79, 170, 164, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(79, 170, 164, 0.25), 0 0 30px rgba(79, 170, 164, 0.15);
}

.consultoria-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 170, 164, 0.15) 0%, rgba(79, 170, 164, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(79, 170, 164, 0.25);
    box-shadow: 0 6px 16px rgba(79, 170, 164, 0.08), inset 0 2px 5px rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
    color: var(--primary-cyan-bright);
}

.consultoria-icon i {
    font-size: 26px;
    color: var(--primary-cyan-bright);
    transition: var(--transition-smooth);
}

.consultoria-item:hover .consultoria-icon {
    background: linear-gradient(135deg, rgba(79, 170, 164, 0.25) 0%, rgba(79, 170, 164, 0.1) 100%);
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 10px 25px rgba(79, 170, 164, 0.2), inset 0 2px 5px rgba(255, 255, 255, 0.6);
}

.consultoria-item:hover .consultoria-icon i {
    color: var(--primary-cyan);
}

.consultoria-item h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    transition: var(--transition-smooth);
    min-height: 2.4em;
    line-height: 1.35;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.consultoria-item:hover h3 {
    color: var(--primary-cyan-dark);
}

.consultoria-item p {
    font-size: 0.82rem;
    color: var(--text-gray);
    line-height: 1.65;
    margin: 0;
    width: 100%;
    flex-basis: 100%;
    text-align: left;
}

/* ============================================
   MARCAS QUE TRABAJAMOS SECTION
   ============================================ */
.brands-section {
    padding: var(--space-2xl) var(--space-lg);
    background: #FAFAFA;
    overflow: hidden;
    min-height: 180px;
}

.brands-container {
    max-width: 1200px;
    margin: 0 auto;
}

.brands-slider {
    position: relative;
    overflow: hidden;
    margin-top: var(--space-lg);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.brands-track {
    display: flex;
    gap: var(--space-lg);
    animation: scroll 25s linear infinite;
    width: max-content;
    will-change: transform;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brands-slider:hover .brands-track {
    animation-play-state: paused;
}

.brand-item {
    flex-shrink: 0;
    width: 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.brand-item:hover {
    border-color: rgba(79, 170, 164, 0.4);
    box-shadow: 0 6px 20px rgba(79, 170, 164, 0.12);
    transform: translateY(-2px);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.9;
    transition: var(--transition-smooth);
}

.brand-item img[loading="lazy"] {
    min-height: 60px;
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.brand-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light-gray);
    transition: var(--transition-smooth);
}

.brand-placeholder:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    background: rgba(79, 170, 164, 0.05);
}

/* ============================================
   NOSOTROS / ABOUT SECTION
   ============================================ */
.about-section {
    padding: var(--space-3xl) var(--space-lg);
    background: #E8ECF0;
    /* Menos blanco: gris suave para la sección Quiénes somos */
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    gap: var(--space-2xl);
    align-items: stretch;
}

.about-content {
    padding-right: 0;
}


/* Bloque de Bio / Who we are */
.about-bio {
    margin-bottom: var(--space-lg);
}

.about-bio p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.about-bio p strong {
    color: var(--text-white);
    font-weight: 700;
}

/* Fila Misión + Visión lado a lado */
.about-mv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

/* Misión - Dorado (Máquinas) */
.about-mission,
.about-vision {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.about-mission {
    background: rgba(255, 108, 34, 0.06);
    border-left: 3px solid var(--primary-gold);
    padding: var(--space-md) var(--space-lg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 0;
}

.about-mission h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: var(--space-xs);
}

.about-mission p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Visión - Cyan (Consultoría) */
.about-vision {
    background: rgba(79, 170, 164, 0.06);
    border-left: 3px solid var(--primary-cyan);
    padding: var(--space-md) var(--space-lg);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin-bottom: 0;
}

.about-vision h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-cyan);
    margin-bottom: var(--space-xs);
}

.about-vision p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.about-values h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-sm);
}

/* Valores en ancho completo debajo del grid */
.about-values-full {
    max-width: 1200px;
    margin: var(--space-xl) auto 0;
    padding: var(--space-lg) 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.about-values-full h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-md);
    text-align: center;
}

.values-grid-full {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-sm);
}

/* Grid 2x2 para tarjetas de valores: mismo tamaño, distribución simétrica */
.values-grid-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 900px;
    margin: 0 auto;
}

.value-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    min-height: 120px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(79, 170, 164, 0.25);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.value-card:hover {
    background: #fff;
    border-color: rgba(79, 170, 164, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(79, 170, 164, 0.12);
}

.value-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.value-card-icon i {
    font-size: 28px;
    color: var(--primary-cyan);
}

.value-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #1A202C;
    margin: 0;
    line-height: 1.25;
}

.value-card-subtitle {
    font-size: 0.85rem;
    font-weight: 400;
    color: #4A5568;
    margin: 0;
    line-height: 1.35;
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(79, 170, 164, 0.2);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: #1A202C;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.value-item:hover {
    background: #fff;
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon i {
    font-size: 24px;
    color: var(--primary-cyan);
}

/* Título Nuestros Valores legible en fondo claro */
.about-values-full h3 {
    color: #2D3748;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    min-height: 320px;
    height: 100%;
}

.about-image img {
    width: 100%;
    flex: 1;
    min-height: 320px;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-image::before {
    display: none;
}

.about-image--small {
    max-width: 420px;
    margin: 0 auto;
}

.about-image--small img {
    max-height: 280px;
    object-fit: cover;
}

/* Stats debajo de la imagen */
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.about-stat {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.about-stat:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(79, 170, 164, 0.15);
}

.about-stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 4px;
}

.about-stat:nth-child(2) .about-stat-number {
    color: var(--primary-cyan-bright);
}

.about-stat:nth-child(3) .about-stat-number {
    color: var(--secondary-gold);
}

.about-stat-label {
    font-size: 0.75rem;
    color: var(--text-light-gray);
    font-weight: 500;
    line-height: 1.3;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--darker-bg);
    /* Soft Gray */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(79, 170, 164, 0.25);
}

.faq-item.active {
    border-color: var(--primary-cyan);
    background: rgba(79, 170, 164, 0.04);
}

.faq-question {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question span:first-child {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    padding-right: var(--space-lg);
    line-height: 1.4;
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--primary-cyan);
    transition: var(--transition-smooth);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-md);
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--space-2xl) var(--space-lg);
    background: linear-gradient(135deg,
            var(--primary-cyan-dark) 0%,
            var(--primary-cyan) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10%, 10%);
    }
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 800;
    color: var(--dark-bg);
    margin-bottom: var(--space-xs);
}

.cta-section p {
    font-size: 1rem;
    color: rgba(6, 13, 24, 0.75);
    margin-bottom: var(--space-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--dark-bg);
    color: var(--text-white);
    /* Changes to dark text on white bg? No wait cta section is colored */
    /* CTA section is gradient cyan-dark to cyan. Dark bg. */
}

.cta-buttons .btn-primary:hover {
    background: var(--darker-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    background: #25D366;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
}

.btn-whatsapp svg {
    width: 22px;
    height: 22px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f141a;
    /* Solid color, no gradient */
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
    border-top: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand {
    padding-right: var(--space-lg);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: var(--space-sm);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-cyan);
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    font-size: 0.8rem;
    color: #FFFFFF;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-description {
    font-size: 0.85rem;
    color: #FFFFFF;
    line-height: 1.7;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: var(--space-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a {
    font-size: 0.85rem;
    color: #FFFFFF;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-cyan);
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-xs);
    font-size: 0.85rem;
    color: #FFFFFF;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-cyan);
    flex-shrink: 0;
}

.footer-social {
    display: flex;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(79, 170, 164, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--primary-cyan);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #FFFFFF;
    margin-bottom: var(--space-xs);
}

.footer-credits a {
    color: var(--primary-cyan);
    transition: var(--transition-smooth);
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: calc(var(--space-md) + 60px);
    right: var(--space-md);
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    background: var(--dark-bg);
    color: var(--text-white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

.floating-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top {
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    background: var(--primary-cyan);
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-bg);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(79, 170, 164, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(79, 170, 164, 0.5);
}

/* ============================================
   SERVICES STATS BAR
   ============================================ */
.services-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-xl);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.services-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 1;
}

.gold-text {
    color: var(--primary-orange);
}

.cyan-text {
    color: var(--primary-cyan-bright);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-light-gray);
    font-weight: 500;
    line-height: 1.3;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    margin: 0 var(--space-md);
}

/* ============================================
   CTA SECTION - WIDE 2-COLUMN
   ============================================ */
.cta-container-wide {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-sm);
}

.cta-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

.cta-left h2 strong {
    color: var(--secondary-gold);
}

.cta-left p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.cta-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.cta-trust-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: var(--transition-smooth);
}

.cta-trust-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cta-trust-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.cta-trust-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
}

.cta-trust-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cta-trust-item strong {
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.cta-trust-item span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.3;
}

/* ============================================
   CONTACT SECTION - 2 COLUMN
   ============================================ */
.contact-form-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--dark-bg);
    box-sizing: border-box;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: stretch;
    box-sizing: border-box;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-2xl);
    background: #FAFAFA;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    min-height: 0;
}

.contact-info-panel .section-tag {
    margin-bottom: 0;
}

.contact-info-panel .section-title {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    text-align: left;
    margin-bottom: 0;
    line-height: 1.25;
}

.contact-info-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.65;
    margin-bottom: 0;
}

.contact-info-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
    min-height: 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
}

.contact-info-item:hover {
    border-color: var(--primary-cyan);
    transform: translateX(4px);
}

.contact-info-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(79, 170, 164, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan-bright);
}

.contact-info-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.contact-info-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.contact-info-item strong {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
}

.contact-info-item span {
    font-size: 0.82rem;
    color: var(--text-gray);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.animate-scale-in {
    opacity: 0;
    animation: scaleIn 0.6s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Scroll reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN - OPTIMIZADO PARA MÓVIL
   ============================================ */

/* Tablet Landscape */
@media (max-width: 1200px) {
    .hero-paths {
        gap: var(--space-md);
    }

    .hero-path-card {
        height: 280px;
    }

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

    .gallery-carousel {
        max-width: 100%;
    }

    .gallery-track {
        height: 300px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .about-content {
        padding-right: 0;
    }

    .about-image img {
        height: 360px;
    }

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

/* Tablet Portrait */
@media (max-width: 992px) {
    :root {
        --space-3xl: 4rem;
        --space-2xl: 3rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        height: auto;
        min-height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 5rem 1.25rem 2rem;
        gap: 0;
        transition: var(--transition-smooth);
        z-index: 999;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu > li {
        width: 100%;
        list-style: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        flex-shrink: 0;
    }

    .nav-menu > li:last-of-type {
        border-bottom: none;
    }

    .nav-menu .nav-link,
    .nav-menu .btn-contact {
        display: block;
        width: 100%;
        padding: 0.9rem 1rem;
        text-align: left;
        box-sizing: border-box;
    }

    .nav-menu > li > .btn-contact {
        width: 100%;
        border-radius: var(--radius-sm);
        margin: 0;
    }

    .nav-menu .nav-lang-switcher {
        margin-left: 0;
        margin-top: 0.5rem;
        border-bottom: none;
    }

    /* Dropdown "Servicios" en móvil: dentro del menú, nunca fuera de pantalla */
    .nav-item-dropdown {
        display: block;
        width: 100%;
        position: relative;
    }

    .nav-item-dropdown > .nav-link.has-dropdown {
        width: 100%;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    .nav-item-dropdown .nav-dropdown {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-shadow: none;
        border: none;
        border-radius: var(--radius-sm);
        background: rgba(0, 0, 0, 0.06);
        margin: 0 0 0.5rem 0;
        padding: 0.5rem 0;
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        list-style: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: opacity 0.2s, visibility 0.2s, max-height 0.2s;
    }

    .nav-item-dropdown.open .nav-dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 240px;
        overflow: visible;
        overflow-y: auto;
    }

    .nav-item-dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .nav-item-dropdown .nav-dropdown li {
        list-style: none;
        display: block;
        margin: 0;
        padding: 0;
    }

    .nav-item-dropdown .dropdown-link {
        display: block;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        font-weight: 500;
        color: #1A202C;
        text-decoration: none;
        border-left: 3px solid transparent;
        transition: background 0.2s;
    }

    .nav-item-dropdown .dropdown-link:hover,
    .nav-item-dropdown .dropdown-link:focus {
        background: rgba(79, 170, 164, 0.1);
        color: var(--primary-cyan-dark);
        border-left-color: var(--primary-cyan);
    }

    .nav-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 10px;
    }

    .hero {
        min-height: 100vh;
    }

    .hero-content {
        padding: max(4.5rem, 72px) var(--space-sm) var(--space-lg);
        gap: var(--space-md);
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        letter-spacing: 3px;
        margin-bottom: var(--space-sm);
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

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

/* Mobile Large */
@media (max-width: 768px) {
    :root {
        --space-3xl: 2rem;
        --space-2xl: 1.5rem;
        --space-xl: 1.25rem;
    }

    html {
        font-size: 15px;
    }

    .navbar {
        padding: 0.6rem 0.75rem;
    }

    .nav-logo .logo-img {
        height: 48px;
    }

    .nav-logo .logo-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
    }

    .hero-content {
        padding: max(4rem, 64px, env(safe-area-inset-top)) 0.75rem 1.5rem;
        gap: clamp(0.75rem, 2vh, 1.25rem);
    }

    .hero-header {
        max-width: 100%;
    }

    .hero-title-image {
        max-height: min(200px, calc(100vh - 200px), 28vh);
    }

    .hero-title {
        font-size: 1.6rem;
        letter-spacing: 2px;
        margin-bottom: 0.35rem;
    }

    .hero-subtitle {
        font-size: 0.55rem;
        letter-spacing: 2px;
        margin-bottom: 0.75rem;
    }

    .hero-divider {
        width: 50px;
        height: 2px;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .hero-paths {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        padding: 0 0.5rem;
    }

    .hero-path-card {
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: var(--radius-sm);
    }

    .hero-path-card::before {
        border-width: 1px;
        border-radius: var(--radius-sm);
    }

    /* Mejor overlay para legibilidad */
    .path-card-bg::after {
        background: linear-gradient(to top,
                rgba(6, 13, 24, 0.3) 0%,
                transparent 100%);
    }

    .path-card-content {
        padding: 0.2rem 0.5rem;
        justify-content: center;
        min-height: 42px;
        height: auto;
    }

    .path-services-on-photo {
        bottom: 48px;
        padding: 0 0.4rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.2rem;
        max-width: 100%;
    }

    .path-services-on-photo span {
        font-size: 0.4rem;
        padding: 0.08rem 0.22rem;
        letter-spacing: 0;
    }

    .path-number {
        display: none;
    }

    .path-title {
        font-size: clamp(0.52rem, 2.2vw, 0.7rem);
        margin-bottom: 0;
        letter-spacing: 0px;
        white-space: normal;
        line-height: 1.15;
    }

    .path-desc {
        display: none;
    }

    .path-services {
        gap: 0.15rem;
        margin-bottom: 0.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .path-services span {
        font-size: 0.4rem;
        padding: 0.08rem 0.22rem;
        letter-spacing: 0;
    }

    /* Ocultar el +5 más en móvil */
    .path-services span:last-child {
        display: none;
    }

    .path-link {
        font-size: 0.6rem;
        margin-top: 0.15rem;
    }

    .path-link svg {
        width: 10px;
        height: 10px;
    }

    /* Ocultar flechas de navegación en móvil */
    .hero-nav-arrow {
        display: none;
    }

    .hero-bottom-bar {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
    }

    .hero-bottom-info {
        display: none;
    }

    .video-nav-dots {
        gap: 0.4rem;
    }

    .video-dot {
        width: 6px;
        height: 6px;
        border-width: 1.5px;
    }

    .control-btn {
        width: 32px;
        height: 32px;
        font-size: 0.6rem;
    }

    .hero-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .hero-nav-arrow.prev {
        left: 0.5rem;
    }

    .hero-nav-arrow.next {
        right: 0.5rem;
    }

    /* Sections */
    .services-section,
    .about-section,
    .faq-section,
    .brands-section {
        padding: var(--space-2xl) 0.75rem;
    }

    .consultoria-section {
        padding: var(--space-2xl) 0.75rem;
        min-height: auto;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-tag {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
        margin-bottom: 0.5rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 1.25rem;
        letter-spacing: 2px;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* Gallery */
    .gallery-carousel {
        margin-bottom: var(--space-lg);
        border-radius: var(--radius-md);
    }

    .gallery-track {
        height: 220px;
    }

    .slide-overlay {
        padding: 0.75rem;
    }

    .slide-tag {
        font-size: 0.55rem;
        padding: 0.2rem 0.5rem;
    }

    .slide-overlay h4 {
        font-size: 0.95rem;
    }

    .gallery-nav {
        bottom: 0.5rem;
        right: 0.5rem;
        gap: 0.4rem;
    }

    .gallery-arrow {
        width: 28px;
        height: 28px;
    }

    .gallery-arrow svg {
        width: 14px;
        height: 14px;
    }

    .gallery-dot {
        width: 6px;
        height: 6px;
    }

    .gallery-dot.active {
        width: 16px;
    }

    /* Services Grid */
    .services-grid-simple,
    .consultoria-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.9rem;
        grid-auto-rows: auto;
        align-items: start;
    }

    .service-item-simple,
    .consultoria-item {
        padding: 1.2rem 1.1rem;
        border-radius: var(--radius-sm);
        height: auto;
        min-height: 0;
    }

    .card-title-row {
        gap: 0.95rem;
        margin-bottom: 0.6rem;
    }

    .service-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .service-icon i {
        font-size: 22px;
    }

    .service-icon svg {
        width: 20px;
        height: 20px;
    }

    .consultoria-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .consultoria-icon i {
        font-size: 22px;
    }

    .service-item-simple h3 {
        font-size: 0.75rem;
        line-height: 1.3;
        min-height: 2.6em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: left;
    }

    .service-item-simple p {
        font-size: 0.65rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .consultoria-number {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .consultoria-item h3 {
        font-size: 0.8rem;
        min-height: 2.6em;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-align: left;
    }

    .consultoria-item p {
        font-size: 0.65rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .section-cta {
        margin-top: 1.5rem;
    }

    .btn-primary {
        padding: 0.7rem 1.25rem;
        font-size: 0.8rem;
        border-radius: 6px;
    }

    .btn-primary.light {
        padding: 0.7rem 1.25rem;
    }

    /* Brands */
    .brand-item {
        width: 120px;
        height: 55px;
    }

    .brand-placeholder {
        font-size: 0.6rem;
        border-radius: 6px;
    }

    /* About */
    .about-container {
        gap: 1.5rem;
    }

    .about-description {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .about-mission,
    .about-vision {
        padding: 1rem;
        margin-bottom: 0.75rem;
        border-radius: 0 8px 8px 0;
        border-left-width: 2px;
    }

    .about-mission h3,
    .about-vision h3 {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }

    .about-mission p,
    .about-vision p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .about-values h3 {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }

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

    .value-item {
        padding: 0.5rem 0.6rem;
        gap: 0.4rem;
        font-size: 0.7rem;
        border-radius: 6px;
    }

    .values-grid-cards {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .value-card {
        min-height: 100px;
        padding: var(--space-sm) var(--space-md);
    }

    .value-card-title {
        font-size: 0.95rem;
    }

    .value-card-subtitle {
        font-size: 0.8rem;
    }

    .value-icon {
        width: 14px;
        height: 14px;
    }

    .about-image img {
        height: 220px;
        border-radius: var(--radius-md);
    }

    /* FAQ */
    .faq-container {
        max-width: 100%;
    }

    .faq-grid {
        gap: 0.5rem;
    }

    .faq-item {
        border-radius: var(--radius-sm);
    }

    .faq-question {
        padding: 0.85rem 1rem;
    }

    .faq-question span:first-child {
        font-size: 0.8rem;
        padding-right: 1rem;
    }

    .faq-icon {
        font-size: 1rem;
        width: 20px;
        height: 20px;
    }

    .faq-answer p {
        padding: 0 1rem 0.85rem;
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* CTA */
    .cta-container-wide {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-section {
        padding: 1.5rem 0.75rem;
    }

    .cta-section h2 {
        font-size: 1.1rem;
        margin-bottom: 0.35rem;
    }

    .cta-section p {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .cta-trust-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-buttons .btn-primary,
    .btn-whatsapp {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
    }

    .btn-whatsapp svg {
        width: 18px;
        height: 18px;
    }

    /* Footer - todo el ancho en móvil */
    .footer {
        padding: 1.5rem 0 0.75rem;
    }

    .footer-container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 0.75rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        padding-right: 0;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        margin-bottom: 0.25rem;
    }

    .footer-logo-img {
        height: 35px;
        margin-bottom: 0.35rem;
    }

    .footer-logo {
        font-size: 1rem;
        margin-bottom: 0.15rem;
    }

    .footer-tagline {
        font-size: 0.5rem;
        letter-spacing: 1px;
        margin-bottom: 0.35rem;
    }

    .footer-description {
        font-size: 0.65rem;
        line-height: 1.5;
        max-width: 280px;
        margin: 0 auto;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section h4 {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
        color: var(--primary-cyan);
    }

    .footer-links {
        align-items: center;
        gap: 0.25rem;
    }

    .footer-links a {
        font-size: 0.65rem;
    }

    .footer-contact-item {
        justify-content: center;
        font-size: 0.6rem;
        margin-bottom: 0.25rem;
    }

    .footer-contact-item svg {
        width: 12px;
        height: 12px;
    }

    .footer-social {
        justify-content: center;
        gap: 0.4rem;
        margin-top: 0.5rem;
    }

    .social-link {
        width: 28px;
        height: 28px;
    }

    .social-link svg {
        width: 14px;
        height: 14px;
    }

    .social-link {
        width: 32px;
        height: 32px;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }

    .footer-bottom {
        padding-top: 0.75rem;
        margin-top: 0.5rem;
    }

    .footer-bottom p {
        font-size: 0.55rem;
    }

    /* Floating: WhatsApp arriba, scroll-to-top abajo para que no se superpongan */
    .floating-whatsapp {
        bottom: calc(0.75rem + 38px + 0.5rem); /* arriba del botón subir (38px + margen) */
        right: 0.75rem;
        width: 48px;
        height: 48px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-tooltip {
        display: none;
    }

    .scroll-to-top {
        bottom: 0.75rem;
        right: 0.75rem;
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
        border-radius: 6px;
    }
}

/* Mobile Small */
@media (max-width: 400px) {
    html {
        font-size: 14px;
    }

    .hero-content {
        padding: max(3.5rem, 60px) 0.5rem 1.25rem;
    }

    .hero-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 0.5rem;
    }

    .hero-path-card {
        aspect-ratio: 1 / 1;
    }

    .path-card-content {
        min-height: 38px;
        padding: 0.18rem 0.4rem;
    }

    .path-services-on-photo {
        bottom: 42px;
    }

    .path-services-on-photo span {
        font-size: 0.36rem;
        padding: 0.06rem 0.18rem;
    }

    .path-title {
        font-size: 0.6rem;
    }

    .path-services span {
        font-size: 0.36rem;
        padding: 0.06rem 0.18rem;
    }

    .services-grid-simple,
    .consultoria-grid {
        gap: 0.7rem;
        grid-auto-rows: auto;
        align-items: start;
    }

    .service-item-simple,
    .consultoria-item {
        padding: 0.95rem 0.85rem;
        height: auto;
        min-height: 0;
    }

    .card-title-row {
        gap: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .service-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .service-icon i {
        font-size: 18px;
    }

    .service-icon svg {
        width: 16px;
        height: 16px;
    }

    .consultoria-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .consultoria-icon i {
        font-size: 18px;
    }

    .service-item-simple h3 {
        font-size: 0.7rem;
        min-height: 2.5em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .service-item-simple p {
        font-size: 0.6rem;
        line-height: 1.5;
    }

    .consultoria-item h3 {
        min-height: 2.5em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .consultoria-item p {
        line-height: 1.5;
    }

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

    .value-item {
        font-size: 0.65rem;
        padding: 0.4rem 0.5rem;
    }

    .floating-whatsapp {
        width: 44px;
        height: 44px;
        bottom: calc(0.75rem + 34px + 0.5rem); /* arriba del scroll-to-top (34px) */
    }

    .scroll-to-top {
        width: 34px;
        height: 34px;
    }

    .cta-trust-grid {
        grid-template-columns: 1fr;
    }
}

/* Landscape Mode Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 4rem 0 2rem;
    }

    .hero-content {
        padding: max(4rem, 64px) 1rem 1rem;
    }

    .hero-title-image {
        max-height: min(140px, calc(100vh - 180px));
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

    .hero-path-card {
        height: 180px;
    }

    .hero-bottom-bar {
        position: relative;
    }
}


/* ============================================
   CONTACT FORM SECTION
   ============================================ */
.contact-form-section {
    padding: var(--space-3xl) var(--space-lg);
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
    margin-top: var(--space-2xl);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.glass-form {
    display: flex;
    flex-direction: column;
    background: #FAFAFA;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    min-height: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex: 1;
    min-height: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-white);
    /* Dark Text */
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-gold);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(255, 108, 34, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form-section .btn-primary {
    width: 100%;
    margin-top: auto;
}

.contact-info-panel .btn-whatsapp {
    margin-top: auto;
}

@media (max-width: 768px) {
    .contact-form-section {
        padding-left: 0;
        padding-right: 0;
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }

    .contact-container {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .contact-info-panel,
    .glass-form {
        padding: var(--space-xl);
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }
}

/* Overlay con contraste para que el texto se vea en todos los carruseles */
.slide-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%) !important;
}

.path-card-bg::after {
    display: none !important;
    /* Completely remove overlay as requested */
}
