/* ============================================
   C.O.C. Logística — Design System & Styles
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Primary palette (NUEVA) */
    --clr-primary: #4A5DB0;
    --clr-primary-light: #5ED3DF;
    --clr-primary-dark: #2F3E8F;
    --clr-accent: #1AA6B7;
    --clr-accent-light: #5ED3DF;

    /* CTA (nuevo color estratégico) */
    --clr-success: #22C55E;

    /* Neutrals */
    --clr-bg: #F5F7FA;
    --clr-surface: #FFFFFF;
    --clr-surface-alt: #F9FAFB;
    --clr-text: #374151;
    --clr-text-muted: #6B7280;
    --clr-border: #D1D5DB;

    /* Dark section (adaptado) */
    --clr-dark-bg: #2F3E8F;
    --clr-dark-surface: #4A5DB0;
    --clr-dark-text: #F9FAFB;

    /* CTA NARANJA (alto impacto) */
    --clr-cta: #F97316;
    /* base */
    --clr-cta-light: #FB923C;
    /* hover light */
    --clr-cta-dark: #EA580C;
    /* hover dark */
    --clr-cta-soft: #FFF7ED;
    /* fondos suaves */

    /* Gradients (CLAVE para tu branding) */
    --gradient-hero: linear-gradient(135deg, #4A5DB0 0%, #1AA6B7 100%);
    --gradient-accent: linear-gradient(135deg, #1AA6B7 0%, #5ED3DF 100%);
    --gradient-cta: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-cta-orange: linear-gradient(135deg, #F97316 0%, #EA580C 100%);

    /* Typography */
    --ff-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --ff-body: 'Inter', system-ui, -apple-system, sans-serif;
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fs-6xl: 3.75rem;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Borders & Shadows */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 30px rgba(15, 76, 129, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;
}


/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--clr-text);
    background-color: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--clr-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--clr-accent);
}

ul,
ol {
    list-style: none;
}


/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text);
}

h1 {
    font-size: var(--fs-5xl);
}

h2 {
    font-size: var(--fs-4xl);
}

h3 {
    font-size: var(--fs-2xl);
}

h4 {
    font-size: var(--fs-xl);
}

p {
    margin-bottom: var(--space-md);
    color: var(--clr-text-muted);
}

.section-label {
    display: inline-block;
    font-size: var(--fs-lg);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--clr-primary);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: var(--fs-lg);
    color: var(--clr-text-muted);
    max-width: 600px;
}


/* ---------- Layout ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-4xl) 0;
}


/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--gradient-cta);
    color: #fff;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-secondary {
    background: var(--clr-surface);
    color: var(--clr-primary);
    border: 2px solid var(--clr-border);
}

.btn-secondary:hover {
    border-color: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-orange-solid {
    background: var(--gradient-cta-orange);
    color: #fff;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.75rem;
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.4;
}

.btn-orange-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.45);
    color: #fff;
}


/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-base);
    background: transparent;
}

.site-header.scrolled {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-xl);
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.logo .logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    color: #fff;
}

.logo-icon-footer {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    color: #fff;
}

/* LOGO NAV */
.logo {
    transition: opacity .3s ease, transform .3s ease;
}

/* oculto por defecto */
.site-header:not(.scrolled) .logo {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

/* visible cuando hay scroll */
.site-header.scrolled .logo {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Wrapper logo + texto curvo */
.hero-logo-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    margin-bottom: var(--space-lg);
}

/* LOGO HERO */
.hero-logo {
    margin-bottom: 10px;
    transition: opacity .4s ease, transform .4s ease;
    position: absolute;
    inset: 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.15),
        0 0 25px rgba(94, 211, 223, 0.25);
}

.hero-logo img {
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, .2));
}

/* SVG del texto curvo */
.hero-logo-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.hero-logo-text text {
    fill: #2F3E8F;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.site-header.scrolled .logo {
    color: var(--clr-primary);
}

/* Main nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-list {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.site-header.scrolled .nav-link {
    color: var(--clr-text-muted);
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active {
    color: var(--clr-primary);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition-base);
    position: absolute;
    left: 0;
}

.nav-toggle span:nth-child(1) {
    top: 0;
}

.nav-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span:nth-child(3) {
    bottom: 0;
}

.site-header.scrolled .nav-toggle span {
    background: var(--clr-text);
}

.nav-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}


/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Animated shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: floatShape 20s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 400px;
    height: 400px;
    background: var(--clr-accent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 250px;
    height: 250px;
    background: #fff;
    bottom: 10%;
    left: 5%;
    animation-delay: -7s;
}

.hero-shape:nth-child(3) {
    width: 180px;
    height: 180px;
    background: var(--clr-accent);
    top: 40%;
    right: 20%;
    animation-delay: -14s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(15px, 10px) scale(1.02);
    }
}

/* Mantener contenido por encima */
.hero .container {
    position: relative;
    z-index: 3;
}

/* Imagen del lado derecho */
.hero-image {
    position: absolute;
    top: 0;
    right: 0;

    width: 55%;
    height: 100%;

    z-index: 1;
    pointer-events: none;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    opacity: .95;
}

/* Imagen */
.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: right center;

    /* Difuminado suave */
    -webkit-mask-image: linear-gradient(to left,
            rgba(0, 0, 0, 1) 60%,
            rgba(0, 0, 0, .85) 72%,
            rgba(0, 0, 0, .4) 88%,
            transparent 100%);

    mask-image: linear-gradient(to left,
            rgba(0, 0, 0, 1) 60%,
            rgba(0, 0, 0, .85) 72%,
            rgba(0, 0, 0, .4) 88%,
            transparent 100%);
}

@media (max-width: 992px) {

    .hero-image {
        width: 100%;
        opacity: .18;
    }

    .hero-image img {
        object-position: center;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-content h1 {
    color: #fff;
    font-size: var(--fs-6xl);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-content h1 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-lg);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
}

.section-label-hero {
    color: #5ED3DF;
    font-size: var(--fs-lg);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-logo {
    background: #fff;
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.15),
        0 0 25px rgba(94, 211, 223, 0.25);
    margin-bottom: var(--space-lg);
}

.hero-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}


/* ==========================================
   STATS BAR
   ========================================== */
.stats-bar {
    background: var(--clr-dark-bg);
    padding: var(--space-2xl) 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    text-align: center;
}

.stat-item {
    padding: var(--space-md);
}

.stat-number {
    font-size: var(--fs-4xl);
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: var(--space-xs);
}


/* ==========================================
   SERVICES / FEATURES CARDS
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.service-card {
    background: var(--clr-surface);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--clr-border);
    transition: all 0.35s ease;
    position: relative;
}

.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 var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;

    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 166, 183, 0.08);
    color: var(--clr-accent);

    font-size: 28px;

    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-accent);
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(26, 166, 183, 0.25);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--clr-primary-dark);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-primary);
    margin-top: var(--space-md);
    transition: gap var(--transition-fast);
}

.service-card:hover .card-link {
    gap: var(--space-sm);
    color: var(--clr-accent);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-primary);

    margin-top: 12px;
    transition: all 0.2s ease;
}

.service-card:hover .card-link {
    gap: 10px;
    color: var(--clr-accent);
}


/* ==========================================
   ABOUT SECTION (split layout)
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ==========================================
   IMAGE STRIP
   ========================================== */

.image-strip {
    width: 100%;
    overflow: hidden;
}

.image-strip-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.image-strip-item {
    position: relative;
    overflow: hidden;

    height: 240px;
}

.image-strip-item img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    transition: transform .5s ease;
}

/* efecto premium hover */
.image-strip-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 992px) {

    .image-strip-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .image-strip-item {
        height: 180px;
    }
}

@media (max-width: 576px) {

    .image-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-strip-item {
        height: 160px;
    }
}

.image-strip-item::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, .18),
            transparent 40%);
}

/* ==========================================
   CAROUSEL
   ========================================== */
.carousel {
    position: relative;
    width: 100%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 400px;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Prev / Next buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn-prev {
    left: 14px;
}

.carousel-btn-next {
    right: 14px;
}

/* Dot indicators */
.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.35s ease;
}

.carousel-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.25);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.carousel-dot:hover:not(.active) {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.4);
}

.about-image-badge {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-xl);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    box-shadow: var(--shadow-lg);
}

.about-badge-number {
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1;
}

.about-badge-text {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    line-height: 1.3;
}

.about-content .features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--clr-text);
}

.features-list li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(26, 166, 183, 0.12);
    color: var(--clr-accent);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 700;
    flex-shrink: 0;
}

/* ==========================================
   OL SERVICES
   ========================================== */

/* CONTENEDOR */
ol.alternating-colors {
    list-style: none;
    /* quitamos numeración default */
    counter-reset: item;
    padding-left: 60px;
}

/* ITEMS */
ol.alternating-colors li {
    counter-increment: item;
    position: relative;
    margin-top: 28px;
    color: #4F4F4F;
    font-size: 16px;
    line-height: 20px;
}

/* CÍRCULO + NÚMERO */
ol.alternating-colors li::before {
    content: counter(item) ".";

    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 2px solid #ddd;

    font-weight: 600;
    font-size: 14px;
    background: #fff;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* COLORES ALTERNADOS */
ol.alternating-colors li:nth-child(odd)::before {
    border-color: #16A34A;
    color: #16A34A;
}

ol.alternating-colors li:nth-child(even)::before {
    border-color: #2378D5;
    color: #2378D5;
}


/* ==========================================
   CTA BANNER
   ========================================== */
.cta-section {
    background: var(--gradient-hero);
    padding: var(--space-4xl) 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 60%;
}

.cta-image {
    position: absolute;
    right: 6%;
    top: 42%;

    transform: translateY(-50%);

    width: 260px;
    height: 260px;

    border-radius: 50%;
    overflow: hidden;

    z-index: 1;

    /* look premium */
    border: 6px solid rgba(255, 255, 255, .12);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, .18);

    background: rgba(255, 255, 255, .08);

    backdrop-filter: blur(10px);
}

.cta-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

/* imagen */
.cta-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

@media (max-width: 992px) {
    .cta-image {
        display: none;
    }
}

.cta-content h2 {
    color: #fff;
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--fs-lg);
    max-width: 550px;
    margin: 0 0 var(--space-xl);
    text-align: left;
}

/* ==========================================
   CTA RESPONSIVE
   ========================================== */

@media (max-width: 1200px) {
    .cta-content {
        max-width: 58%;
    }

    .cta-image {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 1024px) {
    .cta-content {
        max-width: 55%;
    }

    .cta-content h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        line-height: 1.15;
    }

    .cta-image {
        width: 200px;
        height: 200px;
        right: 4%;
    }
}

@media (max-width: 900px) {
    .cta-content {
        max-width: 100%;
    }

    .cta-image {
        display: none;
    }

    .cta-section {
        text-align: left;
    }
}

/* ==========================================
   OUTSOURCING (used in outsourcing.html)
   ========================================== */

.outsourcing-section {
    background: var(--clr-surface-alt);
}

.outsourcing-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.outsourcing-content h2 span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.outsourcing-image {
    position: relative;
}

.outsourcing-image img {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* Glow effect */
.outsourcing-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(94, 211, 223, 0.2), transparent);
    border-radius: var(--radius-2xl);
}

/* Hover efecto premium */
.outsourcing-image:hover img {
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

/* ==========================================
   CONTACT FORM (used in contact.html)
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    margin-top: var(--space-2xl);
}

.contact-info-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    color: #fff;

    background-color: var(--clr-primary-dark);
}

.contact-info-card::before {
    content: "";
    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(135deg,
            rgba(74, 93, 176, .92) 0%,
            /* clr-primary */
            rgba(26, 166, 183, .88) 100%
            /* clr-accent */
        ), url("../images/contact-bg.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1.03);
}

.contact-info-card::after {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 0;

    background:
        radial-gradient(circle at top right,
            rgba(94, 211, 223, .22),
            transparent 35%),
        radial-gradient(circle at bottom left,
            rgba(255, 255, 255, .06),
            transparent 45%);
}

.contact-info-card h3 {
    color: #fff;
    margin-bottom: var(--space-md);
    position: relative;
}

.contact-info-card p {
    color: rgba(255, 255, 255, 0.75);
    position: relative;
}

.contact-details {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    position: relative;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.contact-detail-text strong {
    display: block;
    font-size: var(--fs-sm);
    margin-bottom: 2px;
}

.contact-detail-text span {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.7);
}

/* Form */
.contact-form {
    background: var(--clr-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: var(--space-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--ff-body);
    font-size: var(--fs-base);
    color: var(--clr-text);
    background: var(--clr-surface-alt);
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.1);
    background: var(--clr-surface);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    font-size: var(--fs-base);
    position: relative;
    overflow: hidden;
}

/* Required asterisk */
.required-mark {
    color: #EF4444;
    font-weight: 700;
}

/* Honeypot — invisible to humans */
.form-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ── Validation Error States ── */
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
    border-color: #EF4444;
    background-color: #FEF2F2;
    animation: shake 0.4s ease;
}

.form-group input.field-error:focus,
.form-group select.field-error:focus,
.form-group textarea.field-error:focus {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-error {
    display: block;
    font-size: var(--fs-xs);
    color: #EF4444;
    margin-top: 4px;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.25s ease;
}

.form-error.visible {
    min-height: 1.2em;
    max-height: 3em;
    opacity: 1;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    60% {
        transform: translateX(-4px);
    }

    80% {
        transform: translateX(4px);
    }
}

/* ── Form meta row (error + counter) ── */
.form-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-md);
}

.char-counter {
    font-size: var(--fs-xs);
    color: var(--clr-text-muted);
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s ease;
    margin-top: 4px;
}

.char-counter-warning {
    color: #F59E0B;
}

.char-counter-danger {
    color: #EF4444;
    font-weight: 600;
}

/* ── Custom Checkbox ── */
.form-group-checkbox {
    margin-bottom: var(--space-lg);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    line-height: 1.5;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-sm);
    background: var(--clr-surface-alt);
    transition: all 0.2s ease;
    margin-top: 1px;
}

.checkbox-custom::after {
    content: '';
    display: block;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    background: var(--clr-primary);
    border-color: var(--clr-primary);
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    transform: rotate(45deg) scale(1);
}

.checkbox-label input[type="checkbox"]:focus-visible+.checkbox-custom {
    box-shadow: 0 0 0 3px rgba(74, 93, 176, 0.2);
}

.checkbox-label input[type="checkbox"].field-error+.checkbox-custom {
    border-color: #EF4444;
    background-color: #FEF2F2;
}

.checkbox-text a {
    color: var(--clr-primary);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-text a:hover {
    color: var(--clr-accent);
}

/* ==========================================
   MODAL PRIVACIDAD
========================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background: var(--clr-surface);
    border-radius: var(--radius-2xl);
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    padding: var(--space-2xl);
    position: relative;
    box-shadow: var(--shadow-xl);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        transform: translateY(20px) scale(0.98);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-content h2 {
    margin-bottom: var(--space-md);
    color: var(--clr-primary);
}

.modal-content p {
    font-size: var(--fs-sm);
    margin-bottom: var(--space-md);
    color: var(--clr-text-muted);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-text-muted);
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--clr-primary);
}

.modal-loading {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--clr-text-muted);
}

/* ── Submit Button Loading ── */
.form-submit .btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.form-submit.loading .btn-spinner {
    display: inline-block;
}

.form-submit.loading {
    opacity: 0.85;
    pointer-events: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Toast Notifications ── */
.toast-container {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: var(--space-sm);
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 320px;
    max-width: 480px;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast-visible {
    transform: translateX(0);
    opacity: 1;
}

.toast-exit {
    transform: translateX(120%);
    opacity: 0;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 700;
}

.toast-success .toast-icon {
    background: rgba(34, 197, 94, 0.12);
    color: #16A34A;
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
}

.toast-warning .toast-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
}

.toast-success {
    border-left: 4px solid #22C55E;
}

.toast-error {
    border-left: 4px solid #EF4444;
}

.toast-warning {
    border-left: 4px solid #F59E0B;
}

.toast-message {
    flex: 1;
    font-size: var(--fs-sm);
    color: var(--clr-text);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    font-size: var(--fs-xl);
    color: var(--clr-text-muted);
    cursor: pointer;
    padding: 0 var(--space-xs);
    line-height: 1;
    transition: color 0.15s ease;
}

.toast-close:hover {
    color: var(--clr-text);
}

@media (max-width: 576px) {
    .toast-container {
        left: var(--space-md);
        right: var(--space-md);
        bottom: var(--space-md);
    }

    .toast {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }
}


/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: var(--clr-dark-bg);
    color: var(--clr-dark-text);
    padding: var(--space-4xl) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-sm);
    margin-top: var(--space-md);
    max-width: 280px;
}

.footer-heading {
    font-size: var(--fs-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    margin-bottom: var(--space-lg);
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--clr-accent);
}

.footer-bottom {
    margin-top: var(--space-3xl);
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.4);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.footer-left span {
    line-height: 1.4;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
    margin-left: auto;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
    font-size: var(--fs-sm);
}

.footer-social a:hover {
    background: var(--clr-accent);
    color: #fff;
    transform: translateY(-2px);
}


/* ==========================================
   PAGE HEADER (inner pages)
   ========================================== */
.page-header {
    background: var(--gradient-hero);
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header h1 {
    color: #fff;
    position: relative;
}

.page-header .breadcrumb {
    position: relative;
    margin-top: var(--space-md);
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb a:hover {
    color: #fff;
}

.page-header .breadcrumb .separator {
    margin: 0 var(--space-sm);
}


/* ==========================================
   404 PAGE
   ========================================== */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--gradient-hero);
    color: #fff;
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.error-page h2 {
    color: #fff;
    margin: var(--space-md) 0;
}

.error-page p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-xl);
}


/* ==========================================
   ANIMATIONS (scroll-triggered)
   ========================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children .fade-in:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children .fade-in:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children .fade-in:nth-child(4) {
    transition-delay: 0.4s;
}


/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --fs-5xl: 2.25rem;
        --fs-6xl: 2.75rem;
        --fs-4xl: 1.875rem;
        --fs-3xl: 1.5rem;
    }

    /* Mobile nav */
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--clr-dark-bg);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        transition: right var(--transition-slow);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--space-md);
        width: 100%;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: var(--fs-lg);
        padding: var(--space-sm) 0;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #fff !important;
    }

    .main-nav .btn {
        width: 100%;
        justify-content: center;
        margin-top: var(--space-md);
    }

    /* Mobile overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Sections */
    .about-grid,
    .outsourcing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .footer-social {
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: var(--fs-5xl);
    }
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-social {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}