/* ============================================
   FRUTACORP V2 - Fresh & Modern Design
   ============================================ */

/* CSS Variables - Fresh Green Palette */
:root {
    /* Primary Colors - Green Focus */
    --color-primary: #0F766E;
    --color-primary-dark: #0D5D56;
    --color-primary-light: #14B8A6;
    --color-primary-50: rgba(15, 118, 110, 0.05);
    --color-primary-100: rgba(15, 118, 110, 0.1);

    /* Secondary - Ocean Blue */
    --color-secondary: #0369A1;
    --color-secondary-light: #0EA5E9;

    /* Accent Colors from Logo */
    --color-accent: #F59E0B;
    --color-accent-light: #FBBF24;

    /* Neutrals */
    --color-white: #FFFFFF;
    --color-black: #0F172A;
    --color-gray-50: #F8FAFC;
    --color-gray-100: #F1F5F9;
    --color-gray-200: #E2E8F0;
    --color-gray-300: #CBD5E1;
    --color-gray-400: #94A3B8;
    --color-gray-500: #64748B;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1E293B;
    --color-gray-900: #0F172A;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    --gradient-fresh: linear-gradient(135deg, #0F766E 0%, #14B8A6 50%, #0EA5E9 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);

    /* Typography */
    --font-primary: 'Poppins', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(15, 118, 110, 0.3);
    --shadow-glow-accent: 0 0 40px rgba(245, 158, 11, 0.3);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* markets responsive spacing */
    --markets-gutter-desktop: 240px;
    --markets-gutter-desktop-norm: 120px;
    --markets-gutter-tablet: 60px;
    --markets-gutter-mobile: 20px;
    --markets-grid-gap: 24px;
    --markets-card-min: 260px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-gray-900);
}

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

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

ul { list-style: none; }

/* Container */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: #0f172a;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s ease, visibility 0.7s ease, backdrop-filter 0.7s ease;
    backdrop-filter: blur(0px);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
    max-width: 280px;
    width: 100%;
    padding: 24px 12px;
}

.preloader-logo {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 24px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(15, 118, 110, 0.4);
    animation: logoIn 0.95s cubic-bezier(0.35, 0, 0.25, 1) forwards;
}

.preloader-logo-img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(14,118,110,0.5));
}

.preloader-text {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.6px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
    opacity: 0;
    animation: textFade 0.8s 0.7s ease forwards;
}

.preloader-bar {
    position: relative;
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.18);
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: 0 0 16px rgba(15, 118, 110, 0.35);
}

.preloader-bar::before {
    content: '';
    position: absolute;
    left: -15%;
    top: 0;
    height: 100%;
    width: 15%;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.9), rgba(255,255,255,0));
    animation: barShine 1.7s ease-in-out infinite;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, #0EA5E9, #14B8A6);
    border-radius: var(--radius-full);
    animation: barProgress 2s ease-in-out forwards;
    animation-delay: 0.2s;
}

/* Unused decorative globe route styles (no matching elements in index.html) 
.globe-lat, .globe-long, .route-path {
    stroke-dasharray: 240;
    stroke-dashoffset: 240;
    animation: drawRoute 1.7s ease forwards;
}

.route-path {
    stroke-dasharray: 260;
    stroke-dashoffset: 260;
    animation-delay: 0.35s;
}

.route-arrow {
    opacity: 0;
    animation: arrowMove 1.5s ease-in-out 0.65s forwards;
}
*/

@keyframes logoIn {
    0% { transform: translateY(10px) scale(0.86); opacity: 0; }
    60% { transform: translateY(-6px) scale(1.03); opacity: 1; }
    100% { transform: translateY(0) scale(1); }
}

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

@keyframes barProgress {
    0% { width: 0; }
    33% { width: 42%; }
    66% { width: 78%; }
    100% { width: 100%; }
}

@keyframes barShine {
    0% { transform: translateX(0); }
    100% { transform: translateX(250%); }
}

@keyframes drawRoute {
    0% { stroke-dashoffset: 240; }
    100% { stroke-dashoffset: 0; }
}

@keyframes arrowMove {
    0% { transform: translate(0, 0) scale(0.85); opacity: 0; }
    70% { opacity: 1; transform: translate(-7px, -10px) scale(1.06); }
    100% { transform: translate(-9px, -13px) scale(1); }
}

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


/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-normal);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-secondary);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.13);
    border: 2px solid var(--color-secondary);
    transition: all var(--transition-normal);
}

.btn-primary:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.18);
    border-color: var(--color-secondary);
}

.btn-accent {
    background: linear-gradient(135deg, #0f766dce 0%, #2276bb 50%, #054d74 100%);
    color: var(--color-white);
    box-shadow: 
        0 8px 24px rgba(15, 118, 110, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    font-weight: 700;
    margin-bottom: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: ctaBtnShine 3s infinite;
}

@keyframes ctaBtnShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.btn-accent:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 
        0 12px 32px rgba(15, 118, 110, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(20, 184, 166, 0.25);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-accent:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-accent svg {
    color: var(--color-white);
}

.process-cta .btn-accent {
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    animation: ctaBtnPulse 2s ease-in-out infinite;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline-white:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 15px;
}

.btn-block {
    width: 100%;
}

/* Section Label */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--color-primary-100);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-label-light {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

/* Text Effects */
.text-gradient {
    background: var(--gradient-fresh);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight {
    position: relative;
    display: inline-block;
    color: var(--color-primary);
    padding: 0 4px;
    z-index: 1;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0.45em;
    background: var(--color-accent);
    opacity: 0.25;
    z-index: -1;
    border-radius: 3px;
    transform: translateY(12%);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 50px;
}
@media (max-width: 768px) {

    .nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 50px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

}
.logo img {
    height: 70px;
    width: auto;
}

.logo span {
    font-size: 45px;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 3px;
    transition: color var(--transition-normal);
}

.header.scrolled .logo span {
    color: var(--color-primary);
}

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

.nav-link {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-white);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.header.scrolled .nav-link {
    color: var(--color-gray-700);
}

.header:not(.scrolled) .nav-link:hover {
    color: var(--color-gray-700);
    background: rgba(243, 244, 246, 0.9); /* gris claro */
}

.header.scrolled .nav-link:hover {
    color: var(--color-primary);
    background: var(--color-primary-50);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 8px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2.5px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle::before {
    top: 8px;
}

.nav-toggle span {
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.nav-toggle::after {
    bottom: 8px;
}

.nav-toggle.active span {
    opacity: 0;
}

.nav-toggle.active::before {
    top: 50%;
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.nav-toggle.active::after {
    bottom: 50%;
    transform: translateX(-50%) translateY(50%) rotate(-45deg);
}

.header.scrolled .nav-toggle span,
.header.scrolled .nav-toggle::before,
.header.scrolled .nav-toggle::after {
    background: var(--color-gray-700);
}

.nav-toggle span { top: 50%; transform: translate(-50%, -50%); }
.nav-toggle::before { top: 8px; }
.nav-toggle::after { bottom: 8px; }

.nav-toggle.active span { opacity: 0; }
.nav-toggle.active::before { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle.active::after { bottom: auto; top: 50%; transform: translate(-50%, -50%) rotate(-45deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Pastel Color Accent Line */
.hero-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        #FFB3BA 0%,
        #FFCCCB 15%,
        #FFE5B4 30%,
        #FFFACD 45%,
        #B4E7FF 60%,
        #B4D7FF 75%,
        #D4B4FF 90%,
        #FFB3E6 100%
    );
    z-index: 3;
    box-shadow: 0 2px 12px rgba(255, 179, 186, 0.3);
}

.hero-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?w=1920&q=80');
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.92) 0%, rgba(3, 105, 161, 0.88) 100%);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    /* permitimos un contenedor más ancho dentro del hero para evitar saltos de línea en los h1 */
    max-width: 1400px;
}

.hero-content {
    max-width: 1100px; /* aumentado desde 800px */
    padding-top: 100px;
}

.hero-badge {
    display: inline-block;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
    transition: all var(--transition-normal);
    position: relative;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(255, 179, 186, 0.3), rgba(212, 180, 255, 0.2));
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
}

.hero-badge:hover::before {
    opacity: 1;
}

.hero-content h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 28px;
    line-height: 1.15;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
    max-width: 820px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1;
}

.stat-suffix {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    opacity: 0.6;
    z-index: 2;
    transition: opacity var(--transition-normal);
}

.hero-scroll:hover {
    opacity: 1;
}

.scroll-indicator {
    width: 24px;
    height: 44px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
    transition: border-color var(--transition-normal);
}

.hero-scroll:hover .scroll-indicator {
    border-color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

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

/* ============================================
   FEATURES STRIP
   ============================================ */
.features-strip {
    background: var(--color-gray-900);
    padding: 20px 0;
    overflow: hidden;
}

.features-marquee {
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-tag .dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-bg-shape {
    position: absolute;
    top: 0px;
    right: 200px;
    width: 1100px;
    height: 750px;
    background: #1a74c9;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(60px);
}



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

.about-images {
    position: relative;
    height: 550px;
    perspective: 1200px;
    overflow: hidden;
    will-change: transform;
}

.about-img-main,
.about-img-secondary,
.about-floating-card {
    will-change: transform, opacity;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 280px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--color-white);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-main,
.about-img-secondary,
.about-floating-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-floating-card {
    position: absolute;
    bottom: 80px;
    left: 20%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 2;
}

.floating-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: var(--color-white);
}

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

.about-floating-card span {
    font-weight: 600;
    color: var(--color-gray-800);
}

.about-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
}

.about-content .lead {
    font-size: 18px;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.about-content p {
    color: var(--color-gray-500);
    margin-bottom: 32px;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}

.about-card {
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-100);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}

.about-card:hover {
    background: var(--color-white);
    box-shadow: 0 8px 25px rgba(3, 105, 161, 0.15), 0 4px 10px rgba(3, 105, 161, 0.1);
    border-color: rgba(3, 105, 161, 0.2);
    transform: translateY(-6px);
}

.card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-100);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    margin-bottom: 16px;
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.about-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 0;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f766eeb 0%,  #08477beb 45%, #0369a1e0 100%);
}

.services-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: var(--gradient-primary);
    opacity: 0.2;
    will-change: transform;
}

.services .container {
    position: relative;
    z-index: 2;
}

.services .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.services .section-header h2 {
    font-size: 40px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.services .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.services .container, .services .container-fluid {
    position: relative;
    z-index: 2;
}

.services .section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
    color: var(--color-white);
}

.services .section-header h2 {
    color: var(--color-white);
    font-size: 48px;
    margin-bottom: 12px;
}

.services .section-header .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
    gap: 30px;
    margin-top: 20px;
    padding: 0 240px;
    justify-content: center;
    align-items: stretch;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1500px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(250px, 1fr));
        padding: 0 120px;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
        padding: 0 80px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 40px;
    }
}

@media (max-width: 640px) {
    .services-grid {
        padding: 0 20px;
    }
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    min-height: 320px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(9, 35, 77, 0.16);
    backdrop-filter: blur(8px);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    margin-top: auto;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(9, 35, 77, 0.25);
    background: rgba(255, 255, 255, 0.18);
}

.service-card h3 {
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 12px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.service-card {
    position: relative;
    padding: 36px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    box-shadow: 0 12px 26px rgba(9, 35, 77, 0.18);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), background var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(9, 35, 77, 0.30);
    background: rgba(255, 255, 255, 0.25);
}

.service-number {
    position: absolute;
    top: 20px;
    font-size: 64px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    z-index: 1;
    line-height: 1;
}



.service-card h3 {
    color: var(--color-white);
    font-size: 22px;
    font-weight: 700;
    margin-top: 60px;    
    z-index: 2;
}

.service-card p {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    z-index: 2;
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    grid-auto-rows: 1fr;
    gap: 30px;
    margin-top: 20px;
    padding: 0 240px;
    justify-content: center;
    align-items: stretch;
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1500px) {
    .services-grid {
        grid-template-columns: repeat(3, minmax(250px, 1fr));
        padding: 0 120px;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(250px, 1fr));
        padding: 0 80px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }
}


.service-card h3 {
    font-size: 22px;
    color: var(--color-white);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-link:hover svg {
    transform: translateX(4px);
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */
.experience {
    position: relative;
    padding:60px 0;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.03) 0%, rgba(3, 105, 161, 0.03) 50%, rgba(14, 165, 233, 0.03) 100%);
}

.experience .container {
    max-width: none;
    padding: 0 40px;
}

.experience-bg-shape {
    position: absolute;
    top: 50%;
    left: -300px;
    width: 900px;
    height: 700px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    opacity: 0.04;
    filter: blur(100px);
    transform: translateY(-50%);
}

.experience-bg-shape-2 {
    position: absolute;
    bottom: -100px;
    right: -200px;
    width: 600px;
    height: 500px;
    background: linear-gradient(135deg, var(--color-secondary-light) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    opacity: 0.03;
    filter: blur(80px);
}

/* Nueva sección: Nuestra experiencia */
.experience-section {
    position: relative;
    z-index: 2;
    text-align: center;
    margin: 0 auto;
    padding: 60px 240px;
}

.section-eyebrow {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2);
}

.experience-section h3 {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.1;
}

.experience-section > p {
    font-size: 18px;
    color: var(--color-gray-700);
    line-height: 1.6;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mini-card {
    background: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mini-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.mini-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
    border-radius: var(--radius-lg);
    color: var(--color-primary);
}

.mini-icon svg {
    width: 24px;
    height: 24px;
}

.mini-card h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 8px;
}

.mini-card p {
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.4;
    margin: 0;
}

/* Responsive para experience */
@media (max-width: 1024px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .experience-section {
        margin-top: 40px;
        padding: 32px 20px;
    }

    .experience-section h3 {
        font-size: 28px;
    }

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

    .mini-card {
        padding: 20px 16px;
    }
}

/* ============================================
   PROCESS SECTION - Premium SaaS Design
   ============================================ */
.process {
    padding: 80px 0 10px;
    background: linear-gradient(160deg, #f0faf9 0%, #f5f9ff 40%, #fef9f5 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.process::before,
.process::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}


.process .section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.process .section-header h2 {
    font-size: 42px;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.process .section-header p {
    font-size: 16px;
    color: var(--color-gray-600);
}

/* Timeline Container - Horizontal Layout */
.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 1;
}

/* Connector Line - Horizontal */
.timeline-line {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #0F766E 25%, 
        #31a9d8 50%, 
        #0369A1 75%, 
        transparent 100%);
    z-index: 0;
    box-shadow: 0 0 20px rgba(15, 118, 110, 0.2);
    border-radius: 999px;
    animation: lineFlow 3s ease-in-out infinite;
}

@keyframes lineFlow {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes ctaBtnPulse {
    0%, 100% {
        box-shadow: 
            0 8px 24px rgba(15, 118, 110, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 0 0 rgba(20, 184, 166, 0.4);
    }
    50% {
        box-shadow: 
            0 8px 24px rgba(15, 118, 110, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 0 0 8px rgba(20, 184, 166, 0);
    }
}

@keyframes ctaLabelFade {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Process Steps - Card Layout */
.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step:nth-child(even) {
    flex-direction: column;
}

/* Step Marker - Large & Protagónic */
.step-marker {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b6c2 0%,  #08477beb 50%, #013753f3 100%);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;    
    margin-bottom: 24px;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.step-marker::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 50%;
}

.step-marker::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.08) 100%);
    border-radius: 50%;
    z-index: -1;
}

.process-step:hover .step-marker {
    transform: scale(1.1) translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(15, 118, 110, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Step Content - Glassmorphism Card */
.step-content {
    position: relative;
    width: 100%;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    box-shadow: 
        0 8px 24px rgba(15, 118, 110, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(24px) scale(0.95);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 80px; /* Espacio para el ícono */
}

/* Animate in on scroll */
.process-step.animate-in .step-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #50bcdd 0%, #2eaec5 50%, #0369A1 100%);
    border-radius: 18px 18px 0 0;
    opacity: 0.6;
}

.step-content:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 40px rgba(15, 118, 110, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(15, 118, 110, 0.2);
}

.step-content:hover::before {
    opacity: 1;
}

/* Step Icon - Integrated Header Badge */
.step-icon {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(6, 78, 75, 0.10));
    border: 1.5px solid rgba(15, 118, 110, 0.2);
    border-radius: 14px;
    color: var(--color-secondary);
    opacity: 0.85;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.08);
}

.step-content:hover .step-icon {
    opacity: 1;
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(6, 78, 75, 0.15));
    border-color: rgba(15, 118, 110, 0.3);
    box-shadow: 0 6px 16px rgba(15, 118, 110, 0.12);
}

.step-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.4;
}

/* Step Title */
.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    padding-top: 8px;
    color: var(--color-primary-dark);
    letter-spacing: -0.3px;
}

/* Step Description */
.step-content p {
    font-size: 14px;
    color: var(--color-gray-600);
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

/* Process CTA */
.process-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
    text-align: center;
    position: relative;
    z-index: 1;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
    animation: ctaFadeIn 0.6s ease-out forwards;
    opacity: 1;
}

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

.process-cta::before {
    display: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 24px 24px 0 0;
}

.process-cta::after {
    display: none;
}

.process-cta p {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, #0F766E 0%, #14B8A6 50%, #0369A1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.4;
}

.process-cta p span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: rgba(15, 118, 110, 0.7);
    -webkit-text-fill-color: unset;
    background: unset;
    background-clip: unset;
    -webkit-background-clip: unset;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.process-cta-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(15, 118, 110, 0.65);
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(6, 78, 75, 0.06));
    border: 1px solid rgba(15, 118, 110, 0.12);
    border-radius: 20px;
    animation: ctaLabelFade 0.8s ease-out forwards;
    opacity: 0;
}

/* ============================================
   MARKETS SECTION
   ============================================ */
.markets {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.markets-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../img/global-network-connectivity-modern-city-skyline-sunset.jpg');
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.markets-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f766eeb 0%,  #08477beb 45%, #0369a1e0 100%);
}

.markets-watermark {
    position: absolute;
    top: 0;
    right: 17%;
    /* transform: rotate(-15deg); */
    font-size: 60px;
    font-weight: 900;
    font-family: 'Poppins', cursive;
    font-style: italic;
    color: rgba(255, 255, 255, 0.082);
    text-transform: uppercase;
    letter-spacing: 10px;
    z-index: 1;
    pointer-events: none;
    user-select: none;    
}

.markets .container {
    position: relative;
    z-index: 2;
}

.markets-content {
    text-align: center;
    margin: 0 auto;
}

.markets-content h2 {
    font-size: 40px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.markets-content > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 60px;
}

.markets-grid {
    /* 1. Base horizontal control + centrado */
    --markets-grid-h-gutter: var(--markets-gutter-desktop);
    --markets-grid-gap: 24px;
    --markets-card-min: 260px;

    display: grid;
    grid-template-columns: repeat(5, minmax(var(--markets-card-min), 1fr));
    grid-auto-rows: minmax(220px, auto);
    gap: var(--markets-grid-gap);

    width: min(1400px, calc(100% - (var(--markets-grid-h-gutter) * 2)));
    max-width: 100%;
    margin: 0 auto;
    padding: 0;

    justify-content: center;
    justify-items: center;

    /* Base card spacing y contenidos */
    box-sizing: border-box;
}

/* Desktop normal 1200px */
@media (max-width: 1400px) {
    .markets-grid {
        grid-template-columns: repeat(4, minmax(var(--markets-card-min), 1fr));
        --markets-grid-h-gutter: var(--markets-gutter-desktop-norm);
        gap: 22px;
        --markets-card-min: 240px;
        justify-content: center;
    }
}

/* Tablet ~768px */
@media (max-width: 1024px) {
    .markets-grid {
        --markets-grid-h-gutter: var(--markets-gutter-tablet);
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: 20px;
        justify-content: center;
    }
}

/* Mobile <480px */
@media (max-width: 480px) {
    .markets-grid {
        --markets-grid-h-gutter: var(--markets-gutter-mobile);
        grid-template-columns: 1fr;
        gap: 14px;
        justify-content: center;
    }
}


.market-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px 26px;
    min-height: 240px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    text-align: center;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.market-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.market-card:hover .market-glow {
    opacity: 1;
}

.market-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--color-accent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.market-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--color-white);
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
}

.market-icon svg {
    width: 32px;
    height: 32px;
}

.market-card h3 {
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.market-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ============================================
   WHY US SECTION
   ============================================ */
.why-us {
    padding: 120px 0;
}

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

.why-us-content h2 {
    font-size: 40px;
    margin-bottom: 16px;
}

.why-us-content > p {
    color: var(--color-gray-500);
    margin-bottom: 40px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--color-gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.benefit-item:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.benefit-check {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--color-white);
}

.benefit-check svg {
    width: 18px;
    height: 18px;
}

.benefit-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.benefit-text p {
    font-size: 14px;
    color: var(--color-gray-500);
    margin: 0;
}

.why-us-visual {
    position: relative;
}

.visual-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.visual-card img,
.visual-card video {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: opacity var(--transition-normal);
    cursor: pointer;
}

.visual-card:hover .visual-overlay {
    opacity: 1;
}

.play-btn {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: 50%;
    color: var(--color-primary);
    transition: transform var(--transition-bounce);
}

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

.play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 4px;
}

.visual-overlay span {
    color: var(--color-white);
    font-weight: 500;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-parallax {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, #0f766eeb 0%,  #08477beb 45%, #0369a1e0 100%);
    will-change: transform;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 40px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--color-gray-50);
}

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

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--color-gray-500);
    margin-bottom: 40px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

a.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-100);
    border-radius: var(--radius-md);
    color: var(--color-primary);
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card-content span {
    display: block;
    font-size: 12px;
    color: var(--color-gray-400);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-card-content strong {
    font-size: 16px;
    color: var(--color-gray-800);
}

/* Contact Form */
.contact-form-container {
    background: var(--color-white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 32px;
}

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

.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    font-family: var(--font-primary);
    font-size: 15px;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: var(--color-white);
    transition: all var(--transition-fast);
}

.form-group label {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 15px;
    color: var(--color-gray-400);
    pointer-events: none;
    transition: all var(--transition-fast);
    background: var(--color-white);
    padding: 0 4px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -8px;
    left: 16px;
    font-size: 12px;
    color: var(--color-primary);
}

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

.contact-form .btn {
    margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-400);
    padding-top: 0;
    position: relative;
}

.footer-wave {
    color: var(--color-gray-50);
    margin-bottom: -1px;
}

.footer-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 0px;
}

.footer-logo img {
    height: 130px;
    width: auto;
}

.footer-logo span {
    font-size: 35px;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 5px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    margin-bottom: 20px;
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

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

.footer-nav h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 24px;
}

.footer-nav ul,
.footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a,
.footer-services a {
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-services a:hover {
    color: var(--color-primary-light);
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-contact a:hover {
    color: var(--color-primary-light);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
}

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

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #25D366;
    border-radius: 50%;
    animation: whatsappPulse 2s ease-out infinite;
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .whatsapp-float {
        display: none !important;
    }
    
    .services-cta-content {
        display: flex;
        flex-direction: column; /* 🔥 clave */
        align-items: stretch;
        gap: 16px;
        width: 100%;
    }

    .services-cta-text,
    .services-cta-actions {
        width: 100%;
        min-width: 0; /* 🔥 evita que se rompa el layout */
    }
  

    .services-cta-banner,
    .services-cta-content,
    .services-cta-actions {
        flex-direction: column !important;
    }

    

    .about {
        padding: 60px 0;
    }

    .about-grid,
    .why-us-grid,
    .contact-grid {
        gap: 60px;
    }

    .about-images {
        height: 450px;
        max-width: 500px;
        margin: 0 auto;
    }

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

    /* Timeline adjustments for tablet */
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 16px;
    }

    .timeline-line {
        display: none;
    }

    .process-step {
        position: relative;
        padding-top: 28px;
    }

    .step-marker {
        position: absolute;
        top: 0;
        right: 16px;
        left: auto;
        transform: none;
        z-index: 3;
    }

    .step-content {
        position: relative;
        padding-top: 32px;
    }

    .process-cta {
        padding: 48px 32px;
        gap: 24px;
    }

    .process-cta p {
        font-size: 16px;
    }

    .process-cta .btn-accent {
        padding: 14px 32px;
        font-size: 14px;
    }

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

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .about-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .about-content {
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
    }
    .about-content h2 {
        text-align: center;
        line-height: 1.2;
    }

    .about-content > p{
        display: none;
    }

    /*Centrar cards */
    .about-cards {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 20px;
    }
   .about-card {
        display: flex;
        flex-direction: column;
        align-items: center; /* 🔥 centra todo horizontalmente */
        text-align: center;
    }

    .card-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
    }

    .experience {
        padding: 0px;
    }

    .experience-grid{
        display: none;
    }

    
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 0;
        padding-top: 100px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        overflow-y: auto;
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;        
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 10px;
        
    }

    .nav-link {
        display: block;
        font-size: 15px;
        color: var(--color-white) !important;
        padding-bottom: 18px !important;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: transparent !important;
        transition: all var(--transition-fast);
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        padding-left: 32px !important;
    }

    .nav-menu li:last-child .nav-link {
        border-bottom: none;

    }

    /* Logo responsive */
    .logo {
        gap: 12px;
    }

    .logo img {
        height: 50px;
    }

    .logo span {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .stat-number {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-slider-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .slider-dot {
        padding: 10px 16px;
        font-size: 11px;
    }

    .slider-dot span {
        display: none;
    }

    .slider-dot svg {
        width: 16px;
        height: 16px;
    }

    .about-images {
         display: none;
    }

    .about-img-main {
        width: 80%;
        height: 300px;
    }

    .about-img-secondary {
        width: 60%;
        height: 200px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .section-header h2,
    .about-content h2,
    .why-us-content h2,
    .contact-info h2,
    .cta-content h2,
    .markets-content h2 {
        font-size: 32px;
    }

    /* Process timeline adjustments for tablet */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 16px;
    }

    .timeline-line {
        display: none;
    }

    .step-marker {
        width: 76px;
        height: 76px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .step-content {
        min-height: auto;
        padding: 22px 20px;
    }

    .step-icon {
        position: static;
        width: 46px;
        height: 46px;        
    }

    .step-content h3 {
        font-size: 16px;
    }

    .step-content p {
        font-size: 13px;
    }

    .process-cta {
        padding: 40px 28px;
        gap: 20px;
        margin-top: 60px;
        border-radius: 20px;
    }

    .process-cta-label {
        font-size: 11px;
        padding: 5px 12px;
    }

    .process-cta p {
        font-size: 16px;
    }

    .process-cta .btn-accent {
        padding: 13px 28px;
        font-size: 13px;
    }

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

    .contact-form-container {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: 70vh;
    }

    .hero-content {
        padding-top: 60px;
    }

    .pyme-badge {
        padding: 12px 20px;
        font-size: 13px;
        margin-bottom: 20px;
    }

    .pyme-badge .pyme-icon {
        width: 24px;
        height: 24px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero-content h1 span {
        display: block;
    }

    .hero-content > p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .hero-footer-row {
        flex-direction: column;
        gap: 20px;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 13px;
    }

    .hero-stats {
        width: 100%;
        flex-direction: row;
        gap: 12px;
        justify-content: space-between;
    }

    .stat-item {
        flex: 1;
        text-align: center;
        font-size: 12px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .hero-slider-nav {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        margin-bottom: 20px;
    }

    .slider-dot {
        padding: 8px 12px;
        font-size: 10px;
    }

    .slider-dot svg {
        width: 14px;
        height: 14px;
    }

    .hero-scroll {
        display: none;
    }

    /* About Section */
    .about-grid {
        gap: 40px;
    }

    .about-content h2 {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .about-content .lead {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .about-content p {
        font-size: 13px;
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card {
        padding: 20px;
    }

    .about-card h4 {
        font-size: 15px;
    }

    .about-card p {
        font-size: 13px;
        margin-bottom: 0;
    }

    .inline-cta {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }

    .inline-cta p {
        font-size: 14px;
    }

    /* Services Section */
    .services {
        padding: 60px 0;
    }

    .services .section-header {
        margin-bottom: 40px;
    }

    .services .section-header h2 {
        font-size: 26px;
    }

    .services .section-header p {
        font-size: 14px;
    }

    .services-grid {
        padding: 0 16px;
    }

    .service-card {
        padding: 24px 20px;
        min-height: auto;
    }

    .service-number {
        font-size: 48px;
        top: 12px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-top: 40px;
    }

    .service-card p {
        font-size: 13px;
    }
        

    /* Experience Section */
    .experience-section {
        padding: 32px 16px;
    }

    .experience-section h3 {
        font-size: 24px;
    }

    .experience-section > p {
        font-size: 14px;
    }

    .mini-card {
        padding: 16px 12px;
    }

    .mini-card h5 {
        font-size: 14px;
    }

    .mini-card p {
        font-size: 12px;
    }

    /* Process Section */
    .process {
        padding: 60px 0 40px;
    }

    .process .section-header {
        margin-bottom: 40px;
    }

    .process .section-header h2 {
        font-size: 26px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 12px;
    }

    .step-marker {
        width: 70px;
        height: 70px;
        font-size: 18px;
        margin-bottom: 14px;
    }

    .step-content {        
        min-height: auto;
    }

    .step-content::before {
        width: 30px;
        left: 16px;
    }

    .step-icon {
        width: 42px;
        height: 42px;
        top: 10px;
        right: 10px;
    }

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

    .step-content h3 {
        font-size: 15px;
    }

    .step-content p {
        font-size: 12px;
    }

    .process-cta {
        margin-top: 40px;
        padding: 24px 16px;
        gap: 12px;
    }

    .process-cta p {
        font-size: 14px;
    }

    .process-cta .btn-accent {
        width: 100%;
        padding: 12px 20px;
        font-size: 12px;
        margin-bottom: 0;
    }

    /* Markets Section */
    .markets {
        padding: 80px 0 60px;
    }

    .markets-content h2 {
        font-size: 26px;
    }

    .markets-content > p {
        font-size: 13px;
        margin-bottom: 40px;
    }

    .markets-grid {
        gap: 12px;
    }

    .market-card {
        padding: 24px 16px;
        min-height: 200px;
    }

    .market-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .market-icon svg {
        width: 28px;
        height: 28px;
    }

    .market-card h3 {
        font-size: 16px;
    }

    .market-card p {
        font-size: 12px;
        text-align: center;
    }

    .markets-cta p {
        font-size: 13px;
    }

    /* Why Us Section */
    .why-us {
        padding: 80px 0 60px;
    }

    .why-us-content h2 {
        font-size: 26px;
    }

    .why-us-content > p {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .benefits-list {
        gap: 16px;
    }

    .benefit-item {
        padding: 16px;
        gap: 12px;
    }

    .benefit-check {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .benefit-check svg {
        width: 16px;
        height: 16px;
    }

    .benefit-text h4 {
        font-size: 14px;
    }

    .benefit-text p {
        font-size: 12px;
    }

    .visual-card img,
    .visual-card video {
        height: 280px;
    }

    .play-btn {
        width: 60px;
        height: 60px;
    }

    .play-btn svg {
        width: 24px;
        height: 24px;
    }

    /* CTA Section */
    .cta-section {
        padding: 80px 0 60px;
    }

    .cta-content h2 {
        font-size: 26px;
    }

    .cta-content p {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 13px;
    }

    /* Contact Section */
    .contact {
        padding: 80px 0 60px;
    }

    .contact-info h2 {
        font-size: 26px;
    }

    .contact-info > p {
        font-size: 13px;
    }

    .contact-card {
        padding: 16px 20px;
        gap: 16px;
    }

    .contact-card-icon {
        width: 44px;
        height: 44px;
    }

    .contact-card-content span {
        font-size: 11px;
    }

    .contact-card-content strong {
        font-size: 14px;
    }

    .contact-form-container {
        padding: 24px 16px;
    }

    .contact-form h3 {
        font-size: 20px;
    }

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

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 14px;
    }

    .form-group label {
        top: 14px;
        left: 16px;
        font-size: 14px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo img {
        height: 100px;
    }

    .footer-logo span {
        font-size: 24px;
    }

    .footer-brand p,
    .footer-contact p {
        font-size: 13px;
    }

    .footer-nav h4,
    .footer-services h4,
    .footer-contact h4 {
        font-size: 14px;
    }

    .footer-nav a,
    .footer-services a,
    .footer-contact a {
        font-size: 12px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    /* Features Strip */
    .features-marquee {
        animation-duration: 30s;
    }

    .feature-tag {
        padding: 8px 14px;
        font-size: 12px;
    }

    /* Logo responsive */
    .logo {
        gap: 8px;
    }

    .logo img {
        height: 40px;
    }

    .logo span {
        font-size: 24px;
        letter-spacing: 0.5px;
    }
}

/* ============================================
   RESPONSIVE - TABLET INTERMEDIATE (650px)
   ============================================ */
@media (max-width: 650px) {
    .hero-content {
        padding: 40px 0;
    }

    .hero .container {
        padding: 0 16px;
    }

    .pyme-badge {
        padding: 10px 18px;
        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content > p {
        font-size: 14px;
    }

    .hero-footer-row {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .hero-stats {
        justify-content: space-between;
        gap: 8px;
        margin-left: 0;
    }

    .stat-item {
        font-size: 11px;
    }

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

    .stat-label {
        font-size: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .about-img-main {
        width: 100%;
    }

    .about-img-secondary {
        width: 70%;
    }

    .section-header h2 {
        font-size: 28px;
    }

   

    .benefits-list {
        gap: 12px;
    }

    .benefit-item {
        padding: 12px;
    }

    .contact-grid {
        gap: 40px;
    }

    .contact-form-container {
        padding: 20px 16px;
    }

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

/* ============================================
   RESPONSIVE - EXTRA SMALL (max-width: 380px)
   ============================================ */
@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }

    .hero-content h1 {
        font-size: 24px;
        line-height: 1.15;
    }

    .hero-content > p {
        font-size: 13px;
    }

    .pyme-badge {
        padding: 8px 16px;
        font-size: 11px;
    }

    .hero-buttons .btn {
        padding: 12px 16px;
        font-size: 12px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 9px;
    }

    section {
        padding: 60px 0 40px;
    }

    h2 {
        font-size: 22px;
    }

    .section-header p {
        font-size: 13px;
    }

    .service-card h3 {
        font-size: 16px;
        margin-top: 30px;
    }

    .service-number {
        font-size: 40px;
        top: 10px;
    }

    .process .section-header h2 {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .step-marker {
        width: 64px;
        height: 64px;
        font-size: 16px;
    }

    .step-content {
        padding: 16px 12px;
        border-radius: 12px;
    }

    .step-content h3 {
        font-size: 13px;
    }

    .step-content p {
        font-size: 11px;
    }

    .market-card {
        padding: 16px 12px;
    }

    .benefit-text h4 {
        font-size: 13px;
    }

    .benefit-text p {
        font-size: 11px;
    }

    .cta-buttons .btn {
        font-size: 12px;
        padding: 11px 18px;
    }

    .footer-logo span {
        font-size: 18px;
    }

    .footer-nav h4,
    .footer-services h4,
    .footer-contact h4 {
        font-size: 13px;
    }

    /* Logo responsive */
    .logo {
        gap: 6px;
    }

    .logo img {
        height: 35px;
    }

    .logo span {
        font-size: 20px;
        letter-spacing: 0.5px;
    }
}

.form-success svg {
    width: 80px;
    height: 80px;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.form-success h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--color-gray-500);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide .hero-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Hero Slider Content */
.hero-slider-content {
    position: relative;
    min-height: 200px;
    max-width: 1100px; /* igual que .hero-content para evitar quiebres */
    display: block;
}

/* Distribución mejorada: botones a la izquierda, estadísticas a la derecha (desktop) */
.hero-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 20px;
}

.hero-buttons {
    margin-bottom: 0;
}

.hero-stats {
    margin-left: auto;
}

.hero-content-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.hero-content-slide.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hero Slider Navigation */
.hero-slider-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.slider-dot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

.slider-dot svg {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.9);
    color: var(--color-white);
}

.slider-dot:hover svg {
    opacity: 1;
}

.slider-dot.active {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
}

.slider-dot.active svg {
    opacity: 1;
    color: var(--color-primary);
}



@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



@keyframes badgePulse {
    0% { transform: translateY(-50%) scale(1); opacity: 0.3; }
    100% { transform: translateY(-50%) scale(1.5); opacity: 0; }
}

.section-label {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* PYME Badge */


.pyme-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-secondary-light) 100%);
    color: var(--color-primary-dark);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    box-shadow: 0 4px 24px 0 rgba(14, 165, 233, 0.13), 0 1.5px 8px 0 rgba(20, 184, 166, 0.10);
    border: 2px solid var(--color-primary-light);
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    animation: fadeInUp 0.8s ease 0s both;
    position: relative;
    overflow: hidden;
}

.pyme-badge::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, var(--color-primary-100) 0%, var(--color-secondary-light) 100%);
    opacity: 0.10;
    z-index: 0;
    border-radius: var(--radius-full);
}

.pyme-badge span, .pyme-badge .pyme-icon {
    position: relative;
    z-index: 1;
}

.pyme-badge:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.22), 0 2px 12px rgba(20, 184, 166, 0.13);
    border-color: var(--color-accent);
}

.pyme-badge .pyme-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-light);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.13);
    margin-right: 4px;
}

.pyme-badge .pyme-icon svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary-dark);
}

/* Feature Tags Highlight */
.feature-tag-highlight {
    background: rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-full);
    padding: 8px 16px;
}

.feature-tag .dot-pulse {
    animation: dotPulse 1.5s ease-in-out infinite;
    background: #10B981;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

/* Benefit Item Highlight */
.benefit-item-highlight {
    background: var(--color-primary-50);
    border: 2px solid var(--color-primary-100);
}

.benefit-item-highlight:hover {
    background: var(--color-white);
    border-color: var(--color-primary);
}

/* Contact Card Highlight */
.contact-card-highlight {
    background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-white) 100%);
    border: 2px solid var(--color-primary-100);
}

/* ============================================
   ANIMATIONS
   ============================================ */
body:not(.preloader-complete) .fade-section,
body:not(.preloader-complete) .service-card,
body:not(.preloader-complete) .process-step,
body:not(.preloader-complete) .market-card,
body:not(.preloader-complete) .benefit-item,
body:not(.preloader-complete) .about-card,
body:not(.preloader-complete) .about-img-main,
body:not(.preloader-complete) .about-img-secondary,
body:not(.preloader-complete) .about-floating-card {
    opacity: 0 !important;
    transform: translateY(25px) !important;
    visibility: hidden !important;
    transition: none !important;
}

.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 0.8, 0.33, 1), transform 0.9s cubic-bezier(0.16, 0.8, 0.33, 1);
    will-change: opacity, transform;
    visibility: visible;
}

.fade-section.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

#mercados.fade-section {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity 1.3s cubic-bezier(0.16, 0.8, 0.14, 1), transform 1.3s cubic-bezier(0.16, 0.8, 0.14, 1);
}

#mercados.fade-section.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


.contact-card-highlight .contact-card-icon {
    background: var(--gradient-primary);
    color: var(--color-white);
}

/* CTA 24 Badge */
.cta-24-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Form Note */
.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--color-gray-400);
    margin-top: 16px;
    margin-bottom: 0;
}

/* ============================================
   INLINE CTAs
   ============================================ */

/* Inline CTA (About section) */
.inline-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-white) 100%);
    border: 2px solid var(--color-primary-100);
    border-radius: var(--radius-lg);
    margin-top: 32px;
}

.inline-cta p {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gray-700);
}

.inline-cta .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Services CTA Banner */
.services-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    width: calc(100% - 32px);
    margin: 60px auto 0;
    padding: 40px 48px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.services-cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(19, 18, 18, 0.219) 0%, transparent 100%);
    pointer-events: none;
}

.services-cta-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.services-cta-text h3 {
    font-size: 22px;
    color: var(--color-white);
    margin-bottom: 8px;
}

.services-cta-text p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 15px;
}

.services-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.services-cta-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 24px;
    background: var(--color-accent);
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 1;
}

.services-cta-badge .badge-24 {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-gray-900);
    line-height: 1;
}

.services-cta-badge .badge-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-gray-900);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* Process CTA */
.process-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    padding: 32px;

}

.process-cta p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-gray-800);
}

/* Markets CTA */
.markets-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    text-align: center;
}

.markets-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    margin: 0;
    max-width: 500px;
}

/* ============================================
   RESPONSIVE - CTAs
   ============================================ */


/* Footer Slogan */
.footer-slogan {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-accent) !important;
    margin-bottom: 8px !important;
    padding-top: 20px;
    
}






/* versión movil */

@media (max-width: 768px) {
     .hero-stats {
        display: none;
    }
    .pyme-badge {
        display: none;
    }
    .hero-slider-content {
        text-align: center;
    }

    .hero-content-slide {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-content-slide p {
        text-align: center;
        max-width: 90%;
        margin: 0 auto;
        font-size: 14px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.2;
        text-wrap: balance;
    }

    .hero-title span {
        display: inline-block;
    }
   
}   



/* botones accesibilidad movil */
.contact-banner {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(30, 30, 30, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
    padding: 5px 0 calc(6px + env(safe-area-inset-bottom));
}

.contact-icon-bottom {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    min-height: 58px;
    position: relative;
}

.contact-icon-bottom:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.contact-icon-bottom i {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-icon-bottom:hover i,
.contact-icon-bottom:focus i {
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.08);
}



@media (min-width: 769px) {
    .contact-banner {
        display: none;
    }

}



@media (max-width: 768px) {
    .markets-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 24px;
    }

    .market-card {
        position: relative;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px 18px;
        border-radius: 20px;
        text-align: left;
        background: rgba(255, 255, 255, 0.10);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
        overflow: hidden;
        min-height: unset;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .market-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 14px;
        bottom: 14px;
        width: 4px;
        border-radius: 999px;
        background: linear-gradient(180deg, #14B8A6 0%, #0EA5E9 100%);
        opacity: 0.95;
    }

    .market-icon {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        margin: 0;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.16);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    }

    .market-icon svg {
        width: 21px;
        height: 21px;
        stroke-width: 2;
    }

    .market-card h3 {
        margin: 0 0 4px;
        font-size: 15px;
        line-height: 1.2;
        font-weight: 800;
    }

    .market-card p {
        margin: 0;
        font-size: 12.5px;
        line-height: 1.45;
        opacity: 0.92;
    }

    .market-glow {
        display: none;
    }
}


@media (max-width: 768px) {
    .why-us-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }

    .why-us-content {
        text-align: center;
        max-width: 92%;
        margin: 0 auto;
    }

    .why-us-content h2 {
        text-align: center;
        line-height: 1.2;
    }

    .why-us-content > p {
        max-width: 90%;
        margin: 0 auto 22px;
    }

    .benefits-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .benefit-item {
        width: 100%;
        max-width: 340px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .benefit-check {
        margin-bottom: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .benefit-text {
        text-align: center;
    }

    /* Oculta 2 benefit-item */
    .benefits-list .benefit-item:nth-child(3),
    .benefits-list .benefit-item:nth-child(4) {
        display: none;
    }

    .why-us-visual {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .visual-card {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .visual-card video {
        width: 100%;
        display: block;
        border-radius: 18px;
    }

    .visual-overlay {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
}



@media (max-width: 768px) {
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .contact-info {
        order: 1;
        text-align: center;
        max-width: 92%;
        margin: 0 auto;
    }

    .contact-info h2,
    .contact-info p,
    .section-label {
        text-align: center;
        margin-bottom: 16px;
    }

    .contact-cards {
        display: none;
    }

    .contact-form-container {
        order: 2;
        width: 100%;
        max-width: 92%;
        margin: 0 auto;
    }

    .contact-form {
        text-align: center;
    }

    .contact-form h3,
    .form-note {
        text-align: center;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .footer-nav{
        display: none;
    }

    .footer-services{
        display: none;
    }
}


@media (max-width: 768px) {

    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0 12px;
    }

    .service-card {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 16px;
        border-radius: 14px;
        background: rgba(255,255,255,0.04);
        backdrop-filter: blur(6px);
    }

    .service-number {
        display: none;
    }

    .service-card h3 {
        font-size: 14px;
        margin: 0;
        font-weight: 600;
    }

    .service-card p {
        display: none;
    }
}