/* ═══════════════════════════════════════════════════════════
   NOVVO.AI — Design System v5.0
   Outfit · Zinc-950 base · Electric Blue accent
   ═══════════════════════════════════════════════════════════ */

:root {
    --c-dark:      #09090b;
    --c-dark-mid:  #18181b;
    --c-navy:      #1e293b;
    --c-cyan:      #3b82f6;
    --c-cyan-dim:  rgba(59, 130, 246, 0.10);
    --c-green:     #16a34a;
    --c-blue-node: #3b82f6;

    --t-white: #fafafa;
    --t-dim:   rgba(250, 250, 250, 0.55);
    --t-dark:  #1e293b;
    --t-muted: #64748b;

    --s-white:    #ffffff;
    --s-light:    #f8fafc;
    --s-border:   #e2e8f0;
    --s-border-d: rgba(255, 255, 255, 0.07);

    --accent:        #3b82f6;
    --accent-h:      #2563eb;
    --accent-dim:    rgba(59, 130, 246, 0.10);
    --accent-border: rgba(59, 130, 246, 0.20);

    --font: 'Outfit', system-ui, sans-serif;
    --section-p: clamp(4rem, 7vw, 6rem);
    --r:    12px;
    --r-sm: 8px;
    --r-lg: 18px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font);
    background-color: var(--c-dark);
    color: var(--t-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Blob 1 — primary hero blue, drifts slowly */
body::before {
    content: '';
    position: fixed;
    top: -10vmax; left: -10vmax;
    width: 80vmax; height: 80vmax;
    background: radial-gradient(circle,
        rgba(59, 130, 246, 0.12) 0%,
        rgba(37, 99, 235, 0.04) 40%,
        transparent 70%);
    filter: blur(70px);
    z-index: -1;
    pointer-events: none;
    animation: blobDrift1 25s ease-in-out infinite alternate;
    will-change: transform;
}

/* Blob 2 — secondary cyan/blue, bottom right */
body::after {
    content: '';
    position: fixed;
    bottom: -15vmax; right: -15vmax;
    width: 90vmax; height: 90vmax;
    background: radial-gradient(circle,
        rgba(56, 189, 248, 0.09) 0%,
        rgba(59, 130, 246, 0.04) 40%,
        transparent 70%);
    filter: blur(90px);
    z-index: -1;
    pointer-events: none;
    animation: blobDrift2 30s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes blobDrift1 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(6vmax, 4vmax) scale(1.05); }
    100% { transform: translate(10vmax, 8vmax) scale(1.1); }
}

@keyframes blobDrift2 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-5vmax, -6vmax) scale(1.05); }
    100% { transform: translate(-10vmax, -10vmax) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
    body::before, body::after { animation: none; }
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Background Canvas ── */
#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-color: #060b14;
    background-image:
        radial-gradient(ellipse 80% 100% at 50% -10%, rgba(59, 130, 246, 0.15), transparent 70%),
        radial-gradient(ellipse 70% 80% at 80% 100%, rgba(37, 99, 235, 0.12), transparent 70%),
        radial-gradient(rgba(59, 130, 246, 0.18) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 32px 32px;
    background-position: 0 0, 0 0, center center;
    transition: opacity 0.5s;
}

/* Canvas visible en todos los dispositivos */

/* ── Grain texture overlay ── */
#bg-canvas::after,
.bg-grain {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ── Layout ── */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 4vw, 2.5rem);
}

section {
    padding: var(--section-p) 0;
    position: relative;
    max-width: 100%;
}

.section-dark     { background: transparent; }
.section-white    { background: var(--s-white); color: var(--t-dark); }
.section-gradient { background: #f1f5f9; color: var(--t-dark); }

/* ── Section Header ── */
.section-header {
    max-width: 960px;
    margin: 0 auto 2.5rem;
}

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

.section-header h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.4rem);
    font-weight: 800;
    color: var(--c-navy);
    margin: 0.5rem 0 0.9rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

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

@media (max-width: 900px) {
    .section-header h2 { white-space: normal; font-size: clamp(1.3rem, 4.5vw, 1.8rem); }
}

.section-header p { font-size: 1rem; color: var(--t-muted); }
.section-dark .section-header p { color: var(--t-dim); }

/* ── Section Tag ── */
.section-tag {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
}

.section-tag.light {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.12);
}

.section-white .section-tag,
.section-gradient .section-tag {
    background: var(--accent-dim);
    color: var(--accent-h);
    border-color: var(--accent-border);
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.7rem;
    border-radius: var(--r);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:hover {
    background: var(--accent-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-primary:active { transform: translateY(-1px) scale(0.99); }

.btn-ghost {
    background: transparent;
    color: var(--t-white);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.btn-nav {
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    font-size: 0.88rem;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn-nav:hover {
    background: var(--accent-h);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-lg { padding: 0.95rem 2rem; font-size: 1rem; }

/* ── Navbar ── */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.1rem 0;
    z-index: 1000;
    transition: background 0.3s, padding 0.3s;
    background: rgba(9, 9, 11, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--s-border-d);
}

nav.scrolled {
    padding: 0.65rem 0;
    background: rgba(9, 9, 11, 0.95);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1.2rem, 4vw, 2.5rem);
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.8; }

.logo-accent { color: var(--accent); }

.nav-links { display: flex; gap: 0.2rem; }

.nav-links a {
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(250, 250, 250, 0.65);
    border-radius: var(--r-sm);
    transition: all 0.2s;
}

.nav-links a:hover {
    color: var(--t-white);
    background: rgba(255, 255, 255, 0.06);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.4rem;
}

/* ── Mobile Drawer ── */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(9, 9, 11, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    padding: 5rem 2rem 2rem;
    flex-direction: column;
    gap: 0.4rem;
    border-bottom: 1px solid var(--s-border-d);
}

.mobile-drawer.open { display: flex; }
.mobile-drawer a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--t-dim);
    border-radius: var(--r-sm);
    transition: all 0.2s;
}

.mobile-drawer a:hover { color: var(--t-white); background: rgba(255,255,255,0.05); }

/* ── Hero ── */
.hero {
    padding: 10rem 0 4rem;
    text-align: left;
    overflow: hidden;
}

/* Animated grid overlay exclusive to hero */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 20% 30%, black 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 100% at 20% 30%, black 20%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

/* Slow diagonal scan shimmer */
.hero::after {
    content: '';
    position: absolute;
    inset: -100%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(59, 130, 246, 0.025) 50%,
        transparent 60%
    );
    animation: heroScan 12s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes heroScan {
    0%   { transform: translateX(-60%) translateY(-60%); }
    100% { transform: translateX(60%) translateY(60%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero::after { animation: none; }
}

.hero-glow {
    position: absolute;
    top: -15%;
    left: -8%;
    width: 75vw;
    height: 70vw;
    background:
        radial-gradient(ellipse at 25% 35%,
            rgba(59, 130, 246, 0.10) 0%,
            rgba(37, 99, 235, 0.04) 40%,
            transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: heroGlowPulse 8s ease-in-out infinite alternate;
}

@keyframes heroGlowPulse {
    0%   { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.06); }
}

@media (max-width: 767px) {
    .hero::before { display: none; }
    .hero::after  { display: none; }
}

.hero .container {
    position: relative;
    z-index: 1;
    padding-left: clamp(1.2rem, 8vw, 10vw);
}

@media (max-width: 900px) {
    .hero .container { padding-left: clamp(1.2rem, 4vw, 2.5rem); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    color: var(--accent);
    padding: 0.32rem 0.9rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    letter-spacing: 0.02em;
}

.badge-icon { width: 12px; height: 12px; }

.hero-title {
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--t-white);
    margin-bottom: 1.4rem;
    max-width: 16ch;
}

.text-accent { color: var(--accent); }

.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--t-dim);
    max-width: 56ch;
    margin: 0 0 2.5rem;
    line-height: 1.7;
}

/* Hero metrics */
.hero-metrics {
    display: flex;
    justify-content: flex-start;
    gap: 1.2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.metric-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--s-border-d);
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    padding: 1.1rem 1.5rem;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 240px;
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.05);
}

.metric-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-border);
}

.metric-icon {
    width: 44px; height: 44px;
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
}

.metric-icon.up    { background: rgba(22, 163, 74, 0.12); color: #4ade80; }
.metric-icon.down  { background: rgba(239, 68, 68, 0.12); color: #f87171; }
.metric-icon.world { background: var(--accent-dim); color: var(--accent); }

.metric-data { text-align: left; }

.metric-value {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.2rem;
    letter-spacing: -0.03em;
}

.metric-label { font-size: 0.82rem; color: var(--t-dim); font-weight: 500; }

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* ── Tech Stack Strip ── */
.tech-strip {
    background: rgba(255, 255, 255, 0.025);
    border-top: 1px solid var(--s-border-d);
    border-bottom: 1px solid var(--s-border-d);
    padding: 1.4rem 0 1.6rem;
    overflow: hidden;
}

.tech-strip-label {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 250, 250, 0.25);
    margin-bottom: 1.2rem;
}

.logos-slider {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logos-track {
    display: flex;
    width: max-content;
    animation: slideLogos 75s linear infinite;
}

.logos-track:hover { animation-play-state: paused; }

@keyframes slideLogos {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.logos-set {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    color: rgba(250, 250, 250, 0.38);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s;
    cursor: default;
}

.logo-item:hover { color: rgba(250, 250, 250, 0.85); }

.logo-item img {
    width: 20px; height: 20px;
    object-fit: contain;
    opacity: 0.45;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.logo-item:hover img { opacity: 0.85; }

.logo-item svg.logo-svg {
    width: 20px; height: 20px;
    fill: #fff;
    opacity: 0.45;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.logo-item:hover svg.logo-svg { opacity: 0.85; }

/* ── Problems ── */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 640px) { .problems-grid { grid-template-columns: 1fr; } }

.problem-card {
    background: var(--s-white);
    border: 1px solid var(--s-border);
    border-radius: var(--r-lg);
    padding: 1.8rem 2rem;
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.04);
}

.problem-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}

.problem-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.problem-icon {
    width: 42px; height: 42px;
    border-radius: var(--r);
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-h);
    flex-shrink: 0;
}

.problem-stat {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #dc2626;
    line-height: 1;
}

.problem-card h3 {
    font-size: 0.97rem;
    color: var(--c-navy);
    font-weight: 700;
    line-height: 1.4;
}

.problem-card p {
    font-size: 0.875rem;
    color: var(--t-muted);
    line-height: 1.65;
    flex: 1;
}

.problem-consequence {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #dc2626;
    border-top: 1px solid var(--s-border);
    padding-top: 0.75rem;
    margin-top: auto;
}

.problem-consequence svg { width: 13px; height: 13px; flex-shrink: 0; }
.problems-footer { display: none; }

/* ── Novvo Compare Table ── */
.novvo-compare {
    background: var(--c-dark-mid);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.3);
}

.nc-cols {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.nc-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nc-col-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 1.4rem 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nc-col-header svg { width: 13px; height: 13px; flex-shrink: 0; }
.nc-bad-label  { color: #f87171; }
.nc-good-label { color: var(--accent); }

.nc-cell {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    font-size: 0.84rem;
    line-height: 1.45;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    flex: 1;
}

.nc-cell:last-child { border-bottom: none; }
.nc-cell svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; }

.nc-col--bad .nc-cell  { color: rgba(250,250,250,0.42); background: rgba(239,68,68,0.02); }
.nc-col--bad .nc-cell svg { color: #f87171; }
.nc-col--good .nc-cell { color: rgba(250,250,250,0.82); background: rgba(59,130,246,0.03); }
.nc-col--good .nc-cell svg { color: var(--accent); }

.nc-vs-bar {
    width: 38px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left:  1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
    gap: 0.6rem;
    padding: 1.5rem 0;
}

.nc-vs-line {
    flex: 1;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.07), transparent);
    min-height: 20px;
}

.nc-vs-badge {
    font-size: 0.62rem;
    font-weight: 900;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.1em;
}

.novvo-compare > .btn { margin: 1.4rem; }

@media (max-width: 640px) {
    .nc-cols { flex-direction: column; }
    .nc-vs-bar {
        width: 100%; height: 36px;
        flex-direction: row;
        border-left: none; border-right: none;
        border-top: 1px solid rgba(255,255,255,0.05);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 0 1.2rem; gap: 0.8rem;
    }
    .nc-vs-line {
        flex: 1; height: 1px; width: auto; min-height: unset;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.07), transparent);
    }
    .nc-cell { padding: 0.7rem 1.2rem; font-size: 0.82rem; }
    .nc-col-header { padding: 0.85rem 1.2rem 0.65rem; }
}

/* ── Solution Bridge ── */
.solution-bridge {
    background: var(--c-dark-mid);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    padding: 2.2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    margin-top: 0.4rem;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.2);
}

.sb-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.85;
}

.solution-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.sol-metric {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1.5rem;
}

.sol-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.sol-icon svg { width: 17px; height: 17px; }

.sol-value {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1;
}

.sol-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); text-align: center; line-height: 1.35; }

.sol-divider {
    width: 1px; height: 65px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.08) 70%, transparent);
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .solution-bridge { padding: 1.8rem 1.2rem; }
    .solution-metrics { flex-direction: column; gap: 1rem; }
    .sol-divider {
        width: 60px; height: 1px;
        background: linear-gradient(to right, transparent, rgba(255,255,255,0.08) 30%, rgba(255,255,255,0.08) 70%, transparent);
    }
    .sol-metric { padding: 0.25rem 1rem; }
}

/* ── Services ── */
.services-premium {
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
    background: #0f172a;
}

.premium-glow-bg {
    position: absolute;
    top: -30%; left: 50%;
    transform: translateX(-50%);
    width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, rgba(0,0,0,0) 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

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

.relative-container { position: relative; }

.premium-tag {
    background: var(--accent-dim) !important;
    border: 1px solid var(--accent-border) !important;
    color: var(--accent) !important;
}

.gradient-text {
    color: #f1f5f9;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.72) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.unified-glass-panel {
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
    margin-top: 3rem;
    overflow: hidden;
}

.ug-col {
    flex: 1;
    padding: 3.5rem 2.5rem;
    transition: background 0.4s;
}

.ug-col:hover { background: rgba(255, 255, 255, 0.02); }

.ug-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent);
}

.ug-icon {
    width: 56px; height: 56px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin-bottom: 2rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
}

.ug-col:hover .ug-icon {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.18), inset 0 1px 0 rgba(255,255,255,0.08);
}

.ug-col h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.ug-col p  { font-size: 0.93rem; color: rgba(255,255,255,0.58); line-height: 1.7; }

@media (max-width: 900px) {
    .unified-glass-panel { flex-direction: column; }
    .ug-divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent); }
    .ug-col { padding: 2.5rem 2rem; }
}

/* ── Services Grid — 2-col asymmetric ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
}

.svc-card {
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.3);
}

.svc-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}

.svc-icon {
    width: 50px; height: 50px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin-bottom: 0.4rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-card:hover .svc-icon { transform: translateY(-3px); }

.svc-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.75;
}

.svc-card h3 { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.35; }
.svc-card > p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; flex: 1; }

.svc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 0.9rem;
    margin-top: 0.4rem;
}

.svc-features li {
    display: flex; align-items: center; gap: 0.45rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.svc-features li svg { width: 12px; height: 12px; color: var(--accent); flex-shrink: 0; }

@media (max-width: 640px) { .services-grid { grid-template-columns: 1fr; } }

/* ── Stats Counter ── */
.stats-section {
    padding: 3.5rem 0;
    border-top: 1px solid var(--s-border-d);
    border-bottom: 1px solid var(--s-border-d);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.stat-block { flex: 1; min-width: 160px; text-align: center; padding: 1.5rem 1rem; }

.stat-count {
    display: block;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.04em;
}

.stat-suffix {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.stat-desc { display: block; font-size: 0.85rem; color: var(--t-dim); font-weight: 500; margin-top: 0.5rem; }

.stat-divider-v {
    width: 1px; height: 60px;
    background: var(--s-border-d);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .stat-divider-v { display: none; }
    .stat-block { min-width: 45%; }
}

/* ── Timeline ── */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 860px;
    margin: 1rem auto 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 60px 36px 1fr;
    gap: 0 1.2rem;
    align-items: start;
}

.timeline-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.5;
    text-align: right;
    padding-top: 0.5rem;
}

.timeline-connector {
    width: 2px;
    min-height: 100%;
    background: linear-gradient(to bottom, var(--accent), rgba(59,130,246,0.06));
    margin: 0 auto;
}

.timeline-connector.last { background: rgba(59,130,246,0.06); }

.timeline-card {
    background: var(--s-white);
    border: 1px solid var(--s-border);
    border-radius: var(--r-lg);
    padding: 1.6rem 1.8rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.04);
}

.timeline-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.07);
}

.timeline-icon {
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    color: white;
    margin-bottom: 0.9rem;
}

.timeline-icon.trigger { background: var(--c-green); }
.timeline-icon.action  { background: var(--accent); }

.timeline-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--c-navy); margin-bottom: 0.4rem; }
.timeline-card p  { font-size: 0.88rem; color: var(--t-muted); margin-bottom: 0.9rem; }

.timeline-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.trigger-tag { background: rgba(22, 163, 74, 0.1); color: var(--c-green); }
.action-tag  { background: var(--accent-dim); color: var(--accent); }

.proceso-cta {
    text-align: center;
    margin-top: 2.5rem;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: var(--r-lg);
    border: 1px solid var(--s-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.04);
}

.proceso-cta p { font-size: 1.1rem; font-weight: 600; color: var(--c-navy); margin-bottom: 1.3rem; }

/* ── Industries ── */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }

.industry-card {
    background: var(--s-white);
    border: 1px solid var(--s-border);
    border-radius: var(--r-lg);
    padding: 1.8rem;
    transition: border-color 0.3s, transform 0.3s;
    display: flex; flex-direction: column; gap: 0.6rem;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.04);
}

.industry-card:hover { border-color: #cbd5e1; transform: translateY(-4px); }

.industry-icon {
    width: 46px; height: 46px;
    border-radius: var(--r);
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-h);
    flex-shrink: 0;
}

.industry-card h3 { font-size: 1rem; font-weight: 700; color: var(--c-navy); }
.industry-card p  { font-size: 0.85rem; color: var(--t-muted); line-height: 1.55; }

/* ── Benefits ── */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.2rem; }

.benefit-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--s-border-d);
    border-radius: var(--r-lg);
    padding: 1.8rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-border);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 46px; height: 46px;
    border-radius: var(--r);
    background: var(--accent-dim);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    margin-bottom: 1rem;
}

.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.benefit-card p  { font-size: 0.87rem; color: var(--t-dim); line-height: 1.65; }

/* ── Carousel ── */
.carousel-wrap { position: relative; padding: 0 3.5rem; }
.carousel-viewport { overflow: hidden; border-radius: var(--r-lg); width: 100%; }
.carousel-track {
    display: flex; gap: 1.5rem;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-track .testimonial { flex-shrink: 0; box-sizing: border-box; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: white;
    border: 1.5px solid var(--s-border);
    color: var(--c-navy);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    z-index: 10;
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-btn:hover {
    background: var(--c-navy);
    color: white;
    border-color: var(--c-navy);
}

.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; pointer-events: none; }

.carousel-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; }

.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none; cursor: pointer;
    transition: all 0.2s; padding: 0;
}

.carousel-dot.active { background: var(--c-navy); width: 22px; border-radius: 4px; }

@media (max-width: 900px) {
    .carousel-wrap { padding: 0 3rem; }
    .carousel-track .testimonial { min-width: calc((100% - 1.5rem) / 2); }
}

@media (max-width: 580px) {
    .carousel-wrap { padding: 0 2.5rem; }
    .carousel-track .testimonial { min-width: 100%; }
    .carousel-btn { width: 38px; height: 38px; }
}

.testimonial {
    background: var(--s-white);
    border: 1px solid var(--s-border);
    border-radius: var(--r-lg);
    padding: 2rem;
    display: flex; flex-direction: column;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.04);
}

.testimonial:hover { box-shadow: 0 20px 40px -8px rgba(0,0,0,0.1); transform: translateY(-4px); }

.testimonial-quote-icon {
    font-size: 4.5rem;
    line-height: 1;
    color: var(--accent);
    opacity: 0.1;
    font-family: Georgia, serif;
    position: absolute;
    top: 0.6rem; left: 1.4rem;
}

.testimonial-text {
    font-size: 0.93rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 1.2rem;
    flex: 1;
    padding-top: 1.4rem;
    font-style: italic;
}

.testimonial-meta {
    display: flex; align-items: center; gap: 0.9rem;
    border-top: 1px solid var(--s-border);
    padding-top: 1rem;
}

.testimonial-photo {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-border);
    flex-shrink: 0;
}

.testimonial-meta > div { display: flex; flex-direction: column; gap: 0.15rem; }
.testimonial-meta strong { font-size: 0.93rem; color: var(--c-navy); }
.testimonial-meta span   { font-size: 0.78rem; color: var(--t-muted); }

.stars { display: flex; gap: 2px; color: #f59e0b; margin-top: 0.2rem; }
.stars svg { width: 13px; height: 13px; fill: currentColor; }

/* ── FAQ ── */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--s-border);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.04);
}

.faq-item {
    background: var(--s-white);
    border-bottom: 1px solid var(--s-border);
    transition: background 0.2s;
}

.faq-item:last-child { border-bottom: none; }

.faq-item:has(.faq-question[aria-expanded="true"]) {
    background: #f8fafc;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.6rem;
    background: none; border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--c-navy);
    transition: color 0.2s;
}

.faq-question:hover { color: var(--accent-h); }
.faq-question[aria-expanded="true"] { color: var(--accent-h); }

.faq-icon {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--t-muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq-answer { padding: 0 1.6rem 1.4rem; }
.faq-answer p  { font-size: 0.9rem; color: var(--t-muted); line-height: 1.7; }
.faq-answer strong { color: var(--c-navy); }

/* ── Contact ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    font-weight: 800;
    margin: 0.9rem 0 1rem;
    letter-spacing: -0.03em;
}

.contact-info > p { color: var(--t-dim); font-size: 0.95rem; margin-bottom: 1.8rem; line-height: 1.7; }

.contact-benefits { display: flex; flex-direction: column; gap: 0.65rem; margin-bottom: 1.6rem; }

.contact-benefits li {
    display: flex; align-items: center; gap: 0.7rem;
    font-size: 0.9rem; color: var(--t-dim);
}

.contact-benefits li svg { color: var(--accent); width: 16px; height: 16px; flex-shrink: 0; }

.contact-direct { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.6rem; }

.contact-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.88rem; color: var(--t-dim);
    transition: color 0.2s;
}

.contact-link svg { width: 14px; height: 14px; flex-shrink: 0; }
.contact-link:hover { color: var(--accent); }

.social-links { display: flex; gap: 0.6rem; }

.social-links a {
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--s-border-d);
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.2s, background 0.2s;
}

.social-links a img,
.social-links a svg {
    width: 18px; height: 18px;
    opacity: 0.7;
    transition: opacity 0.2s;
    fill: #ffffff;
    flex-shrink: 0;
}

.social-links a:hover { border-color: var(--accent-border); background: rgba(59,130,246,0.08); }
.social-links a:hover img,
.social-links a:hover svg { opacity: 1; }

/* ── Form ── */
.contact-form-wrap {
    background: white;
    color: var(--t-dark);
    border-radius: var(--r-lg);
    padding: clamp(1.8rem, 3.5vw, 2.8rem);
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.04);
}

.contact-form-wrap h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--c-navy);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.form-subtitle { font-size: 0.84rem; color: var(--t-muted); margin-bottom: 1.6rem; line-height: 1.55; }

.form-group { margin-bottom: 1.1rem; }

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--c-navy);
    margin-bottom: 0.35rem;
    letter-spacing: 0.01em;
}

.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.72rem 0.9rem;
    border: 1.5px solid var(--s-border);
    border-radius: var(--r-sm);
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--t-dark);
    background: var(--s-light);
    transition: border-color 0.2s;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }

.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group textarea { resize: none; }

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

.phone-field {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--s-border);
    border-radius: var(--r-sm);
    overflow: hidden;
    background: var(--s-light);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-field:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.phone-field .phone-code {
    width: auto; min-width: 115px; flex-shrink: 0;
    border: none;
    border-right: 1.5px solid var(--s-border);
    border-radius: 0;
    padding: 0.72rem 2rem 0.72rem 0.75rem;
    background: #f1f5f9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
    appearance: none; -webkit-appearance: none;
    font-size: 0.85rem; font-weight: 600; color: var(--t-dark); cursor: pointer;
}

.phone-field input {
    flex: 1; border: none; border-radius: 0;
    padding: 0.72rem 0.9rem;
    background: var(--s-light); min-width: 0;
}

.phone-field input:focus,
.phone-field .phone-code:focus { outline: none; background: white; }

.phone-code-custom {
    width: 70px !important; min-width: 70px !important;
    flex-shrink: 0;
    border: none !important;
    border-right: 1.5px solid var(--s-border) !important;
    border-radius: 0 !important;
    padding: 0.72rem 0.5rem !important;
    background: #f1f5f9 !important;
    font-size: 0.9rem !important; font-weight: 600 !important;
    color: var(--t-dark) !important; text-align: center;
}

.form-link { color: var(--accent-h); text-decoration: underline; font-weight: 600; }
.form-link:hover { color: var(--accent); }

.checkbox-group { margin-bottom: 1.2rem; }

.checkbox-label {
    display: flex; align-items: flex-start; gap: 0.6rem;
    cursor: pointer; font-size: 0.79rem; color: var(--t-muted); line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: 16px; height: 16px; min-width: 16px;
    margin-top: 0.1rem;
    accent-color: var(--accent);
    cursor: pointer; border-radius: 4px; padding: 0;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background: var(--c-navy);
    color: white;
    padding: 0.95rem;
    font-size: 0.95rem;
    margin-top: 0.4rem;
    border-radius: var(--r);
    box-shadow: 0 4px 16px rgba(30, 41, 59, 0.2);
}

.btn-submit:hover {
    background: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.3);
}

.form-disclaimer {
    display: flex; align-items: center; justify-content: center; gap: 0.3rem;
    text-align: center; font-size: 0.74rem; color: #94a3b8; margin-top: 0.9rem;
}

/* Form Success */
.form-success {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 2rem 1.5rem 1.5rem; gap: 0.75rem;
}

.form-success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.1);
    border: 2px solid rgba(22, 163, 74, 0.28);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 0.5rem; flex-shrink: 0;
}

.form-success-icon svg { width: 30px; height: 30px; color: var(--c-green); }
.form-success h3 { font-size: 1.4rem; font-weight: 800; color: var(--c-navy); margin: 0; }
.form-success > p { font-size: 0.92rem; color: var(--t-muted); line-height: 1.6; max-width: 360px; margin: 0; }
.form-success .btn-submit { margin-top: 0.5rem; font-size: 1rem; padding: 1rem 2rem; }

/* Contact Tabs */
.contact-right { display: flex; flex-direction: column; gap: 0; }

.ctabs {
    display: flex;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--s-border-d);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    overflow: hidden; flex-shrink: 0;
}

.ctab {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.9rem 1rem;
    background: none; border: none;
    font-family: var(--font);
    font-size: 0.86rem; font-weight: 700;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.ctab svg { width: 14px; height: 14px; }
.ctab:hover { color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.03); }
.ctab.active { color: var(--accent); border-bottom-color: var(--accent); background: rgba(59,130,246,0.05); }

.ctab-panel {
    border: 1px solid var(--s-border-d);
    border-top: none;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    overflow: hidden;
}

.ctab-panel.hidden { display: none; }
.cal-wrap { background: #ffffff; padding: 0; }
.cal-wrap iframe { border: none !important; }

/* Contact opt tabs */
.contact-opts {
    display: flex; gap: 0;
    margin-bottom: 0;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    overflow: hidden;
    border: 1px solid var(--s-border-d);
    border-bottom: none;
}

.contact-opt {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.85rem 1rem;
    font-size: 0.86rem; font-weight: 600;
    background: rgba(255,255,255,0.03);
    color: var(--t-dim);
    border: none; cursor: pointer;
    transition: all 0.2s;
}

.contact-opt svg { width: 14px; height: 14px; flex-shrink: 0; }
.contact-opt:first-child { border-right: 1px solid var(--s-border-d); }
.contact-opt:hover { background: rgba(255,255,255,0.06); color: var(--t-white); }
.contact-opt.active { background: white; color: var(--c-navy); }
.contact-opt.active svg { color: var(--accent); }

.contact-panel { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.contact-panel .contact-form-wrap { border-radius: 0 0 var(--r-lg) var(--r-lg); }

.cal-direct-panel { text-align: center; padding: 2.5rem 2rem; }

.cal-direct-icon {
    width: 58px; height: 58px;
    border-radius: 14px;
    background: var(--accent-dim); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
}

.cal-direct-icon svg { width: 26px; height: 26px; }

.cal-direct-perks { list-style: none; text-align: left; margin: 1.2rem 0 1.8rem; display: inline-block; }

.cal-direct-perks li {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 0.87rem; color: var(--t-muted); padding: 0.3rem 0;
}

.cal-direct-perks li svg { width: 14px; height: 14px; color: var(--c-green); flex-shrink: 0; }

/* ── Footer ── */
footer { background: var(--c-dark-mid); border-top: 1px solid var(--s-border-d); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-top: 3.5rem;
    padding-bottom: 3rem;
}

.footer-col-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250,250,250,0.38);
    margin-bottom: 1rem;
}

.footer-brand .nav-logo { display: inline-flex; align-items: center; margin-bottom: 0.7rem; }

.footer-brand p {
    font-size: 0.84rem;
    color: var(--t-dim);
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 1.3rem;
}

.footer-social { margin-top: 0; }

.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-links a,
.footer-links span {
    font-size: 0.86rem;
    color: rgba(250,250,250,0.52);
    transition: color 0.2s;
    line-height: 1.4;
}

.footer-links a:hover { color: var(--accent); }

.footer-contact a,
.footer-contact span { display: flex; align-items: center; gap: 0.5rem; }

.footer-contact svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--accent); }
.footer-location { color: rgba(250,250,250,0.4) !important; }

.footer-bottom { border-top: 1px solid var(--s-border-d); padding: 1.3rem 0; }

.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.8rem;
}

.footer-bottom-inner p,
.footer-bottom-inner a { font-size: 0.78rem; color: rgba(250,250,250,0.32); }

.footer-legal { display: flex; gap: 0.625rem; align-items: center; }
.footer-legal a {
    font-size: 0.78rem;
    color: rgba(250,250,250,0.45);
    padding: 0.3rem 0.875rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-legal a:hover {
    color: var(--accent);
    border-color: rgba(59,130,246,0.4);
    background: rgba(59,130,246,0.07);
    text-decoration: none;
}

/* ── Proceso n8n Canvas ── */
.pflow-canvas {
    background: #0f172a;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-lg);
    padding: 2.5rem;
    overflow-x: auto;
    margin-bottom: 1.6rem;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.4);
}

.pflow-scroll-hint {
    display: none;
    font-size: 0.68rem; color: rgba(255,255,255,0.28);
    text-align: center; margin-bottom: 1rem;
    gap: 0.3rem; align-items: center; justify-content: center;
}

.pflow-scroll-hint svg { width: 13px; height: 13px; }

@media (max-width: 900px) { .pflow-scroll-hint { display: flex; } }

.pflow-track {
    display: flex; align-items: center;
    min-width: max-content; gap: 0;
}

.pfc-node {
    position: relative;
    width: 215px; flex-shrink: 0;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 3px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    box-shadow: 0 6px 28px rgba(0,0,0,0.35);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s;
    cursor: default; overflow: hidden;
}

.pfc-node:hover { transform: translateY(-4px); }

.pfc-node--green { border-top-color: #4ade80; }
.pfc-node--blue  { border-top-color: var(--accent); }
.pfc-node--orange{ border-top-color: #fb923c; }

.pfc-node-inner { padding: 1.4rem 1.4rem 1.3rem; }

.pfc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.pfc-num { font-size: 2.2rem; font-weight: 900; color: rgba(255,255,255,0.05); line-height: 1; }

.pfc-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.pfc-icon svg { width: 16px; height: 16px; }
.pfc-icon--green  { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.pfc-icon--blue   { background: var(--accent-dim); color: var(--accent); }
.pfc-icon--orange { background: rgba(251, 146, 60, 0.15); color: #fb923c; }

.pfc-node h3 { font-size: 0.88rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 0.35rem; line-height: 1.3; }
.pfc-node p  { font-size: 0.72rem; color: rgba(255,255,255,0.4); line-height: 1.55; margin-bottom: 0.9rem; }

.pfc-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.pfc-tags span {
    font-size: 0.6rem; color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 0.18rem 0.5rem; border-radius: 100px;
}

.pfc-port {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #0f172a;
    border: 2px solid rgba(255,255,255,0.18);
    top: 50%; transform: translateY(-50%); z-index: 2;
}

.pfc-port-l { left: -6px; }
.pfc-port-r { right: -6px; }

.pfc-conn { display: flex; align-items: center; width: 58px; flex-shrink: 0; }

.pfc-line {
    flex: 1; height: 2px;
    background: rgba(255,255,255,0.08);
    position: relative; overflow: hidden;
}

.pfc-dot {
    position: absolute;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
    top: 50%; transform: translateY(-50%);
    animation: pfcMove 2.1s ease-in-out forwards;
}

@keyframes pfcMove {
    0%   { left: -10px; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: calc(100% + 10px); opacity: 0; }
}

.pfc-arrow { color: rgba(255,255,255,0.25); width: 13px; height: 13px; flex-shrink: 0; }

/* ── Chat Demo ── */
.chat-demo { margin-bottom: 1.8rem; }

.chat-demo-label {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.82rem; font-weight: 700;
    color: var(--t-dark); margin-bottom: 1rem; flex-wrap: wrap;
}

.chat-demo-label i { color: var(--accent); }
.chat-demo-label svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

.chat-live-badge {
    font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.22);
    padding: 0.15rem 0.6rem; border-radius: 100px; margin-left: auto;
}

.chat-ab-container {
    display: flex; align-items: center; justify-content: center;
    gap: 1.5rem; position: relative; width: 100%;
}

.chat-demo-col {
    display: flex; flex-direction: column; align-items: center;
    gap: 1.2rem; flex: 1;
}

.chat-demo-window {
    position: relative;
    background: #0b141a;
    border-radius: 32px;
    border: 6px solid #1c2632;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5), inset 0 0 0 2px #000;
    overflow: hidden;
    width: 100%; max-width: 290px;
    height: 500px;
    display: flex; flex-direction: column;
    transition: transform 0.3s;
    margin: 0 auto;
}

.chat-demo-window::before {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    transform: translateX(-50%);
    width: 70px; height: 20px;
    background: #000; border-radius: 16px; z-index: 20;
    box-shadow: inset 0 0 2px rgba(255,255,255,0.1);
}

.chat-demo-window::after {
    content: '';
    position: absolute;
    bottom: 6px; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 4px;
    background: rgba(255,255,255,0.75);
    border-radius: 4px; z-index: 20;
}

.chat-human { border-color: #1c2632; }

.chat-ai {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 25px 60px -12px rgba(59,130,246,0.18), inset 0 0 0 2px #000;
    z-index: 2;
}

.chat-external-label {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.68rem; font-weight: 700;
    padding: 0.4rem 1rem; border-radius: 100px;
    text-transform: uppercase; letter-spacing: 0.05em;
    background: rgba(20, 25, 30, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.chat-external-label.red  { color: #f87171; border: 1px solid rgba(239,68,68,0.28); }
.chat-external-label.cyan { color: var(--accent); border: 1px solid var(--accent-border); }
.chat-external-label i    { width: 15px; height: 15px; }

.chat-vs-badge { font-weight: 900; color: var(--t-muted); font-size: 1.5rem; flex-shrink: 0; }

/* ── Chat Result Overlay ── */
.chat-result-overlay {
    position: absolute; inset: 0;
    background: rgba(4, 9, 18, 0.93);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 20;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    padding: 2rem 1.5rem; overflow: hidden;
}

.chat-result-overlay::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(59,130,246,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cro-eyebrow {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-dim); border: 1px solid var(--accent-border);
    border-radius: 100px; padding: 0.3rem 1rem; margin-bottom: 1rem;
    position: relative; z-index: 1;
}

.cro-title {
    font-size: 1.5rem; font-weight: 800; color: #fff;
    text-align: center; margin-bottom: 1.5rem;
    letter-spacing: -0.03em; position: relative; z-index: 1;
}

.cro-cards {
    display: flex; align-items: stretch; gap: 0;
    width: 100%; max-width: 720px;
    position: relative; z-index: 1;
}

.cro-card {
    flex: 1; border-radius: 14px;
    padding: 1.25rem;
    display: flex; flex-direction: column; gap: 0.5rem;
}

.cro-card-header { display: flex; align-items: center; gap: 0.8rem; width: 100%; }

.cro-card--human {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.18);
    border-left: 3px solid #ef4444;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.cro-card--ai {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid var(--accent-border);
    border-left: 3px solid var(--accent);
    box-shadow: 0 0 40px rgba(59,130,246,0.08), inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative; overflow: hidden;
}

.cro-card-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.18);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.cro-card-icon i { color: #ef4444; width: 17px; height: 17px; }

.cro-card-icon--ai { background: var(--accent-dim); border-color: var(--accent-border); }
.cro-card-icon--ai i { color: var(--accent); }

.cro-card-label {
    font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em;
    color: #ef4444; margin: 0;
}

.cro-card-label--ai { color: var(--accent); }

.cro-card-number {
    font-size: 2.8rem; font-weight: 900; color: #fff;
    line-height: 1.1; margin: 0.5rem 0 0; letter-spacing: -0.04em;
}

.cro-card-subtitle {
    font-size: 0.72rem; color: rgba(255,255,255,0.38);
    text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem;
}

.cro-card-subtitle--ai { color: rgba(59,130,246,0.6); }

.cro-unit { font-size: 1.1rem; font-weight: 600; color: #64748b; margin-left: 3px; }
.cro-unit--ai { color: var(--accent); }

.cro-card-facts {
    list-style: none; padding: 0; margin: 0.5rem 0 0;
    display: flex; flex-direction: column; gap: 0.6rem;
}

.cro-card-facts li {
    display: flex; align-items: flex-start; gap: 0.6rem;
    font-size: 0.8rem; color: rgba(255,255,255,0.72); line-height: 1.4;
}

.cro-card-facts li i { width: 15px; height: 15px; color: #ef4444; flex-shrink: 0; margin-top: 2px; }
.cro-card--ai .cro-card-facts li i { color: #4ade80; }

.cro-vs-col {
    flex-shrink: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 38px; gap: 0.5rem; padding: 0 0.25rem;
}

.cro-vs-line {
    flex: 1; width: 1px; max-height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.07), transparent);
}

.cro-vs-badge { font-size: 0.72rem; font-weight: 900; color: rgba(255,255,255,0.22); letter-spacing: 0.05em; }

.cro-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 1.75rem; padding: 0.75rem 1.75rem;
    background: var(--accent);
    color: #fff; font-weight: 700; font-size: 0.9rem;
    border-radius: 100px; text-decoration: none;
    box-shadow: 0 4px 20px rgba(59,130,246,0.28);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative; z-index: 1; pointer-events: auto;
}

.cro-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(59,130,246,0.38); }
.cro-cta i { width: 15px; height: 15px; }

/* Chat topbar */
.chat-topbar {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 2.4rem 0.8rem 0.6rem;
    background: #202c33;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative; z-index: 10;
}

.chat-topbar-icon { width: 17px; height: 17px; color: #8696a0; flex-shrink: 0; }
.chat-topbar-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }

.chat-avatar {
    width: 32px; height: 32px;
    border-radius: 50%; background: #25d366;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.chat-topbar-info { display: flex; flex-direction: column; gap: 0.1rem; flex: 1; }
.chat-topbar-info strong { font-size: 0.75rem; color: #e9edef; font-weight: 600; line-height: 1.2; }
.chat-topbar-info span   { font-size: 0.62rem; color: #8696a0; line-height: 1.2; }
#chat-status-text { font-size: 0.72rem; }

.chat-online-pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: #4ade80;
    animation: chatPulse 2s ease-in-out infinite;
}

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

.chat-messages-area {
    flex: 1; padding: 1rem 0.9rem;
    display: flex; flex-direction: column; gap: 0.5rem;
    overflow-y: auto; overflow-x: hidden;
    background: #0b141a;
    background-image: radial-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 16px 16px;
    scrollbar-width: none;
}

.chat-messages-area::-webkit-scrollbar { display: none; }

.chat-input-area {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 0.6rem 1.6rem;
    background: #202c33;
    border-top: 1px solid rgba(255,255,255,0.04);
    position: relative; z-index: 10;
}

.chat-input-icon { width: 19px; height: 19px; color: #8696a0; flex-shrink: 0; }

.chat-input-box {
    flex: 1; background: #2a3942;
    color: #8696a0; font-size: 0.75rem;
    padding: 0.4rem 0.8rem; border-radius: 20px;
    display: flex; align-items: center;
}

.chat-msg {
    display: flex; flex-direction: column;
    max-width: 85%;
    animation: chatMsgIn 0.3s ease-out;
}

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

.chat-msg--user { align-self: flex-start; }
.chat-msg--bot  { align-self: flex-end; margin-left: auto; }

.chat-bubble {
    padding: 0.5rem 0.7rem; border-radius: 10px;
    font-size: 0.75rem; line-height: 1.4;
    position: relative; word-wrap: break-word; overflow-wrap: break-word;
}

.chat-msg--user .chat-bubble { background: #202c33; color: #e9edef; border-radius: 12px 12px 12px 4px; }
.chat-msg--bot  .chat-bubble { background: #005c4b; color: #e9edef; border-radius: 12px 12px 4px 12px; }

.chat-time { font-size: 0.6rem; color: rgba(255,255,255,0.3); margin-top: 0.25rem; text-align: right; }

.chat-msg--typing .chat-bubble { padding: 0.7rem 1rem; display: flex; align-items: center; gap: 4px; min-width: 60px; }

.typing-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #8696a0;
    animation: typingBounce 1.3s ease-in-out infinite;
    flex-shrink: 0;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30%           { transform: translateY(-6px); opacity: 1; }
}

@media (max-width: 800px) {
    .chat-ab-container { flex-direction: column; gap: 0; align-items: stretch; padding: 0 1rem; }
    .chat-demo-window { flex: none; width: 100%; max-width: 100%; height: 250px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
    .chat-demo-col { gap: 0.5rem; }
    .chat-demo-window::before, .chat-demo-window::after { display: none; }
    .chat-topbar { padding: 0.4rem 0.6rem; }
    .chat-vs-badge { display: flex; align-items: center; gap: 0.75rem; justify-content: center; padding: 0.5rem 0; font-size: 0.62rem; font-weight: 900; color: rgba(255,255,255,0.28); letter-spacing: 0.12em; }
    .chat-vs-badge::before, .chat-vs-badge::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent); }
    .chat-bubble { font-size: 0.7rem; padding: 0.4rem 0.55rem; line-height: 1.3; }
    .chat-time { font-size: 0.5rem; margin-top: 0.15rem; }
    .typing-dot { width: 4px; height: 4px; }
    .chat-msg--typing .chat-bubble { padding: 0.4rem 0.5rem; min-width: 32px; }
    .chat-avatar { width: 24px; height: 24px; }
    .chat-topbar-info strong { font-size: 0.7rem; }
    .chat-topbar-info span { font-size: 0.55rem; }
    .chat-topbar-icon { width: 13px; height: 13px; }
    .chat-online-pulse { width: 6px; height: 6px; }
    .chat-external-label { font-size: 0.62rem; padding: 4px 10px; margin-bottom: 0; }
    .chat-external-label i { width: 13px; height: 13px; }
    .chat-messages-area { padding: 0.5rem 0.5rem; gap: 0.35rem; }
    .chat-input-area { display: none; }
    .chat-result-overlay { position: absolute; inset: 0 1rem; border-radius: 14px; z-index: 20; padding: 1rem 0.8rem; overflow-y: auto; justify-content: flex-start; background: rgba(4, 9, 18, 0.98); }
    .cro-eyebrow { font-size: 0.5rem; margin-top: 0; margin-bottom: 0.3rem; padding: 0.1rem 0.5rem; }
    .cro-title { font-size: 0.9rem; margin-bottom: 0.8rem; }
    .cro-cards { flex-direction: column; gap: 0.35rem; align-items: stretch; }
    .cro-vs-col { flex-direction: row; width: 100%; height: 12px; padding: 0; }
    .cro-vs-line { flex: 1; height: 1px; width: auto; max-height: none; background: linear-gradient(to right, transparent, rgba(255,255,255,0.07), transparent); }
    .cro-vs-badge { font-size: 0.55rem; }
    .cro-card { padding: 0.8rem; flex-direction: column; align-items: flex-start; gap: 0.2rem; }
    .cro-card-header { margin-bottom: 0; gap: 0.4rem; }
    .cro-card-icon { width: 24px; height: 24px; margin-bottom: 0; border-radius: 6px; }
    .cro-card-icon i { width: 12px; height: 12px; }
    .cro-card-label { font-size: 0.62rem; flex: 1; }
    .cro-card-number { font-size: 1.8rem; margin: 0.1rem 0 0; line-height: 1; width: 100%; }
    .cro-card-subtitle { font-size: 0.52rem; margin-bottom: 0.2rem; }
    .cro-unit { font-size: 0.75rem; }
    .cro-card-facts { margin-top: 0.3rem; gap: 0.3rem; width: 100%; }
    .cro-card-facts li { font-size: 0.62rem; gap: 0.3rem; line-height: 1.25; }
    .cro-card-facts li i { width: 12px; height: 12px; margin-top: 1px; }
    .cro-cta { margin-top: 1.2rem; padding: 0.6rem 1.4rem; font-size: 0.8rem; }
}

/* ── WhatsApp Float ── */
.whatsapp-float {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 54px; height: 54px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    z-index: 900;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.32);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 26px; height: 26px; fill: white; }

/* ── Scroll to Top ── */
.scroll-top {
    position: fixed;
    bottom: 90px; right: 26px;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(9, 9, 11, 0.88);
    border: 1.5px solid var(--s-border-d);
    color: var(--t-dim);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 800;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.28);
}

.scroll-top:hover {
    border-color: var(--accent-border);
    color: var(--accent);
    transform: translateY(-3px);
}

/* ── Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active { opacity: 1; transform: translateY(0); }

.problems-grid .reveal:nth-child(2),
.benefits-grid .reveal:nth-child(2),
.services-grid .reveal:nth-child(2),
.industries-grid .reveal:nth-child(2),
.testimonials-grid .reveal:nth-child(2)  { transition-delay: 0.1s; }

.problems-grid .reveal:nth-child(3),
.benefits-grid .reveal:nth-child(3),
.services-grid .reveal:nth-child(3),
.industries-grid .reveal:nth-child(3),
.testimonials-grid .reveal:nth-child(3)  { transition-delay: 0.18s; }

.problems-grid .reveal:nth-child(4),
.benefits-grid .reveal:nth-child(4),
.industries-grid .reveal:nth-child(4)    { transition-delay: 0.06s; }

.problems-grid .reveal:nth-child(5),
.benefits-grid .reveal:nth-child(5),
.industries-grid .reveal:nth-child(5)    { transition-delay: 0.14s; }

.problems-grid .reveal:nth-child(6),
.benefits-grid .reveal:nth-child(6),
.industries-grid .reveal:nth-child(6)    { transition-delay: 0.22s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
    .contact-grid  { grid-template-columns: 1fr; }
    .nav-links     { display: none; }
    .menu-btn      { display: flex; }
    .form-row      { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 2.5rem; padding-bottom: 2rem; }
    .timeline-item { grid-template-columns: 44px 28px 1fr; gap: 0 0.8rem; }
    .timeline-number { font-size: 1.7rem; }
    .hero-title { letter-spacing: -0.03em; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .scroll-top { bottom: 86px; right: 18px; }
    .whatsapp-float { bottom: 18px; right: 18px; }
}

/* ── Hero Glow + Social Proof ── */
.hero-proof {
    display: flex; align-items: center; justify-content: flex-start;
    gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap;
}

.hp-avatars { display: flex; align-items: center; }

.hp-avatars img {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--c-dark);
    object-fit: cover;
    margin-left: -8px; flex-shrink: 0;
}

.hp-avatars img:first-child { margin-left: 0; }

.hp-avatar-more {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--accent-dim);
    border: 2px solid var(--c-dark);
    color: var(--accent);
    font-size: 0.6rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin-left: -8px; flex-shrink: 0;
}

.hp-divider { width: 1px; height: 28px; background: rgba(255,255,255,0.1); flex-shrink: 0; }

.hp-text { display: flex; flex-direction: column; gap: 0.15rem; text-align: left; }
.hp-stars { color: #fbbf24; font-size: 0.7rem; letter-spacing: 2px; }
.hp-text > span { font-size: 0.78rem; color: var(--t-dim); }
.hp-text strong { color: var(--t-white); }

@media (max-width: 640px) { .hp-divider { display: none; } .hp-text { text-align: center; } }

/* ── Extra Animations ── */
.float-up { animation: floatUp 3s ease-in-out infinite; }

@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

.title-zoom {
    display: inline-block;
    color: var(--t-white);
}

/* btn-glow — tinted, no neon */
.btn-glow {
    position: relative; overflow: hidden;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.28);
}

.btn-glow::after {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0) 100%);
    transform: rotate(30deg);
    animation: btnShine 4s cubic-bezier(0.1, 0.7, 1.0, 0.1) infinite;
}

@keyframes btnShine {
    0%  { left: -100%; top: -100%; }
    20% { left: 100%; top: 100%; }
    100%{ left: 100%; top: 100%; }
}

.pulse-border { animation: borderPulse 3.5s infinite; }

@keyframes borderPulse {
    0%, 100% { border-color: rgba(255,255,255,0.15); }
    50%       { border-color: var(--accent-border); }
}

/* ── Real n8n Canvas ── */
.real-n8n-canvas {
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 3.5rem 2rem;
    margin-top: 3rem; margin-bottom: 3rem;
    position: relative; overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
    display: flex; justify-content: center;
}

.real-n8n-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.25;
    background-image: radial-gradient(rgba(255,255,255,0.1) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    pointer-events: none;
}

.real-n8n-track {
    display: flex; align-items: center; gap: 0;
    width: 100%; position: relative; z-index: 1;
    margin: 0 auto; justify-content: center;
}

.real-n8n-node {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 1.25rem;
    position: relative;
    flex: 1; min-width: 220px; max-width: 260px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.28);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.real-n8n-node:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.14); }

.rn-top { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem; }

.rn-icon {
    width: 32px; height: 32px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.rn-icon svg { width: 16px; height: 16px; }

.rn-app  { color: #ffffff; font-size: 0.88rem; font-weight: 600; }
.rn-body { color: rgba(255,255,255,0.5); font-size: 0.78rem; line-height: 1.35; }

.rn-badge {
    position: absolute; top: -10px; right: 15px;
    font-size: 0.6rem; font-weight: 700;
    padding: 0.2rem 0.6rem; border-radius: 12px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

.rn-port {
    width: 10px; height: 10px;
    background: rgba(255,255,255,0.12);
    border: 2px solid #1e293b;
    border-radius: 50%;
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
}

.rn-port-in  { left: -5px; }
.rn-port-out { right: -5px; }

.rn-conn {
    width: 30px; height: 2px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 -2px; flex-shrink: 0;
}

.rn-line {
    width: 100%; height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative; overflow: hidden;
}

.rn-flow-pulse {
    position: absolute;
    top: 0; left: -60%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
}

.rn-conn.rn-active .rn-flow-pulse { animation: rn-data-flow 1.6s ease-in-out infinite; }

@keyframes rn-data-flow {
    0%   { left: -60%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.rn-step { opacity: 0; transform: translateY(10px) scale(0.97); }

.rn-step.rn-active {
    opacity: 1; transform: translateY(0) scale(1);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.rn-conn.rn-step          { transform: none; }
.rn-conn.rn-step.rn-active { transform: none; }

@media (max-width: 900px) {
    .real-n8n-track { flex-direction: column; }
    .rn-conn { width: 2px; height: 35px; margin: -2px 0; }
    .rn-line { width: 2px; height: 100%; }
    .rn-port-out { top: auto; bottom: -5px; right: 50%; transform: translateX(50%); }
    .rn-port-in  { top: -5px; left: 50%; transform: translateX(-50%); }
    .real-n8n-node { width: 100%; min-width: unset; max-width: 320px; }
    .real-n8n-canvas { padding: 3rem 1.5rem; }
}

/* ── CTA Banner ── */
.cta-banner {
    position: relative; overflow: hidden;
    min-height: 560px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    background: radial-gradient(ellipse at 50% 110%, #0c2143 0%, #07111e 35%, var(--c-dark) 70%);
    border-top: 1px solid var(--s-border-d);
    border-bottom: 1px solid var(--s-border-d);
    text-align: center;
}

.ctab-bg-glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 80%, rgba(59,130,246,0.14) 0%, transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(14, 50, 100, 0.5) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}

.ctab-circuit {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 20%, transparent 75%);
    pointer-events: none; z-index: 0;
}

.ctab-visual {
    position: absolute; bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: min(640px, 90vw);
    display: flex; flex-direction: column; align-items: center; z-index: 1;
}

.cta-robot-hands {
    display: block; width: 100%; height: auto;
    filter: drop-shadow(0 -10px 60px rgba(59,130,246,0.2)) drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.ctab-logo-ring {
    position: absolute; top: 22%; left: 50%;
    transform: translateX(-50%);
    width: 62px; height: 62px;
    border-radius: 50%;
    background: radial-gradient(circle, #0f172a 0%, var(--c-dark) 100%);
    border: 1.5px solid var(--accent-border);
    box-shadow: 0 0 20px rgba(59,130,246,0.22), inset 0 0 12px rgba(59,130,246,0.08);
    display: flex; align-items: center; justify-content: center; z-index: 2;
}

.ctab-logo-ring svg { width: 30px; height: 30px; }

.ctab-bottom {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
    padding-top: clamp(220px, 38vw, 340px);
}

.ctab-eyebrow {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--accent); opacity: 0.8;
}

.ctab-bottom h2 {
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 900; color: var(--t-white);
    letter-spacing: -0.03em; line-height: 1.1; margin: 0;
}

.ctab-pill-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 2.2rem; border-radius: 100px;
    background: rgba(255,255,255,0.07);
    border: 1.5px solid var(--accent-border);
    color: var(--t-white); font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0.4rem;
}

.ctab-pill-btn svg { width: 14px; height: 14px; color: var(--accent); }

.ctab-pill-btn:hover {
    background: rgba(59,130,246,0.14);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59,130,246,0.18);
}

@media (max-width: 600px) {
    .cta-banner { min-height: 440px; }
    .ctab-logo-ring { width: 48px; height: 48px; top: 18%; }
    .ctab-logo-ring svg { width: 24px; height: 24px; }
}
