/* ========== CSS VARIABLES — LIGHT (default) ========== */
/* Brand palette (strict):
   International Klein Blue #022BB0 · Azure #1881F1 · Chartreuse #D6F951 · Vivid Sky #49D3F8
   Carolina Blue #70ADD4 · Anti-flash White #EBEBEB · Rich Black #0D1522 · Midnight Green #1F4954
*/
:root {
    --klein-blue: #022BB0;
    --azure: #1881F1;
    --carolina-blue: #70ADD4;
    --rich-black: #0D1522;
    --midnight-green: #1F4954;
    --chartreuse: #D6F951;
    --vivid-sky: #49D3F8;
    --anti-flash: #EBEBEB;
    --dark-blue: #1902B0;

    /* Theme tokens */
    --bg: #ffffff;
    --bg-secondary: #F7F7FA;
    --bg-tertiary: #EFEFF4;
    --text-primary: #0D1522;
    --text-secondary: rgba(13, 21, 34, 0.65);
    --text-tertiary: rgba(13, 21, 34, 0.45);
    --border: rgba(13, 21, 34, 0.08);
    --border-hover: rgba(2, 43, 176, 0.25);
    --glass-bg: rgba(255, 255, 255, 0.38);
    --glass-bg-strong: rgba(255, 255, 255, 0.52);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03), 0 0 0 0.5px rgba(255,255,255,0.5);
    --glass-highlight: rgba(255, 255, 255, 0.95);
    --glass-specular: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 40%);
    --glass-inner-glow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -1px 0 rgba(255,255,255,0.2);
    --card-hover: rgba(2, 43, 176, 0.04);
    --nav-bg: rgba(255, 255, 255, 0.72);
    --nav-border: rgba(13, 21, 34, 0.06);
    --hero-orb1: rgba(2, 43, 176, 0.12);
    --hero-orb2: rgba(25, 2, 176, 0.08);
    --hero-orb3: rgba(73, 211, 248, 0.1);
    --grid-line: rgba(2, 43, 176, 0.04);
    --divider: rgba(2, 43, 176, 0.1);
    --section-label-color: var(--klein-blue);
    --badge-bg: rgba(2, 43, 176, 0.06);
    --badge-border: rgba(2, 43, 176, 0.15);
    --badge-text: var(--klein-blue);
    /* Light mode: primary CTA uses chartreuse (brand highlight) */
    --btn-primary-bg: var(--chartreuse);
    --btn-primary-text: var(--rich-black);
    --btn-primary-hover: #e4ff6a;
    --btn-primary-shadow: rgba(214, 249, 81, 0.35);
    --btn-secondary-bg: rgba(13, 21, 34, 0.04);
    --btn-secondary-border: rgba(13, 21, 34, 0.12);
    --btn-secondary-text: var(--text-primary);
    --tag-bg: rgba(2, 43, 176, 0.06);
    --tag-text: rgba(13, 21, 34, 0.55);
    --stat-gradient-start: var(--midnight-green);
    --stat-gradient-end: rgba(13, 21, 34, 0.6);
    --tab-text: rgba(13, 21, 34, 0.5);
    --tab-border: rgba(13, 21, 34, 0.1);
    --tab-active-bg: var(--chartreuse);
    --tab-active-text: var(--rich-black);
    --map-bg: linear-gradient(135deg, rgba(2, 43, 176, 0.04), rgba(247, 247, 250, 0.8));
    --map-label-color: rgba(13, 21, 34, 0.5);
    --partner-text: rgba(13, 21, 34, 0.2);
    --partner-border: rgba(13, 21, 34, 0.06);
    --cta-bg: linear-gradient(135deg, rgba(2, 43, 176, 0.06), rgba(25, 2, 176, 0.04));
    --cta-radial: rgba(2, 43, 176, 0.08);
    --footer-bg: var(--rich-black);
    --mobile-menu-bg: rgba(255, 255, 255, 0.92);
    --chartreuse-cta-bg: #D6F951;
    --chartreuse-cta-text: var(--rich-black);
    --chartreuse-cta-hover: #e4ff6a;
    --chartreuse-cta-shadow: rgba(214, 249, 81, 0.45);

    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, sans-serif;
    --font-body: 'Satoshi', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ========== DARK THEME ========== */
.dark {
    --bg: #0D1522;
    --bg-secondary: #131B2E;
    --bg-tertiary: #1A2340;
    --text-primary: #EBEBEB;
    --text-secondary: rgba(235, 235, 235, 0.65);
    --text-tertiary: rgba(235, 235, 235, 0.45);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(24, 129, 241, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-bg-strong: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.2), 0 0 0 0.5px rgba(255,255,255,0.1);
    --glass-highlight: rgba(255, 255, 255, 0.12);
    --glass-specular: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%);
    --glass-inner-glow: inset 0 1px 0 rgba(255,255,255,0.15), inset 0 -1px 0 rgba(255,255,255,0.05);
    --card-hover: rgba(255, 255, 255, 0.07);
    --nav-bg: rgba(13, 21, 34, 0.72);
    --nav-border: rgba(255, 255, 255, 0.06);
    --hero-orb1: rgba(24, 129, 241, 0.35);
    --hero-orb2: rgba(2, 43, 176, 0.3);
    --hero-orb3: rgba(73, 211, 248, 0.2);
    --grid-line: rgba(24, 129, 241, 0.05);
    --divider: rgba(24, 129, 241, 0.2);
    --section-label-color: var(--chartreuse);
    --badge-bg: rgba(214, 249, 81, 0.08);
    --badge-border: rgba(214, 249, 81, 0.2);
    --badge-text: var(--chartreuse);
    --btn-primary-bg: var(--chartreuse);
    --btn-primary-text: var(--rich-black);
    --btn-primary-hover: #e4ff6a;
    --btn-primary-shadow: rgba(214, 249, 81, 0.25);
    --btn-secondary-bg: rgba(255, 255, 255, 0.06);
    --btn-secondary-border: rgba(255, 255, 255, 0.12);
    --btn-secondary-text: #EBEBEB;
    --tag-bg: rgba(255, 255, 255, 0.05);
    --tag-text: rgba(235, 235, 235, 0.5);
    --stat-gradient-start: #fff;
    --stat-gradient-end: rgba(235, 235, 235, 0.7);
    --tab-text: rgba(235, 235, 235, 0.5);
    --tab-border: rgba(255, 255, 255, 0.08);
    --tab-active-bg: var(--chartreuse);
    --tab-active-text: var(--rich-black);
    --map-bg: linear-gradient(135deg, rgba(24, 129, 241, 0.06), rgba(13, 21, 34, 0.5));
    --map-label-color: rgba(235, 235, 235, 0.6);
    --partner-text: rgba(235, 235, 235, 0.25);
    --partner-border: rgba(255, 255, 255, 0.05);
    --cta-bg: linear-gradient(135deg, rgba(24, 129, 241, 0.1), rgba(2, 43, 176, 0.08));
    --cta-radial: rgba(24, 129, 241, 0.15);
    --footer-bg: #080D17;
    --mobile-menu-bg: rgba(13, 21, 34, 0.97);
    --chartreuse-cta-bg: #D6F951;
    --chartreuse-cta-text: var(--rich-black);
    --chartreuse-cta-hover: #e4ff6a;
    --chartreuse-cta-shadow: rgba(214, 249, 81, 0.45);
}

/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background 0.4s ease, color 0.4s ease;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ========== UTILITY ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-label {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--section-label-color);
    margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ========== LANGUAGE TOGGLE ========== */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 36px;
    padding: 0 0.65rem;
    border-radius: 18px;
    background: var(--btn-secondary-bg);
    border: 1px solid var(--btn-secondary-border);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.lang-toggle:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}
.lang-toggle:active { transform: translateY(0); }

/* ========== CHARTREUSE CTA ========== */
.btn-chartreuse {
    background: var(--chartreuse-cta-bg) !important;
    color: var(--chartreuse-cta-text) !important;
}
.btn-chartreuse:hover {
    background: var(--chartreuse-cta-hover) !important;
    box-shadow: 0 8px 30px var(--chartreuse-cta-shadow) !important;
}
.nav-cta.nav-cta-chartreuse {
    background: var(--chartreuse-cta-bg) !important;
    color: #0D1522 !important;
}
.nav-cta.nav-cta-chartreuse:hover {
    background: var(--chartreuse-cta-hover) !important;
    box-shadow: 0 4px 20px var(--chartreuse-cta-shadow) !important;
    color: #0D1522 !important;
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ========== TITLE SQUISH ========== */
h1, h2, h3, .section-title {
    transform: scaleY(0.88);
    transform-origin: center center;
}
h1.reveal, h2.reveal, h3.reveal, .section-title.reveal {
    transform: translateY(40px) scaleY(0.88);
}
h1.reveal.visible, h2.reveal.visible, h3.reveal.visible, .section-title.reveal.visible {
    transform: translateY(0) scaleY(0.88);
}

/* ========== LIQUID GLASS ========== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(180%) brightness(1.05);
    -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(1.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow), var(--glass-inner-glow);
    position: relative;
}
.glass::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--glass-specular);
    pointer-events: none;
    mask-image: linear-gradient(180deg, black 0%, transparent 50%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 50%);
}
.glass-strong {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(60px) saturate(200%) brightness(1.08);
    -webkit-backdrop-filter: blur(60px) saturate(200%) brightness(1.08);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow), var(--glass-inner-glow);
    position: relative;
}
.glass-strong::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--glass-specular);
    pointer-events: none;
    mask-image: linear-gradient(180deg, black 0%, transparent 40%);
    -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 40%);
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
}
.nav.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(50px) saturate(200%) brightness(1.05);
    -webkit-backdrop-filter: blur(50px) saturate(200%) brightness(1.05);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--glass-inner-glow), 0 4px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 0.7rem 0;
}
.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    display: flex;
    align-items: center;
    height: 34px;
}
.nav-logo img {
    height: 34px;
    width: auto;
}
/* Show/hide logo variants based on theme */
.logo-light { display: block; }
.logo-dark { display: none; }
.dark .logo-light { display: none; }
.dark .logo-dark { display: block; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    letter-spacing: 0.3px;
}
.nav-links a:hover { color: var(--text-primary); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}
.nav-dropdown-trigger svg { transition: transform 0.3s; }
.nav-dropdown:hover .nav-dropdown-trigger svg,
.nav-dropdown.open .nav-dropdown-trigger svg { transform: rotate(180deg); }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.9rem);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 210px;
    padding: 0.4rem;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 200;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(50px) saturate(200%) brightness(1.08);
    -webkit-backdrop-filter: blur(50px) saturate(200%) brightness(1.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--glass-shadow), var(--glass-inner-glow);
}
.dark .nav-dropdown-menu {
    background: rgba(20, 20, 35, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.nav.scrolled .nav-dropdown-menu {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.7);
}
.dark .nav.scrolled .nav-dropdown-menu {
    background: rgba(20, 20, 35, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary) !important;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.nav-dropdown-menu a:hover {
    color: var(--text-primary) !important;
    background: var(--card-hover);
}
.nav-dropdown-menu .dropdown-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}
/* Mobile dropdown */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent;
        border: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0 0 0 1rem;
        display: none;
        gap: 0;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: flex; }
    .nav-dropdown-trigger svg { margin-left: auto; }
}
.nav-cta {
    font-family: var(--font-primary);
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: var(--btn-primary-text) !important;
    background: var(--btn-primary-bg);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s !important;
}
.nav-cta:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--btn-primary-shadow);
}

/* Theme toggle */
.theme-toggle {
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--btn-secondary-bg);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: var(--text-secondary);
    flex-shrink: 0;
    box-shadow: inset 0 1px 0 var(--glass-highlight), 0 1px 4px rgba(0,0,0,0.03);
}
.theme-toggle:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    box-shadow: var(--glass-shadow), var(--glass-inner-glow);
}
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
.dark .theme-toggle .icon-sun { display: none; }
.dark .theme-toggle .icon-moon { display: block; }

/* Mobile menu */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 0 4rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloat 20s ease-in-out infinite;
}
.hero-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--hero-orb1), transparent 70%);
    top: -10%; right: -5%;
}
.hero-orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--hero-orb2), transparent 70%);
    bottom: -15%; left: -10%;
    animation-delay: -7s;
}
.hero-orb-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, var(--hero-orb3), transparent 70%);
    top: 40%; left: 50%;
    animation-delay: -14s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 30px) scale(1.02); }
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero-content { max-width: 780px; }
.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero-card {
    padding: 1.4rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: transform 0.3s ease;
}
.hero-card:hover { transform: translateX(6px); }
.hero-card-icon {
    width: 46px; height: 46px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
}
.hero-card-icon-1 { background: linear-gradient(135deg, rgba(2, 43, 176, 0.15), rgba(112, 173, 212, 0.08)); }
.hero-card-icon-2 { background: linear-gradient(135deg, rgba(24, 129, 241, 0.15), rgba(73, 211, 248, 0.08)); }
.hero-card-icon-3 { background: linear-gradient(135deg, rgba(214, 249, 81, 0.2), rgba(173, 214, 0, 0.1)); }
.hero-card h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}
.hero-card p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--badge-text);
    background: var(--badge-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--badge-border);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04), var(--glass-inner-glow);
}
.hero-badge-dot {
    width: 6px; height: 6px;
    background: var(--badge-text);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--klein-blue), var(--vivid-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--btn-primary-text);
    background: var(--btn-primary-bg);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary:hover {
    background: var(--btn-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--btn-primary-shadow);
}
.btn-secondary {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--btn-secondary-text);
    background: var(--btn-secondary-bg);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    border: 1px solid var(--btn-secondary-border);
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: inset 0 1px 0 var(--glass-highlight), 0 2px 8px rgba(0,0,0,0.03);
}
.btn-secondary:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow), var(--glass-inner-glow);
}

/* Hero glass shapes */
.hero-glass-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.glass-shape {
    position: absolute;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    box-shadow: inset 0 1px 0 var(--glass-highlight), 0 8px 32px rgba(0,0,0,0.04);
    animation: glassFloat 15s ease-in-out infinite;
}
.glass-shape-1 {
    width: 280px; height: 280px;
    background: linear-gradient(135deg, rgba(2, 43, 176, 0.08), rgba(73, 211, 248, 0.04));
    top: 18%; right: 8%;
    transform: rotate(12deg);
}
.glass-shape-2 {
    width: 180px; height: 180px;
    background: linear-gradient(135deg, rgba(25, 2, 176, 0.06), rgba(112, 173, 212, 0.04));
    top: 50%; right: 25%;
    animation-delay: -5s;
    transform: rotate(-8deg);
}
.glass-shape-3 {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, rgba(2, 43, 176, 0.05), rgba(73, 211, 248, 0.03));
    top: 30%; right: 35%;
    animation-delay: -10s;
    transform: rotate(25deg);
    border-radius: 50%;
}
.dark .glass-shape-1 { background: linear-gradient(135deg, rgba(2, 43, 176, 0.12), rgba(73, 211, 248, 0.06)); }
.dark .glass-shape-2 { background: linear-gradient(135deg, rgba(25, 2, 176, 0.1), rgba(112, 173, 212, 0.08)); }
.dark .glass-shape-3 { background: linear-gradient(135deg, rgba(214, 249, 81, 0.08), rgba(73, 211, 248, 0.06)); }
@keyframes glassFloat {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    33% { transform: translateY(-15px) rotate(15deg); }
    66% { transform: translateY(10px) rotate(9deg); }
}

/* ========== STATS BAR ========== */
.stats-bar {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--glass-bg);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-item { padding: 1rem; }
.stat-number {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--stat-gradient-start), var(--stat-gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ========== SERVICES ========== */
.services { padding: 7rem 0; position: relative; }
.services-header { text-align: center; margin-bottom: 4rem; }
.services-header .section-subtitle { margin: 0 auto; }
.services-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}
.tab-btn {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--tab-text);
    background: transparent;
    border: 1px solid var(--tab-border);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}
.tab-btn.active, .tab-btn:hover {
    color: var(--tab-active-text);
    background: var(--tab-active-bg);
    border-color: var(--tab-active-bg);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}
.service-card {
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--btn-primary-bg), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
    transform: translateY(-4px);
}
/* Colored glass hover per service card (inner pages) */
.services-grid .service-card:nth-child(1):hover {
    background: rgba(24, 129, 241, 0.07);
    border-color: rgba(24, 129, 241, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(24, 129, 241, 0.08);
}
.services-grid .service-card:nth-child(2):hover {
    background: rgba(2, 43, 176, 0.07);
    border-color: rgba(2, 43, 176, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(2, 43, 176, 0.08);
}
.services-grid .service-card:nth-child(3):hover {
    background: rgba(73, 211, 248, 0.07);
    border-color: rgba(73, 211, 248, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(73, 211, 248, 0.08);
}
.services-grid .service-card:nth-child(4):hover {
    background: rgba(112, 173, 212, 0.07);
    border-color: rgba(112, 173, 212, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(112, 173, 212, 0.08);
}
.services-grid .service-card:nth-child(5):hover {
    background: rgba(214, 249, 81, 0.07);
    border-color: rgba(214, 249, 81, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(214, 249, 81, 0.08);
}
.services-grid .service-card:nth-child(6):hover {
    background: rgba(112, 173, 212, 0.07);
    border-color: rgba(112, 173, 212, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(112, 173, 212, 0.08);
}
.dark .services-grid .service-card:nth-child(1):hover { background: rgba(24, 129, 241, 0.1); }
.dark .services-grid .service-card:nth-child(2):hover { background: rgba(2, 43, 176, 0.1); }
.dark .services-grid .service-card:nth-child(3):hover { background: rgba(73, 211, 248, 0.1); }
.dark .services-grid .service-card:nth-child(4):hover { background: rgba(112, 173, 212, 0.1); }
.dark .services-grid .service-card:nth-child(5):hover { background: rgba(214, 249, 81, 0.08); }
.dark .services-grid .service-card:nth-child(6):hover { background: rgba(112, 173, 212, 0.1); }
.service-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.03);
}
.dark .service-icon {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.1);
}
.service-icon-cloud { background: linear-gradient(135deg, rgba(24, 129, 241, 0.15), rgba(73, 211, 248, 0.08)); }
.service-icon-ai { background: linear-gradient(135deg, rgba(2, 43, 176, 0.15), rgba(112, 173, 212, 0.08)); }
.service-icon-data { background: linear-gradient(135deg, rgba(2, 43, 176, 0.1), rgba(73, 211, 248, 0.06)); }
.service-icon-devops { background: linear-gradient(135deg, rgba(31, 73, 84, 0.15), rgba(112, 173, 212, 0.1)); }
.service-card h3 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}
.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.service-tag {
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--tag-text);
    background: var(--tag-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}
.dark .service-tag {
    border-color: rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.tab-content { display: none; }
.tab-content.active { display: grid; }

/* ========== SERVICE CARDS (large - for index servicios section) ========== */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.servicio-card {
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.servicio-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--btn-primary-bg), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.servicio-card:hover::before { opacity: 1; }
.servicio-card:hover {
    transform: translateY(-4px);
}
/* Colored glass hover per servicio card */
.servicios-grid .servicio-card:nth-child(1):hover {
    background: rgba(24, 129, 241, 0.07);
    border-color: rgba(24, 129, 241, 0.25);
    box-shadow: var(--glass-inner-glow), 0 16px 48px rgba(24, 129, 241, 0.1);
}
.servicios-grid .servicio-card:nth-child(1):hover::before {
    background: linear-gradient(90deg, transparent, #1881F1, transparent);
}
.servicios-grid .servicio-card:nth-child(2):hover {
    background: rgba(2, 43, 176, 0.07);
    border-color: rgba(2, 43, 176, 0.25);
    box-shadow: var(--glass-inner-glow), 0 16px 48px rgba(2, 43, 176, 0.1);
}
.servicios-grid .servicio-card:nth-child(2):hover::before {
    background: linear-gradient(90deg, transparent, #022BB0, transparent);
}
.servicios-grid .servicio-card:nth-child(3):hover {
    background: rgba(73, 211, 248, 0.07);
    border-color: rgba(73, 211, 248, 0.25);
    box-shadow: var(--glass-inner-glow), 0 16px 48px rgba(73, 211, 248, 0.1);
}
.servicios-grid .servicio-card:nth-child(3):hover::before {
    background: linear-gradient(90deg, transparent, #49D3F8, transparent);
}
.servicios-grid .servicio-card:nth-child(4):hover {
    background: rgba(112, 173, 212, 0.07);
    border-color: rgba(112, 173, 212, 0.25);
    box-shadow: var(--glass-inner-glow), 0 16px 48px rgba(112, 173, 212, 0.1);
}
.servicios-grid .servicio-card:nth-child(4):hover::before {
    background: linear-gradient(90deg, transparent, #70ADD4, transparent);
}
/* Dark mode: slightly stronger tints */
.dark .servicios-grid .servicio-card:nth-child(1):hover { background: rgba(24, 129, 241, 0.1); }
.dark .servicios-grid .servicio-card:nth-child(2):hover { background: rgba(2, 43, 176, 0.1); }
.dark .servicios-grid .servicio-card:nth-child(3):hover { background: rgba(73, 211, 248, 0.1); }
.dark .servicios-grid .servicio-card:nth-child(4):hover { background: rgba(112, 173, 212, 0.1); }
.servicio-card h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.servicio-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}
.servicio-card-footer {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.servicio-link {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--klein-blue);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s;
}
.servicio-link:hover { gap: 0.7rem; }

/* ========== AI SECTION ========== */
.ai-section { padding: 7rem 0; position: relative; overflow: hidden; }
.ai-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(2, 43, 176, 0.05), transparent 60%);
    pointer-events: none;
}
.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.ai-content .section-title span {
    background: linear-gradient(135deg, var(--klein-blue), var(--vivid-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ai-features { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.ai-feature { display: flex; gap: 1rem; align-items: flex-start; }
.ai-feature-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(2, 43, 176, 0.08);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--azure);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 4px 16px rgba(2, 43, 176, 0.06);
}
.dark .ai-feature-icon {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2), 0 4px 16px rgba(2, 43, 176, 0.08);
}
.ai-feature h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}
.ai-feature p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }
.ai-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.ai-visual-container { width: 100%; aspect-ratio: 1; position: relative; max-width: 480px; }
.ai-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(2, 43, 176, 0.12); }
.ai-ring-1 { inset: 0; animation: ringRotate 30s linear infinite; }
.ai-ring-2 { inset: 15%; border-color: rgba(73, 211, 248, 0.1); animation: ringRotate 25s linear infinite reverse; }
.ai-ring-3 { inset: 30%; border-color: rgba(2, 43, 176, 0.08); animation: ringRotate 20s linear infinite; }
.ai-ring-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--klein-blue);
    box-shadow: 0 0 15px rgba(2, 43, 176, 0.5);
}
.ai-ring-1 .ai-ring-dot { top: -4px; left: 50%; }
.ai-ring-2 .ai-ring-dot { bottom: -4px; right: 20%; background: var(--vivid-sky); box-shadow: 0 0 15px rgba(73, 211, 248, 0.5); }
.ai-ring-3 .ai-ring-dot { top: 20%; left: -4px; background: var(--klein-blue); box-shadow: 0 0 15px rgba(2, 43, 176, 0.4); }
.dark .ai-ring-3 .ai-ring-dot { background: var(--chartreuse); box-shadow: 0 0 15px rgba(214, 249, 81, 0.5); }
@keyframes ringRotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.ai-center {
    position: absolute; inset: 38%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(2, 43, 176, 0.12), rgba(25, 2, 176, 0.08));
    backdrop-filter: blur(30px) saturate(200%) brightness(1.1);
    -webkit-backdrop-filter: blur(30px) saturate(200%) brightness(1.1);
    border: 1px solid rgba(2, 43, 176, 0.2);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 32px rgba(2, 43, 176, 0.15), inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -2px 6px rgba(2, 43, 176, 0.1);
}
.ai-center-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--klein-blue), var(--vivid-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
    font-weight: 700;
}

/* ========== PARTNERS ========== */
.partners { padding: 6rem 0; position: relative; }
.partners-header { text-align: center; margin-bottom: 4rem; }
.partners-header .section-subtitle { margin: 0 auto; }
.partners-inner { display: flex; flex-direction: column; align-items: center; gap: 3rem; }
.partners-label {
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-tertiary);
}
/* AWS Premier area */
.aws-premier-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 153, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.04), rgba(255, 153, 0, 0.01));
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    box-shadow: 0 8px 32px rgba(255, 153, 0, 0.06), inset 0 1px 0 rgba(255, 153, 0, 0.1);
    max-width: 560px;
    width: 100%;
    text-align: center;
}
.aws-logo-big {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 800;
    color: #FF9900;
    letter-spacing: -1px;
    line-height: 1;
}
.aws-logo-big span { color: var(--text-primary); }
.aws-premier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    color: #FF9900;
    background: rgba(255, 153, 0, 0.08);
    border: 1px solid rgba(255, 153, 0, 0.25);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.aws-competencies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.aws-comp-badge {
    font-family: var(--font-primary);
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 153, 0, 0.8);
    background: rgba(255, 153, 0, 0.06);
    border: 1px solid rgba(255, 153, 0, 0.15);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}
.partners-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.partner-logo-sm {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--partner-text);
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    border: 1px solid var(--partner-border);
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    box-shadow: inset 0 1px 0 var(--glass-highlight), 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.3s;
    letter-spacing: 0.5px;
}
.partner-logo-sm:hover {
    color: var(--text-secondary);
    border-color: var(--border-hover);
    box-shadow: var(--glass-shadow), var(--glass-inner-glow);
    transform: translateY(-2px);
}

/* ========== INDUSTRIES ========== */
.industries { padding: 7rem 0; position: relative; }
.industries-header { text-align: center; margin-bottom: 4rem; }
.industries-header .section-subtitle { margin: 0 auto; }
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.industry-card { padding: 2.5rem 2rem; text-align: center; transition: all 0.4s; }
.industry-card:hover {
    transform: translateY(-4px);
}
/* Colored glass hover per industry card */
.industries-grid .industry-card:nth-child(1):hover {
    background: rgba(2, 43, 176, 0.07);
    border-color: rgba(2, 43, 176, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(2, 43, 176, 0.08);
}
.industries-grid .industry-card:nth-child(2):hover {
    background: rgba(73, 211, 248, 0.07);
    border-color: rgba(73, 211, 248, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(73, 211, 248, 0.08);
}
.industries-grid .industry-card:nth-child(3):hover {
    background: rgba(24, 129, 241, 0.07);
    border-color: rgba(24, 129, 241, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(24, 129, 241, 0.08);
}
.industries-grid .industry-card:nth-child(4):hover {
    background: rgba(214, 249, 81, 0.07);
    border-color: rgba(214, 249, 81, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(214, 249, 81, 0.08);
}
.industries-grid .industry-card:nth-child(5):hover {
    background: rgba(112, 173, 212, 0.07);
    border-color: rgba(112, 173, 212, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(112, 173, 212, 0.08);
}
.industries-grid .industry-card:nth-child(6):hover {
    background: rgba(112, 173, 212, 0.07);
    border-color: rgba(112, 173, 212, 0.25);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(112, 173, 212, 0.08);
}
/* Dark mode: stronger tints */
.dark .industries-grid .industry-card:nth-child(1):hover { background: rgba(2, 43, 176, 0.12); }
.dark .industries-grid .industry-card:nth-child(2):hover { background: rgba(73, 211, 248, 0.12); }
.dark .industries-grid .industry-card:nth-child(3):hover { background: rgba(24, 129, 241, 0.12); }
.dark .industries-grid .industry-card:nth-child(4):hover { background: rgba(214, 249, 81, 0.1); }
.dark .industries-grid .industry-card:nth-child(5):hover { background: rgba(112, 173, 212, 0.12); }
.dark .industries-grid .industry-card:nth-child(6):hover { background: rgba(112, 173, 212, 0.12); }
.industry-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.03);
}
.dark .industry-icon {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.1);
}
.industry-card h3 { font-family: var(--font-primary); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.5rem; }
.industry-card p { font-size: 0.85rem; color: var(--text-tertiary); line-height: 1.6; }

/* ========== VALUES ========== */
.values { padding: 7rem 0; position: relative; overflow: hidden; }
.values::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 1000px; height: 600px;
    background: radial-gradient(ellipse, rgba(25, 2, 176, 0.04), transparent 60%);
    pointer-events: none;
}
.values-header { text-align: center; margin-bottom: 4rem; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.value-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--btn-primary-bg);
    transition: width 0.4s;
}
.value-card:hover::after { width: 60%; }
.value-card:hover {
    transform: translateY(-6px);
}
/* Colored glass hover per value card */
.values-grid .value-card:nth-child(1):hover {
    background: rgba(2, 43, 176, 0.07);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(2, 43, 176, 0.08);
}
.values-grid .value-card:nth-child(1):hover::after { background: #022BB0; }
.values-grid .value-card:nth-child(2):hover {
    background: rgba(73, 211, 248, 0.07);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(73, 211, 248, 0.08);
}
.values-grid .value-card:nth-child(2):hover::after { background: #49D3F8; }
.values-grid .value-card:nth-child(3):hover {
    background: rgba(24, 129, 241, 0.07);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(24, 129, 241, 0.08);
}
.values-grid .value-card:nth-child(3):hover::after { background: #1881F1; }
.values-grid .value-card:nth-child(4):hover {
    background: rgba(112, 173, 212, 0.07);
    box-shadow: var(--glass-inner-glow), 0 12px 36px rgba(112, 173, 212, 0.08);
}
.values-grid .value-card:nth-child(4):hover::after { background: #70ADD4; }
.dark .values-grid .value-card:nth-child(1):hover { background: rgba(2, 43, 176, 0.12); }
.dark .values-grid .value-card:nth-child(2):hover { background: rgba(73, 211, 248, 0.12); }
.dark .values-grid .value-card:nth-child(3):hover { background: rgba(24, 129, 241, 0.12); }
.dark .values-grid .value-card:nth-child(4):hover { background: rgba(112, 173, 212, 0.12); }
.value-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.03);
}
.dark .value-icon {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.1);
}
.value-icon-1 { background: linear-gradient(135deg, rgba(2, 43, 176, 0.12), rgba(112, 173, 212, 0.06)); }
.value-icon-2 { background: linear-gradient(135deg, rgba(73, 211, 248, 0.12), rgba(112, 173, 212, 0.06)); }
.value-icon-3 { background: linear-gradient(135deg, rgba(2, 43, 176, 0.08), rgba(73, 211, 248, 0.04)); }
.value-icon-4 { background: linear-gradient(135deg, rgba(24, 129, 241, 0.12), rgba(25, 2, 176, 0.06)); }
.value-card h3 { font-family: var(--font-primary); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: var(--text-tertiary); line-height: 1.65; }

/* ========== GLOBAL PRESENCE ========== */
.presence { padding: 7rem 0; }
.presence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.presence-locations { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.location-item {
    padding: 1.25rem;
    border-radius: 14px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 var(--glass-highlight), 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.3s;
}
.location-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--glass-shadow), var(--glass-inner-glow);
    transform: translateY(-2px);
}
.location-flag { font-size: 1.5rem; margin-bottom: 0.5rem; }
.location-item h4 { font-family: var(--font-primary); font-weight: 600; font-size: 0.95rem; }
.presence-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.presence-map {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 24px;
    background: var(--map-bg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.map-dot {
    position: absolute;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--klein-blue);
    box-shadow: 0 0 20px rgba(2, 43, 176, 0.4);
}
.map-dot::after {
    content: '';
    position: absolute; inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(2, 43, 176, 0.3);
    animation: mapPulse 2s ease-out infinite;
}
@keyframes mapPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2.5); opacity: 0; } }
.map-dot-usa { top: 30%; left: 25%; }
.map-dot-canada { top: 22%; left: 28%; }
.map-dot-mexico { top: 42%; left: 18%; }
.map-dot-colombia { top: 52%; left: 30%; }
.map-dot-chile { top: 75%; left: 32%; background: var(--vivid-sky); box-shadow: 0 0 20px rgba(73,211,248,0.4); }
.map-dot-argentina { top: 78%; left: 35%; background: var(--carolina-blue); box-shadow: 0 0 20px rgba(112,173,212,0.4); }
.map-label {
    position: absolute;
    font-family: var(--font-primary);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--map-label-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}
.map-label-usa { top: 26%; left: 14%; }
.map-label-canada { top: 17%; left: 31%; }
.map-label-mexico { top: 44%; left: 8%; }
.map-label-colombia { top: 48%; left: 33%; }
.map-label-chile { top: 72%; left: 20%; }
.map-label-argentina { top: 80%; left: 38%; }
.map-lines {
    position: absolute; inset: 0; opacity: 0.06;
    background-image:
        linear-gradient(0deg, rgba(2, 43, 176, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 43, 176, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* ========== CTA ========== */
.cta { padding: 7rem 0; position: relative; overflow: hidden; }
.cta-container {
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--cta-bg);
    backdrop-filter: blur(40px) saturate(180%) brightness(1.05);
    -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(1.05);
}
.cta-container::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at top, var(--cta-radial), transparent 60%);
    pointer-events: none;
}
.cta-container .section-title { position: relative; z-index: 1; }
.cta-container .section-subtitle { margin: 0 auto 2.5rem; position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; position: relative; z-index: 1; }

/* ========== FOOTER ========== */
.footer {
    padding: 4rem 0 2rem;
    background: var(--footer-bg);
    color: #EBEBEB;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .footer-logo { margin-bottom: 1rem; height: 34px; }
.footer-brand .footer-logo img { height: 34px; width: auto; }
.footer-brand p { font-size: 0.9rem; color: rgba(235, 235, 235, 0.5); line-height: 1.7; max-width: 300px; }
.footer-col h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    color: rgba(235, 235, 235, 0.8);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { font-size: 0.9rem; color: rgba(235, 235, 235, 0.45); transition: color 0.3s; }
.footer-col a:hover { color: var(--klein-blue); }
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(235, 235, 235, 0.35); }
.footer-socials { display: flex; gap: 1rem; }
.footer-social {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(235, 235, 235, 0.5);
    transition: all 0.3s;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.footer-social:hover {
    background: rgba(2, 43, 176, 0.15);
    border-color: rgba(2, 43, 176, 0.3);
    color: var(--azure);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 16px rgba(2, 43, 176, 0.15);
}

/* ========== DIVIDER ========== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--divider), transparent);
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
    padding: 8rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.page-hero .hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}
.page-hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--klein-blue), var(--vivid-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.page-hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* ========== CONTACT FORM ========== */
.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--glass-bg);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
    box-shadow: inset 0 1px 0 var(--glass-highlight);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--klein-blue);
    box-shadow: 0 0 0 3px rgba(2, 43, 176, 0.08), var(--glass-inner-glow);
    background: var(--glass-bg-strong);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .ai-grid, .presence-grid { grid-template-columns: 1fr; gap: 3rem; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .ai-visual { order: -1; }
    .ai-visual-container { max-width: 350px; }
    .servicios-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--mobile-menu-bg);
        backdrop-filter: blur(50px) saturate(200%) brightness(1.05);
        -webkit-backdrop-filter: blur(50px) saturate(200%) brightness(1.05);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 48px rgba(0,0,0,0.1);
    }
    .nav-toggle { display: flex; }
    .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .services-tabs { flex-wrap: wrap; }
    .presence-locations { grid-template-columns: 1fr; }
    .cta-container { padding: 3rem 1.5rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { width: 100%; justify-content: center; }
    .nav-right { gap: 1rem; }
    .servicios-grid { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
}

/* ========== ICONS ========== */
.icon {
    display: inline-block;
    flex-shrink: 0;
}
/* Invert icons in dark mode to make them visible */
.dark .icon-adaptive {
    filter: brightness(0) invert(1);
}
