/* ============================================
   CCDSITEL — Renovación 2026
   Design System & Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Variables --- */
:root {
    /* Primary Palette — Deep Industrial Blue + Electric Accent */
    --primary-900: #0a1628;
    --primary-800: #0f2240;
    --primary-700: #152d54;
    --primary-600: #1a3a6c;
    --primary-500: #2563eb;
    --primary-400: #3b82f6;
    --primary-300: #60a5fa;
    --primary-200: #93c5fd;
    --primary-100: #dbeafe;

    /* Accent — Executive Teal/Cyan */
    --accent-600: #0891b2;
    --accent-500: #06b6d4;
    --accent-400: #22d3ee;
    --accent-300: #67e8f9;
    --accent-200: #a5f3fc;

    /* Neutrals */
    --gray-950: #030712;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, var(--primary-900) 0%, #0c1e3d 40%, #162a4f 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-400) 100%);
    --gradient-blue: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-400) 100%);
    --gradient-dark: linear-gradient(180deg, var(--primary-900) 0%, var(--gray-950) 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);

    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg-light: rgba(255, 255, 255, 0.85);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);
    --shadow-glow-accent: 0 0 40px rgba(6, 182, 212, 0.15);

    /* Layout */
    --max-width: 1280px;
    --section-padding: 110px 0;
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-lg: 24px;

    /* Transitions — 2026: custom cubic-bezier for premium feel */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* 2026 — Shimmer effect for buttons */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* 2026 — Glow pulse for cards */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0);
    }

    50% {
        box-shadow: 0 0 30px rgba(6, 182, 212, 0.15);
    }
}

/* 2026 — Mesh gradient animation for hero */
@keyframes meshGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 2026 — Scroll indicator bounce */
@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0) translateX(-50%);
        opacity: 0.6;
    }

    50% {
        transform: translateY(10px) translateX(-50%);
        opacity: 1;
    }
}

/* 2026 — Shine sweep on cards */
@keyframes shineSweep {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

/* 2026 — Floating particles in hero */
@keyframes particleFloat1 {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
    25% { transform: translateY(-80px) translateX(30px); opacity: 0.7; }
    50% { transform: translateY(-150px) translateX(-20px); opacity: 0.3; }
    75% { transform: translateY(-100px) translateX(50px); opacity: 0.6; }
}

@keyframes particleFloat2 {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    33% { transform: translateY(-120px) translateX(-40px); opacity: 0.6; }
    66% { transform: translateY(-60px) translateX(60px); opacity: 0.2; }
}

@keyframes particleDrift {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* 2026 — Counter number animation */
@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 2026 — Typing cursor blink for search placeholder */
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* 2026 — Active nav link slide indicator */
@keyframes navIndicatorSlide {
    from { width: 0; }
    to { width: 60%; }
}

/* Scroll reveal — staggered with CSS custom property */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: var(--stagger, 0s);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   1. TOP BAR
   ============================================= */
.top-bar {
    background: var(--primary-900);
    color: var(--primary-200);
    font-size: 0.8rem;
    padding: 8px 0;
    text-align: center;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left a {
    color: var(--primary-200);
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-left a:hover {
    color: var(--accent-400);
}

.top-bar-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-bar-whatsapp svg {
    vertical-align: middle;
}

.top-bar-right {
    color: var(--primary-300);
    font-weight: 500;
}

.top-bar-right .badge-years {
    background: var(--accent-500);
    color: var(--white);
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    margin-left: 6px;
}

/* =============================================
   2. NAVBAR
   ============================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.95);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-800);
    letter-spacing: -0.02em;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.03);
}

.logo span {
    color: var(--primary-500);
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

/* 2026 — Animated underline from center */
.nav-links a {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 1px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 60%;
    left: 20%;
}

.nav-links a:hover {
    color: var(--primary-500);
}

.nav-links .btn-nav {
    background: var(--gradient-accent);
    color: var(--white);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-links .btn-nav:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.45);
    color: var(--white);
    background: var(--gradient-accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

/* =============================================
   3. HERO SECTION
   ============================================= */
.hero {
    background: var(--gradient-hero);
    padding: 130px 0 110px;
    position: relative;
    overflow: visible;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

/* 2026 — Animated mesh gradient background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 900px 700px at 20% 50%, rgba(37, 99, 235, 0.14) 0%, transparent 70%),
        radial-gradient(ellipse 700px 500px at 75% 25%, rgba(6, 182, 212, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 500px 400px at 50% 80%, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    background-size: 200% 200%;
    animation: meshGradient 12s ease infinite;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(transparent, var(--white));
    pointer-events: none;
    z-index: 1;
}

/* 2026 — Bouncing scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--primary-200);
    font-size: 1.2rem;
    backdrop-filter: blur(6px);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.hero-content h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1 .hero-subtitle-line {
    display: block;
    font-size: 0.7em;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-300);
    margin-top: 8px;
}

.hero-content .hero-sub {
    font-size: 1.15rem;
    color: var(--primary-200);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
    position: relative;
    overflow: hidden;
}

/* 2026 — Shimmer sweep effect on primary buttons */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: none;
}

.btn-primary:hover::before {
    animation: shimmer 0.8s ease-out;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--white);
}

.btn-outline-blue {
    background: transparent;
    color: var(--primary-500);
    border: 2px solid var(--primary-500);
}

.btn-outline-blue:hover {
    background: var(--primary-500);
    color: var(--white);
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(12px);
    transition: 0.4s var(--bounce);
    position: relative;
    overflow: hidden;
}

/* 2026 — Gradient border glow on stat cards */
.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), transparent 40%, rgba(37, 99, 235, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.stat-card .stat-number {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--accent-400);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: var(--primary-300);
    font-weight: 500;
}

.hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--gradient-dark);
    margin-top: -80px;
    z-index: 20;
    /* Keep hero and its children above the carousel */
}

/* =============================================
   4. BRANDS MARQUEE
   ============================================= */
.brands-section {
    padding: 50px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.brands-header {
    text-align: center;
    margin-bottom: 30px;
}

.brands-header p {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.brands-track {
    display: flex;
    gap: 60px;
    animation: scrollBrands 25s linear infinite;
    width: max-content;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    /* color, background-color, and box-shadow are applied inlined via server generation */
}

.brand-item {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-400);
    white-space: nowrap;
    letter-spacing: 0.03em;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-item:hover {
    color: var(--primary-500);
}

/* =============================================
   5. SERVICES SECTION
   ============================================= */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary-500);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: var(--primary-100);
    border-radius: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 2026 — 3D Tilt on hover + gradient top bar */
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    transition: transform 0.4s var(--bounce), box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px) perspective(600px) rotateX(2deg);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-200);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* 2026 — Gradient icon backgrounds */
.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-100), rgba(37, 99, 235, 0.12));
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.08);
    background: linear-gradient(135deg, var(--primary-100), rgba(37, 99, 235, 0.2));
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* 2026 — Arrow slides on hover */
.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-500);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.service-link:hover {
    gap: 10px;
    color: var(--accent-500);
}

/* =============================================
   6. DIFFERENTIATOR / WHY US
   ============================================= */
.why-us {
    padding: var(--section-padding);
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 600px 500px at 70% 40%, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.why-us .section-header h2 {
    color: var(--white);
}

.why-us .section-header p {
    color: var(--primary-300);
}

.why-us .section-label {
    background: rgba(37, 99, 235, 0.2);
    color: var(--primary-300);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* 2026 — Glass cards with accent glow on hover */
.why-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    padding: 36px 28px;
    backdrop-filter: blur(12px);
    transition: transform 0.4s var(--bounce), background 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease;
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.12), 0 0 0 1px rgba(6, 182, 212, 0.1);
}

.why-card .why-icon {
    font-size: 2rem;
    margin-bottom: 18px;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.15);
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--primary-300);
    line-height: 1.7;
}

/* =============================================
   7. EQUIPMENT CATALOG
   ============================================= */
.catalog {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* 2026 — Cards with shine sweep effect */
.catalog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 36px 24px;
    text-align: center;
    transition: transform 0.4s var(--bounce), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
    position: relative;
    overflow: hidden;
}

/* 2026 — Shine sweep */
.catalog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.06), transparent);
    transition: none;
}

.catalog-card:hover::after {
    animation: shineSweep 0.6s ease-out;
}

.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-300);
}

.catalog-icon {
    width: 252px;
    height: 252px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    overflow: hidden;
    border-radius: 12px;
    transition: var(--transition);
}

.catalog-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.catalog-card:hover .catalog-icon {
    transform: scale(1.08);
}

.catalog-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.catalog-card p {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.catalog-badge {
    display: inline-block;
    background: var(--gradient-blue);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    transition: var(--transition);
}

.catalog-card:hover .catalog-badge {
    background: var(--gradient-accent);
    transform: scale(1.05);
}

/* =============================================
   7. VIDEO GALLERY (NEW 2026)
   ============================================= */
.video-gallery {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
}

.video-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.video-filter-btn {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s var(--bounce);
}

.video-filter-btn:hover {
    background: var(--gray-200);
    color: var(--gray-800);
    transform: translateY(-2px);
}

.video-filter-btn.active {
    background: var(--primary-500);
    color: var(--white);
    border-color: var(--primary-500);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 2026 Glass/Glow Card for Videos */
.video-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--bounce);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-200);
}

.video-thumbnail-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-900);
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    opacity: 0.85;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
    opacity: 1;
}

/* Play Button Overlay */
.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    padding-left: 6px; /* visually center the play triangle */
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.video-card:hover .video-play-btn {
    background: var(--accent-500);
    border-color: var(--accent-400);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.video-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.video-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-600);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.video-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =============================================
   8. EQUIPMENT CATALOG
   ============================================= */
.clients {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

/* 2026 — Grayscale to color on hover */
.client-item {
    text-align: center;
    padding: 22px;
    border-radius: var(--border-radius-sm);
    transition: 0.4s var(--bounce);
    border: 1px solid transparent;
}

.client-item:hover {
    background: var(--gray-50);
    border-color: var(--gray-200);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.client-item .client-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gray-300);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.client-item:hover .client-name {
    color: var(--primary-500);
}

/* =============================================
   9. ABOUT / COMPANY
   ============================================= */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-200);
    color: var(--accent-600);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
    line-height: 1.15;
}

.about-content p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
}

.about-feature .check {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
}

.about-visual {
    position: relative;
}

.about-visual .about-card-main {
    background: var(--gradient-hero);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-visual .about-card-main::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.about-card-main .year-big {
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -20px;
}

.about-card-main h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
}

.about-card-main p {
    color: var(--primary-200);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
}

.about-flag {
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 3rem;
}

/* =============================================
   10. CONTACT SECTION
   ============================================= */
.contact {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
}

.contact-item .ci-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item .ci-label {
    font-size: 0.78rem;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.contact-item .ci-value {
    font-size: 0.95rem;
    color: var(--gray-900);
    font-weight: 600;
}

.contact-item .ci-value a {
    color: var(--primary-500);
}

.contact-item .ci-value a:hover {
    color: var(--primary-600);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

/* 2026 — Refined form inputs with gradient border on focus */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-400);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.08);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    margin-top: 10px;
    letter-spacing: 0.02em;
}

/* =============================================
   FULL-WIDTH BANNER CAROUSEL
   ============================================= */
.banner-carousel {
    position: relative;
    width: 100%;
    max-width: 1296px;
    margin: -40px auto 0;
    padding: 0 20px;
    z-index: 10;
}

.banner-track {
    display: flex;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    position: relative;
}

.banner-slide {
    min-width: 100%;
    transition: transform 0.65s cubic-bezier(0.22, 0.68, 0, 1.02);
}

.banner-slide img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1140 / 380;
    object-fit: cover;
}

/* Navigation arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: var(--transition);
    opacity: 0;
}

.banner-carousel:hover .banner-arrow {
    opacity: 1;
}

.banner-prev {
    left: 36px;
}

.banner-next {
    right: 36px;
}

.banner-arrow:hover {
    background: var(--accent-500);
    border-color: var(--accent-500);
    transform: translateY(-50%) scale(1.1);
}

/* Dots */
.banner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.banner-dot.active {
    background: var(--accent-500);
    width: 24px;
    border-radius: 4px;
}

.banner-dot:hover {
    background: var(--primary-400);
}

/* Progress bar */
.banner-progress {
    width: 100%;
    height: 3px;
    background: var(--gray-200);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.banner-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 2px;
    animation: progressFill 4000ms linear forwards;
}

@keyframes progressFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .banner-carousel {
        margin-top: -20px;
        padding: 0 10px;
    }

    .banner-track {
        border-radius: 10px;
    }

    .banner-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .banner-prev {
        left: 16px;
    }

    .banner-next {
        right: 16px;
    }
}

/* Logo image */
.logo-img {
    height: 42px;
    width: auto;
}

.footer .logo-img {
    height: 36px;
    filter: brightness(1.5) contrast(1.2);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

/* =============================================
   11. FOOTER
   ============================================= */
.footer {
    background: var(--gray-950);
    padding: 60px 0 30px;
    color: var(--gray-400);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 14px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 300px;
}

.footer h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

/* 2026 — Footer links with animated arrow */
.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    padding: 5px 0;
    transition: color 0.3s ease, padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: var(--accent-400);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.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;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6), 0 0 0 8px rgba(37, 211, 102, 0.1);
    }
}

/* =============================================
   VIDEO LIGHTBOX (MODAL)
   ============================================= */
.video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(16px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.video-lightbox-content {
    width: 90%;
    max-width: 1000px;
    background: var(--gray-900);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    overflow: hidden;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.video-lightbox.active .video-lightbox-content {
    transform: scale(1) translateY(0);
}

.video-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.video-lightbox-close:hover {
    background: var(--danger);
    transform: rotate(90deg);
}

.video-iframe-container {
    position: relative;
    width: 100%;
    /* Remove padding-bottom to avoid forced 16:9 on local videos which might have different aspect ratios */
    min-height: 200px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-iframe-container iframe,
.video-iframe-container video {
    width: 100%;
    /* Give iframes their aspect ratio back, but let videos size naturally up to 80vh */
    height: 100%;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
    border: none;
    object-fit: contain;
}

.video-lightbox-info {
    padding: 24px;
    background: var(--gray-950);
}

.video-lightbox-info h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.video-lightbox-info p {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.video-actions {
    display: flex;
    gap: 12px;
}


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.6rem;
    }

    .hero-content .hero-sub {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        max-width: 400px;
        margin: 40px auto 0;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }

    .top-bar .container {
        justify-content: center;
    }

    .top-bar-left {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--gray-200);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card .stat-number {
        font-size: 1.8rem;
    }
}

/* ============================================
   BUSCADOR GLOBAL DE PRODUCTOS
   ============================================ */

.global-search {
    margin-top: 28px;
    position: relative;
    max-width: 560px;
    z-index: 9999;
    /* Force above the carousel */
    overflow: visible;
}

.global-search-input-wrap {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 6px 12px 6px 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 1);
}

.global-search-input-wrap:hover {
    background: var(--white);
    border-color: var(--gray-300);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.global-search-input-wrap:focus-within {
    background: var(--white);
    border-color: var(--primary-400);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15), 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
    animation: none;
}

@keyframes pulseSearch {
    0% {
        box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2), 0 0 0 4px rgba(255, 255, 255, 0.1);
    }

    100% {
        box-shadow: 0 12px 50px rgba(6, 182, 212, 0.4), 0 0 0 6px rgba(255, 255, 255, 0.15);
    }
}

.global-search-icon {
    font-size: 1.2rem;
    margin-right: 12px;
    color: var(--gray-400);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.global-search-input-wrap:focus-within .global-search-icon {
    color: var(--primary-500);
    transform: scale(1.1);
}

.global-search-input-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--gray-900);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    padding: 12px 0;
    min-width: 0;
}

.global-search-input-wrap input::placeholder {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.global-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    color: var(--gray-600);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.global-search-clear:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* ---- Dropdown de Resultados ---- */
.global-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    max-height: 440px;
    overflow-y: auto;
    display: none;
    animation: searchDropIn 0.2s ease-out;
}

.global-search-results.active {
    display: block;
}

@keyframes searchDropIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar custom */
.global-search-results::-webkit-scrollbar {
    width: 6px;
}

.global-search-results::-webkit-scrollbar-track {
    background: transparent;
}

.global-search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

/* ---- Cada Resultado ---- */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:first-child {
    border-radius: 16px 16px 0 0;
}

.search-result-item:last-of-type {
    border-radius: 0 0 16px 16px;
}

.search-result-item:hover {
    background: rgba(37, 99, 235, 0.12);
}

/* Miniatura */
.search-result-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-placeholder {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Info */
.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-name mark {
    background: rgba(6, 182, 212, 0.3);
    color: var(--accent-300);
    border-radius: 2px;
    padding: 0 2px;
}

.search-result-meta {
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-top: 2px;
}

.search-result-snippet {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Badge de disponibilidad */
.search-result-badge {
    font-size: 0.68rem;
    padding: 4px 8px;
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Sin resultados */
.search-no-results {
    text-align: center;
    padding: 32px 20px;
    color: var(--gray-400);
}

.search-no-results .search-no-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 8px;
}

.search-no-results p {
    margin: 0;
    font-size: 0.9rem;
}

.search-no-results small {
    color: var(--gray-500);
    font-size: 0.8rem;
}

/* Ver todos */
.search-view-all {
    text-align: center;
    padding: 12px;
    font-size: 0.8rem;
    color: var(--gray-500);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .global-search {
        max-width: 100%;
    }

    .global-search-input-wrap input::placeholder {
        font-size: 0.82rem;
    }

    .global-search-results {
        max-height: 360px;
    }

    .search-result-badge {
        display: none;
    }

    .search-result-img {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   2026 DESIGN UPGRADE — FLOATING PARTICLES
   ============================================ */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.hero-particles .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.hero-particles .particle:nth-child(1) {
    width: 4px; height: 4px;
    top: 20%; left: 10%;
    animation: particleFloat1 8s ease-in-out infinite;
}

.hero-particles .particle:nth-child(2) {
    width: 6px; height: 6px;
    top: 60%; left: 25%;
    animation: particleFloat2 10s ease-in-out infinite 1s;
    background: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

.hero-particles .particle:nth-child(3) {
    width: 3px; height: 3px;
    top: 30%; left: 70%;
    animation: particleFloat1 12s ease-in-out infinite 2s;
}

.hero-particles .particle:nth-child(4) {
    width: 5px; height: 5px;
    top: 75%; left: 80%;
    animation: particleFloat2 9s ease-in-out infinite 0.5s;
    background: rgba(96, 165, 250, 0.4);
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.25);
}

.hero-particles .particle:nth-child(5) {
    width: 3px; height: 3px;
    top: 15%; left: 50%;
    animation: particleFloat1 11s ease-in-out infinite 3s;
    background: rgba(34, 211, 238, 0.5);
}

.hero-particles .particle:nth-child(6) {
    width: 7px; height: 7px;
    top: 50%; left: 90%;
    animation: particleFloat2 14s ease-in-out infinite 1.5s;
    background: rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.hero-particles .particle:nth-child(7) {
    width: 4px; height: 4px;
    top: 85%; left: 40%;
    animation: particleFloat1 10s ease-in-out infinite 4s;
    background: rgba(37, 99, 235, 0.5);
}

.hero-particles .particle:nth-child(8) {
    width: 2px; height: 2px;
    top: 40%; left: 15%;
    animation: particleFloat2 7s ease-in-out infinite 2.5s;
    background: rgba(147, 197, 253, 0.6);
    box-shadow: 0 0 8px rgba(147, 197, 253, 0.3);
}

.hero-particles .particle:nth-child(9) {
    width: 5px; height: 5px;
    top: 10%; left: 35%;
    animation: particleFloat2 9s ease-in-out infinite 1.8s;
    background: rgba(6, 182, 212, 0.45);
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.3);
}

.hero-particles .particle:nth-child(10) {
    width: 3px; height: 3px;
    top: 65%; left: 55%;
    animation: particleFloat1 11s ease-in-out infinite 0.8s;
    background: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.3);
}

.hero-particles .particle:nth-child(11) {
    width: 6px; height: 6px;
    top: 45%; left: 65%;
    animation: particleFloat2 13s ease-in-out infinite 3.5s;
    background: rgba(34, 211, 238, 0.35);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.25);
}

.hero-particles .particle:nth-child(12) {
    width: 4px; height: 4px;
    top: 80%; left: 20%;
    animation: particleFloat1 8s ease-in-out infinite 2s;
    background: rgba(37, 99, 235, 0.45);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

.hero-particles .particle:nth-child(13) {
    width: 3px; height: 3px;
    top: 5%; left: 75%;
    animation: particleFloat2 10s ease-in-out infinite 0.3s;
    background: rgba(6, 182, 212, 0.55);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.35);
}

.hero-particles .particle:nth-child(14) {
    width: 5px; height: 5px;
    top: 55%; left: 45%;
    animation: particleFloat1 14s ease-in-out infinite 4.5s;
    background: rgba(147, 197, 253, 0.4);
    box-shadow: 0 0 16px rgba(147, 197, 253, 0.25);
}

.hero-particles .particle:nth-child(15) {
    width: 2px; height: 2px;
    top: 25%; left: 88%;
    animation: particleFloat2 8s ease-in-out infinite 1.2s;
    background: rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 8px rgba(34, 211, 238, 0.4);
}

.hero-particles .particle:nth-child(16) {
    width: 7px; height: 7px;
    top: 70%; left: 5%;
    animation: particleFloat1 16s ease-in-out infinite 5s;
    background: rgba(37, 99, 235, 0.25);
    box-shadow: 0 0 22px rgba(37, 99, 235, 0.2);
}

.hero-particles .particle:nth-child(17) {
    width: 3px; height: 3px;
    top: 35%; left: 42%;
    animation: particleFloat2 7s ease-in-out infinite 3.2s;
    background: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.hero-particles .particle:nth-child(18) {
    width: 4px; height: 4px;
    top: 90%; left: 60%;
    animation: particleFloat1 9s ease-in-out infinite 0.7s;
    background: rgba(96, 165, 250, 0.45);
    box-shadow: 0 0 14px rgba(96, 165, 250, 0.3);
}

.hero-particles .particle:nth-child(19) {
    width: 2px; height: 2px;
    top: 48%; left: 30%;
    animation: particleFloat2 12s ease-in-out infinite 2.8s;
    background: rgba(34, 211, 238, 0.5);
    box-shadow: 0 0 8px rgba(34, 211, 238, 0.3);
}

.hero-particles .particle:nth-child(20) {
    width: 6px; height: 6px;
    top: 12%; left: 60%;
    animation: particleFloat1 15s ease-in-out infinite 1.5s;
    background: rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

/* Connecting lines effect */
.hero-particles::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 5%;
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.15), transparent);
    transform: rotate(25deg);
    animation: particleFloat1 15s ease-in-out infinite;
}

.hero-particles::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 10%;
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.12), transparent);
    transform: rotate(-15deg);
    animation: particleFloat2 12s ease-in-out infinite 3s;
}

/* ============================================
   2026 DESIGN UPGRADE — ANIMATED COUNTERS
   ============================================ */
.stat-card .stat-number {
    transition: color 0.4s ease, transform 0.3s ease;
}

.stat-card .stat-number.counting {
    animation: countPulse 0.6s ease-out;
}

/* ============================================
   2026 DESIGN UPGRADE — IMPROVED CLIENTS
   ============================================ */
.client-item {
    background: linear-gradient(145deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 100%);
    position: relative;
    overflow: hidden;
}

.client-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.client-item:hover::before {
    opacity: 1;
}

.client-item:hover {
    background: var(--white);
    border-color: rgba(37, 99, 235, 0.2);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.05);
}

.client-item:hover .client-name {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   2026 DESIGN UPGRADE — NAVBAR ACTIVE
   ============================================ */
.nav-links a.nav-active:not(.btn-nav) {
    color: var(--primary-500);
}

.nav-links a.nav-active:not(.btn-nav)::after {
    width: 60%;
    left: 20%;
    background: var(--gradient-accent);
    animation: navIndicatorSlide 0.3s ease forwards;
}

/* ============================================
   2026 DESIGN UPGRADE — WAVE DIVIDERS
   ============================================ */
.wave-divider {
    width: 100%;
    line-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.wave-divider svg {
    width: 100%;
    height: auto;
    display: block;
}

.wave-divider.flip {
    transform: rotate(180deg);
}

/* ============================================
   2026 DESIGN UPGRADE — ABOUT TIMELINE
   ============================================ */
.about-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 30px;
    position: relative;
    padding-left: 30px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-500), var(--primary-500), rgba(37, 99, 235, 0.2));
    border-radius: 1px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    position: relative;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-500);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent-500), 0 2px 8px rgba(6, 182, 212, 0.3);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: var(--white);
    border-color: rgba(6, 182, 212, 0.2);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.timeline-item:hover::before {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 0 3px var(--accent-400), 0 2px 12px rgba(6, 182, 212, 0.5);
}

.timeline-item .check {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.timeline-item span:last-child {
    font-size: 0.85rem;
    color: var(--gray-700);
    font-weight: 500;
}

/* ============================================
   2026 DESIGN UPGRADE — SEARCH ENHANCEMENT
   ============================================ */
.global-search-input-wrap::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.global-search-input-wrap:focus-within::after {
    width: 80%;
}

/* 2026 — Tilt 3D card perspective */
.service-card {
    transform-style: preserve-3d;
    perspective: 800px;
}

/* Responsive: disable particles and tilt on mobile */
@media (max-width: 768px) {
    .hero-particles .particle:nth-child(n+5) {
        display: none;
    }

    .hero-particles::before,
    .hero-particles::after {
        display: none;
    }

    .about-timeline {
        padding-left: 26px;
    }

    .timeline-item::before {
        left: -22px;
        width: 10px;
        height: 10px;
    }

    .wave-divider svg {
        height: 30px;
    }
}

@media (max-width: 480px) {
    .about-timeline {
        padding-left: 22px;
    }
}

/* ============================================
   2026 PROFESSIONAL REDESIGN OVERRIDES
   ============================================ */

/* 1. Global Spacing and Breathing Room */
section {
    padding: 100px 0 !important;
}

.hero {
    padding: 120px 0 80px 0 !important;
}

.brands-section {
    padding: 40px 0 !important;
}

.global-search-section {
    padding: 40px 20px 0 !important;
}

/* 2. Alternating Backgrounds (OT Cybersecurity Professional Aesthetic) */

/* Services */
.services {
    background-color: #f8fafc !important; 
}

/* Products */
.catalog {
    background-color: #ffffff !important;
}

/* About Us - Deep Corporate Navy */
.about {
    background: linear-gradient(135deg, #0f1535, #0a1628) !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about h2, 
.about h3, 
.about p,
.about .timeline-item span {
    color: #f1f5f9 !important;
}

.about .about-card-main {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.about .year-big {
    color: #009999 !important;
    opacity: 0.8 !important;
}

/* Why Us (Experience) */
.why-us {
    background-color: #f1f5f9 !important;
}

.why-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    padding: 40px !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.why-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}

/* Videos */
.video-gallery {
    background-color: #ffffff !important;
}

/* Outlet */
.outlet {
    background-color: #fff1f2 !important; /* Very subtle light red/gray */
    border-top: 1px solid #ffe4e6 !important;
}

/* Clients */
.clients {
    background-color: #f8fafc !important;
}

/* Contact */
.contact {
    background-color: #ffffff !important;
}

/* Adjust Section Headers to match new backgrounds */
.section-header h2 {
    color: #0f1535;
}
.about .section-header h2 {
    color: #ffffff !important;
}

/* Grid gaps */
.services-grid, .catalog-grid, .why-grid {
    gap: 40px !important;
}

/* 3. Remove wave dividers globally in case any survived */
.wave-divider {
    display: none !important;
}


/* ============================================
   CCDSITEL — CORPORATE REDESIGN 2026
   Inspired by Siemens Industrial Design Language
   ============================================
   
   Palette:
   - Primary:  Petrol Deep   #007A7A (darker variant of Siemens #009999)
   - Accent:   Petrol Bright #009999 
   - Dark BG:  Industrial    #0D1B2A → #1B2838
   - Light BG: Platinum      #F0F2F5
   - Neutrals: Slate grays
   ============================================ */

/* ===== OVERRIDE ROOT VARIABLES ===== */
:root {
    /* New Primary — Industrial Petrol (NOT celeste/baby blue) */
    --primary-900: #0D1B2A !important;
    --primary-800: #1B2838 !important;
    --primary-700: #253545 !important;
    --primary-600: #005F5F !important;
    --primary-500: #007A7A !important;
    --primary-400: #009999 !important;
    --primary-300: #33BBBB !important;
    --primary-200: #80D4D4 !important;
    --primary-100: #CCF0F0 !important;
    
    /* Accent — Warm amber/gold for CTAs (contrast against petrol) */
    --accent-600: #D97706 !important;
    --accent-500: #F59E0B !important;
    --accent-400: #FBBF24 !important;
    --accent-300: #FCD34D !important;
    --accent-200: #FDE68A !important;
    
    /* Override Gradients */
    --gradient-hero: linear-gradient(135deg, #0D1B2A 0%, #162a3e 40%, #1B3A4B 100%) !important;
    --gradient-accent: linear-gradient(135deg, #007A7A 0%, #009999 100%) !important;
    --gradient-blue: linear-gradient(135deg, #007A7A 0%, #009999 100%) !important;
    --gradient-dark: linear-gradient(180deg, #0D1B2A 0%, #0a1118 100%) !important;
    
    /* Shadows — more subtle, industrial */
    --shadow-glow: 0 0 40px rgba(0, 122, 122, 0.12) !important;
    --shadow-glow-accent: 0 0 40px rgba(0, 153, 153, 0.12) !important;
}

/* ===== BODY — Slight warm gray instead of pure white ===== */
body {
    background: #F7F8FA !important;
    color: #1e293b !important;
}

/* ===== TOP BAR — Darker, more serious ===== */
.top-bar {
    background: #0D1B2A !important;
    border-bottom: 1px solid rgba(0, 153, 153, 0.15) !important;
}

.top-bar-left a:hover {
    color: #009999 !important;
}

.top-bar-right .badge-years {
    background: #007A7A !important;
}

/* ===== NAVBAR — Clean, corporate ===== */
.navbar {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.navbar.scrolled {
    box-shadow: 0 2px 20px rgba(13, 27, 42, 0.08) !important;
}

.nav-links a:not(.btn-nav)::after {
    background: linear-gradient(135deg, #007A7A, #009999) !important;
}

.nav-links a:hover {
    color: #007A7A !important;
}

/* ===== HERO — Deep industrial navy ===== */
.hero {
    background: linear-gradient(135deg, #0D1B2A 0%, #162a3e 40%, #1B3A4B 100%) !important;
}

.hero::before {
    background:
        radial-gradient(ellipse 900px 700px at 20% 50%, rgba(0, 153, 153, 0.10) 0%, transparent 70%),
        radial-gradient(ellipse 700px 500px at 75% 25%, rgba(0, 122, 122, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 500px 400px at 50% 80%, rgba(0, 153, 153, 0.06) 0%, transparent 70%) !important;
}

.hero::after {
    background: linear-gradient(transparent, #F7F8FA) !important;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #009999, #33BBBB) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ===== BUTTONS — Petrol primary, Amber CTA ===== */
.btn-primary {
    background: linear-gradient(135deg, #007A7A, #009999) !important;
    box-shadow: 0 4px 15px rgba(0, 122, 122, 0.30) !important;
}

.btn-primary:hover {
    box-shadow: 0 10px 30px rgba(0, 122, 122, 0.45) !important;
}

.btn-outline {
    border-color: #007A7A !important;
    color: #007A7A !important;
}

.btn-outline:hover {
    background: #007A7A !important;
    color: #ffffff !important;
}

/* ===== STAT CARDS — Subtle glass ===== */
.stat-card {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(0, 153, 153, 0.15) !important;
}

.stat-number {
    color: #009999 !important;
}

/* ===== SECTION HEADERS ===== */
.section-label {
    color: #007A7A !important;
    border-color: rgba(0, 122, 122, 0.2) !important;
}

.section-header h2 {
    color: #0D1B2A !important;
}

/* ===== SERVICES SECTION — Light platinum background ===== */
.services {
    background: #F0F2F5 !important;
}

.service-card {
    background: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 8px rgba(13, 27, 42, 0.04) !important;
}

.service-card:hover {
    border-color: #009999 !important;
    box-shadow: 0 8px 30px rgba(0, 153, 153, 0.10) !important;
}

.service-card .service-icon {
    background: linear-gradient(135deg, rgba(0, 153, 153, 0.08), rgba(0, 122, 122, 0.04)) !important;
}

/* ===== CATALOG/PRODUCTS — Clean white ===== */
.catalog {
    background: #ffffff !important;
}

.catalog-card {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 8px rgba(13, 27, 42, 0.04) !important;
}

.catalog-card:hover {
    border-color: #009999 !important;
    box-shadow: 0 8px 30px rgba(0, 153, 153, 0.10) !important;
}

.catalog-card .catalog-icon {
    background: linear-gradient(135deg, rgba(0, 153, 153, 0.08), rgba(0, 122, 122, 0.04)) !important;
}

.catalog-card .catalog-arrow {
    color: #007A7A !important;
}

/* ===== ABOUT — Deep industrial dark ===== */
.about {
    background: linear-gradient(135deg, #0D1B2A, #1B2838) !important;
    color: #ffffff !important;
}

.about .section-header h2 {
    color: #ffffff !important;
}

.about .about-card-main {
    background: rgba(0, 153, 153, 0.08) !important;
    border: 1px solid rgba(0, 153, 153, 0.15) !important;
}

.about .year-big {
    color: #009999 !important;
}

.about .check {
    color: #009999 !important;
}

.about .about-badge {
    background: rgba(0, 153, 153, 0.12) !important;
    border: 1px solid rgba(0, 153, 153, 0.25) !important;
    color: #80D4D4 !important;
}

/* ===== WHY US / EXPERIENCE — Platinum ===== */
.why-us {
    background: #F0F2F5 !important;
}

.why-card {
    background: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
}

.why-card:hover {
    border-color: #009999 !important;
    box-shadow: 0 8px 30px rgba(0, 153, 153, 0.08) !important;
}

.why-icon {
    background: linear-gradient(135deg, rgba(0, 153, 153, 0.08), rgba(0, 122, 122, 0.04)) !important;
}

/* ===== VIDEOS — Clean white ===== */
.video-gallery {
    background: #ffffff !important;
}

/* ===== OUTLET — Subtle warm ===== */
.outlet {
    background: #FAFAFA !important;
    border-top: 1px solid #E2E8F0 !important;
}

/* ===== CLIENTS — Platinum ===== */
.clients {
    background: #F0F2F5 !important;
}

.client-item {
    border: 1px solid #E2E8F0 !important;
    background: #ffffff !important;
}

.client-item:hover {
    border-color: #009999 !important;
}

/* ===== CONTACT — White with subtle border ===== */
.contact {
    background: #ffffff !important;
    border-top: 1px solid #E2E8F0 !important;
}

.contact-info {
    background: linear-gradient(135deg, #0D1B2A, #1B2838) !important;
}

.contact-info h3 {
    color: #ffffff !important;
}

.ci-icon {
    background: rgba(0, 153, 153, 0.12) !important;
}

.contact-form-wrapper {
    background: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    border-color: #009999 !important;
    box-shadow: 0 0 0 4px rgba(0, 153, 153, 0.10) !important;
}

.btn-submit {
    background: linear-gradient(135deg, #007A7A, #009999) !important;
}

/* ===== FOOTER — Industrial dark ===== */
.footer {
    background: #0D1B2A !important;
    border-top: 1px solid rgba(0, 153, 153, 0.1) !important;
}

.footer h4 {
    color: #009999 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* ===== WHATSAPP FLOAT — Keep green but refine ===== */
.whatsapp-float {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25) !important;
}

/* ===== SEARCH BAR — Petrol accents ===== */
.global-search-input-wrap:focus-within {
    border-color: #009999 !important;
    box-shadow: 0 12px 40px rgba(0, 153, 153, 0.12), 0 0 0 4px rgba(0, 153, 153, 0.08) !important;
}

.global-search-input-wrap:focus-within .global-search-icon {
    color: #007A7A !important;
}

.global-search-input-wrap::after {
    background: linear-gradient(135deg, #007A7A, #009999) !important;
}

/* ===== BRANDS SECTION — Clean ===== */
.brands-section {
    background: #ffffff !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

/* ===== BANNER CAROUSEL ===== */
.banner-dot.active {
    background: #009999 !important;
}

.banner-progress-bar {
    background: linear-gradient(90deg, #007A7A, #009999) !important;
}

/* ===== WAVE DIVIDERS — Hidden for corporate look ===== */
.wave-divider {
    display: none !important;
}

/* ===== GLOBAL POLISH ===== */

/* Links that used blue should now use petrol */
a:hover {
    color: #007A7A !important;
}

/* Selection color */
::selection {
    background: rgba(0, 153, 153, 0.2);
    color: #0D1B2A;
}

/* Scrollbar for modern browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F0F2F5;
}

::-webkit-scrollbar-thumb {
    background: #B0B8C4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #007A7A;
}

/* ===== GLOW ANIMATIONS — Petrol instead of cyan ===== */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 153, 153, 0) !important; }
    50% { box-shadow: 0 0 30px rgba(0, 153, 153, 0.12) !important; }
}

/* ===== OVERRIDE the design_overrides.css that was appended previously ===== */
/* This ensures the NEW palette takes priority */
.section-header h2 {
    color: #0D1B2A !important;
}

.about .section-header h2,
.about h2,
.about h3,
.about p,
.about .timeline-item span {
    color: #f1f5f9 !important;
}


/* ===== CRITICAL FIXES — Invisible text on Why-Us cards ===== */
.why-card h3 {
    color: #0D1B2A !important;
}

.why-card p {
    color: #475569 !important;
}

.why-us .section-header h2 {
    color: #0D1B2A !important;
}

.why-us .section-header p {
    color: #64748b !important;
}

.why-us .section-label {
    color: #007A7A !important;
}

/* Fix video filter buttons */
.video-filter-btn.active {
    background: linear-gradient(135deg, #007A7A, #009999) !important;
}


/* ============================================
   CCDSITEL — DARK CORPORATE REDESIGN
   Inspired by Syscom Professional Dark Theme
   ============================================
   
   Palette:
   - Main BG:     #0B1120 (deep midnight navy)
   - Card BG:     #141E33 (slightly lighter navy)
   - Card Alt:    #1A2744 (elevated surfaces)
   - Accent:      #2563EB (electric blue for CTAs)
   - Accent Glow: #3B82F6 (hover states)
   - Text:        #E2E8F0 (primary), #94A3B8 (secondary)
   - Borders:     rgba(255,255,255,0.06)
   ============================================ */

/* ===== ROOT VARIABLE OVERRIDES ===== */
:root {
    --primary-900: #0B1120 !important;
    --primary-800: #111B2E !important;
    --primary-700: #141E33 !important;
    --primary-600: #1A2744 !important;
    --primary-500: #2563EB !important;
    --primary-400: #3B82F6 !important;
    --primary-300: #60A5FA !important;
    --primary-200: #93C5FD !important;
    --primary-100: #DBEAFE !important;

    --accent-600: #1D4ED8 !important;
    --accent-500: #2563EB !important;
    --accent-400: #3B82F6 !important;
    --accent-300: #60A5FA !important;
    --accent-200: #93C5FD !important;

    --gradient-hero: linear-gradient(135deg, #0B1120 0%, #111B2E 40%, #141E33 100%) !important;
    --gradient-accent: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%) !important;
    --gradient-blue: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%) !important;
    --gradient-dark: linear-gradient(180deg, #0B1120 0%, #080E1A 100%) !important;

    --shadow-glow: 0 0 30px rgba(37, 99, 235, 0.10) !important;
    --shadow-glow-accent: 0 0 30px rgba(59, 130, 246, 0.10) !important;
}

/* ===== BODY — Dark throughout ===== */
body {
    background: #0B1120 !important;
    color: #E2E8F0 !important;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: #080E1A !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.top-bar-left a { color: #94A3B8 !important; }
.top-bar-left a:hover { color: #3B82F6 !important; }
.top-bar-right { color: #94A3B8 !important; }
.top-bar-right .badge-years {
    background: #2563EB !important;
    color: #ffffff !important;
}

/* ===== NAVBAR — Dark translucent ===== */
.navbar {
    background: rgba(11, 17, 32, 0.92) !important;
    backdrop-filter: blur(20px) saturate(1.8) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.navbar.scrolled {
    background: rgba(11, 17, 32, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

.logo { color: #ffffff !important; }
.logo span { color: #3B82F6 !important; }

.logo-img {
    
}

.nav-links a {
    color: #94A3B8 !important;
}

.nav-links a:hover {
    color: #ffffff !important;
}

.nav-links a:not(.btn-nav)::after {
    background: linear-gradient(135deg, #2563EB, #3B82F6) !important;
}

.nav-links a.nav-active {
    color: #ffffff !important;
}

.nav-links .btn-nav,
.nav-links a.btn.btn-outline {
    background: #2563EB !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25) !important;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #0B1120 0%, #111B2E 50%, #141E33 100%) !important;
}

.hero::before {
    background:
        radial-gradient(ellipse 900px 700px at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 700px 500px at 75% 25%, rgba(59, 130, 246, 0.06) 0%, transparent 70%) !important;
}

.hero::after {
    background: linear-gradient(transparent, #0B1120) !important;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #3B82F6, #60A5FA) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.scroll-indicator span {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #60A5FA !important;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, #2563EB, #3B82F6) !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.30) !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45) !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #E2E8F0 !important;
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #E2E8F0 !important;
}

.btn-outline:hover {
    background: #2563EB !important;
    color: #ffffff !important;
    border-color: #2563EB !important;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.stat-number {
    color: #3B82F6 !important;
}

.stat-label {
    color: #94A3B8 !important;
}

/* ===== GLOBAL — ALL SECTIONS DARK ===== */
.services,
.catalog,
.video-gallery,
.clients,
.contact,
.outlet {
    background: #0B1120 !important;
    color: #E2E8F0 !important;
}

/* Slightly elevated sections for visual rhythm */
.why-us,
.about {
    background: #111B2E !important;
    color: #E2E8F0 !important;
}

/* ===== SECTION HEADERS ===== */
.section-label {
    color: #3B82F6 !important;
    border-color: rgba(37, 99, 235, 0.2) !important;
}

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

.section-header p {
    color: #94A3B8 !important;
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: #141E33 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.service-card:hover {
    border-color: rgba(37, 99, 235, 0.3) !important;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08) !important;
    transform: translateY(-4px) !important;
}

.service-card h3 {
    color: #ffffff !important;
}

.service-card p {
    color: #94A3B8 !important;
}

.service-card .service-icon {
    background: rgba(37, 99, 235, 0.08) !important;
}

.service-arrow {
    color: #3B82F6 !important;
}

/* ===== CATALOG CARDS ===== */
.catalog-card {
    background: #141E33 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.catalog-card:hover {
    border-color: rgba(37, 99, 235, 0.3) !important;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08) !important;
}

.catalog-card h3 {
    color: #ffffff !important;
}

.catalog-card p {
    color: #94A3B8 !important;
}

.catalog-card .catalog-icon {
    background: rgba(37, 99, 235, 0.08) !important;
}

.catalog-card .catalog-arrow {
    color: #3B82F6 !important;
}

/* ===== ABOUT SECTION ===== */
.about {
    background: #111B2E !important;
}

.about h2, .about h3, .about p,
.about .timeline-item span {
    color: #E2E8F0 !important;
}

.about .about-badge {
    background: rgba(37, 99, 235, 0.10) !important;
    border: 1px solid rgba(37, 99, 235, 0.20) !important;
    color: #93C5FD !important;
}

.about .about-card-main {
    background: rgba(37, 99, 235, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #E2E8F0 !important;
}

.about .year-big {
    color: #3B82F6 !important;
    opacity: 0.7 !important;
}

.about .check {
    color: #3B82F6 !important;
}

/* ===== WHY US / EXPERIENCE ===== */
.why-us {
    background: #111B2E !important;
}

.why-us .section-header h2 { color: #ffffff !important; }
.why-us .section-header p { color: #94A3B8 !important; }
.why-us .section-label { color: #3B82F6 !important; }

.why-card {
    background: #1A2744 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

.why-card:hover {
    border-color: rgba(37, 99, 235, 0.25) !important;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.06) !important;
    transform: translateY(-4px) !important;
}

.why-card h3 {
    color: #ffffff !important;
}

.why-card p {
    color: #94A3B8 !important;
}

.why-icon {
    background: rgba(37, 99, 235, 0.08) !important;
}

/* ===== VIDEOS ===== */
.video-gallery {
    background: #0B1120 !important;
}

.video-card {
    background: #141E33 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.video-card:hover {
    border-color: rgba(37, 99, 235, 0.25) !important;
}

/* ===== OUTLET ===== */
.outlet {
    background: #0B1120 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.outlet .section-label {
    color: #EF4444 !important;
}

/* ===== CLIENTS ===== */
.clients {
    background: #0B1120 !important;
}

.client-item {
    background: #141E33 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.client-item:hover {
    border-color: rgba(37, 99, 235, 0.25) !important;
}

.client-name {
    color: #94A3B8 !important;
}

.client-item:hover .client-name {
    color: #ffffff !important;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* ===== CONTACT ===== */
.contact {
    background: #0B1120 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.contact-info {
    background: #141E33 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.contact-info h3 { color: #ffffff !important; }
.ci-label { color: #94A3B8 !important; }
.ci-value, .ci-value a { color: #E2E8F0 !important; }
.ci-value a:hover { color: #3B82F6 !important; }

.ci-icon {
    background: rgba(37, 99, 235, 0.08) !important;
}

.contact-form-wrapper {
    background: #141E33 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.contact-form-wrapper h3 { color: #ffffff !important; }

.contact-form-wrapper label {
    color: #94A3B8 !important;
}

.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    background: #1A2744 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #E2E8F0 !important;
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: #64748B !important;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

.btn-submit {
    background: linear-gradient(135deg, #2563EB, #3B82F6) !important;
    color: #ffffff !important;
}

/* ===== FOOTER ===== */
.footer {
    background: #080E1A !important;
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.footer h4 {
    color: #ffffff !important;
}

.footer p, .footer a {
    color: #64748B !important;
}

.footer a:hover {
    color: #3B82F6 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
    color: #475569 !important;
}

/* ===== SEARCH BAR ===== */
.global-search-input-wrap {
    background: #141E33 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.global-search-input-wrap input {
    color: #E2E8F0 !important;
}

.global-search-input-wrap input::placeholder {
    color: #64748B !important;
}

.global-search-input-wrap:hover {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.global-search-input-wrap:focus-within {
    border-color: #2563EB !important;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.10), 0 0 0 3px rgba(37, 99, 235, 0.08) !important;
}

.global-search-input-wrap:focus-within .global-search-icon {
    color: #3B82F6 !important;
}

.global-search-icon {
    color: #64748B !important;
}

.global-search-results {
    background: #1A2744 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.global-search-input-wrap::after {
    background: linear-gradient(135deg, #2563EB, #3B82F6) !important;
}

/* ===== BRANDS ===== */
.brands-section {
    background: #0B1120 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.brands-header p {
    color: #64748B !important;
}

/* ===== BANNER CAROUSEL ===== */
.banner-dot.active {
    background: #2563EB !important;
}

.banner-progress-bar {
    background: linear-gradient(90deg, #2563EB, #3B82F6) !important;
}

.banner-arrow {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #E2E8F0 !important;
}

.banner-arrow:hover {
    background: rgba(37, 99, 235, 0.15) !important;
}

/* ===== WAVE DIVIDERS — Hidden ===== */
.wave-divider {
    display: none !important;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.30) !important;
}

/* ===== VIDEO FILTERS ===== */
.video-filter-btn {
    background: #141E33 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94A3B8 !important;
}

.video-filter-btn:hover {
    border-color: rgba(37, 99, 235, 0.3) !important;
    color: #ffffff !important;
}

.video-filter-btn.active {
    background: linear-gradient(135deg, #2563EB, #3B82F6) !important;
    border-color: #2563EB !important;
    color: #ffffff !important;
}

/* ===== SCROLLBAR — Dark ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0B1120;
}

::-webkit-scrollbar-thumb {
    background: #1A2744;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2563EB;
}

/* ===== SELECTION ===== */
::selection {
    background: rgba(37, 99, 235, 0.3);
    color: #ffffff;
}

/* ===== GENERAL LINK HOVER ===== */
a:hover {
    color: #3B82F6 !important;
}

/* ===== GLOW ANIMATIONS ===== */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(37, 99, 235, 0) !important; }
    50% { box-shadow: 0 0 30px rgba(37, 99, 235, 0.10) !important; }
}

/* ===== OVERRIDE previous petrol/teal overrides ===== */
.about .section-header h2,
.about h2, .about h3 {
    color: #ffffff !important;
}

.about p, .about .timeline-item span {
    color: #E2E8F0 !important;
}


/* ===== ADDING WHITE CONTRAST & CENTERING IMAGES ===== */

/* Make cards white for high contrast against dark background */
.service-card,
.catalog-card,
.why-card {
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

/* Ensure text on these white cards is dark so it is readable */
.service-card h3,
.catalog-card h3,
.why-card h3 {
    color: #0B1120 !important;
}

.service-card p,
.catalog-card p,
.why-card p {
    color: #475569 !important;
}

/* Center product images */
.catalog-image {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: #ffffff !important; /* ensure image container is white */
}

.catalog-image img {
    max-height: 200px !important;
    width: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Icons inside white cards */
.service-card .service-icon,
.catalog-card .catalog-icon,
.why-icon {
    background: rgba(37, 99, 235, 0.1) !important;
    color: #2563EB !important;
}

/* Fix product grid buttons to contrast nicely */
.catalog-card .btn-primary {
    background: linear-gradient(135deg, #2563EB, #3B82F6) !important;
    color: #ffffff !important;
}

/* Client items white contrast */
.client-item {
    background: #ffffff !important;
}

.client-item:hover .client-name {
    color: #2563EB !important;
    background: none !important;
    -webkit-text-fill-color: #2563EB !important;
}

/* Fix logo background block */
.logo-img {
    border-radius: 4px !important;
    background: #ffffff !important;
    padding: 2px !important;
}



/* ============================================
   SIEMENS-STYLE HORIZONTAL SHOWCASE & COLOR FLOW
   ============================================ */

/* 1. SECTION COLOR FLOW */
/* Hero -> Blue (already set by dark theme) */

/* Servicios -> White */
.services {
    background: #ffffff !important;
}
.services .section-header h2 { color: #0B1120 !important; }
.services .section-header p { color: #475569 !important; }

/* Productos -> Light Gray Opaco */
.catalog {
    background: #F8FAFC !important;
}
.catalog .section-header h2 { color: #0B1120 !important; }
.catalog .section-header p { color: #475569 !important; }

/* Nosotros -> White */
.about {
    background: #ffffff !important;
}
.about h2, .about h3 { color: #0B1120 !important; }
.about p, .about .timeline-item span { color: #475569 !important; }
.about-card-main { background: #f1f5f9 !important; border-color: #e2e8f0 !important; }
.about-card-main h3, .about-card-main p { color: #0B1120 !important; }

/* Experiencia (Por qué nosotros) -> Light Gray Opaco */
.why-us {
    background: #F8FAFC !important;
}
.why-us .section-header h2 { color: #0B1120 !important; }
.why-us .section-header p { color: #475569 !important; }

/* The rest (Videos, Outlet, Clientes, Footer) remain dark blue as defined in the dark theme */

/* 2. REDISEÑO DE SECCIÓN PRODUCTOS (SHOWCASE PANORÁMICO) */
/* Reset grid to 1 column for the panoramic cards */
.catalog-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
}

.catalog-showcase-card {
    display: flex !important;
    flex-direction: row !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: 1px solid #e2e8f0 !important;
    min-height: 300px !important;
}

.catalog-showcase-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
    border-color: #cbd5e1 !important;
}

/* Reverse layout for alternating rows */
.catalog-showcase-card.reversed {
    flex-direction: row-reverse !important;
}

.showcase-image {
    width: 45% !important;
    background: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    position: relative !important;
}

.showcase-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease !important;
}

.catalog-showcase-card:hover .showcase-image img {
    transform: scale(1.05) !important;
}

.showcase-placeholder {
    font-size: 5rem !important;
    color: #94a3b8 !important;
    opacity: 0.5 !important;
}

.showcase-content {
    width: 55% !important;
    padding: 60px 50px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
}

.showcase-content h3 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #0B1120 !important;
    margin-bottom: 15px !important;
    line-height: 1.2 !important;
}

.showcase-content p {
    font-size: 1.1rem !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin-bottom: 30px !important;
}

.btn-showcase {
    display: inline-block !important;
    background: transparent !important;
    color: #2563EB !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    position: relative !important;
}

.btn-showcase::after {
    content: '' !important;
    position: absolute !important;
    bottom: -4px !important;
    left: 0 !important;
    width: 0% !important;
    height: 2px !important;
    background: #2563EB !important;
    transition: width 0.3s ease !important;
}

.catalog-showcase-card:hover .btn-showcase::after {
    width: 100% !important;
}

/* Responsive fixes for Showcase */
@media (max-width: 992px) {
    .catalog-showcase-card,
    .catalog-showcase-card.reversed {
        flex-direction: column !important;
    }
    .showcase-image {
        width: 100% !important;
        height: 250px !important;
    }
    .showcase-content {
        width: 100% !important;
        padding: 30px 20px !important;
    }
    .showcase-content h3 {
        font-size: 1.5rem !important;
    }
}



/* ============================================
   SIEMENS-STYLE OVERLAY CARDS (3-COLUMN GRID)
   ============================================ */

/* Restablecer el grid a 3 columnas */
.catalog-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
}

.siemens-overlay-card {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    aspect-ratio: 1 / 1 !important; /* Cuadrado perfecto */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    text-decoration: none !important;
    overflow: hidden !important;
    border-radius: 0 !important; /* Siemens suele usar bordes rectos para un look más industrial */
    transition: transform 0.4s ease, box-shadow 0.4s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.siemens-overlay-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
}

/* Efecto de zoom suave en la imagen al hacer hover */
.siemens-overlay-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: inherit !important;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.6s ease !important;
    z-index: 0 !important;
}

.siemens-overlay-card:hover::before {
    transform: scale(1.05) !important;
}

/* Gradiente oscuro en la parte inferior para que resalte el texto */
.overlay-gradient {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 70% !important;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.9) 0%, rgba(11, 17, 32, 0.6) 40%, transparent 100%) !important;
    z-index: 1 !important;
    transition: height 0.4s ease !important;
}

.siemens-overlay-card:hover .overlay-gradient {
    height: 80% !important;
    background: linear-gradient(to top, rgba(11, 17, 32, 0.95) 0%, rgba(11, 17, 32, 0.7) 50%, transparent 100%) !important;
}

/* Contenedor del texto */
.overlay-content {
    position: relative !important;
    z-index: 2 !important;
    padding: 30px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.overlay-category {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-transform: none !important;
    margin-bottom: 5px !important;
}

.overlay-title {
    font-size: 1.4rem !important;
    font-weight: 400 !important;
    color: #ffffff !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    margin-bottom: 20px !important;
}

.overlay-link {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    transition: color 0.3s ease !important;
}

.siemens-overlay-card:hover .overlay-link {
    color: #60A5FA !important; /* Light blue on hover */
}

/* Responsive */
@media (max-width: 1024px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr !important;
    }
}



/* ============================================
   SIEMENS-STYLE 4-COLUMN CARDS (FULL IMAGE VISIBLE)
   ============================================ */

/* Grid a 4 columnas */
.catalog-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.siemens-grid-card {
    display: flex !important;
    flex-direction: column !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    text-decoration: none !important;
    border: 1px solid #e2e8f0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    height: 100% !important;
}

.siemens-grid-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1) !important;
    border-color: #cbd5e1 !important;
}

.card-img-container {
    height: 180px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.card-img-container img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; /* Imagen completa visible */
}

.card-text-container {
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.card-text-container h3 {
    font-size: 1.1rem !important;
    color: #0B1120 !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}

.card-text-container p {
    font-size: 0.9rem !important;
    color: #475569 !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.5 !important;
}

/* Responsive */
@media (max-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .catalog-grid {
        grid-template-columns: 1fr !important;
    }
}



/* ============================================
   ABOUT SECTION HIGH CONTRAST REDESIGN
   ============================================ */

/* Rediseño de la etiqueta superior (Píldora) */
.about .about-badge {
    background: #2563EB !important; /* Azul eléctrico fuerte */
    color: #ffffff !important;      /* Texto blanco puro */
    border: none !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
    padding: 8px 18px !important;
}

/* Rediseño de la tarjeta grande derecha (1993) */
.about .about-card-main {
    background: #0B1120 !important; /* Fondo navy blue ultra oscuro */
    border: 1px solid #1D4ED8 !important; /* Borde azul vibrante */
    box-shadow: 0 20px 40px rgba(11, 17, 32, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Año 1993 - Azul eléctrico neón */
.about .year-big {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    opacity: 1 !important;
    font-weight: 900 !important;
    text-shadow: 0 10px 30px rgba(37, 99, 235, 0.3) !important;
}

/* Textos dentro de la tarjeta oscura */
.about .about-card-main h3 {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.about .about-card-main p {
    color: #94A3B8 !important; /* Gris claro legible */
}

/* Decoración abstracta en la tarjeta oscura */
.about .about-card-main::after {
    content: '' !important;
    position: absolute !important;
    top: -50px !important;
    right: -50px !important;
    width: 150px !important;
    height: 150px !important;
    background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%) !important;
    border-radius: 50% !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Rediseño de la lista de características (timeline) */
.about .timeline-item {
    background: #ffffff !important; /* Fondo blanco */
    border: 1px solid #e2e8f0 !important; /* Borde sutil pero visible */
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 12px !important;
    padding: 12px 20px !important;
}

.about .timeline-item:hover {
    border-color: #2563EB !important; /* Borde azul al pasar el mouse */
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1) !important;
    transform: translateX(5px) !important;
}

.about .timeline-item .check {
    background: rgba(37, 99, 235, 0.1) !important;
    color: #2563EB !important;
    width: 24px !important;
    height: 24px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-weight: bold !important;
}

.about .timeline-item span:not(.check) {
    color: #0B1120 !important;
    font-weight: 600 !important;
}

/* Línea conectora del timeline */
.about .about-timeline::before {
    background: linear-gradient(to bottom, #2563EB, transparent) !important;
    width: 3px !important;
    left: 20px !important; /* Ajustar posición si es necesario */
}



/* ============================================
   CONTACT SECTION HIGH-END REDESIGN
   ============================================ */

/* Píldora superior */
.contact .section-label {
    background: #2563EB !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
    padding: 8px 18px !important;
}

/* Título de la sección */
.contact .section-header h2 {
    color: #ffffff !important;
    font-weight: 800 !important;
}
.contact .section-header p {
    color: #94A3B8 !important;
}

/* Panel Izquierdo: Información de Contacto */
.contact-info {
    background: #080E1A !important; /* Más oscuro para contraste con los items */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    border-radius: 12px !important;
}

.contact-info h3 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    margin-bottom: 25px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding-bottom: 15px !important;
}

/* Rediseño de cada tarjeta de contacto (Quitamos el blanco ilegible) */
.contact-item {
    background: #141E33 !important; /* Azul marino en lugar de blanco */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: 4px solid #2563EB !important; /* Acento Siemens/Industrial a la izquierda */
    border-radius: 6px !important;
    margin-bottom: 15px !important;
    padding: 15px 20px !important;
    transition: all 0.3s ease !important;
}

.contact-item:hover {
    transform: translateX(5px) !important;
    background: #1A2744 !important;
    border-left-color: #60A5FA !important;
    box-shadow: 0 5px 15px rgba(37,99,235,0.1) !important;
}

/* Textos e iconos del contacto */
.ci-icon {
    background: rgba(37, 99, 235, 0.15) !important;
    color: #3B82F6 !important;
    font-size: 1.2rem !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px !important;
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.3) !important;
}

.ci-label {
    color: #94A3B8 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 3px !important;
}

.ci-value, .ci-value a {
    color: #F8FAFC !important; /* Blanco ultra legible */
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.ci-value a:hover {
    color: #60A5FA !important;
}

/* Panel Derecho: Formulario */
.contact-form-wrapper {
    background: #141E33 !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    border-radius: 12px !important;
}

.contact-form-wrapper h3 {
    color: #ffffff !important;
    font-size: 1.5rem !important;
    margin-bottom: 25px !important;
}

.contact-form-wrapper label {
    color: #94A3B8 !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    margin-bottom: 8px !important;
}

/* Inputs del formulario */
.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    background: #080E1A !important; /* Fondo más oscuro para que resalte el texto ingresado */
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 12px 15px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
    color: #475569 !important;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2) !important;
    outline: none !important;
}

/* Botón de enviar */
.btn-submit {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 14px 24px !important;
    border-radius: 6px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.btn-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5) !important;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
}
