/* ==================== VARIABLES Y RESET ==================== */
:root {
    --primary: #0066CC;
    --primary-dark: #0052A3;
    --secondary: #00A651;
    --secondary-dark: #008040;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --gray-dark: #333333;
    --text: #1A1A1A;
    --accent: #FF6B35;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

body.page-dark {
    background-color: #07101f;
}

/* ==================== GENERAL STYLES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================== BUTTONS ==================== */
.btn {
    padding: 12px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

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

.section-header h2 {
    margin-bottom: var(--spacing-sm);
    color: var(--text);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== NAVBAR — PREMIUM GLASS PILL ==================== */

@keyframes navOpen {
    0% {
        clip-path: inset(0 42% 0 42% round 50px);
        opacity: 0;
    }
    25% {
        opacity: 1;
    }
    100% {
        clip-path: inset(0 0% 0 0% round 50px);
        opacity: 1;
    }
}

.navbar {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    pointer-events: none;
}

/*
 * Técnica gradient-border:
 * padding-box rellena el interior con el color glass,
 * border-box rellena el borde con el gradiente de marca.
 * border: transparent para que el gradiente sea visible.
 */
.nav-container {
    pointer-events: all;
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 10px 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-radius: 50px;
    border: none;
    position: relative;
    background: transparent;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    animation: navOpen 0.85s cubic-bezier(0.34, 1.4, 0.64, 1) 0.15s both;
}

/* Gradient border via máscara: interior completamente transparente */
.nav-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1.5px;
    background: linear-gradient(120deg, #0066CC 0%, #00A651 50%, #0066CC 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

body.page-dark .nav-container::before {
    background: linear-gradient(120deg, #0066CC 0%, #00cc66 50%, #0066CC 100%);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* Logo blanco visible en páginas claras */
body:not(.page-dark) .logo-img {
    filter: brightness(0);
}

.logo-img:hover { transform: scale(1.05); }

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
}

/* Separador logo / links */
.nav-logo::after {
    content: '';
    display: block;
    width: 1px;
    height: 28px;
    background: linear-gradient(to bottom, transparent, rgba(0,102,204,0.4), transparent);
    margin-left: 20px;
}

.nav-link {
    color: #060d1a;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    padding: 6px 14px;
    border-radius: 50px;
    border: none;
    background: transparent;
    white-space: nowrap;
    transition: all 0.22s ease;
}

.nav-link:hover {
    color: #0066CC;
    background: rgba(0,102,204,0.08);
}

/* Activo: filled azul con glow */
.nav-link--active {
    color: #fff !important;
    font-weight: 700;
    background: linear-gradient(135deg, #0066CC, #0088ee);
    box-shadow:
        0 0 0 3px rgba(0,102,204,0.15),
        0 4px 16px rgba(0,102,204,0.35),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

/* Dark pages */
body.page-dark .nav-link {
    color: rgba(255,255,255,0.82);
    background: transparent;
}

body.page-dark .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.10);
}

body.page-dark .nav-link--active {
    color: #fff !important;
    font-weight: 700;
    background: linear-gradient(135deg, #0055bb, #0088ff);
    box-shadow:
        0 0 0 3px rgba(0,102,204,0.2),
        0 4px 20px rgba(0,136,255,0.4),
        inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Navbar adaptivo: sobre sección clara */
.navbar--light-bg .nav-link {
    color: #060d1a !important;
    transition: color 0.3s ease, background 0.3s ease;
}
.navbar--light-bg .nav-link:hover {
    color: #0066CC !important;
    background: rgba(0,102,204,0.08) !important;
}
.navbar--light-bg .nav-link--active {
    color: #fff !important;
}
.navbar--light-bg .logo-img {
    filter: brightness(0) !important;
}

.nav-link::after { display: none; }

/* Subpáginas: el navbar fixed no ocupa flujo, compensar con padding en body */
body { padding-top: 0; }

/* Compensar la pastilla flotante — espacio generoso bajo el navbar */
body.page-dark > section:first-of-type {
    padding-top: 120px;
}

.page-spacer { display: none; }

.nav-link.cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
}

.nav-link.cta::after { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

body.page-dark .nav-toggle span { background: #fff; }

/* ==================== HERO SECTION ==================== */
@keyframes heroBgIn {
    from { opacity: 0; transform: scale(1.06); }
    to   { opacity: 1; transform: scale(1); }
}

.hero {
    display: flex;
    align-items: flex-start;
    padding: 120px 0 var(--spacing-xl);
    position: relative;
    overflow: visible;
    background: #f0f5ff;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../fondo_3.png') center center / cover no-repeat;
    animation: heroBgIn 1.4s ease-out forwards;
    z-index: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.5;
}

.geometric-bg {
    width: 100%;
    height: 100%;
}

#heroBgCanvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0 var(--spacing-2xl);
    padding: var(--spacing-lg) 0;
}

.hero-content {
    grid-column: 1;
    grid-row: 1 / 3;
    padding-right: var(--spacing-lg);
    position: relative;
}

.hero-sell-tag {
    grid-column: 2;
    grid-row: 1;
    margin-bottom: 24px;
    align-self: end;
}

.hero-image {
    grid-column: 2;
    grid-row: 2;
}

.hero-bg-woman {
    position: absolute;
    top: -30px;
    left: -10px;
    height: 110%;
    width: auto;
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
    object-fit: contain;
    object-position: top left;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,1) 35%);
    mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,1) 35%);
}

.hero-content > *:not(.hero-bg-woman) {
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: var(--spacing-lg);
    animation: slideInDown 0.8s ease-out;
}

.hero-desktop-logo {
    display: none;
}

.hero-desktop-brand,
.hero-desktop-statement {
    display: none;
}

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

@keyframes heroStatementIn {
    from {
        opacity: 0;
        transform: translateY(26px) scale(0.96);
        filter: blur(8px);
    }
    70% {
        opacity: 1;
        filter: blur(0);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes heroSimplePulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 0 rgba(0,102,204,0));
    }
    50% {
        transform: translateY(-2px) scale(1.025);
        filter: drop-shadow(0 8px 18px rgba(0,102,204,0.18));
    }
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    color: var(--text);
    font-weight: 800;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: #0a0a0a;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(255,255,255,0.8);
}

.hero-tagline-accent {
    color: var(--primary);
    text-shadow: 0 2px 16px rgba(0,102,204,0.18);
}

.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #111;
    line-height: 1.85;
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    max-width: 540px;
    text-shadow: 0 1px 8px rgba(255,255,255,0.9);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-2xl);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    transition: var(--transition);
}

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

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-medium);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.hero-image {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0 20px 16px;
}

/* Fondo degradado suave detrás del glass para que el efecto sea visible */
.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 30%, rgba(0,102,204,0.09) 0%, transparent 65%),
                radial-gradient(ellipse at 30% 80%, rgba(0,166,81,0.07) 0%, transparent 55%),
                linear-gradient(135deg, rgba(0,102,204,0.05) 0%, rgba(0,166,81,0.04) 100%);
    border-radius: 28px;
    pointer-events: none;
    z-index: 0;
}

/* ---- Hero sell tagline (sin fondo) ---- */
@keyframes hst-row-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes hst-strike-draw {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@keyframes hst-main-in {
    0%   { opacity: 0; transform: translateY(18px) scale(0.96); }
    70%  { transform: translateY(-3px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hst-underline-red {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
@keyframes hst-logo-pixar {
    0%   { transform: rotateY(-90deg) scaleX(0.3); opacity: 0; }
    40%  { transform: rotateY(16deg)  scaleX(1.1);  opacity: 1; }
    58%  { transform: rotateY(-8deg)  scaleX(0.96); }
    74%  { transform: rotateY(5deg)   scaleX(1.03); }
    88%  { transform: rotateY(-2deg)  scaleX(1); }
    100% { transform: rotateY(0deg)   scaleX(1); opacity: 1; }
}

/* Sin fondo — texto flotante grande */
.hero-sell-tag {
    padding: 6px 0 0;
    cursor: default;
}

/* ── Filas tachadas ── */
.hst-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 6px;
    opacity: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: #9aabba;
    line-height: 1.3;
}
.hst-row--cross {
    animation: hst-row-in 0.45s cubic-bezier(0.22,1,0.36,1) both;
    animation-delay: 0.3s;
}
/* segunda fila: espera a que se tache la primera (0.3 aparece + 0.55 tachado + pausa) */
.hst-row--delay { animation-delay: 1.1s; }

.hst-crossed {
    position: relative;
    font-family: 'Poppins', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: #b8c8d4;
}
.hst-strike {
    position: absolute;
    top: 54%; left: -3px; right: -3px;
    height: 2.5px;
    background: #e53e3e;
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    animation: hst-strike-draw 0.38s cubic-bezier(0.4,0,0.2,1) forwards;
}
.hst-row--cross .hst-strike { animation-delay: 0.85s; }
.hst-row--delay .hst-strike { animation-delay: 1.65s; }

/* ── Línea remate ── */
.hst-row--main {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 800;
    color: #0a1a2e;
    line-height: 1.35;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 2px solid rgba(0,102,204,0.14);
    opacity: 0;
    animation: hst-main-in 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
    /* aparece tras ambos tachados: ~1.65+0.38+0.2 = 2.25s */
    animation-delay: 2.2s;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

/* Logo pill inline con perspectiva */
.hst-logo-pill {
    display: inline-flex;
    align-items: center;
    background: #0066CC;
    border-radius: 8px;
    padding: 4px 10px 4px 8px;
    box-shadow: 0 4px 14px rgba(0,102,204,0.35);
    perspective: 500px;
}
.hst-logo-anim {
    height: 20px;
    width: auto;
    display: block;
    transform: rotateY(-90deg) scaleX(0.3);
    opacity: 0;
    animation: hst-logo-pixar 1s cubic-bezier(0.34,1.4,0.64,1) both;
    /* logo entra 0.4s después del texto del remate */
    animation-delay: 2.7s;
}

/* "venda más" subrayado rojo */
.hst-vende {
    position: relative;
    color: #0a1a2e;
    font-weight: 900;
    font-size: clamp(1.3rem, 2.1vw, 1.6rem);
}
.hst-underline-red {
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #cc0000, #ff3333);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    animation: hst-underline-red 0.5s ease forwards;
    /* rojo aparece al final, después del logo */
    animation-delay: 3.4s;
}

/* ---- Hero Results Glass (Apple-style frosted) ---- */
.hrg-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.hrg-header {
    text-align: center;
    padding: 20px 0 10px;
}

.hrg-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #0066CC;
    margin-bottom: 10px;
    opacity: 0;
}

.hrg-ey-line {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: #0066CC;
    border-radius: 2px;
    flex-shrink: 0;
    transform: scaleX(0);
    transform-origin: left;
}

.hrg-ey-text {
    display: inline-block;
}

.hrg-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 800;
    color: #0a0a0a;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgba(255,255,255,0.8);
}

.hrg-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
    margin-right: 0.25em;
}

.hrg-accent {
    color: #00A651;
    display: block;
    position: relative;
    display: inline;
}

.hrg-underline {
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #00A651, #00cc66);
    width: 0;
    border-radius: 2px;
    margin-top: 3px;
}

/* 3×2 grid */
.hrg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Apple Liquid Glass card */
.hrg-card {
    background: linear-gradient(
        160deg,
        rgba(255,255,255,0.72) 0%,
        rgba(255,255,255,0.38) 100%
    );
    backdrop-filter: blur(40px) saturate(200%) brightness(1.04);
    -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.04);
    border-top: 1.5px solid rgba(255,255,255,1);
    border-left: 1.5px solid rgba(255,255,255,0.9);
    border-right: 1.5px solid rgba(255,255,255,0.4);
    border-bottom: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 16px 14px 14px;
    box-shadow: 0 10px 40px rgba(0,102,204,0.12),
                0 2px 8px rgba(0,0,0,0.06),
                inset 0 2px 0 rgba(255,255,255,1),
                inset 0 -1px 0 rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5px;
    min-height: 100px;
    opacity: 0;
    transform: translateY(22px);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

/* Specular highlight interior (reflejo de luz en la parte superior) */
.hrg-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(180deg,
        rgba(255,255,255,0.45) 0%,
        rgba(255,255,255,0) 100%
    );
    border-radius: 20px 20px 0 0;
    pointer-events: none;
    z-index: 1;
}

/* Tinte de color suave según tipo */
.hrg-blue  { background: linear-gradient(160deg, rgba(255,255,255,0.72) 0%, rgba(220,236,255,0.42) 100%); }
.hrg-green { background: linear-gradient(160deg, rgba(255,255,255,0.72) 0%, rgba(210,245,230,0.42) 100%); }

/* Accent bar top */
.hrg-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
}
.hrg-blue::before  { background: linear-gradient(90deg, #0066CC, #4da8ff); }
.hrg-green::before { background: linear-gradient(90deg, #00A651, #00cc66); }

.hrg-card.hrg-visible::before {
    transform: scaleX(1);
}

.hrg-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(0,102,204,0.16),
                0 4px 14px rgba(0,0,0,0.07),
                inset 0 2px 0 rgba(255,255,255,1),
                inset 0 -1px 0 rgba(255,255,255,0.3);
}

.hrg-logo {
    position: absolute;
    top: 12px;
    right: 12px;
    height: auto;
    max-height: 58px;
    max-width: 115px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    z-index: 3;
    margin-bottom: 0;
}
.hrg-color { filter: none !important; opacity: 1 !important; }

/* Big number */
.hrg-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}
.hrg-blue  .hrg-num { color: #0055b3; }
.hrg-green .hrg-num { color: #008f47; }

.hrg-metric {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #444;
    position: relative;
    z-index: 2;
}

.hrg-desc {
    font-size: 0.8rem;
    color: #222;
    font-weight: 500;
    line-height: 1.45;
    margin-top: 3px;
    position: relative;
    z-index: 2;
}

/* Responsive */
@media (max-width: 1100px) {
    .hrg-num   { font-size: 1.5rem; }
    .hrg-card  { padding: 12px 10px; }
    .hrg-title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); }
    .hrg-desc  { display: none; }
}

/* ---- Hero Showcase — cycling results display ---- */
.hero-showcase {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hs-stage {
    position: relative;
    height: 340px;
    border-radius: 28px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 32px 80px rgba(0,102,204,0.13), 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid rgba(255,255,255,0.95);
    overflow: hidden;
}

.hs-slide {
    position: absolute;
    inset: 0;
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
    border-left: 6px solid transparent;
}
.hs-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.hs-slide[data-color="blue"]  { border-left-color: #0066CC; }
.hs-slide[data-color="green"] { border-left-color: #00A651; }

/* Subtle tinted bg per slide color */
.hs-slide[data-color="blue"]::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0,102,204,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.hs-slide[data-color="green"]::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0,166,81,0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Client row: logo + live badge */
.hs-client-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.hs-logo {
    height: 28px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.7;
}
.hs-live {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #00A651;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.hs-live span {
    width: 8px; height: 8px;
    background: #00A651;
    border-radius: 50%;
    flex-shrink: 0;
    animation: hsPulse 1.8s ease-out infinite;
}
@keyframes hsPulse {
    0%   { box-shadow: 0 0 0 0 rgba(0,166,81,0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(0,166,81,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,166,81,0); }
}

/* Huge number */
.hs-number {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3.8rem, 6.5vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -3px;
}
.hs-slide[data-color="blue"]  .hs-number { color: #0066CC; }
.hs-slide[data-color="green"] .hs-number { color: #00A651; }

.hs-metric {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 8px;
}
.hs-context {
    font-size: 0.82rem;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.2px;
}

/* Progress bar */
.hs-progress {
    height: 4px;
    background: rgba(0,0,0,0.07);
    border-radius: 0 0 28px 28px;
    overflow: hidden;
    margin-top: 0;
}
.hs-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0066CC, #00A651);
    border-radius: 2px;
}

/* Dot navigation */
.hs-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 0 4px;
}
.hs-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(0,102,204,0.2);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s, width 0.3s;
    padding: 0;
    flex-shrink: 0;
}
.hs-dot.active {
    background: #0066CC;
    transform: scale(1.25);
    width: 26px;
    border-radius: 5px;
}
.hs-dot:hover:not(.active) {
    background: rgba(0,102,204,0.4);
    transform: scale(1.15);
}
.hs-all {
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0066CC;
    text-decoration: none;
    letter-spacing: 0.2px;
    transition: color 0.2s, gap 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}
.hs-all:hover { color: #004fa8; gap: 8px; }

@media (max-width: 1100px) {
    .hs-stage { height: 300px; }
    .hs-slide { padding: 30px 32px; }
    .hs-number { font-size: clamp(3rem, 5.5vw, 4.5rem); }
}

.image-placeholder {
    background: linear-gradient(135deg, var(--gray-light), #e0e0e0);
    border-radius: var(--border-radius);
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    color: #999;
    font-weight: 500;
    border: 2px dashed var(--gray-medium);
    transition: var(--transition);
}

.image-placeholder:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.image-icon {
    font-size: 4rem;
}

.hero-agent-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    aspect-ratio: 3/4;
    display: block;
}

/* ---- Hero Results Display ---- */
.hero-value {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0,102,204,0.12);
    border-radius: 28px;
    padding: 40px 36px;
    box-shadow: 0 24px 64px rgba(0,102,204,0.13), 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.hero-value::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(0,102,204,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.hv-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,102,204,0.08);
    border: 1px solid rgba(0,102,204,0.18);
    color: #0066CC;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hv-dot {
    width: 7px; height: 7px;
    background: #00A651;
    border-radius: 50%;
    animation: hvPulse 2s infinite;
}
@keyframes hvPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.8)} }

.hv-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    font-weight: 800;
    color: #0a0a0a;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hv-accent {
    color: #0066CC;
    position: relative;
}
.hv-accent::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0066CC, #00A651);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: hvUnderline 0.8s ease forwards 1s;
}
@keyframes hvUnderline { to { transform: scaleX(1); } }

.hv-desc {
    color: #555;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 28px;
    border-left: 3px solid #0066CC;
    padding-left: 14px;
}

.hv-props {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.hv-prop {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.hv-prop-ico {
    flex-shrink: 0;
    width: 38px; height: 38px;
    background: linear-gradient(135deg, rgba(0,102,204,0.1), rgba(0,166,81,0.08));
    border: 1px solid rgba(0,102,204,0.15);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}

.hv-prop-ico svg {
    width: 18px; height: 18px;
    stroke: #0066CC;
}

.hv-prop div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hv-prop strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a1a;
}

.hv-prop span {
    font-size: 0.78rem;
    color: #777;
}

.hv-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hv-btn-primary {
    background: linear-gradient(135deg, #0066CC, #004fa8);
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 6px 20px rgba(0,102,204,0.3);
}
.hv-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,102,204,0.45);
}

.hv-btn-ghost {
    background: transparent;
    color: #0066CC;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid rgba(0,102,204,0.3);
    transition: border-color 0.25s, background 0.25s;
}
.hv-btn-ghost:hover {
    border-color: #0066CC;
    background: rgba(0,102,204,0.06);
}

@media (max-width: 768px) {
    .hero-value { padding: 28px 22px; }
    .hv-title { font-size: 1.6rem; }
}

/* ---- Hero Results Display ---- */
.hero-results {
    position: relative;
    width: 100%;
    height: 520px;
}

/* Anillos orbitales decorativos */
.hr-ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(0,102,204,0.15);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.hr-ring-1 { width: 320px; height: 320px; animation: hrSpin 40s linear infinite; }
.hr-ring-2 { width: 460px; height: 460px; animation: hrSpin 60s linear infinite reverse; border-style: solid; border-color: rgba(0,166,81,0.08); }
.hr-ring-3 { width: 200px; height: 200px; animation: hrSpin 25s linear infinite; border-color: rgba(0,102,204,0.1); }
@keyframes hrSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* Badge central */
.hr-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 120px; height: 120px;
    background: linear-gradient(135deg, #0066CC, #004fa8);
    border-radius: 50%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    z-index: 5;
    box-shadow: 0 12px 40px rgba(0,102,204,0.35), 0 0 0 8px rgba(0,102,204,0.08);
    opacity: 0;
}
.hr-badge-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(0,102,204,0.3);
    animation: hrPulse 2.5s ease-out infinite;
}
@keyframes hrPulse {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.4); opacity: 0; }
}
.hr-badge-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hr-badge-txt {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Tarjetas de resultados */
.hr-card {
    position: absolute;
    background: #fff;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 12px 40px rgba(0,102,204,0.12), 0 2px 8px rgba(0,0,0,0.06);
    width: 200px;
    opacity: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 6;
}
.hr-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 50px rgba(0,102,204,0.2), 0 4px 12px rgba(0,0,0,0.08);
}
.hr-card-1 { top: 20px;  left: 0;    animation: hrFloat1 4s ease-in-out infinite 2s; }
.hr-card-2 { top: 180px; right: 0;   animation: hrFloat2 5s ease-in-out infinite 2.4s; }
.hr-card-3 { bottom: 20px; left: 20px; animation: hrFloat3 4.5s ease-in-out infinite 2.8s; }

@keyframes hrFloat1 { 0%,100%{transform:translateY(0)}   50%{transform:translateY(-10px)} }
@keyframes hrFloat2 { 0%,100%{transform:translateY(0)}   50%{transform:translateY(-14px)} }
@keyframes hrFloat3 { 0%,100%{transform:translateY(0)}   50%{transform:translateY(-8px)}  }

.hr-card-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
}
.hr-bar-blue  { background: linear-gradient(90deg, #0066CC, #4da8ff); }
.hr-bar-green { background: linear-gradient(90deg, #00A651, #00cc66); }

.hr-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    margin-top: 4px;
}
.hr-card-logo {
    height: 22px;
    max-width: 100px;
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.7;
}
.hr-card-verified {
    width: 20px; height: 20px;
    background: #0066CC;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hr-card-verified svg { width: 12px; height: 12px; fill: #fff; }
.hr-verified-green { background: #00A651; }

.hr-card-num {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0066CC;
    line-height: 1;
    margin-bottom: 4px;
}
.hr-num-green { color: #00A651; }
.hr-card-label {
    font-size: 0.75rem;
    color: #777;
    line-height: 1.4;
}

/* Tags flotantes */
.hr-tag {
    position: absolute;
    background: rgba(0,102,204,0.06);
    border: 1px solid rgba(0,102,204,0.18);
    color: #0066CC;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    opacity: 0;
    z-index: 4;
}
.hr-tag-1 { top: 10px;  right: 10px; animation: hrFloat2 6s ease-in-out infinite 3s; }
.hr-tag-2 { top: 50%;   left: -10px; transform: translateY(-50%); animation: hrFloat1 5s ease-in-out infinite 3.5s; }
.hr-tag-3 { bottom: 10px; right: 20px; animation: hrFloat3 5.5s ease-in-out infinite 4s; }

/* Responsive */
@media (max-width: 900px) {
    .hero-results { height: 400px; }
    .hr-card      { width: 170px; padding: 12px 14px; }
    .hr-ring-1    { width: 240px; height: 240px; }
    .hr-ring-2    { width: 340px; height: 340px; }
    .hr-badge     { width: 96px; height: 96px; }
    .hr-badge-num { font-size: 1.4rem; }
}
@media (max-width: 600px) {
    .hero-results { display: none; }
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 220px;
    z-index: 3;
    overflow: visible;
    line-height: 0;
}

#heroCanvas {
    display: block;
    width: 100%;
    height: 220px;
}


/* ==================== NOSOTROS SECTION ==================== */
.nosotros {
    padding: var(--spacing-2xl) 0;
    background: #07101f;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

#nosotrosCanvas,
#serviciosCanvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: 0;
    pointer-events: none;
}

#serviciosShapesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    z-index: 1;
    pointer-events: none;
}

.nosotros::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.nosotros .container {
    position: relative;
    z-index: 1;
}

.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.nosotros-text {
    color: var(--white);
}

.nosotros-heading {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

.nosotros-en {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    display: flex;
    align-items: center;
}

.nosotros-logo {
    height: 4.2rem;
    width: auto;
    display: block;
}

.nosotros-text h2 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--white);
    line-height: 1.1;
}

.nosotros-text > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-2xl);
    opacity: 0.95;
}

.nosotros-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.value-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.value-item h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 5px;
}

.value-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

.nosotros-visual {
    position: relative;
    height: 400px;
}

.visual-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.visual-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.team-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    display: block;
}

.visual-content h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.visual-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* ==================== SERVICIOS ORBITAL ==================== */
.servicios {
    padding: var(--spacing-2xl) 0 0;
    position: relative;
    overflow: hidden;
    background: #07101f;
}

.svc-bg-dark {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 65% 55% at 50% 40%, rgba(0,25,80,0.4) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 15% 85%, rgba(0,166,81,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 35% 35% at 85% 12%, rgba(0,0,70,0.25) 0%, transparent 60%);
    pointer-events: none;
}

.servicios .section-header h2 { color: var(--white); }
.servicios .section-subtitle    { color: rgba(255,255,255,0.6); }
.svc-title-accent { color: #00A651; }

/* ── Layout flex orbital + phone ── */
.servicios-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Orbital scene ── */
.orbital-scene {
    position: relative;
    flex: 1 1 auto;
    max-width: 720px;
    height: 580px;
    margin: 32px 0 0;
}

/* Orbit ring via pseudo-element */
.orbital-scene::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 440px; height: 440px;
    margin: -220px 0 0 -220px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255,255,255,0.22);
    animation: orbitSpin 60s linear infinite;
    pointer-events: none;
}

/* Second decorative ring */
.orbital-scene::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 200px; height: 200px;
    margin: -100px 0 0 -100px;
    border-radius: 50%;
    border: 1px solid rgba(0,102,204,0.2);
    pointer-events: none;
}

@keyframes orbitSpin {
    to { transform: rotate(360deg); }
}

/* SVG overlay for connection lines */
.orbital-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: visible;
}

@keyframes dashFlow {
    to { stroke-dashoffset: -20; }
}

/* ── Hub ── */
.orbital-hub {
    position: absolute;
    top: 50%; left: 50%;
    width: 110px; height: 110px;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hub-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 1.5px solid rgba(0,102,204,0.45);
    animation: hubPulse 3s ease-in-out infinite;
}
.hub-ring.hr2 { inset: -14px; border-color: rgba(0,166,81,0.3); animation-delay: 1s; }
.hub-ring.hr3 { inset: -28px; border-color: rgba(0,102,204,0.18); animation-delay: 2s; }

@keyframes hubPulse {
    0%,100% { opacity: 0.7; transform: scale(1); }
    50%      { opacity: 0.2; transform: scale(1.08); }
}

.hub-core {
    position: absolute; inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #003d80, #001f5c);
    box-shadow:
        0 0 30px rgba(0,20,100,0.7),
        0 0 60px rgba(0,102,204,0.3),
        inset 0 0 20px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: hubGlow 3s ease-in-out infinite;
}

@keyframes hubGlow {
    0%,100% { box-shadow: 0 0 30px rgba(0,20,100,0.7), 0 0 60px rgba(0,102,204,0.3), inset 0 0 20px rgba(0,0,0,0.5); }
    50%      { box-shadow: 0 0 45px rgba(0,50,150,0.9), 0 0 90px rgba(0,130,255,0.45), inset 0 0 20px rgba(0,0,0,0.5); }
}

.hub-logo {
    width: 72%;
    height: auto;
    object-fit: contain;
    animation: logoPulse 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

@keyframes logoPulse {
    0%,100% { transform: scale(1);    filter: drop-shadow(0 0 8px rgba(255,255,255,0.25)); }
    50%      { transform: scale(1.07); filter: drop-shadow(0 0 18px rgba(100,180,255,0.55)); }
}

/* ── Service nodes ── */
.svc-node {
    position: absolute;
    width: 54px; height: 54px;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 15;
}

/* Positions (radius 220px, 7 nodes) */
.svc-node[data-idx="0"] { left: 50%;             top: calc(50% - 220px); }
.svc-node[data-idx="1"] { left: calc(50% + 172px); top: calc(50% - 137px); }
.svc-node[data-idx="2"] { left: calc(50% + 214px); top: calc(50% + 49px);  }
.svc-node[data-idx="3"] { left: calc(50% + 95px);  top: calc(50% + 198px); }
.svc-node[data-idx="4"] { left: calc(50% - 95px);  top: calc(50% + 198px); }
.svc-node[data-idx="5"] { left: calc(50% - 214px); top: calc(50% + 49px);  }
.svc-node[data-idx="6"] { left: calc(50% - 172px); top: calc(50% - 137px); }

.node-dot {
    width: 54px; height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b358, #007a3d);
    border: 2px solid rgba(0,166,81,0.5);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 0 rgba(0,166,81,0.5);
    animation: nodePulse 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.node-dot svg { width: 22px; height: 22px; stroke: white; }

.svc-node[data-idx="0"] .node-dot { animation-delay: 0s; }
.svc-node[data-idx="1"] .node-dot { animation-delay: 0.43s; }
.svc-node[data-idx="2"] .node-dot { animation-delay: 0.86s; }
.svc-node[data-idx="3"] .node-dot { animation-delay: 1.29s; }
.svc-node[data-idx="4"] .node-dot { animation-delay: 1.71s; }
.svc-node[data-idx="5"] .node-dot { animation-delay: 2.14s; }
.svc-node[data-idx="6"] .node-dot { animation-delay: 2.57s; }

@keyframes nodePulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(0,166,81,0.5); }
    50%      { box-shadow: 0 0 0 12px rgba(0,166,81,0); }
}

.svc-node:hover .node-dot {
    transform: scale(1.22);
    background: linear-gradient(135deg, #00d468, #00a651);
    box-shadow: 0 0 20px rgba(0,166,81,0.7), 0 0 40px rgba(0,166,81,0.3);
}

/* Node label */
.node-label {
    position: absolute;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem; font-weight: 600;
    color: rgba(255,255,255,0.8);
    white-space: nowrap; text-align: center;
    pointer-events: none;
    transition: color 0.3s ease;
}

.svc-node:hover .node-label { color: #fff; }

/* Label positions by side */
.svc-node[data-side="top"]   .node-label { top: 62px;  left: 50%; transform: translateX(-50%); }
.svc-node[data-side="right"] .node-label { left: 62px; top: 50%;  transform: translateY(-50%); }
.svc-node[data-side="left"]  .node-label { right: 62px; left: auto; top: 50%; transform: translateY(-50%); }

/* ── Popup card ── */
.node-popup {
    position: absolute;
    width: 195px;
    background: rgba(0,20,70,0.92);
    border: 1px solid rgba(0,204,102,0.45);
    border-radius: 14px;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,166,81,0.1);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 30;
}

/* Default (top node): popup below */
.svc-node[data-side="top"] .node-popup {
    top: 68px; left: 50%;
    transform: translateX(-50%) translateY(6px);
}
.svc-node[data-side="top"]:hover .node-popup {
    opacity: 1; transform: translateX(-50%) translateY(0);
}

/* Right nodes: popup to the left */
.svc-node[data-side="right"] .node-popup {
    right: 68px; top: 50%;
    transform: translateY(-50%) translateX(6px);
}
.svc-node[data-side="right"]:hover .node-popup {
    opacity: 1; transform: translateY(-50%) translateX(0);
}

/* Left nodes: popup to the right */
.svc-node[data-side="left"] .node-popup {
    left: 68px; top: 50%;
    transform: translateY(-50%) translateX(-6px);
}
.svc-node[data-side="left"]:hover .node-popup {
    opacity: 1; transform: translateY(-50%) translateX(0);
}

/* Bottom nodes: popup upward */
.svc-node[data-side="bottom"] .node-popup {
    bottom: 68px; left: 50%;
    transform: translateX(-50%) translateY(6px);
}
.svc-node[data-side="bottom"]:hover .node-popup {
    opacity: 1; transform: translateX(-50%) translateY(0);
}

.popup-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(0,166,81,0.15);
    margin-bottom: 10px;
}
.popup-ico svg {
    width: 20px; height: 20px;
    stroke: #00cc66;
}

.node-popup h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem; font-weight: 700;
    color: #00A651; margin-bottom: 6px;
}

.node-popup p {
    font-size: 0.78rem; color: rgba(255,255,255,0.78);
    line-height: 1.55; margin: 0;
}

/* ── Servicios: ocultar orbital, mostrar grid + mantener chatbot ── */
.orbital-scene { display: none !important; }
/* Ocultar el phone viejo — el nuevo chat está dentro de svc-chat-widget */
.sc-phone.sc-orbital { display: none !important; }

/* Cards izquierda | chatbot derecha */
.servicios-layout {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    gap: 32px;
    padding: 0 40px var(--spacing-2xl);
}

.svc-mobile-grid {
    display: grid;
    flex: 1;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    grid-auto-rows: 1fr;
    gap: clamp(10px, 2vw, 14px);
    margin-top: 0;
    padding-bottom: 0;
    align-content: stretch;
    height: 100%;
}

/* Chatbot dentro del layout flex */
.sc-phone.sc-orbital {
    flex: 0 0 300px;
    position: sticky;
    top: 100px;
}

@media (max-width: 900px) {
    .servicios-layout {
        flex-direction: column;
        align-items: center;
        padding: 0 20px var(--spacing-2xl);
        gap: 24px;
    }
    .svc-mobile-grid { width: 100%; }
    .sc-phone.sc-orbital { flex: none; width: clamp(240px, 82vw, 300px); }
}

/* ── Service cards mobile — estilo Marketing ── */
.svc-m-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(0,204,102,0.28);
    border-top: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 28px 22px 24px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.svc-m-card:hover {
    border-color: rgba(0,204,102,0.6);
    background: rgba(255,255,255,0.09);
    transform: translateY(-4px);
}
/* Estado activo — tarjeta seleccionada */
.svc-m-card--active {
    border-color: #00ee77 !important;
    background: rgba(0,204,102,0.12) !important;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 0 0 2px rgba(0,238,119,0.35), 0 8px 32px rgba(0,204,102,0.25) !important;
}
.svc-m-card--active .svc-m-ico {
    background: rgba(0,204,102,0.3);
    box-shadow: 0 0 24px rgba(0,204,102,0.4);
}

/* Glow verde en hover/activo */
.svc-m-card .svc-m-glow {
    position: absolute;
    top: -50px; left: -50px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(0,204,102,0.18) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.svc-m-card:hover .svc-m-glow,
.svc-m-card--active .svc-m-glow { opacity: 1; }

.svc-m-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    border-radius: 16px;
    background: rgba(0,204,102,0.15);
    border: 1px solid rgba(0,204,102,0.4);
    margin-bottom: 18px;
    box-shadow: 0 0 18px rgba(0,204,102,0.15);
}
.svc-m-ico svg {
    width: 32px; height: 32px;
    stroke: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.4));
}

.svc-m-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.svc-m-card p {
    font-size: clamp(0.9rem, 1vw, 1.05rem);
    color: rgba(200,230,255,0.85);
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

/* ==================== ÁREAS SECTION ==================== */
.areas-section {
    padding: var(--spacing-2xl) 0 calc(var(--spacing-2xl) + 20px);
    background: #07101f;
    position: relative;
    overflow: hidden;
}

/* Degradado de fusión con la sección anterior (azul → oscuro) */
.areas-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to bottom, #0066CC 0%, #07101f 100%);
    pointer-events: none;
    z-index: 0;
}

#areasCanvas {
    position: absolute;
    top: 0; left: 0;
    display: block;
    z-index: 1;
    pointer-events: none;
}

.areas-bg-noise {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 20% 50%, rgba(0,102,204,0.12) 0%, transparent 65%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0,166,81,0.09) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

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

/* ── Header ── */
.areas-header {
    text-align: center;
    max-width: 740px;
    margin: 0 auto var(--spacing-xl);
}

.areas-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 18px;
}

.areas-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: 20px;
}

.areas-word { display: inline-block; margin-right: 0.22em; opacity: 0; transform: translateY(30px); }
.areas-word--blue  { color: #4da8ff; }
.areas-word--green { color: #00cc66; }

.areas-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto;
}

/* ── Grid ── */
.areas-grid {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: var(--spacing-xl);
}

/* ── Tarjeta ── */
.area-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
}
.area-card--marketing { transform: translateX(50px); }

.area-card-glow {
    position: absolute; inset: 0;
    border-radius: 20px;
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 0;
}
.area-card--ventas .area-card-glow {
    box-shadow: inset 0 0 60px rgba(0,102,204,0.15), 0 0 40px rgba(0,102,204,0.1);
}
.area-card--marketing .area-card-glow {
    box-shadow: inset 0 0 60px rgba(0,166,81,0.15), 0 0 40px rgba(0,166,81,0.1);
}
.area-card:hover .area-card-glow { opacity: 1; }

.area-card-inner {
    position: relative;
    padding: 36px 32px;
    background: rgba(255,255,255,0.03);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.07);
    height: 100%;
    transition: border-color 0.35s ease;
}
.area-card--ventas:hover .area-card-inner   { border-color: rgba(0,120,255,0.35); }
.area-card--marketing:hover .area-card-inner { border-color: rgba(0,204,102,0.35); }

/* ── Badge icono ── */
.area-badge {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.area-badge--blue  { background: rgba(0,102,204,0.2); }
.area-badge--green { background: rgba(0,166,81,0.2); }
.area-badge svg { width: 24px; height: 24px; }
.area-badge--blue  svg { stroke: #4da8ff; }
.area-badge--green svg { stroke: #00cc66; }

/* ── Títulos y texto ── */
.area-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.area-title--blue  { color: #4da8ff; }
.area-title--green { color: #00cc66; }

.area-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
    margin-bottom: 24px;
}

/* ── Lista ── */
.area-list {
    list-style: none;
    padding: 0; margin: 0 0 24px;
    display: flex; flex-direction: column; gap: 12px;
}
.area-list li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    opacity: 0;
    transform: translateX(-12px);
}
.area-card--marketing .area-list li { transform: translateX(12px); }

.area-dot {
    flex-shrink: 0;
    width: 6px; height: 6px;
    border-radius: 50%;
    margin-top: 6px;
}
.area-dot--blue  { background: #4da8ff; box-shadow: 0 0 6px rgba(77,168,255,0.6); }
.area-dot--green { background: #00cc66; box-shadow: 0 0 6px rgba(0,204,102,0.6); }

/* ── Tags ── */
.area-tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.area-tag {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 20px;
}
.area-tag--blue  { background: rgba(0,102,204,0.18); color: #4da8ff; border: 1px solid rgba(77,168,255,0.25); }
.area-tag--green { background: rgba(0,166,81,0.18);  color: #00cc66; border: 1px solid rgba(0,204,102,0.25); }

/* ── Divisor central ── */
.areas-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 52px;
    gap: 0;
    height: 100%;
}
.areas-divider-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
    min-height: 60px;
}
.areas-divider-node {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.areas-divider-node svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.4); }

/* ── Banner integración ── */
.areas-union {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
}
.areas-union-line {
    flex: 1;
    height: 1px;
    transform-origin: left center;
    transform: scaleX(0);
}
.areas-union-line--left  { background: linear-gradient(to right,  transparent, #4da8ff); }
.areas-union-line--right { background: linear-gradient(to left, transparent, #00cc66); transform-origin: right center; }

.areas-union-center {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 40px;
    padding: 12px 24px;
    white-space: nowrap;
    flex-shrink: 0;
}
.areas-union-center svg {
    width: 18px; height: 18px;
    stroke: #facc15;
    flex-shrink: 0;
}
.areas-union-center span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .areas-grid { grid-template-columns: 1fr; gap: var(--spacing-md); }
    .areas-divider { flex-direction: row; padding-top: 0; height: auto; }
    .areas-divider-line { flex: 1; width: auto; height: 2px; min-height: unset;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.12), transparent); }
    .areas-union { flex-direction: column; text-align: center; }
    .areas-union-center { white-space: normal; text-align: center; }
    .areas-union-line { width: 80px; flex: unset; height: 1px; }
    .area-card { transform: none; }
}

@media (max-width: 580px) {
    .area-card-inner { padding: 24px 20px; }
    .areas-union { display: none; }
}

.instagram-embed {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.instagram-link {
    display: inline-block;
}

.instagram-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    transition: var(--transition);
    margin: 0 auto;
}

.instagram-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.instagram-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.instagram-card h3 {
    color: var(--text);
    margin-bottom: var(--spacing-xs);
}

.instagram-card p {
    color: #666;
    margin-bottom: var(--spacing-md);
}

/* Instagram Carousel */
.instagram-carousel {
    margin-top: var(--spacing-2xl);
}

.instagram-post {
    aspect-ratio: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    gap: var(--spacing-md);
    transition: var(--transition);
}

.instagram-post:hover .post-placeholder {
    transform: scale(1.05);
}

.post-icon {
    font-size: 3rem;
}

.post-placeholder p {
    font-weight: 600;
    font-size: 1.1rem;
}

.swiper-pagination-bullet {
    background: var(--primary);
}

/* ==================== RESULTADOS SECTION ==================== */
.resultados-section {
    padding: var(--spacing-2xl) 0 calc(var(--spacing-2xl) + 16px);
    background: #07101f;
    position: relative;
    overflow: hidden;
}

#resultadosCanvas {
    position: absolute;
    top: 0; left: 0;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.resultados-section .container {
    position: relative;
    z-index: 1;
}

/* ── Header ── */
.resultados-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--spacing-xl);
}

.resultados-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}

.resultados-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 18px;
}

.res-word { display: inline-block; margin-right: 0.2em; opacity: 0; transform: translateY(28px); }
.res-word--accent { color: #00cc66; }

.resultados-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}

/* ── Grid ── */
.resultados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: clamp(10px, 2vw, 20px);
}

/* ── Tarjeta ── */
.res-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 28px 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: border-color 0.35s ease, background 0.35s ease;
}
.res-card:hover {
    background: rgba(255,255,255,0.055);
    border-color: rgba(255,255,255,0.14);
}

/* ── Logo + stat en la misma fila ── */
.res-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.res-logo {
    height: 40px;
    display: flex;
    align-items: center;
}
.res-logo img {
    max-height: 40px;
    max-width: 110px;
    object-fit: contain;
}
.res-logo--white img  { filter: brightness(0) invert(1); opacity: 0.85; }
.res-logo--original img { filter: none; }

/* Logos que necesitan más tamaño para igualar visualmente al resto */
.res-card:nth-child(1) .res-logo img,
.res-card:nth-child(5) .res-logo img,
.res-card:nth-child(6) .res-logo img {
    max-height: 72px;
    max-width: 170px;
}

/* ── Estadística ── */
.res-stat {
    text-align: right;
    flex-shrink: 0;
}

.res-num {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}
.res-unit {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #00cc66;
    margin-left: 1px;
}
.res-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-top: 2px;
}

/* ── Descripción ── */
.res-desc {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* ── Barra de color en la base ── */
.res-bar {
    height: 3px;
    border-radius: 0 0 18px 18px;
    margin: 0 -24px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s ease;
}
.res-card:hover .res-bar { transform: scaleX(1); }
.res-bar--blue  { background: linear-gradient(to right, #0066CC, #4da8ff); }
.res-bar--green { background: linear-gradient(to right, #00A651, #00ff88); }

/* ── Responsive ── */
@media (max-width: 560px) {
    .res-num { font-size: 1.8rem; }
}


/* ==================== CONTACTO SECTION ==================== */
.contacto {
    padding: var(--spacing-2xl) 0;
}

.contacto-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: stretch;
}

.mapa-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.map {
    width: 100%;
    height: 100%;
}

.contacto-form {
    background: var(--gray-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
}

.contacto-form h3 {
    margin-bottom: var(--spacing-md);
    color: var(--text);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.contacto-info {
    margin-top: var(--spacing-lg);
    border-top: 1px solid var(--gray-medium);
    padding-top: var(--spacing-lg);
}

.info-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    margin-top: 5px;
}

.info-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.info-item a {
    color: var(--primary);
    font-weight: 500;
}

.info-item a:hover {
    text-decoration: underline;
}

/* ==================== BOLSA DE TRABAJO ==================== */
.bolsa-trabajo {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 166, 81, 0.05) 100%);
}

.trabajo-form {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.trabajo-form h3 {
    margin-bottom: var(--spacing-lg);
    color: var(--text);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-row .form-group {
    margin-bottom: 0;
}

/* ==================== FOOTER MISSION CONTROL ==================== */
.footer {
    position: relative;
    background: #020810;
    color: var(--white);
    overflow: hidden;
    padding: 0;
}

#footerCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

.footer-sep {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #0066CC 25%, #00A651 50%, #0066CC 75%, transparent 100%);
    flex-shrink: 0;
}

.footer-body,
.footer-bottom {
    position: relative;
    z-index: 2;
}

.footer-wm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -52%);
    font-family: 'Poppins', sans-serif;
    font-size: clamp(72px, 16vw, 180px);
    font-weight: 900;
    color: rgba(255,255,255,0.035);
    letter-spacing: 0.12em;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
}

.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}
.footer-glow--blue {
    width: 420px; height: 300px;
    background: rgba(0,102,204,0.18);
    bottom: -80px; left: -60px;
}
.footer-glow--green {
    width: 360px; height: 260px;
    background: rgba(0,166,81,0.14);
    bottom: -60px; right: -40px;
}

.footer-body {
    display: grid;
    grid-template-columns: 44fr 24fr 32fr;
    gap: clamp(20px, 4vw, 48px);
    padding: clamp(32px, 6vw, 56px) 0 clamp(24px, 4vw, 44px);
    position: relative;
    z-index: 2;
}

.footer-logo {
    height: 38px;
    width: auto;
    display: block;
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin-bottom: 24px;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    border: none;
    position: relative;
    background: transparent;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.22s ease;
    text-decoration: none;
}
.footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1.5px;
    background: linear-gradient(120deg, #0066CC 0%, #00A651 50%, #0066CC 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.footer-cta:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-1px);
}
.footer-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

.footer-col-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 18px;
}

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-nav li { display: flex; align-items: center; gap: 9px; }

.footer-bullet {
    display: block;
    width: 5px; height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
}
.footer-bullet--blue  { background: #0066CC; }
.footer-bullet--green { background: #00A651; }

.footer-nav a {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: color 0.2s;
    text-decoration: none;
}
.footer-nav a:hover { color: #fff; }

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-social-btn:hover { color: #fff; }
.footer-social-btn svg { width: 15px; height: 15px; opacity: 0.65; }

.footer-metric {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 20px;
}
.footer-metric-num {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(120deg, #0066CC, #00A651);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 5px;
}
.footer-metric-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.38);
    letter-spacing: 0.04em;
}

.footer-bottom {
    position: relative;
    z-index: 2;
    padding-bottom: 28px;
}
.footer-bottom-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    margin-bottom: 20px;
}
.footer-bottom p {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.28);
}

@media (max-width: 900px) {
    .footer-body {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 24px 16px;
        padding: 32px 0 24px;
    }
    /* Marca: ocupa toda la fila superior */
    .footer-brand {
        grid-column: 1 / -1;
    }
    /* Páginas: columna izquierda */
    .footer-nav {
        grid-column: 1;
    }
    /* Síguenos + métrica: columna derecha */
    .footer-social {
        grid-column: 2;
    }
    .footer-logo { height: 30px; margin-bottom: 10px; }
    .footer-tagline { font-size: 0.85rem; margin-bottom: 16px; }
    .footer-wm { font-size: 18vw; }
    .footer-metric-num { font-size: 1.5rem; }
}

/* ==================== FRANJA CARRUSEL (entre hero y nosotros) ==================== */
.hero-wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 10;
    pointer-events: none;
}
.hero-wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

.gallery-strip {
    width: 100%;
    background: #07101f;
    padding: 20px 0 36px;
    overflow: hidden;
    position: relative;
}

/* ---- Carrusel casos de éxito ---- */
@property --ba {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

.casos-carousel-wrap {
    margin: 28px auto 0;
    padding: 0 40px;
    max-width: 900px;
    width: 100%;
}

.casos-swiper {
    width: 100%;
    overflow: hidden;
}

.caso-slide {
    height: 360px !important;
    flex-shrink: 0;
    padding: 3px;
    border-radius: 22px;
    --ba: 0deg;
    animation: caso-spin 8s linear infinite;
}

/* Cards impares — azul */
.caso-slide:nth-child(odd) {
    background: conic-gradient(
        from var(--ba),
        #07101f 0%,
        #07101f 33%,
        #003399 40%,
        #0066ff 47%,
        #aaccff 50%,
        #0066ff 53%,
        #003399 60%,
        #07101f 67%,
        #07101f 100%
    );
}

/* Cards pares — verde */
.caso-slide:nth-child(even) {
    background: conic-gradient(
        from var(--ba),
        #07101f 0%,
        #07101f 33%,
        #006622 40%,
        #00cc55 47%,
        #aaffcc 50%,
        #00cc55 53%,
        #006622 60%,
        #07101f 67%,
        #07101f 100%
    );
}

@keyframes caso-spin {
    to { --ba: 360deg; }
}

.caso-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 19px;
    object-fit: cover;
    object-position: center;
}

.caso-card {
    background: #0d1b2e;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.07);
}

.caso-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 12px 16px;
}

.caso-card-logo img {
    max-height: 48px;
    max-width: 130px;
    object-fit: contain;
}

.caso-card-body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.caso-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #22c55e;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.caso-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.caso-stat {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 4px;
    color: #ffffff;
}

.caso-stat.negative { color: #ef4444; }

.caso-desc {
    font-size: 0.73rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.35;
    margin: 0;
}

.casos-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

.casos-nav:hover { background: rgba(0,102,204,0.5); }
.casos-prev { left: 8px; }
.casos-next { right: 8px; }

/* Sin ::before — el hero ya termina en #07101f */

.gallery-strip > * { position: relative; z-index: 1; }

.gallery-strip-header {
    text-align: center;
    margin-bottom: 0;
    overflow: hidden;
    padding: 0 20px;
}

.gallery-strip-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
    opacity: 0;
}

.eyebrow-line {
    display: inline-block;
    width: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
}

.eyebrow-text {
    display: inline-block;
}

.gallery-strip-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.gallery-strip-accent {
    color: #7dd3fc;
    position: relative;
    display: inline-block;
}

.accent-underline {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #7dd3fc, #38bdf8);
    border-radius: 2px;
}

.anim-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px);
    will-change: transform, opacity;
}

@media (max-width: 768px) {
    .gallery-strip-title {
        font-size: 1.7rem;
    }
}

.hero-gallery-swiper {
    width: 100%;
    height: 320px;
    padding-bottom: 40px !important;
}

.hero-gallery-swiper .swiper-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-gallery-thumb {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 0 20px;
    background: transparent !important;
}

.hero-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0.9;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-gallery-thumb:hover img {
    transform: scale(1.1);
    opacity: 1;
}

.hero-gallery-thumb.no-filter img {
    filter: none;
}

.hero-gallery-pagination {
    bottom: 4px !important;
}

.hero-gallery-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    width: 7px;
    height: 7px;
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-gallery-pagination .swiper-pagination-bullet-active {
    background: var(--white);
    width: 20px;
    border-radius: 4px;
}

/* ==================== GALERÍA SECTION ==================== */
.galeria-section {
    padding: var(--spacing-2xl) 0;
    background: #0a0f1e;
    position: relative;
    overflow: hidden;
}

.galeria-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.galeria-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.galeria-section .section-header h2 {
    color: var(--white);
}

.galeria-section .section-subtitle {
    color: rgba(255, 255, 255, 0.65);
}

.galeria-carousel {
    position: relative;
    padding-bottom: 50px;
    margin-top: var(--spacing-xl);
}

.galeria-slide {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.galeria-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.galeria-carousel .swiper-slide-active .galeria-slide img,
.galeria-carousel .swiper-slide-next .galeria-slide img,
.galeria-carousel .swiper-slide-prev .galeria-slide img {
    transform: scale(1);
}

.galeria-carousel .swiper-slide:not(.swiper-slide-active) .galeria-slide {
    opacity: 0.5;
    transform: scale(0.92);
    transition: all 0.4s ease;
}

.galeria-carousel .swiper-slide-active .galeria-slide {
    opacity: 1;
    transform: scale(1);
}

.galeria-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.galeria-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}

.galeria-prev,
.galeria-next {
    color: var(--white);
    background: rgba(0, 102, 204, 0.6);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.galeria-prev:hover,
.galeria-next:hover {
    background: var(--primary);
}

.galeria-prev::after,
.galeria-next::after {
    font-size: 16px;
    font-weight: 800;
}

.galeria-instagram {
    text-align: center;
    margin-top: var(--spacing-xl);
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(253, 29, 29, 0.3);
}

.instagram-follow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(253, 29, 29, 0.45);
}

/* ==================== CLIENTES - SWIPER ==================== */
.clientes {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

.clientes-swiper-wrapper {
    position: relative;
    width: 100%;
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--gray-medium);
    border-bottom: 1px solid var(--gray-medium);
    margin-top: var(--spacing-lg);
}

.clientes-swiper {
    padding: 0 64px !important;
}

.cliente-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100px;
    cursor: pointer;
}

.cliente-slide img {
    max-height: 56px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.cliente-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}

.clientes-prev,
.clientes-next {
    color: var(--gray-dark) !important;
    width: 40px !important;
    height: 40px !important;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.clientes-prev:hover,
.clientes-next:hover {
    background: var(--primary);
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.35);
}

.clientes-prev::after,
.clientes-next::after {
    font-size: 14px !important;
    font-weight: 800;
}

.clientes-prev {
    left: 12px !important;
}

.clientes-next {
    right: 12px !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 1.5rem;
        --spacing-2xl: 2.5rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
        max-height: none;
        overflow: visible;
    }

    .nav-menu.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .logo-text {
        display: inline;
    }

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

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

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

    .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .servicios-wrapper {
        grid-template-columns: 1fr;
    }

    .nosotros-content {
        grid-template-columns: 1fr;
    }

    .nosotros-visual {
        height: 250px;
    }

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

    .contacto-wrapper {
        grid-template-columns: 1fr;
    }

    .mapa-container {
        min-height: 300px;
    }

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

    .hero-gallery-thumb {
        height: 90px;
    }

    .hero-gallery-thumb img {
        max-height: 80px;
        height: 80px;
    }

    .clientes-swiper {
        padding: 0 48px !important;
    }

    .cliente-slide img {
        max-height: 40px;
        max-width: 100px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .servicio-item {
        flex-direction: column;
        text-align: center;
    }

    .servicio-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 1.2rem;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.4rem; }

    .hero {
        min-height: 60vh;
        padding: var(--spacing-lg) 0;
    }

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

    .hero-tagline {
        font-size: 2.2rem;
    }

    .hero-desc {
        font-size: 1.1rem;
    }

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

    .nav-menu {
        gap: 0;
        top: 55px;
    }

    .nav-link {
        padding: var(--spacing-sm);
        display: block;
    }

    .stat-number {
        font-size: 2rem;
    }

    .servicio-card {
        padding: var(--spacing-md);
    }

    .floating-card {
        flex-direction: column;
        text-align: center;
    }

    .contacto-form {
        padding: var(--spacing-md);
    }

    .trabajo-form {
        padding: var(--spacing-md);
    }
}

/* ==================== ANIMACIONES ESPECIALES ==================== */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.aos-animate {
    animation-duration: 0.8s;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ==================== MARKETING DIGITAL ==================== */
.mkt-section {
    position: relative;
    background: #07101f;
    padding: 80px 0 var(--spacing-2xl);
    overflow: hidden;
}

#mktCanvas, #mktCanvas-m {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.mkt-section .container { position: relative; z-index: 1; }

/* Header */
.mkt-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 2;
}
.mkt-logo-wrap {
    display: flex;
    justify-content: center;
    padding: 0 0 24px;
    position: relative;
    z-index: 2;
}
.mkt-logo {
    display: block;
    max-width: 260px;
    height: auto;
}
.mkt-eyebrow {
    display: inline-block;
    color: #00cc66;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
    position: relative;
    padding: 0 28px;
}
.mkt-eyebrow::before,
.mkt-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 1.5px;
    background: #00cc66;
    animation: mktLineGrow 1.2s ease forwards 0.3s;
}
.mkt-eyebrow::before { right: 100%; transform: translateX(28px); transform-origin: right; }
.mkt-eyebrow::after  { left:  100%; transform: translateX(-28px); transform-origin: left; }
@keyframes mktLineGrow { to { width: 48px; } }

.mkt-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}
.mkt-word { display: inline-block; opacity: 0; }
.mkt-accent { color: #00cc66; }
.mkt-subtitle {
    color: rgba(255,255,255,0.55);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Stats */
.mkt-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-bottom: 72px;
    border-radius: 20px;
    overflow: hidden;
}
.mkt-stat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(0,204,102,0.15);
    padding: 40px 32px;
    text-align: center;
    opacity: 0;
    position: relative;
    transition: background 0.3s;
}
.mkt-stat:hover { background: rgba(0,204,102,0.06); }
.mkt-stat--center {
    border-left: 1px solid rgba(0,204,102,0.25);
    border-right: 1px solid rgba(0,204,102,0.25);
}
.mkt-stat-icon {
    width: 52px; height: 52px;
    background: rgba(0,204,102,0.12);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    border: 1px solid rgba(0,204,102,0.25);
}
.mkt-stat-icon svg { width: 24px; height: 24px; stroke: #ffffff; }
.mkt-stat-num {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #00cc66;
    line-height: 1;
    margin-bottom: 12px;
}
.mkt-stat-label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
}
.mkt-stat-sub {
    display: block;
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}

/* ── Video Cards ── */
.mkt-videos {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    margin: 56px auto 64px;
    max-width: 820px;
    position: relative;
}

.mkt-vcard {
    position: relative;
    width: 220px;
    height: 380px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 24px 64px rgba(0,0,0,0.55), 0 4px 16px rgba(0,0,0,0.3);
    opacity: 0;
    border: 1px solid rgba(255,255,255,0.08);
}

.mkt-vcard video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mkt-vcard-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.18) 45%,
        transparent 100%
    );
    pointer-events: none;
}

.mkt-vcard-tag {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,204,102,0.18);
    border: 1px solid rgba(0,204,102,0.45);
    color: #00cc66;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

/* Rotaciones diagonales */
.mkt-vcard-1 { transform: rotate(-4deg) translateY(20px); }
.mkt-vcard-2 { transform: rotate(0deg)  translateY(0px);  height: 420px; }
.mkt-vcard-3 { transform: rotate(4deg)  translateY(20px); }

@media (max-width: 900px) {
    .mkt-videos { gap: 12px; }
    .mkt-vcard  { width: 170px; height: 300px; }
    .mkt-vcard-2 { height: 330px; }
}
@media (max-width: 600px) {
    .mkt-videos {
        flex-direction: column;
        align-items: center;
    }
    .mkt-vcard,
    .mkt-vcard-2  { width: 80vw; height: 56vw; transform: none; }
}

/* Servicios título */
.mkt-services-title {
    text-align: center;
    margin-bottom: 40px;
}
.mkt-services-title span {
    color: rgba(255,255,255,1);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    padding: 0 24px;
}
.mkt-services-title span::before,
.mkt-services-title span::after {
    content: '';
    position: absolute;
    top: 50%; width: 40px; height: 1px;
    background: rgba(255,255,255,0.15);
}
.mkt-services-title span::before { right: 100%; }
.mkt-services-title span::after  { left:  100%; }

/* Grid de tarjetas */
.mkt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 72px;
}
.mkt-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(77,168,255,0.15);
    border-radius: 20px;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    cursor: default;
    display: flex;
    flex-direction: column;
}
.mkt-card-img {
    height: 150px; overflow: hidden; position: relative; flex-shrink: 0;
}
.mkt-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: .75; transition: transform .6s ease, opacity .4s;
}
.mkt-card:hover .mkt-card-img img { transform: scale(1.05); opacity: .9; }
.mkt-card-img::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, #030d1a, transparent 60%);
    opacity: .8;
}
.mkt-card-body { padding: 24px 28px 28px; flex: 1; }
.mkt-card:hover {
    border-color: rgba(0,204,102,0.4);
    transform: translateY(-6px);
}
.mkt-card-glow {
    position: absolute;
    top: -60px; left: -60px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(0,204,102,0.12) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.mkt-card:hover .mkt-card-glow { opacity: 1; }
.mkt-card-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: background 0.3s, border-color 0.3s;
    color: #ffffff;
}
.mkt-card:hover .mkt-card-icon {
    background: rgba(0,204,102,0.15);
    border-color: rgba(0,204,102,0.3);
}
.mkt-card-icon svg { width: 22px; height: 22px; stroke: #ffffff !important; color: #ffffff !important; transition: stroke 0.3s; }
.mkt-card:hover .mkt-card-icon svg { stroke: #ffffff !important; }
.mkt-card h4 {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.mkt-card p {
    color: rgba(255,255,255,0.5);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.mkt-card-tag {
    display: inline-block;
    background: rgba(0,102,204,0.2);
    color: #4da8ff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid rgba(77,168,255,0.2);
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.mkt-card:hover .mkt-card-tag {
    background: rgba(0,204,102,0.15);
    color: #00cc66;
    border-color: rgba(0,204,102,0.3);
}

/* CTA banner */
.mkt-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    background: none;
    border: none;
    border-radius: 0;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mkt-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,204,102,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.mkt-cta-lines {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}
.mkt-cta-lines span {
    display: block;
    height: 2px;
    width: 60px;
    background: linear-gradient(90deg, transparent, #00cc66);
    border-radius: 2px;
    transform-origin: left;
    transform: scaleX(0);
}
.mkt-cta-lines--right span {
    background: linear-gradient(90deg, #00cc66, transparent);
    transform-origin: right;
}
.mkt-cta-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}
.mkt-cta-content p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
    font-size: 1rem;
}
.mkt-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 30px rgba(220,39,67,0.4);
}
.mkt-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(220,39,67,0.55);
}

/* Responsive */
@media (max-width: 900px) {
    .mkt-stats { grid-template-columns: 1fr; gap: 12px; }
    .mkt-grid  { grid-template-columns: 1fr 1fr; }
    .mkt-cta   { flex-direction: column; gap: 24px; border: none !important; background: none !important; padding: 32px 20px; }
    .mkt-cta-lines { flex-direction: row; }
    .mkt-cta-lines span { width: 40px; height: 2px; }
    .mkt-cta-content h3 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        background: linear-gradient(90deg, #ffffff 0%, #4da8ff 30%, #00cc66 50%, #4da8ff 70%, #ffffff 100%);
        background-size: 250% auto;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: mkt-title-shimmer 4s linear infinite;
    }
    @keyframes mkt-title-shimmer {
        0%   { background-position: 0% center; }
        100% { background-position: 250% center; }
    }
    .mkt-cta-sub {
        background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        font-weight: 600;
        font-size: 0.95rem;
        letter-spacing: 0.04em;
        margin-bottom: 24px !important;
    }
    .mkt-cta-btn { display: inline-flex; align-items: center; gap: 8px; }
}
@media (max-width: 600px) {
    .mkt-grid { grid-template-columns: 1fr; }
    .mkt-stat { padding: 28px 20px; }
}

/* ==================== SWITCH AI CHAT WIDGET ==================== */

/* Marco del teléfono */
.sc-phone {
    width: 300px;
    height: 560px;
    background: #f0f4f8;
    border-radius: 36px;
    border: 3px solid #1a1a2e;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Versión fija en la sección orbital — flex child */
.sc-orbital {
    flex: 0 0 300px;
    align-self: center;
    z-index: 20;
}

/* Notch */
.sc-phone-top {
    background: #1a1a2e;
    height: 30px;
    border-radius: 33px 33px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sc-notch {
    width: 80px; height: 16px;
    background: #0d0d1a;
    border-radius: 0 0 12px 12px;
}
.sc-camera {
    width: 6px; height: 6px;
    background: #333;
    border-radius: 50%;
    position: absolute;
    right: calc(50% - 50px);
}

/* Header del chat */
.sc-header {
    background: linear-gradient(135deg, #0066CC, #004fa8);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.sc-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sc-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.sc-info { flex: 1; }
.sc-name { display: block; color: #fff; font-weight: 700; font-size: 0.88rem; }
.sc-status { display: flex; align-items: center; gap: 4px; color: rgba(255,255,255,0.8); font-size: 0.72rem; }
.sc-dot { width: 7px; height: 7px; background: #00e676; border-radius: 50%; animation: scPulse 2s infinite; }
@keyframes scPulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* Área de mensajes */
.sc-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}
.sc-messages::-webkit-scrollbar { width: 4px; }
.sc-messages::-webkit-scrollbar-thumb { background: #ccd; border-radius: 4px; }

/* Burbujas */
.sc-bubble {
    max-width: 82%;
    padding: 9px 13px;
    border-radius: 16px;
    font-size: 0.82rem;
    line-height: 1.5;
    animation: scFadeIn 0.25s ease;
}
@keyframes scFadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }
.sc-bubble.bot {
    background: #fff;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.sc-bubble.user {
    background: linear-gradient(135deg, #0066CC, #004fa8);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

/* Indicador de escritura */
.sc-typing {
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.sc-typing span {
    width: 7px; height: 7px;
    background: #0066CC;
    border-radius: 50%;
    animation: scBounce 1.2s infinite;
}
.sc-typing span:nth-child(2) { animation-delay: 0.2s; }
.sc-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes scBounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-7px)} }

/* Input */
.sc-input-area {
    padding: 8px 10px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #e0e4ee;
    flex-shrink: 0;
}
#scInput {
    flex: 1;
    border: 1.5px solid #dde2ee;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.82rem;
    outline: none;
    font-family: 'Inter', sans-serif;
    background: #f5f7ff;
    transition: border 0.2s;
}
#scInput:focus { border-color: #0066CC; }
#scSend {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #0066CC, #00A651);
    border: none; border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s;
    flex-shrink: 0;
}
#scSend:hover { transform: scale(1.1); }
#scSend svg { width: 16px; height: 16px; color: #fff; }

/* Barra de inicio */
.sc-home-bar {
    height: 22px;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sc-home-bar::after {
    content: '';
    width: 90px; height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

/* Tablet: phone más pequeño */
@media (max-width: 1100px) {
    .servicios-layout { gap: 20px; padding: 0 20px; }
    .sc-phone { width: 260px; height: 480px; }
    .sc-orbital { flex: 0 0 260px; }
}

/* Móvil: ocultar solo el orbital, mantener el phone */
@media (max-width: 900px) {
    .servicios-layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 20px 8px;
        gap: 0;
    }
    .orbital-scene { display: none; }
    .sc-phone.sc-orbital {
        flex: none;
        width: clamp(240px, 82vw, 300px);
        height: clamp(320px, 96vw, 420px);
        border-radius: 32px;
        margin-bottom: 24px;
    }
}

/* ==================== RESPONSIVE GLOBAL — OVERHAUL ==================== */

/* Elimina scroll horizontal en cualquier pantalla */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ─── 1100px: tablet landscape ─── */
@media (max-width: 1100px) {
    .hero-grid        { gap: 2rem; }
    .hero-tagline     { font-size: 2.6rem; }
    .mkt-title        { font-size: clamp(2.4rem, 4.5vw, 3.4rem); }
}

/* ─── 900px: tablet portrait ─── */
@media (max-width: 900px) {
    /* Hero: contenido single col */
    .hero-content     { padding-right: 0; }
    .hero-tagline     { font-size: 2.2rem; }
    .hero-desc        { font-size: 1.05rem; max-width: 100%; }
    .hero-logo        { max-width: 260px; }

    /* Stats en fila con wrap en lugar de columna */
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.2rem 2rem;
    }

    /* Servicios: canvases visibles en mobile */
    #serviciosCanvas,
    #serviciosShapesCanvas  { display: block; }

    /* Servicios mobile: oscuro al centro, vuelve a azul al final para fusión con cc-section */
    .servicios {
        background: linear-gradient(to bottom, #0066CC 0%, #07101f 20%, #07101f 78%, #0066CC 100%);
        padding: 56px 0 52px;
    }

    /* Mobile grid: gap y padding adecuados (columnas manejadas por auto-fit) */
    .svc-mobile-grid {
        gap: 12px;
        padding: 0 16px var(--spacing-lg);
        margin-top: 0;
    }

    /* Áreas: quitar degradado azul→oscuro (servicios ya termina oscuro en mobile) */
    .areas-section::before { display: none; }

    /* Sections */
    .areas-section    { padding: 64px 0; }
    .resultados-section,
    .mkt-section      { padding: 88px 0 64px; }

    /* Marketing title */
    .mkt-title        { font-size: 2.6rem; }

    /* Marketing stats: single col, cada stat más compacto */
    .mkt-stats        { grid-template-columns: 1fr; gap: 1px; border-radius: 16px; }
    .mkt-stat         { padding: 28px 32px; }

    /* Marketing videos: tamaño reducido */
    .mkt-vcard        { width: 160px; height: 280px; }
    .mkt-vcard-2      { height: 310px; }

    /* Resultados header */
    .resultados-title { font-size: 2.2rem; }
}

/* ─── 768px: mobile ─── */
@media (max-width: 768px) {
    /* Hero */
    .hero             { padding: 80px 0 50px; }
    .hero-logo        { max-width: 220px; margin: 0 auto var(--spacing-md); }
    .hero-tagline     { font-size: 2rem; text-align: center; }
    .hero-desc        { font-size: 1rem; text-align: center; }
    .hero-bg-woman    { height: auto; }
    .hero-stats       {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 2rem;
        border-top: 1px solid var(--gray-medium);
        padding-top: var(--spacing-md);
    }

    /* Gallery strip */
    .gallery-strip         { padding: 40px 0; }
    .gallery-strip-title   { font-size: 1.6rem; }
    .gallery-strip-header  { margin-bottom: 20px; }

    /* Marketing */
    .mkt-header       { text-align: center; }
    .mkt-title        { font-size: 2.2rem; }
    .mkt-subtitle     { font-size: 0.92rem; }
    .mkt-eyebrow      { justify-content: center; }
    .mkt-videos       { margin: 32px auto 44px; }

    /* Resultados */
    .resultados-header{ text-align: center; }
    .resultados-title { font-size: 1.9rem; }
    .resultados-grid  { gap: 12px; }
    .res-num          { font-size: 1.7rem; }

    /* Áreas header */
    .areas-header     { text-align: center; }

    /* Contacto */
    .contacto-wrapper { grid-template-columns: 1fr; }
    .mapa-container   { min-height: 280px; }
    .contacto-form,
    .trabajo-form     { padding: 24px 20px; }
    .form-row         { grid-template-columns: 1fr; }

    /* Footer: 2 cols en lugar de 3 */
    .footer-content   { grid-template-columns: repeat(2, 1fr); }
}

/* ─── 600px: mobile pequeño ─── */
@media (max-width: 600px) {
    /* Hero */
    .hero-tagline     { font-size: 1.75rem; letter-spacing: -0.5px; }
    .hero-desc        { font-size: 0.95rem; }
    .stat-value       { font-size: 1.5rem; }

    /* Marketing title */
    .mkt-title        { font-size: 1.9rem; }
    .mkt-stat-num     { font-size: 2rem; }
    .mkt-stat         { padding: 22px 24px; }
    .mkt-header       { margin-bottom: 36px; }

    /* Videos: más pequeños pero mantienen diagonal */
    .mkt-videos       { gap: 6px; padding: 0 8px; }
    .mkt-vcard        { width: 27vw; height: 46vw; border-radius: 14px; }
    .mkt-vcard-2      { height: 52vw; }
    .mkt-vcard-tag    { font-size: 0.55rem; padding: 3px 8px; bottom: 8px; }

    /* Resultados */
    .resultados-grid  { gap: 10px; }
    .res-card         { padding: 20px 16px; }

    /* Servicios mobile grid */
    .svc-mobile-grid  { gap: 10px; padding: 0 12px; }

    /* Footer: 1 col */
    .footer-body      { grid-template-columns: 1fr; }
    .footer-brand, .footer-nav, .footer-social { grid-column: auto; }
    .footer-content   { grid-template-columns: 1fr; gap: var(--spacing-md); }
}

/* ─── 480px: extra small ─── */
@media (max-width: 480px) {
    /* Hero */
    .hero-tagline     { font-size: 1.5rem; }
    .hero-logo        { max-width: 180px; }
    .hero-desc        { font-size: 0.9rem; line-height: 1.7; }

    /* Sections padding */
    .mkt-section,
    .resultados-section   { padding: 80px 0 48px; }
    .areas-section        { padding: 48px 0; }

    /* Marketing title */
    .mkt-title        { font-size: 1.7rem; }

    /* Videos: solo el central, ocupa más espacio */
    .mkt-vcard-1,
    .mkt-vcard-3      { display: none; }
    .mkt-vcard-2      {
        width: 78vw;
        height: 130vw;
        transform: none !important;
        border-radius: 20px;
    }
    .mkt-videos       { margin: 24px auto 36px; justify-content: center; }

    /* Resultados */
    .resultados-title { font-size: 1.6rem; }
    .res-num          { font-size: 1.5rem; }

    /* Navbar */
    .nav-logo img     { max-height: 36px; }

    /* Contact */
    .contacto-form    { padding: 20px 16px; }
}

/* ==================== MODELO DE TRABAJO ==================== */

.modelo-section {
    position: relative;
    overflow: hidden;
    background: #07101f;
    padding: 100px 0 90px;
}

#modeloCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.modelo-bg-mark {
    position: absolute;
    top: 50%;
    right: -1%;
    transform: translateY(-50%);
    font-size: clamp(80px, 18vw, 220px);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: rgba(255,255,255,0.028);
    pointer-events: none;
    z-index: 1;
    user-select: none;
    line-height: 0.85;
    font-family: 'Poppins', sans-serif;
}

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

/* ── Header ── */
.modelo-header {
    max-width: 680px;
    margin-bottom: 80px;
}

.modelo-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #00cc66;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.modelo-ey-line {
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #00cc66, #4da8ff);
    border-radius: 2px;
    transition: width 0.7s ease;
}

.modelo-title {
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
    display: block;
    font-family: 'Poppins', sans-serif;
}

.mw {
    display: inline-block;
    opacity: 0;
    transform: translateY(32px);
    will-change: transform, opacity;
}

.mw-blue { color: #4da8ff; }

.mw-underline {
    display: block;
    height: 4px;
    width: 0;
    background: linear-gradient(to right, #4da8ff, #00cc66);
    border-radius: 2px;
    margin-top: 10px;
}

.modelo-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    font-weight: 500;
    max-width: 600px;
}

/* ── Flow ── */
.modelo-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 60px;
    align-items: start;
}

/* Connecting line through badges */
.modelo-connector {
    position: absolute;
    top: 44px;
    left: calc(10% + 8px);
    right: calc(10% + 8px);
    height: 2px;
    z-index: 0;
    pointer-events: none;
}

.modelo-conn-track {
    position: relative;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: 2px;
    overflow: hidden;
}

.modelo-conn-line {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #00cc66 0%, #4da8ff 50%, #00cc66 100%);
    border-radius: 2px;
}

.modelo-conn-particle {
    position: absolute;
    top: 50%;
    left: -12px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px 3px rgba(77,168,255,0.8);
    opacity: 0;
}

/* ── Each step ── */
.modelo-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modelo-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

/* Badge — angular geometric shape */
.modelo-badge {
    width: 88px;
    height: 88px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
    opacity: 0;
    transform: scale(0.5);
    will-change: transform, opacity;
}

.modelo-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--badge-bg);
    clip-path: polygon(8% 0%, 92% 0%, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0% 92%, 0% 8%);
    z-index: 0;
    transition: filter 0.3s ease;
}

.modelo-badge::after {
    content: '';
    position: absolute;
    top: 6px; right: -6px;
    width: 88px;
    height: 88px;
    background: var(--badge-bg);
    clip-path: polygon(8% 0%, 92% 0%, 100% 8%, 100% 92%, 92% 100%, 8% 100%, 0% 92%, 0% 8%);
    z-index: -1;
    opacity: 0.25;
    filter: blur(6px);
}

.modelo-num {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    position: relative;
    z-index: 1;
    letter-spacing: -0.04em;
    font-family: 'Poppins', sans-serif;
}

/* Stem connecting badge to card */
.modelo-stem {
    width: 2px;
    height: 28px;
    background: var(--badge-bg);
    opacity: 0.4;
    flex-shrink: 0;
}

/* Step-specific colors via CSS vars */
.modelo-step[data-color="green"] {
    --badge-bg: #00cc66;
    --accent-color: #00cc66;
}

.modelo-step[data-color="blue"] {
    --badge-bg: #4da8ff;
    --accent-color: #4da8ff;
}

/* ── Card ── */
.modelo-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 2px solid var(--accent-color);
    border-radius: 0 0 16px 16px;
    padding: 22px 18px 26px;
    width: 100%;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
    will-change: transform, opacity;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.modelo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.modelo-step:hover .modelo-card {
    background: rgba(255,255,255,0.07);
    border-top-color: var(--accent-color);
    border-color: rgba(255,255,255,0.14);
    border-top-width: 2px;
}

.modelo-card-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-color);
    margin-bottom: 12px;
    opacity: 0.9;
}

.modelo-card-icon svg {
    width: 100%;
    height: 100%;
}

.modelo-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.modelo-step-desc {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.58);
    line-height: 1.65;
}

/* ── Resultado banner ── */
.modelo-resultado {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 0;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg,
        rgba(0,102,204,0.16) 0%,
        rgba(5,10,28,0.55) 55%,
        rgba(0,204,102,0.10) 100%);
    border: 1px solid rgba(77,168,255,0.28);
    box-shadow:
        0 0 64px rgba(0,102,204,0.22),
        0 0 120px rgba(0,204,102,0.09),
        0 20px 56px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.07);
}

/* Borde superior gradiente — línea de luz */
.modelo-resultado::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0066CC 0%, #00cc66 50%, #0066CC 100%);
    pointer-events: none;
    z-index: 2;
}

/* Fondo especular interior */
.modelo-resultado::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg,
        rgba(255,255,255,0.04) 0%,
        transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.modelo-res-lines {
    width: 5px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #0066CC, #00cc66);
    opacity: 0.7;
}

.modelo-res-lines span { flex: 1; }

.modelo-res-content {
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.modelo-res-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #00cc66;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modelo-res-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, #0066CC, #00cc66);
    border-radius: 1px;
}

.modelo-res-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.78;
    margin: 0;
    font-weight: 500;
    max-width: 860px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .modelo-flow        { grid-template-columns: repeat(5, 1fr); gap: 10px; }
    .modelo-badge       { width: 76px; height: 76px; }
    .modelo-badge::after { width: 76px; height: 76px; }
    .modelo-num         { font-size: 1.45rem; }
    .modelo-connector   { top: 38px; }
}

@media (max-width: 900px) {
    .modelo-section     { padding: 72px 0 64px; }
    .modelo-header      { margin-bottom: 52px; }
    .modelo-flow        { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .modelo-connector   { display: none; }
    .modelo-bg-mark     { display: none; }
}

@media (max-width: 600px) {
    .modelo-section     { padding: 80px 0 52px; }
    .modelo-flow        { grid-template-columns: 1fr; gap: 20px; }
    .modelo-step        { flex-direction: row; align-items: flex-start; gap: 0; }
    .modelo-badge-wrap  { flex-direction: row; align-items: flex-start; gap: 0; margin-right: 0; }
    .modelo-badge       { width: 64px; height: 64px; flex-shrink: 0; }
    .modelo-badge::after { width: 64px; height: 64px; }
    .modelo-num         { font-size: 1.2rem; }
    .modelo-stem        { display: none; }
    .modelo-card        { border-top: 1px solid rgba(255,255,255,0.07); border-left: 2px solid var(--accent-color); border-radius: 0 16px 16px 0; }
    .modelo-res-content { padding: 24px 22px; }
    .modelo-resultado   { border-radius: 18px; }
    .modelo-res-content p { font-size: 0.9rem; line-height: 1.7; }
    .modelo-header      { margin-bottom: 40px; }
}

@media (max-width: 480px) {
    .modelo-step        { flex-direction: column; align-items: center; }
    .modelo-stem        { display: block; width: 100%; height: 2px; }
    .modelo-card        { border-top: 2px solid var(--accent-color); border-left: 1px solid rgba(255,255,255,0.07); border-radius: 0 0 16px 16px; }
}

/* ==================== CALL CENTER + RECLUTAMIENTO ==================== */

.cc-section {
    position: relative;
    overflow: hidden;
    background: #0066CC;
    padding: 110px 0 100px;
}

/* Degradado superior: servicios azul → cc-section (misma base azul, fusión suave) */
.cc-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 220px;
    background: linear-gradient(to bottom, #0066CC 0%, rgba(0, 60, 160, 0.4) 60%, transparent 100%);
    z-index: 4;
    pointer-events: none;
}

/* Degradado inferior: azul CC → blanco (fusión con sección siguiente) */
.cc-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
    z-index: 6;
    pointer-events: none;
}

/* Canvas globo */
#ccCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Foto telefonista — difuminada sobre el azul */
.cc-bg {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.cc-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: blur(3px) saturate(0.4);
    opacity: 0.12;
    transform: scale(1.06);
}

.cc-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 60, 160, 0.45) 0%,
        rgba(0, 40, 130, 0.55) 50%,
        rgba(0, 30, 110, 0.68) 100%
    );
}

/* Layout principal */
.cc-wrap {
    position: relative;
    z-index: 4;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Logo blanco decorativo */
.cc-logo-mark {
    display: block;
    width: clamp(220px, 28vw, 380px);
    opacity: 0.92;
    margin: 60px auto 40px;
    filter: drop-shadow(0 6px 24px rgba(0,0,0,0.4));
}

/* ── Videos diagonales ── */
.cc-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.cc-videos {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
    perspective: 800px;
}

.cc-vcard {
    position: relative;
    width: 185px;
    height: 370px;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255,255,255,0.12);
}

.cc-vcard video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-vcard-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.1) 40%,
        transparent 70%
    );
}

.cc-vcard-tag {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Rotaciones diagonales — más dramáticas que marketing */
.cc-vcard-1 { transform: rotate(-8deg) translateY(36px); }
.cc-vcard-2 { transform: rotate(0deg)  translateY(0px); height: 460px; }
.cc-vcard-3 { transform: rotate(8deg)  translateY(36px); }

/* ── Contenido derecha ── */
.cc-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cc-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 22px;
}

.cc-ey-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00cc66;
    box-shadow: 0 0 10px 3px rgba(0,204,102,0.5);
    flex-shrink: 0;
}

/* Título con líneas animables individualmente */
.cc-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 24px;
    display: block;
}

.cc-tline {
    display: block;
    overflow: hidden;
}

.cc-tline-inner {
    display: block;
}

.cc-title-accent {
    font-style: normal;
    color: #fff;
    position: relative;
    display: inline-block;
}

.cc-title-accent::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(to right, #00cc66, #4da8ff);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease 0.8s;
}

.cc-section.is-visible .cc-title-accent::after {
    transform: scaleX(1);
}

.cc-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.75;
    margin-bottom: 20px;
    max-width: 480px;
    font-weight: 500;
}

/* Perks grid buttons */
.cc-perks-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 20px 0;
    width: 100%;
}
.cc-perk-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 12px 16px;
    cursor: default;
}
.cc-perk-btn strong {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Perks list */
.cc-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cc-perk {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    opacity: 1;
    transform: translateX(0);
}

.cc-perk-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 9px;
}

.cc-perk-icon svg {
    width: 100%;
    height: 100%;
}

.cc-perk div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 6px;
}

.cc-perk strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.cc-perk span {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.62);
    line-height: 1.5;
}

/* CTA */
.cc-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0055BB;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    align-self: flex-start;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 8px 28px rgba(0,0,0,0.25);
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(16px);
}

.cc-cta:hover {
    background: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.32);
}

.cc-cta-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
    stroke: #0055BB;
}

.cc-cta:hover .cc-cta-arrow {
    transform: translateX(4px);
}

/* ── Formulario candidatura ── */
.cc-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 480px;
}

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

.cc-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cc-form-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.cc-form input,
.cc-form select,
.cc-form textarea {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    padding: 12px 16px;
    width: 100%;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.cc-form input::placeholder,
.cc-form textarea::placeholder {
    color: rgba(255,255,255,0.38);
}

.cc-form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.55)' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

.cc-form select option {
    background: #0044aa;
    color: #fff;
}

.cc-form input:focus,
.cc-form select:focus,
.cc-form textarea:focus {
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.15);
}

.cc-form textarea {
    resize: none;
    line-height: 1.55;
}

/* Submit button */
.cc-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #0055BB;
    font-family: 'Poppins', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22);
    letter-spacing: 0.02em;
    margin-top: 4px;
}

.cc-submit:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

.cc-submit:disabled {
    opacity: 0.65;
    transform: none;
    cursor: not-allowed;
}

.cc-submit-icon {
    width: 17px;
    height: 17px;
    stroke: #0055BB;
    transition: transform 0.22s ease;
    flex-shrink: 0;
}

.cc-submit:hover .cc-submit-icon {
    transform: translateX(4px);
}

/* Loading spinner inside button */
.cc-submit.loading .cc-submit-text::after {
    content: '...';
}

/* Feedback message */
.cc-form-msg {
    font-size: 0.88rem;
    text-align: center;
    min-height: 1.2em;
    padding: 4px 0;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.cc-form-msg.success { color: #4dff9a; }
.cc-form-msg.error   { color: #ff7b7b; }

/* Responsive form */
@media (max-width: 900px) {
    .cc-form { max-width: 100%; }
}

@media (max-width: 480px) {
    .cc-form-row { grid-template-columns: 1fr; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .cc-wrap          { gap: 40px; padding: 0 24px; }
    .cc-vcard         { width: 160px; height: 320px; }
    .cc-vcard-2       { height: 400px; }
}

@media (max-width: 900px) {
    .cc-section       { padding: 80px 0 72px; }
    .cc-wrap          { grid-template-columns: 1fr; gap: 52px; }
    .cc-left          { order: 2; }
    .cc-right         { order: 1; }
    .cc-title         { font-size: clamp(2rem, 6vw, 2.8rem); }
    .cc-desc          { max-width: 100%; }
    .cc-cta           { align-self: center; }
    .cc-right         { text-align: center; }
    .cc-eyebrow       { justify-content: center; }
    .cc-perks         { align-items: flex-start; text-align: left; max-width: 460px; margin: 0 auto 40px; }
}

@media (max-width: 600px) {
    .cc-section       { padding: 64px 0 60px; }
    .cc-wrap          { padding: 0 20px; }
    .cc-vcard         { width: 28vw; height: 48vw; }
    .cc-vcard-2       { height: 58vw; }
    .cc-vcard-tag     { font-size: 0.55rem; padding: 4px 8px; }
    .cc-perks         { max-width: 100%; }
}

@media (max-width: 480px) {
    .cc-vcard-1,
    .cc-vcard-3       { display: none; }
    .cc-vcard-2       {
        width: 76vw;
        height: 128vw;
        transform: none !important;
        border-radius: 20px;
    }
    .cc-videos        { justify-content: center; }
}

/* ==================== POR QUÉ SWITCH + META ==================== */

.porq-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    padding: 100px 0 0;
}

.porq-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 220px;
    background: linear-gradient(to bottom, #07101f 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

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


/* Canvas — nodos muy suaves sobre blanco */
#porqCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

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

/* Transición inferior: blanco → oscuro footer */
.porq-footer-fade {
    position: relative;
    z-index: 1;
    display: none;
}

/* ── Slide 10: ¿Por qué Switch? ── */
.porq-block {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 72px;
    align-items: start;
    margin-bottom: 72px;
}

.porq-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0066CC;
    margin-bottom: 20px;
}

.porq-ey-line {
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #0066CC, #00A651);
    border-radius: 2px;
}

.porq-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #07101f;
    line-height: 1.1;
    margin: 0;
}

.porq-title-accent {
    color: #0066CC;
    position: relative;
}

.porq-title-accent::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(to right, #0066CC, #00A651);
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
}

.porq-section.is-visible .porq-title-accent::after {
    transform: scaleX(1);
    transition: transform 0.6s ease 0.5s;
}

/* 6-item grid */
.porq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.porq-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    border-right: 1px solid rgba(0,0,0,0.07);
    transition: background 0.25s ease;
}

.porq-item:nth-child(2n) { border-right: none; }
.porq-item:nth-child(5),
.porq-item:nth-child(6)  { border-bottom: none; }

.porq-item:hover {
    background: rgba(0,102,204,0.04);
}

.porq-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
}

.porq-icon svg {
    width: 100%;
    height: 100%;
}

.porq-icon--blue {
    background: rgba(0,102,204,0.1);
    color: #0066CC;
    border: 1px solid rgba(0,102,204,0.18);
}

.porq-icon--green {
    background: rgba(0,166,81,0.1);
    color: #00A651;
    border: 1px solid rgba(0,166,81,0.18);
}

.porq-item p {
    font-size: 0.92rem;
    color: #3a3a4a;
    line-height: 1.6;
    margin: 0;
    padding-top: 10px;
}

.porq-item p strong {
    color: #07101f;
    font-weight: 700;
}

/* ── Divisor interno ── */
.porq-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 80px;
}

.porq-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,102,204,0.2), transparent);
}

.porq-div-dot {
    flex: 0 !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50%;
    background: #0066CC;
    box-shadow: 0 0 12px 4px rgba(0,102,204,0.3);
}

/* ── Slide 11: Tu crecimiento es nuestra meta ── */
.meta-block {
    padding-bottom: 0;
}

.meta-header {
    text-align: center;
    margin-bottom: 60px;
}

.meta-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    color: #07101f;
    line-height: 1.1;
    margin: 0;
}

.meta-title-accent {
    color: #0066CC;
}

.meta-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: rgba(0,0,0,0.06);
    border-radius: 20px;
    overflow: hidden;
}

.meta-pillar {
    background: #fff;
    padding: 44px 36px 48px;
    position: relative;
    transition: background 0.3s ease;
}

.meta-pillar:hover {
    background: #f8fbff;
}

.meta-pillar-num {
    font-family: 'Poppins', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0,102,204,0.22);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
}

.meta-pillar-bar {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    margin-bottom: 20px;
}

.meta-pillar-bar--blue  { background: #0066CC; }
.meta-pillar-bar--green { background: #00A651; }

.meta-pillar-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #07101f;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.meta-pillar-desc {
    font-size: 0.93rem;
    color: #555566;
    line-height: 1.7;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .porq-block { grid-template-columns: 300px 1fr; gap: 48px; }
}

@media (max-width: 900px) {
    .porq-section     { padding: 72px 0 0; }
    .porq-block       { grid-template-columns: 1fr; gap: 36px; }
    .meta-pillars     { grid-template-columns: 1fr; gap: 2px; }
    .meta-pillar      { padding: 36px 28px; }
    .meta-title       { font-size: 2.4rem; }
    .porq-title       { font-size: 2.2rem; }
}

@media (max-width: 600px) {
    .porq-grid        { grid-template-columns: 1fr; }
    .porq-item        { border-right: none; }
    .porq-item:nth-child(5) { border-bottom: 1px solid rgba(0,0,0,0.07); }
    .meta-title       { font-size: 2rem; }
    .meta-pillar-num  { font-size: 3rem; }
    .meta-pillar      { padding: 28px 20px; }
    .porq-footer-fade { height: 70px; margin-top: 56px; }
}

/* ==================== ENCUÉNTRANOS ==================== */

.enc-section {
    position: relative;
    background: #ffffff;
    overflow: hidden;
    padding: 100px 0 0;
}

.enc-inner {
    position: relative;
    z-index: 2;
}

/* Fade hacia footer */
.enc-footer-fade {
    display: none;
}

/* Header */
.enc-header {
    margin-bottom: 56px;
}

.enc-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #0066CC;
    margin-bottom: 16px;
}

.enc-ey-line {
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #0066CC, #00A651);
    border-radius: 2px;
}

.enc-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4rem);
    font-weight: 800;
    color: #07101f;
    line-height: 1.05;
    margin: 0;
    overflow: hidden;
}

.enc-tword {
    display: inline-block;
    margin-right: 0.25em;
}

.enc-tword--accent { color: #0066CC; }

/* Layout */
.enc-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

/* Info cards */
.enc-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 2vw, 20px);
    align-items: stretch;
}

.enc-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f8faff;
    border: 1px solid rgba(0,102,204,0.1);
    border-radius: 16px;
    padding: 22px 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.enc-card:hover {
    transform: translateX(0) translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,102,204,0.1);
}

.enc-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
}

.enc-card-icon svg { width: 100%; height: 100%; }

.enc-icon--blue  { background: rgba(0,102,204,0.1); color: #0066CC; border: 1px solid rgba(0,102,204,0.15); }
.enc-icon--green { background: rgba(0,166,81,0.1);  color: #00A651; border: 1px solid rgba(0,166,81,0.15); }

.enc-card-body h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0066CC;
    margin-bottom: 6px;
}

.enc-card-body p {
    font-size: 0.9rem;
    color: #3a3a4a;
    line-height: 1.55;
    margin: 0;
}

.enc-card-body a {
    color: #3a3a4a;
    text-decoration: none;
    transition: color 0.2s;
}

.enc-card-body a:hover { color: #0066CC; }

/* Directions button */
.enc-directions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0066CC;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(0,102,204,0.3);
    margin-top: 4px;
    margin-bottom: 64px;
    grid-column: 1 / -1;
    justify-self: center;
}

.enc-directions svg {
    width: 16px; height: 16px;
    stroke: #fff;
    flex-shrink: 0;
}

.enc-directions:hover {
    background: #0055bb;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,102,204,0.4);
}

/* Map */
.enc-map-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.06),
        0 12px 40px rgba(0,102,204,0.12),
        0 0 0 1px rgba(0,102,204,0.08);
    height: 520px;
}

#enc-map {
    width: 100%;
    height: 100%;
}

/* Badge overlay on map */
.enc-map-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0,102,204,0.2);
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #07101f;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    z-index: 10;
}

.enc-map-badge svg {
    width: 16px; height: 16px;
    stroke: #0066CC;
    flex-shrink: 0;
}

/* Mapbox overrides */
.mapboxgl-ctrl-logo,
.mapboxgl-ctrl-attrib { display: none !important; }

/* Marker personalizado */
.enc-marker {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.enc-marker-dot {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: #0066CC;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 12px rgba(0,102,204,0.5);
    z-index: 2;
}

.enc-marker-pulse {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0,102,204,0.25);
    border-radius: 50%;
    animation: enc-pulse 2s ease-out infinite;
}

@keyframes enc-pulse {
    0%   { transform: translate(-50%,-50%) scale(0.4); opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(1.8); opacity: 0; }
}

/* Responsive */
@media (max-width: 1100px) {
    .enc-layout { grid-template-columns: 300px 1fr; gap: 28px; }
}

@media (max-width: 900px) {
    .enc-section      { padding: 72px 0 0; }
    .enc-layout       { grid-template-columns: 1fr; }
    .enc-map-wrap     { height: 400px; }
    .enc-title        { font-size: 2.6rem; }
    .enc-footer-fade  { height: 80px; margin-top: 56px; }
}

@media (max-width: 600px) {
    .enc-map-wrap     { height: 320px; border-radius: 16px; }
    .enc-title        { font-size: 2rem; }
    .enc-map-badge    { font-size: 0.75rem; padding: 8px 14px; }
}

/* ================================================================
   RESPONSIVE MASTER — Sistema definitivo Switch Contact Center
   Reemplaza todos los patches anteriores. Organizado por sección.
   Breakpoints: 900px | 768px | 600px | 480px | 360px
   ================================================================ */

/* Secciones y separadores exclusivos de móvil: ocultos en desktop */

/* ── Base global: evitar scroll horizontal en cualquier pantalla ── */
*, *::before, *::after { box-sizing: border-box; }
body, html { overflow-x: hidden; }

/* ================================================================
   DESKTOP HERO — rediseño primera pantalla (>900px)
   ================================================================ */
@media (min-width: 901px) {

    /* Navbar oculta en página principal, visible en páginas internas */
    .navbar { display: none !important; }
    .logo-img--color { display: none !important; }
    .logo-img--white { display: block !important; }
    /* Ocultar elementos exclusivos de mobile */
    .hero-mobile-img { display: none !important; }
    .page-inner .navbar { display: block !important; position: relative !important; top: auto !important; background: transparent !important; box-shadow: none !important; }
    .page-inner .nav-container::before { display: none !important; }
    .page-inner .nav-container { background: transparent !important; border: none !important; box-shadow: none !important; }
    .page-inner .nav-logo img { height: 52px !important; width: auto !important; }
    .page-inner .mkt-word { opacity: 1 !important; }
    .page-bolsa .navbar { background: #0066CC !important; }
    .page-bolsa .logo-img { filter: brightness(0) invert(1) !important; height: 72px !important; width: auto !important; }


    /* Hero: ocupa exactamente la ventana, sin padding */
    .hero {
        position: relative;
        height: 100vh;
        min-height: 100vh;
        padding: 0 !important;
        overflow: hidden;
        background-image: url('../fondo.png');
        background-repeat: no-repeat;
        background-position: center right;
        background-size: 100% auto;
    }

    /* Container: absoluto, llena todo el hero */
    .hero .container {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
        padding: 0;
        display: block;
    }

    /* Hero grid: mujer izq + contenido centro */
    .hero-grid {
        display: flex;
        width: 100%;
        height: 100%;
        align-items: center;
        justify-content: center;
        position: relative;
        padding-left: 33%;
        padding-right: 20%;
    }

    /* Mujer: oculta en desktop */
    .hero-content {
        display: none !important;
    }

    /* Ocultos */
    .hero-sell-tag { display: none !important; }
    .hero-image    { display: none !important; }
    .hrg-wrap      { display: none !important; }

    /* Contenido centro-izquierda */
    .hero-desktop-brand {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        text-align: left;
        position: relative;
        z-index: 4;
        max-width: 560px;
        width: 100%;
        transform: translateY(-1vh);
    }

    .hdb-logo {
        width: clamp(220px, 26vw, 360px);
        height: auto;
        margin-top: 0;
        margin-bottom: clamp(0.8rem, 2vh, 1.4rem);
        margin-left: 0;
        opacity: 0;
        display: block;
        pointer-events: none;
    }

    .hdb-eyebrow {
        font-family: 'Inter', sans-serif;
        font-size: clamp(0.65rem, 0.85vw, 0.8rem);
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #0066CC;
        margin-bottom: clamp(0.8rem, 2vh, 1.4rem);
        opacity: 0;
    }

    .hdb-title {
        font-family: 'Poppins', sans-serif;
        font-size: clamp(1.8rem, 2.7vw, 3.2rem);
        font-weight: 800;
        line-height: 1.05;
        color: #0d1117;
        margin: 0 0 clamp(0.6rem, 1.5vh, 1rem);
        letter-spacing: -0.02em;
    }

    .hdb-line {
        display: block;
        overflow: hidden;
        line-height: 1.15;
    }

    .hdb-w {
        display: block;
        transform: translateY(110%);
        opacity: 0;
    }

    .hdb-accent {
        font-family: 'Inter', sans-serif;
        font-size: clamp(0.7rem, 0.9vw, 0.85rem);
        font-weight: 700;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #0066CC;
        margin: clamp(0.4rem, 1vh, 0.8rem) 0 clamp(1.2rem, 3vh, 2rem);
        opacity: 0;
    }

    .hdb-pills {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        margin-top: 1.5rem;
        margin-bottom: clamp(1.2rem, 3vh, 2rem);
        opacity: 0;
        justify-content: flex-start;
    }

    .hdb-pill {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-family: 'Inter', sans-serif;
        font-size: clamp(0.72rem, 0.88vw, 0.84rem);
        font-weight: 600;
        padding: 9px 18px;
        border-radius: 50px;
        letter-spacing: 0.02em;
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
        color: #1a2a40;
        background: rgba(255,255,255,0.92);
        border: 1px solid rgba(255,255,255,0.6);
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
        transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
    }
    .hdb-pill svg {
        width: 15px; height: 15px;
        stroke: #0066CC;
        fill: none;
        flex-shrink: 0;
    }
    .hdb-pill svg[fill="currentColor"] {
        fill: #0066CC;
        stroke: none;
    }
    .hdb-pill:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.13);
        background: #ffffff;
    }

    /* Botones CTA en fila */
    .hdb-ctas {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        opacity: 0;
        width: 100%;
        margin-top: 0;
    }

    .hdb-cta {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #0066CC;
        color: #fff;
        font-family: 'Poppins', sans-serif;
        font-size: clamp(0.88rem, 1.1vw, 1rem);
        font-weight: 700;
        padding: 14px 34px;
        border-radius: 50px;
        text-decoration: none;
        box-shadow: 0 8px 32px rgba(0,102,204,0.32);
        transition: transform 0.22s, box-shadow 0.22s;
    }
    .hdb-cta svg {
        width: 18px; height: 18px;
        transition: transform 0.22s;
    }
    .hdb-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 42px rgba(0,102,204,0.42);
    }
    .hdb-cta:hover svg { transform: translateX(5px); }

    .hdb-cta-secondary {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: rgba(255,255,255,0.7);
        color: #1a2a40;
        font-family: 'Poppins', sans-serif;
        font-size: clamp(0.88rem, 1.1vw, 1rem);
        font-weight: 700;
        padding: 13px 30px;
        border-radius: 50px;
        border: 2px solid rgba(26,42,64,0.25);
        text-decoration: none;
        backdrop-filter: blur(4px);
        transition: transform 0.22s, border-color 0.22s, background 0.22s;
    }
    .hdb-cta-secondary svg {
        width: 18px; height: 18px;
        transition: transform 0.22s;
    }
    .hdb-cta-secondary:hover {
        transform: translateY(-2px);
        border-color: #0066CC;
        color: #0066CC;
        background: rgba(255,255,255,0.9);
    }
    .hdb-cta-secondary:hover svg { transform: translateX(5px); }

    /* Texto oculto — solo la mujer a la izquierda */
    .hero-logo    { display: none !important; }
    .hero-tagline { display: none !important; }
    .hero-desc    { display: none !important; }

    /* Wrapper: se pega a los cuatro bordes de hero-content */
    .hero-woman-wrap {
        display: block;
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
    }

    /* Imagen: completa, sin recorte, sin distorsión */
    .hero-bg-woman {
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
        opacity: 1;
        -webkit-mask-image: none;
        mask-image: none;
        display: block;
        max-height: none;
    }

    /* Botón WhatsApp centrado abajo */
    .hero-woman-caption {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0; right: 0;
        bottom: clamp(28px, 5vh, 56px);
        z-index: 3;
    }
    .hero-wa-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #0066CC;
        color: #fff;
        font-family: 'Poppins', sans-serif;
        font-size: 1.05rem;
        font-weight: 700;
        padding: 14px 36px;
        border-radius: 50px;
        text-decoration: none;
        box-shadow: 0 6px 28px rgba(0,102,204,0.45);
        opacity: 1;
        animation: none;
    }

    /* Título centrado justo al pie de la ola */
    .gallery-strip { padding: 20px 0 28px; }

    /* Layout dos columnas: carrusel izq, texto der */
    .gallery-strip .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 40px;
    }
    .hero-gallery-swiper { order: 2; }
    .gallery-strip-header {
        order: 1;
        text-align: center;
    }
    .gallery-strip-eyebrow { justify-content: center; }
    .gallery-strip-title { text-align: center; }

}

/* ================================================================
   900px — Tablet portrait / phablet grande
   ================================================================ */
@media (max-width: 900px) {

    /* NAVBAR — visible en móvil */
    .navbar {
        display: flex !important;
        background: #ffffff !important;
        box-shadow: 0 1px 10px rgba(0,0,0,0.08) !important;
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;
        margin: 0 !important;
        z-index: 1000 !important;
        height: 60px !important;
        padding: 0 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        animation: none !important;
        pointer-events: all !important;
    }
    .nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        background: transparent !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        animation: none !important;
    }
    /* Eliminar el borde gradiente pill */
    .nav-container::before { display: none !important; }

    .logo-img--color { display: block !important; height: 38px !important; width: auto !important; filter: none !important; opacity: 1 !important; }
    .logo-img--white { display: none !important; }
    body:not(.page-dark) .logo-img--color { filter: none !important; }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
        padding: 4px;
    }
    .nav-toggle span {
        display: block;
        width: 24px;
        height: 2.5px;
        background: #0066CC;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0; right: 0;
        background: rgba(255, 255, 255, 0.65);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid rgba(255,255,255,0.4);
        box-shadow: 0 8px 32px rgba(0,0,0,0.08);
        flex-direction: row;
        flex-wrap: wrap;
        gap: 4px;
        padding: 12px 16px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    }
    .nav-menu.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }
    .nav-menu li { list-style: none; }
    .nav-link {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 8px 12px !important;
        color: #0f172a !important;
        font-size: 0.72rem;
        font-weight: 600;
        border-radius: 12px;
        background: rgba(255,255,255,0.5);
        border: 1px solid rgba(0,102,204,0.08);
        transition: background 0.2s;
        text-decoration: none;
        white-space: nowrap;
    }
    .nav-link:hover { background: rgba(0,102,204,0.08) !important; }
    .nav-link-icon {
        width: 30px; height: 30px;
        border-radius: 8px;
        background: rgba(0,102,204,0.08);
        display: flex; align-items: center; justify-content: center;
        color: #0066CC;
    }
    .nav-link-icon svg { width: 15px; height: 15px; }
    .nav-link-text { font-size: 0.68rem; }
    .nav-link-arrow { display: none; }

    .hrg-wrap       { display: none !important; }

    /* HERO — sin padding extra, navbar sticky ya no necesita compensación */
    .hero { padding: 0; min-height: auto; background: #fff; }
    body.page-dark section:first-of-type { padding-top: 0 !important; }

    /* Hero grid: columna única */
    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Eliminar fondo punteado del hero en mobile */
    .hero::before { display: none !important; }
    #heroBgCanvas  { display: none !important; }

    /* ── Animaciones de entrada mobile ── */
    @keyframes m-fadeDown  { from { opacity:0; transform:translateY(-16px); } to { opacity:1; transform:translateY(0); } }
    @keyframes m-fadeUp    { from { opacity:0; transform:translateY(24px);  } to { opacity:1; transform:translateY(0); } }
    @keyframes m-fadeIn    { from { opacity:0; }                              to { opacity:1; } }
    @keyframes m-slideRight{ from { opacity:0; transform:translateX(32px); } to { opacity:1; transform:translateX(0); } }

    .navbar          { animation: m-fadeDown  0.5s ease-out 0s    both; }
    .hero-mobile-img { animation: m-fadeIn    0.7s ease-out 0.2s  both; }
    .hero-mobile-compu { animation: m-slideRight 0.7s cubic-bezier(.22,1,.36,1) 0.5s both; }
    .hdb-eyebrow     { animation: m-fadeUp    0.5s ease-out 0.45s both; }
    .hdb-title       { animation: m-fadeUp    0.6s ease-out 0.6s  both; }
    .hdb-accent      { animation: m-fadeUp    0.5s ease-out 0.75s both; }
    .hdb-ctas        { animation: m-fadeUp    0.5s ease-out 0.9s  both; }

    /* Imagen mobile: chica más ancha, menos alta */
    .hero-mobile-img {
        order: 1;
        width: 100%;
        height: 75vw;
        max-height: 400px;
        background: url('../fondo.png') 2% -60px / 210% auto no-repeat;
        background-color: #fff;
        margin-top: 0;
        position: relative;
    }
    /* Mockup laptop+phone posicionado a la derecha */
    .hero-mobile-compu {
        position: absolute;
        right: -10px;
        top: 10%;
        width: 48%;
        height: auto;
        z-index: 2;
        pointer-events: none;
        opacity: 0.75;
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    }

    /* Degradado blanco en la parte inferior para fusionar con el texto */
    .hero-mobile-img::after {
        content: '';
        position: absolute;
        bottom: 0; left: 0; right: 0;
        height: 50%;
        background: linear-gradient(to bottom, transparent, #ffffff);
        pointer-events: none;
    }

    /* Hero sin espacio arriba */
    .hero { margin-top: 0 !important; }
    .hero .container { padding: 0 !important; margin: 0 !important; }
    .hero-grid { margin: 0 !important; padding: 0 !important; gap: 0 !important; }

    /* Ocultar hero-content (mujer desktop) en mobile */
    .hero-content   { display: none !important; }
    .hero-bg-woman  {
        position: relative;
        top: auto; left: auto;
        width: 100%;
        height: auto;
        max-height: none !important;
        object-fit: contain;
        object-position: top center;
        opacity: 1;
        -webkit-mask-image: none !important;
        mask-image: none !important;
        display: block !important;
        margin: 0 auto;
    }
    .hero-woman-wrap { position: relative; overflow: hidden; }
    .hero-woman-caption { display: none !important; visibility: hidden !important; }
    .hero-wa-btn    { display: none !important; visibility: hidden !important; }
    .hero-logo      { display: none !important; }
    .hero-tagline   { display: none !important; }
    .hero-desc      { display: none !important; }

    /* hero-desktop-brand: visible en móvil, centrado */
    .hero-desktop-brand {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        order: 2;
        padding: 24px 24px 16px;
        background: #ffffff;
    }
    .hdb-logo       { display: none !important; }
    .hdb-eyebrow    { font-size: 0.72rem; letter-spacing: 0.12em; color: #0066CC; margin-bottom: 12px; }
    .hdb-title      { font-size: clamp(1.75rem, 7vw, 2.4rem); line-height: 1.18; color: #0f172a; margin-bottom: 12px; }
    .hdb-w          { opacity: 1 !important; transform: none !important; }
    .hdb-accent     { font-size: 0.8rem; letter-spacing: 0.1em; color: #64748b; margin-bottom: 20px; }
    .hdb-ctas       { display: flex; justify-content: center; }
    .hdb-cta        {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #0066CC;
        color: #fff;
        border-radius: 50px;
        padding: 14px 32px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
    }

    /* Sell tag: ocultar en móvil */
    .hero-sell-tag  { display: none !important; }

    /* Mockup: último */
    .hero-image     { order: 3; display: flex !important; justify-content: center; padding: 0 16px 24px; }
    .hero-vcards, .vcard-1, .vcard-2, .vcard-3,
    .hero-visual-col { display: none !important; }

    .hero-actions   { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .hero-stats     { display: none; }
    #heroBgCanvas   { display: none; }
    /* Casos de éxito compactos en móvil */
    .hrg-wrap       { background: none; border: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 16px 0 0; }
    .hrg-grid       { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .hrg-card       { padding: 12px 10px; min-height: 88px; }
    .hrg-num        { font-size: 1.2rem; }
    .hrg-metric     { font-size: 0.58rem; }
    .hrg-desc       { display: none; }
    .hrg-logo       { top: 10px; right: 10px; max-height: 50px; max-width: 96px; }
    .hrg-title      { font-size: 1.3rem; }
    .hrg-eyebrow    { justify-content: center; font-size: 0.62rem; }

    /* Gallery strip oculta en mobile */
    .gallery-strip { display: none !important; }

    /* Visítanos: 3 cards iguales en una fila, ancho completo */
    .enc-info {
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
    }
    .enc-info {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        align-items: stretch !important;
    }
    .enc-info .enc-card {
        height: 100% !important;
        box-sizing: border-box !important;
        justify-content: flex-start !important;
    }
    .enc-card {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        padding: 14px 6px !important;
        gap: 6px !important;
        min-height: 140px !important;
        height: 100% !important;
        box-sizing: border-box !important;
    }
    .enc-card-icon { width: 34px !important; height: 34px !important; flex-shrink: 0 !important; }
    .enc-card-body { width: 100% !important; }
    .enc-card-body h4 { font-size: 0.7rem !important; margin-bottom: 4px !important; }
    .enc-card-body p, .enc-card-body a { font-size: 0.65rem !important; line-height: 1.4 !important; word-break: break-word !important; }

    /* Carousel casos de éxito — solo mobile */
    .mobile-casos-section { display: block !important; }

    /* ── Marketing Digital mobile ── */
    .page-dark.page-inner .mkt-section { padding-top: 80px !important; }

    /* ── Marketing Digital: navbar transparente en mobile ── */
    .page-dark.page-inner .navbar {
        background: transparent !important;
        box-shadow: none !important;
    }
    .page-dark.page-inner .logo-img--color { display: none !important; }
    .page-dark.page-inner .logo-img--white { display: block !important; filter: none !important; }
    .page-dark.page-inner .nav-toggle span { background: #ffffff !important; }

    /* ── Bolsa de trabajo mobile ── */
    .page-bolsa .cc-section { padding: 24px 0 40px !important; min-height: 100vh !important; }
    .page-bolsa .cc-wrap {
        grid-template-columns: 1fr !important;
        padding: 0 20px !important;
        gap: 0 !important;
        max-width: 100% !important;
    }
    .page-bolsa .cc-left {
        display: flex !important;
        order: 2 !important;
        width: 100% !important;
        align-items: center !important;
        flex-direction: column !important;
    }
    .page-bolsa .cc-logo-mark { width: 160px !important; margin: 24px auto 20px !important; }
    .page-bolsa .cc-videos { gap: 10px !important; }
    .page-bolsa .cc-vcard { width: 28vw !important; max-width: 120px !important; }
    .page-bolsa .cc-right {
        order: 1 !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 !important;
    }
    .page-bolsa .cc-eyebrow { justify-content: center !important; }
    .page-bolsa .cc-title { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; }
    .page-bolsa .cc-desc { font-size: 0.88rem !important; }
    .page-bolsa .cc-perks-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .page-bolsa .cc-perk-btn { padding: 12px 10px !important; font-size: 0.8rem !important; }
    .page-bolsa .cc-form-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
    .page-bolsa .cc-form { gap: 12px !important; }
    .page-bolsa .cc-form input,
    .page-bolsa .cc-form select,
    .page-bolsa .cc-form textarea {
        font-size: 0.9rem !important;
        padding: 12px 14px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .page-bolsa .cc-submit { width: 100% !important; justify-content: center !important; }

    /* Ola divisora y servicios: sin espacio extra en mobile */
    .svc-wave-bottom { display: none !important; }
    .servicios { padding: 24px 0 !important; margin-top: 0 !important; }
    .stitch-svc-wrapper { padding: 1rem 1rem 2rem !important; }

    /* Animaciones sección servicios mobile */
    .svc-badge-pill,
    .stitch-svc-header,
    .stitch-iphone-aside,
    .stitch-glass-card { opacity: 0; transform: translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
    .svc-badge-pill.m-visible     { opacity: 1; transform: translateY(0); transition-delay: 0s; }
    .stitch-svc-header.m-visible  { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
    .stitch-iphone-aside.m-visible{ opacity: 1 !important; transform: translateY(0) !important; transition-delay: 0.2s; }
    .stitch-glass-card.m-visible  { opacity: 1; transform: translateY(0); }
    .stitch-glass-card:nth-child(1).m-visible { transition-delay: 0.15s; }
    .stitch-glass-card:nth-child(2).m-visible { transition-delay: 0.25s; }
    .stitch-glass-card:nth-child(3).m-visible { transition-delay: 0.35s; }
    .stitch-glass-card:nth-child(4).m-visible { transition-delay: 0.45s; }
    .stitch-glass-card:nth-child(5).m-visible { transition-delay: 0.55s; }
    .stitch-glass-card:nth-child(6).m-visible { transition-delay: 0.65s; }

    /* Cards: 2 columnas en mobile */
    .stitch-svc-layout {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1.5rem !important;
    }
    /* iPhone chat: visible en mobile, arriba de las cards */
    .stitch-iphone-aside {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        order: -1 !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        flex-shrink: 0 !important;
    }
    .stitch-iphone-frame {
        width: 260px !important;
        height: 520px !important;
        border-radius: 2rem !important;
    }
    .stitch-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .stitch-glass-card { border-radius: 1rem !important; }
    .stitch-card-img-wrap { height: 7rem !important; }
    .stitch-card-body { padding: 0.75rem !important; }
    .stitch-card-body h3 { font-size: 0.85rem !important; margin-bottom: 0.25rem !important; }
    .stitch-card-body p { font-size: 0.72rem !important; margin-bottom: 0.5rem !important; }
    .stitch-card-icon { width: 1.8rem !important; height: 1.8rem !important; margin-bottom: 0.5rem !important; }
    .stitch-card-icon svg { width: 0.9rem !important; height: 0.9rem !important; }

    /* GALLERY STRIP */
    .gallery-strip         { padding: clamp(24px, 5vw, 40px) 0; margin-top: -60px; position: relative; z-index: 2; }
    .gallery-strip::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, transparent, #0066CC); pointer-events: none; }
    .gallery-strip-title   { font-size: clamp(1.2rem, 3.8vw, 1.8rem); line-height: 1.3; }
    .gallery-strip-eyebrow { font-size: 0.75rem; letter-spacing: 0.12em; margin-bottom: 8px; opacity: 1 !important; color: #ffffff; }
    .eyebrow-line          { width: 30px !important; background: rgba(255,255,255,0.8) !important; }
    .hero-gallery-thumb                  { height: 120px; display: flex; align-items: center; justify-content: center; }
    .hero-gallery-thumb img              { max-height: 90px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
    .hero-gallery-card                   { height: auto; padding: 0; }
    .hero-gallery-card img               { width: 100%; height: auto; object-fit: contain; border-radius: 12px; display: block; }
    .hero-gallery-card--2x img           { width: 200%; transform: translateX(-25%); }
    .hero-gallery-pagination             { display: none; }
    .hero-gallery-swiper                 { padding-bottom: 0 !important; }

    /* SERVICIOS */
    .servicios { padding: clamp(48px, 9vw, 80px) 0; }
    .servicios .section-header h2  { font-size: clamp(1.6rem, 4.5vw, 2.2rem); }
    .servicios .section-subtitle   { font-size: clamp(0.85rem, 2.5vw, 1rem); }
    .servicios-layout {
        flex-direction: column;
        align-items: center;
        padding: 0 clamp(12px, 4vw, 20px) clamp(28px, 6vw, 48px);
        gap: 0;
    }
    .orbital-scene { display: none; }
    .sc-phone.sc-orbital {
        flex: none;
        width: clamp(248px, 74vw, 290px);
        height: clamp(468px, 140vw, 540px);
        border-radius: 36px;
        margin-bottom: 32px;
        box-shadow:
            0 0 0 1px rgba(0,102,204,0.25),
            0 0 40px rgba(0,102,204,0.35),
            0 0 80px rgba(0,166,81,0.18),
            0 28px 64px rgba(0,0,0,0.55);
        animation: phoneFloat 4s ease-in-out infinite;
    }
    @keyframes phoneFloat {
        0%, 100% { transform: translateY(0px); }
        50%       { transform: translateY(-10px); }
    }
    .svc-mobile-grid { width: 100%; gap: clamp(10px, 2.5vw, 14px); padding: 0; margin-top: clamp(16px, 4vw, 28px); grid-template-columns: repeat(2, 1fr) !important; }
    .svc-mobile-grid .svc-m-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 6px); margin: 0 auto; }

    /* Marketing stats — 2 columnas + última centrada */
    .mkt-stats { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .mkt-stats .mkt-stat:last-child { grid-column: 1 / -1; max-width: calc(50% - 6px); margin: 0 auto; }
    .svc-m-card     { padding: clamp(14px, 3.5vw, 22px) clamp(12px, 3vw, 18px); border-radius: 14px; }
    .svc-m-ico      { width: clamp(32px, 8vw, 42px); height: clamp(32px, 8vw, 42px); border-radius: 9px; margin-bottom: 8px; }
    .svc-m-ico svg  { width: 18px; height: 18px; }
    .svc-m-card h4  { font-size: clamp(0.8rem, 2.4vw, 0.95rem); margin-bottom: 4px; }
    .svc-m-card p   { font-size: clamp(0.72rem, 2.1vw, 0.82rem); }

    /* MODELO — 2 columnas compactas en móvil */
    .modelo-flow        { grid-template-columns: 1fr 1fr !important; gap: 12px 10px !important; }
    .modelo-step        { flex-direction: column !important; align-items: center !important; }
    .modelo-badge-wrap  { flex-direction: column !important; align-items: center !important; margin-right: 0 !important; }
    .modelo-badge       { width: 54px !important; height: 54px !important; }
    .modelo-badge::after { width: 54px !important; height: 54px !important; }
    .modelo-num         { font-size: 1rem !important; }
    .modelo-stem        { display: block !important; width: 100% !important; height: 2px !important; }
    .modelo-card        { border-top: 2px solid var(--accent-color) !important; border-left: 1px solid rgba(255,255,255,0.07) !important; border-radius: 0 0 14px 14px !important; padding: 14px 12px 16px !important; }
    .modelo-card-icon   { width: 20px !important; height: 20px !important; margin-bottom: 8px !important; }
    .modelo-step-title  { font-size: 0.82rem !important; margin-bottom: 5px !important; }
    .modelo-step-desc   { font-size: 0.7rem !important; line-height: 1.45 !important; }

    /* MARKETING — cards en 2 columnas compactas */
    .mkt-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-bottom: 40px !important;
    }
    .mkt-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }
    .mkt-card-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 9px !important;
        margin-bottom: 10px !important;
    }
    .mkt-card-icon svg { width: 16px !important; height: 16px !important; stroke: #ffffff !important; }
    .mkt-card h4  { font-size: 0.82rem !important; margin-bottom: 6px !important; }
    .mkt-card p   { font-size: 0.72rem !important; line-height: 1.5 !important; margin-bottom: 10px !important; }
    .mkt-card-tag { font-size: 0.6rem !important; padding: 3px 9px !important; letter-spacing: 0.4px !important; }
    .mkt-services-title span { font-size: 0.68rem !important; }

    /* MARKETING — 3 videos en fila diagonal (sobreescribe bloques internos) */
    .mkt-vcard-1,
    .mkt-vcard-3    { display: block !important; }
    .mkt-videos     { flex-direction: row !important; align-items: flex-end; gap: clamp(6px, 2vw, 12px) !important; margin: 20px auto 32px !important; justify-content: center; }
    .mkt-vcard-1    { width: clamp(26vw, 28vw, 116px) !important; height: clamp(44vw, 50vw, 210px) !important; transform: rotate(-4deg) translateY(14px) !important; border-radius: 16px; }
    .mkt-vcard-2    { width: clamp(26vw, 28vw, 116px) !important; height: clamp(54vw, 60vw, 252px) !important; transform: none !important; border-radius: 16px; }
    .mkt-vcard-3    { width: clamp(26vw, 28vw, 116px) !important; height: clamp(44vw, 50vw, 210px) !important; transform: rotate(4deg) translateY(14px) !important; border-radius: 16px; }

    /* ÁREAS */
    .areas-section  { padding: clamp(40px, 8vw, 72px) 0; }
    .areas-title    { font-size: clamp(1.4rem, 4.5vw, 2.2rem); line-height: 1.2; }
    .areas-subtitle { font-size: clamp(0.84rem, 2.4vw, 1rem); }
    .areas-header   { margin-bottom: clamp(20px, 4vw, 32px); }
    .areas-grid     { grid-template-columns: 1fr; gap: clamp(14px, 3vw, 24px); }
    .area-card      { transform: none; }
    .areas-union    { display: none; }
    .area-card-inner { padding: clamp(18px, 4vw, 28px); }
    .area-title     { font-size: clamp(1.1rem, 3.5vw, 1.5rem); }
    .area-desc      { font-size: clamp(0.82rem, 2.3vw, 0.95rem); }
    .area-list li   { font-size: clamp(0.82rem, 2.3vw, 0.92rem); }
    .area-tag       { font-size: 0.68rem; padding: 3px 10px; }

    /* RESULTADOS */
    .resultados-section  { padding: clamp(40px, 8vw, 72px) 0; }
    .resultados-title    { font-size: clamp(1.4rem, 4.5vw, 2.2rem); line-height: 1.25; }
    .resultados-subtitle { font-size: clamp(0.84rem, 2.4vw, 1rem); }
    .resultados-grid     { gap: clamp(10px, 2.5vw, 16px); }
    .res-card            { padding: clamp(14px, 3vw, 22px) clamp(12px, 3vw, 18px) 0; border-radius: 14px; }
    .res-card-top        { flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; }
    .res-logo            { height: clamp(28px, 7vw, 38px); }
    .res-logo img        { max-height: clamp(28px, 7vw, 38px); max-width: clamp(80px, 22vw, 110px); }
    .res-num             { font-size: clamp(1.4rem, 4vw, 2rem); }
    .res-unit            { font-size: clamp(0.9rem, 2.5vw, 1.1rem); }
    .res-label           { font-size: clamp(0.58rem, 1.6vw, 0.68rem); }
    .res-desc            { font-size: clamp(0.76rem, 2.2vw, 0.88rem); line-height: 1.55; }
    .res-card:nth-child(1) .res-logo img,
    .res-card:nth-child(5) .res-logo img,
    .res-card:nth-child(6) .res-logo img { max-height: clamp(36px, 9vw, 50px); max-width: clamp(100px, 26vw, 130px); }
    .res-card-bottom     { font-size: clamp(0.72rem, 2vw, 0.82rem); }

    /* CC SECTION */
    .cc-section  { padding: clamp(48px, 9vw, 80px) 0; }
    .cc-wrap     { grid-template-columns: 1fr; gap: clamp(32px, 7vw, 52px); padding: 0 clamp(12px, 4vw, 24px); }
    .cc-left     { order: 2; }
    .cc-right    { order: 1; text-align: center; }
    .cc-eyebrow  { justify-content: center; }
    .cc-title    { font-size: clamp(1.8rem, 5.5vw, 2.8rem); }
    .cc-desc     { max-width: 100%; }
    .cc-perks    { align-items: flex-start; text-align: left; max-width: clamp(280px, 80vw, 460px); margin: 0 auto clamp(24px, 5vw, 40px); }
    .cc-vcard    { width: clamp(28vw, 32vw, 160px); height: clamp(48vw, 54vw, 320px); }
    .cc-vcard-2  { height: clamp(58vw, 64vw, 400px); }

    /* ENCUÉNTRANOS */
    .enc-section    { padding: clamp(48px, 9vw, 72px) 0 0; }
    .enc-layout     { grid-template-columns: 1fr; }
    .enc-map-wrap   { height: clamp(280px, 55vw, 400px); }
    .enc-title      { font-size: clamp(1.8rem, 5.5vw, 2.6rem); }
    .enc-directions { width: fit-content !important; margin: 12px auto 40px !important; display: flex !important; justify-content: center !important; box-sizing: border-box !important; }

    /* FOOTER */
    .footer-body {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 16px 24px;
        padding: 24px 0 18px;
    }
    .footer-brand  { grid-column: 1 / -1; }
    .footer-nav    { grid-column: 1; }
    .footer-social { grid-column: 2; }
    .footer-logo   { height: 26px; margin-bottom: 10px; }
    .footer-tagline { font-size: 0.82rem; margin-bottom: 14px; }
    .footer-wm     { font-size: 18vw; }
    .footer-metric-num { font-size: 1.5rem; }

    /* SECCIONES GENERALES */
    .container { padding: 0 clamp(14px, 4vw, 24px); }
    .section-header { margin-bottom: clamp(24px, 5vw, 48px); }
    .section-header h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
    .section-subtitle  { font-size: clamp(0.85rem, 2.4vw, 1rem); }
}

/* ================================================================
   600px — Teléfonos medianos y pequeños
   ================================================================ */
@media (max-width: 600px) {

    /* FOOTER: compact 2-col */
    .footer-body {
        grid-template-columns: 1fr 1fr;
        gap: 10px 20px;
        padding: 18px 0 12px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 4px 16px;
        align-items: start;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        margin-bottom: 2px;
    }
    .footer-logo     { grid-column: 1; grid-row: 1; height: 20px; margin-bottom: 0; }
    .footer-tagline  { grid-column: 1; grid-row: 2; font-size: 0.74rem; margin-bottom: 0; line-height: 1.35; }
    .footer-cta      { grid-column: 2; grid-row: 1 / 3; align-self: center; padding: 7px 13px; font-size: 0.74rem; white-space: nowrap; }
    .footer-nav      { grid-column: 1; }
    .footer-social   { grid-column: 2; }
    .footer-col-title { font-size: 0.6rem; margin-bottom: 7px; letter-spacing: 1.5px; }
    .footer-nav ul   { gap: 6px; }
    .footer-nav a, .footer-social-btn { font-size: 0.78rem; }
    .footer-social-links { gap: 6px; flex-direction: column; }
    .footer-metric   { margin-top: 10px; }
    .footer-metric-num   { font-size: 1.3rem; }
    .footer-metric-label { font-size: 0.62rem; }
    .footer-wm       { font-size: 22vw; }

    /* ENCUÉNTRANOS */
    .enc-map-wrap  { height: clamp(220px, 60vw, 300px); border-radius: 16px; }
    .enc-title     { font-size: clamp(1.5rem, 5.5vw, 2rem); }
    .enc-map-badge { font-size: 0.75rem; padding: 8px 14px; }

    /* GALERÍA: carrusel de logos */
    .gallery-strip-title { font-size: clamp(1.05rem, 4vw, 1.3rem); }
    .hero-gallery-thumb     { height: clamp(86px, 22vw, 104px); }
    .hero-gallery-thumb img { max-height: clamp(64px, 17vw, 82px); height: clamp(64px, 17vw, 82px); }

    /* RESULTADOS */
    .resultados-grid { gap: 8px; }
    .res-card        { padding: 14px 12px 0; }

    /* ÁREAS */
    .area-card-inner { padding: clamp(16px, 4vw, 22px); }

    /* SERVICIOS */
    .svc-m-card  { padding: 14px 12px; border-radius: 12px; }

    /* HERO */
    .hero-tagline { font-size: clamp(1.55rem, 5.5vw, 2rem); }
    .hero-logo    { max-width: clamp(150px, 50vw, 220px); }
}

/* ================================================================
   480px — Teléfonos pequeños (iPhone SE, Android compactos)
   ================================================================ */
@media (max-width: 480px) {

    /* HERO */
    .hero-tagline { font-size: clamp(1.4rem, 5.5vw, 1.75rem); }
    .hero-logo    { max-width: clamp(140px, 48vw, 190px); }
    .hero-desc    { font-size: clamp(0.85rem, 3vw, 0.95rem); }

    /* SECTION TITLES globales */
    .section-header h2 { font-size: clamp(1.3rem, 5vw, 1.6rem); }
    .section-subtitle  { font-size: clamp(0.82rem, 2.8vw, 0.92rem); }

    /* ÁREAS */
    .areas-title { font-size: clamp(1.2rem, 5vw, 1.5rem); }
    .area-title  { font-size: clamp(1rem, 4vw, 1.2rem); }

    /* RESULTADOS */
    .resultados-title { font-size: clamp(1.2rem, 5vw, 1.5rem); }
    .res-num          { font-size: clamp(1.3rem, 4.5vw, 1.6rem); }

    /* SERVICIOS */
    .svc-m-card h4 { font-size: clamp(0.76rem, 2.8vw, 0.88rem); }
    .svc-m-card p  { font-size: clamp(0.68rem, 2.5vw, 0.78rem); }
    .servicios-layout { padding: 0 10px clamp(16px, 4vw, 28px); }

    /* CC SECTION — 3 videos compactos en fila diagonal */
    .cc-vcard-1 {
        display: block !important;
        width: clamp(22vw, 26vw, 110px) !important;
        height: clamp(38vw, 44vw, 185px) !important;
        transform: rotate(-6deg) translateY(16px) !important;
        border-radius: 14px;
    }
    .cc-vcard-2 {
        width: clamp(22vw, 26vw, 110px) !important;
        height: clamp(46vw, 52vw, 220px) !important;
        transform: none !important;
        border-radius: 14px;
    }
    .cc-vcard-3 {
        display: block !important;
        width: clamp(22vw, 26vw, 110px) !important;
        height: clamp(38vw, 44vw, 185px) !important;
        transform: rotate(6deg) translateY(16px) !important;
        border-radius: 14px;
    }
    .cc-videos   { gap: clamp(6px, 2vw, 10px) !important; justify-content: center; }
    .cc-logo-mark { width: clamp(120px, 46vw, 170px) !important; margin-bottom: 16px; }

    /* MARKETING — 3 videos compactos en fila diagonal */
    .mkt-vcard-1 {
        display: block !important;
        width: clamp(22vw, 26vw, 110px) !important;
        height: clamp(38vw, 44vw, 185px) !important;
        transform: rotate(-4deg) translateY(12px) !important;
        border-radius: 14px;
    }
    .mkt-vcard-2 {
        width: clamp(22vw, 26vw, 110px) !important;
        height: clamp(46vw, 52vw, 220px) !important;
        transform: none !important;
        border-radius: 14px;
    }
    .mkt-vcard-3 {
        display: block !important;
        width: clamp(22vw, 26vw, 110px) !important;
        height: clamp(38vw, 44vw, 185px) !important;
        transform: rotate(4deg) translateY(12px) !important;
        border-radius: 14px;
    }
    .mkt-videos {
        flex-direction: row !important;
        gap: clamp(6px, 2vw, 10px) !important;
        justify-content: center;
        align-items: flex-end;
        margin: 16px auto 28px;
    }

    /* GALERÍA */
    .gallery-strip-title    { font-size: clamp(1rem, 4.5vw, 1.2rem); }
    .hero-gallery-thumb     { height: clamp(80px, 21vw, 96px); }
    .hero-gallery-thumb img { max-height: clamp(60px, 16vw, 76px); height: clamp(60px, 16vw, 76px); }

    /* NAVBAR */
    .nav-logo img { max-height: 34px; }
}

/* ================================================================
   360px — Teléfonos muy pequeños (Galaxy A, Moto compactos)
   ================================================================ */
@media (max-width: 360px) {
    .container    { padding: 0 10px; }
    .hero-tagline { font-size: 1.3rem; }
    .hero-logo    { max-width: 130px; }
    .hero-desc    { font-size: 0.82rem; }
    .areas-title  { font-size: 1.15rem; }
    .resultados-title { font-size: 1.15rem; }
    .svc-m-card h4 { font-size: 0.74rem; }
    .svc-m-card p  { font-size: 0.66rem; }
    .nav-container { padding: 5px 6px 5px 13px; }
}

/* ================================================================
   Hero — subtítulo móvil + botón WhatsApp en imagen
   ================================================================ */

/* Subtítulo "Captamos. Vendemos. Medimos." — oculto en desktop */
.hst-sub { display: none; }

/* Wrapper imagen — transparent en desktop */
.hero-woman-wrap    { display: contents; }
.hero-woman-caption { display: none; }

@keyframes hst-sub-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes wa-btn-in {
    from { opacity: 0; transform: translateY(14px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
    /* Subtítulo azul */
    .hst-sub {
        display: block;
        font-family: 'Poppins', sans-serif;
        font-size: clamp(0.85rem, 3.2vw, 1rem);
        font-weight: 600;
        color: #0066CC;
        letter-spacing: 0.04em;
        text-align: center;
        margin-top: 22px;
        opacity: 0;
        animation: hst-sub-in 0.5s ease forwards;
        animation-delay: 3.6s;
    }

    /* Wrapper imagen */
    .hero-woman-wrap {
        display: block;
        position: relative;
        width: 100%;
    }

    /* Botón WhatsApp centrado sobre imagen */
    .hero-woman-caption {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: 0; right: 0;
        bottom: clamp(16px, 5%, 32px);
    }

    .hero-wa-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #0066CC;
        color: #ffffff;
        font-family: 'Poppins', sans-serif;
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
        font-weight: 700;
        padding: 12px 28px;
        border-radius: 50px;
        text-decoration: none;
        box-shadow: 0 6px 24px rgba(0,102,204,0.45);
        opacity: 0;
        animation: wa-btn-in 0.55s cubic-bezier(0.34,1.4,0.64,1) forwards;
        animation-delay: 3.8s;
        transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .hero-wa-btn:active {
        transform: scale(0.96);
        box-shadow: 0 3px 12px rgba(37,211,102,0.3);
    }

    .hero-wa-icon {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
}

/* ================================================================
   Gallery Strip Cards (gsc) — carrusel de casos de éxito
   ================================================================ */
.gsc-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
}

.gsc-img {
    width: 100%;
    max-width: 460px;
    height: auto;
    display: block;
    border-radius: 22px;
    object-fit: contain;
    margin: 0 auto;
    box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 4px 16px rgba(0,102,204,0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gsc-img:hover {
    transform: scale(1.02);
    box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 8px 24px rgba(0,102,204,0.28);
}

.gsc-card {
    border-radius: 22px;
    padding: 18px 20px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    overflow: hidden;
    min-height: 280px;
}
.gsc-card--blue  { background: linear-gradient(135deg, #004fa3 0%, #0077ee 100%); }
.gsc-card--green { background: linear-gradient(135deg, #007a3d 0%, #00b359 100%); }

/* Badge "Caso de Éxito" */
.gsc-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Logo flotante en card blanca */
.gsc-logo-wrap {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    margin-top: 28px;
}
.gsc-logo {
    height: 48px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}
.gsc-logo--color { filter: none; }

/* Número */
.gsc-stat {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-top: 4px;
}
.gsc-unit { font-size: 1.8rem; font-weight: 700; }

/* Etiqueta */
.gsc-label {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-top: -6px;
}

/* Descripción */
.gsc-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
    margin: 0;
}

/* Diamante decorativo */
.gsc-diamond {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 18px;
    height: 18px;
    fill: rgba(255,255,255,0.2);
}

/* ==================== SERVICIOS NUEVO LAYOUT ==================== */

/* Centra el badge pill y el encabezado */
.servicios .container {
    text-align: center;
}

/* Badge pill superior */
.svc-badge-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto 16px;
    background: rgba(0,166,81,0.12);
    border: 1px solid rgba(0,166,81,0.5);
    border-radius: 50px;
    padding: 7px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: #00cc66;
}
.svc-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00cc66;
    box-shadow: 0 0 8px #00cc66;
    animation: svc-dot-pulse 2s ease-in-out infinite;
}
@keyframes svc-dot-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.65); }
}

/* Ocultar solo el canvas de triángulos/formas */
#serviciosShapesCanvas { display: none !important; }

/* Sección servicios — alto automático, sin recorte */
.servicios {
    padding: clamp(48px, 5vh, 80px) 0 clamp(40px, 5vh, 64px) !important;
    height: auto !important;
    min-height: unset !important;
    display: block !important;
    overflow: visible !important;
}

/* Ola inferior: servicios oscuro → sección blanca */
.svc-wave-bottom {
    position: relative;
    background: #ffffff;
    line-height: 0;
    margin-top: -1px;
    z-index: 2;
}
.svc-wave-bottom svg {
    display: block;
    width: 100%;
    height: 80px;
}
/* El container del encabezado no crece */
.servicios > .container { flex-shrink: 0; }

/* Encabezado de la sección */
.servicios .section-header {
    margin-bottom: clamp(8px, 1.2vh, 16px);
}
.servicios .section-header h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 8px;
}
.servicios .section-subtitle {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    margin-bottom: 0;
}

/* Línea decorativa verde bajo el subtítulo */
.servicios .section-header::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #00cc66;
    border-radius: 2px;
    margin: 12px auto 0;
}

/* Contenedor principal ocupa todo el espacio restante de la sección */
.svc-new-layout {
    flex: 1;
    min-height: 0;
    width: 100%;
    margin: 0;
    padding: 0 0 clamp(16px, 2vh, 28px) clamp(20px, 3vw, 48px);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: clamp(16px, 2vw, 24px);
}

/* Columna izquierda — ancho fijo por la derecha, borde izquierdo libre */
.svc-cards-col {
    flex: 0 0 66vw;
    max-width: 66vw;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.5vh, 16px);
    min-width: 0;
    min-height: 0;
}

/* Columna derecha: iPhone — ocupa el espacio restante con ancho razonable */
.svc-phone-col {
    flex: 1;
    min-width: 0;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    margin-right: 0;
}

/* Marco iPhone */
.svc-iphone-frame {
    flex: 1;
    background: #0b1622;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 44px;
    box-shadow:
        0 0 0 6px #111e30,
        0 0 0 8px rgba(255,255,255,0.04),
        0 24px 64px rgba(0,0,0,0.7),
        inset 0 0 0 1px rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* Dynamic island */
.svc-iphone-island {
    width: 88px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    margin: 14px auto 6px;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px #111;
}

/* Home bar inferior */
.svc-iphone-homeBar {
    width: 110px;
    height: 4px;
    background: rgba(255,255,255,0.28);
    border-radius: 4px;
    margin: 8px auto 14px;
    flex-shrink: 0;
}

/* El chat widget ocupa todo el espacio disponible dentro del iPhone */
.svc-iphone-frame .svc-chat-widget {
    display: flex !important;
    flex: 1;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: #0d1b2e;
    min-height: 0;
}

/* Fila superior: 4 cards — crece para llenar el alto disponible */
.svc-row-top {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.6vw, 18px);
    min-height: 0;
}

/* Fila inferior: 3 cards escalonadas — crece igual que el top */
.svc-row-bottom {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: clamp(12px, 1.6vw, 18px);
    min-height: 0;
}
.svc-row-bottom .svc-card:nth-child(1) { grid-column: 2 / span 2; }
.svc-row-bottom .svc-card:nth-child(2) { grid-column: 4 / span 2; }
.svc-row-bottom .svc-card:nth-child(3) { grid-column: 6 / span 2; }
.svc-row-bottom .svc-card { min-height: unset; }

/* Card de servicio */
.svc-card {
    position: relative;
    background: #111e30;
    border: none;
    border-radius: 18px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: clamp(160px, 20vh, 220px);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.svc-card--active { box-shadow: 0 0 0 2px #00ee77, 0 8px 32px rgba(0,204,102,0.25) !important; }

/* Imagen de fondo */
.svc-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}
.svc-card:hover .svc-card-bg { transform: scale(1.05); }

/* Gradientes para cards sin foto */
.svc-card-bg--marketing  { background: linear-gradient(135deg, #0a2a4a 0%, #0d3b6e 100%); }
.svc-card-bg--auto       { background: linear-gradient(135deg, #0d2137 0%, #0a3050 100%); }
.svc-card-bg--reportes   { background: linear-gradient(135deg, #112240 0%, #1a3a5c 100%); }
.svc-card-bg--redes      { background: linear-gradient(135deg, #1a0a2e 0%, #2d1b69 100%); }
.svc-card-bg--ecommerce  { background: linear-gradient(135deg, #0a2e1a 0%, #0d4a2a 100%); }

/* Overlay oscuro de abajo hacia arriba */
.svc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.05) 100%);
    z-index: 1;
}

/* Contenido sobre la imagen */
.svc-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: clamp(12px,1.5vh,18px) clamp(12px,1.4vw,18px);
    margin-top: auto;
}
.svc-card-text { flex: 1; min-width: 0; }
.svc-card-text h4 { font-size: clamp(0.8rem,1vw,1rem); font-weight: 700; color: #fff; margin: 0 0 2px; }
.svc-card-text p  { font-size: clamp(0.68rem,0.8vw,0.8rem); color: rgba(255,255,255,0.75); margin: 0; line-height: 1.3; }
.svc-arrow { width: 20px; height: 20px; flex-shrink: 0; stroke: #00ee77; }

.svc-card--active { box-shadow: 0 0 0 2px #00ee77, 0 8px 32px rgba(0,204,102,0.25) !important; }

/* Icono circular */
.svc-ico-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.svc-ico-wrap svg {
    width: 16px;
    height: 16px;
    stroke: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
}

/* Título de cada card */
.svc-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(0.92rem, 1.2vw, 1.15rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

/* Descripción */
.svc-card p {
    font-size: clamp(0.75rem, 0.95vw, 0.88rem);
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

/* Línea verde inferior */
.svc-line {
    display: block;
    height: 2px;
    width: 40px;
    background: linear-gradient(90deg, #00cc66, transparent);
    border-radius: 2px;
    margin-top: auto;
}

/* ── Chat widget — header azul, fondo oscuro, como la referencia ── */
.svc-chat-widget {
    background: #0d1b2e;
    border: 1px solid rgba(0,102,204,0.35);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Header azul sólido */
.svc-chat-widget .sc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #0055b3;
    flex-shrink: 0;
}

/* Avatar cuadrado con logo Switch */
.svc-chat-widget .sc-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #0044a0;
    border: 1.5px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.svc-chat-widget .sc-avatar img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.svc-chat-widget .sc-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}
.svc-chat-widget .sc-name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.svc-chat-widget .sc-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.75);
}
.svc-chat-widget .sc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ee77;
    box-shadow: 0 0 6px #00ee77;
    animation: svc-dot-pulse 2s ease-in-out infinite;
}
.svc-chat-widget .sc-dots {
    width: 22px;
    height: 22px;
    fill: rgba(255,255,255,0.8);
    flex-shrink: 0;
}

/* Área de mensajes — fondo oscuro azulado */
.svc-chat-widget .sc-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,102,204,0.3) transparent;
    min-height: 80px;
    background: #0d1b2e;
}

/* Burbuja bot override para este widget (blanca como la referencia) */
.svc-chat-widget .sc-bubble.bot {
    background: #ffffff;
    color: #1a1a1a;
    font-size: 0.82rem;
    line-height: 1.55;
    border-radius: 14px 14px 14px 4px;
    padding: 10px 14px;
    max-width: 92%;
    align-self: flex-start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.svc-chat-widget .sc-bubble.user {
    background: linear-gradient(135deg, #0066CC, #004fa8);
    color: #fff;
    font-size: 0.82rem;
    border-radius: 14px 14px 4px 14px;
    padding: 10px 14px;
    max-width: 85%;
    align-self: flex-end;
}

/* Indicador de escritura */
.svc-chat-widget .sc-typing {
    display: flex;
    gap: 4px;
    padding: 4px 14px 8px;
    background: #0d1b2e;
}
.svc-chat-widget .sc-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0,166,81,0.8);
    animation: sc-bounce 1.2s infinite ease-in-out;
}
.svc-chat-widget .sc-typing span:nth-child(2) { animation-delay: 0.2s; }
.svc-chat-widget .sc-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes sc-bounce {
    0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}

/* Input area */
.svc-chat-widget .sc-input-area {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: #111f33;
    flex-shrink: 0;
}
.svc-chat-widget #scInput {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 9px 16px;
    color: rgba(255,255,255,0.8);
    font-size: 0.78rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    min-width: 0;
}
.svc-chat-widget #scInput::placeholder { color: rgba(255,255,255,0.3); }
.svc-chat-widget #scInput:focus { border-color: rgba(0,166,81,0.5); background: rgba(255,255,255,0.09); }
.svc-chat-widget #scSend {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #00A651;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,166,81,0.4);
}
.svc-chat-widget #scSend:hover { background: #00cc66; transform: scale(1.08); }
.svc-chat-widget #scSend svg {
    width: 15px;
    height: 15px;
    fill: #fff;
}
