/* ═══════════════════════════════════════════════════════════════
   RutArg — Sistema de diseño institucional (core)
   Navy base · Naranja acción · Cyan energía
   Usado por TODAS las páginas del sitio.
   ═══════════════════════════════════════════════════════════════ */

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

/* ── Design tokens ──────────────────────────────────────────── */
:root {
    /* Navy — base institucional (del logo #003E7C) */
    --navy-900: #050d20;
    --navy-800: #071431;
    --navy-700: #0a1c44;
    --navy-600: #0e2a5e;
    --navy-500: #123a7d;
    --navy-400: #003E7C;   /* azul del logo */
    --navy-300: #2b5aa6;

    /* Naranja — acción / acento (del logo #E55C03) */
    --orange:        #F57C00;
    --orange-light:  #FF9800;
    --orange-bright: #FFB74D;
    --orange-dark:   #E55C03;
    --orange-glow:   rgba(245, 124, 0, 0.35);

    /* Cyan / turquesa — energía viva (glows, detalles) */
    --cyan:       #22D3EE;
    --cyan-light: #5EEAD4;
    --cyan-deep:  #0EA5C4;
    --cyan-glow:  rgba(34, 211, 238, 0.35);

    /* Semánticos */
    --green:      #22C55E;
    --green-light:#4ADE80;
    --danger:     #EF4444;

    /* Neutros */
    --ink:        #0b1220;
    --slate-900:  #0f172a;
    --slate-700:  #334155;
    --slate-600:  #475569;
    --slate-500:  #64748b;
    --slate-400:  #94a3b8;
    --slate-300:  #cbd5e1;
    --slate-200:  #e2e8f0;
    --slate-100:  #f1f5f9;
    --slate-50:   #f8fafc;
    --white:      #ffffff;

    /* Superficies */
    --surface:        #ffffff;
    --surface-soft:   #f6f8fc;
    --surface-dark:   var(--navy-800);

    /* Gradientes */
    --grad-orange:  linear-gradient(135deg, #FF9800 0%, #F57C00 55%, #E55C03 100%);
    --grad-navy:    linear-gradient(150deg, #071431 0%, #0a1c44 45%, #123a7d 100%);
    --grad-hero:    linear-gradient(155deg, #050d20 0%, #071431 40%, #0a1f4d 75%, #0e2a5e 100%);
    --grad-cyan:    linear-gradient(135deg, #5EEAD4 0%, #22D3EE 60%, #0EA5C4 100%);
    --grad-sunset:  linear-gradient(120deg, #22D3EE 0%, #3b82f6 30%, #F57C00 100%);
    --grad-text:    linear-gradient(100deg, #FFB74D 0%, #F57C00 50%, #FF7A18 100%);
    --grad-sheen:   linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);

    /* Tipografía */
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;

    /* Espaciado / layout */
    --container: 1200px;
    --container-wide: 1320px;
    --section-py: clamp(64px, 9vw, 120px);
    --gutter: clamp(20px, 4vw, 32px);

    /* Radios */
    --r-xs: 8px;
    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 26px;
    --r-xl: 36px;
    --r-pill: 999px;

    /* Sombras */
    --shadow-sm:  0 2px 8px rgba(7, 20, 49, .08);
    --shadow-md:  0 12px 30px rgba(7, 20, 49, .10);
    --shadow-lg:  0 26px 60px rgba(7, 20, 49, .16);
    --shadow-glow: 0 18px 50px var(--orange-glow);
    --shadow-cyan: 0 18px 50px var(--cyan-glow);

    /* Transiciones */
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --t-fast: .2s var(--ease);
    --t: .35s var(--ease);
    --t-slow: .6s var(--ease);

    --nav-h: 74px;
    --topbar-h: 114px; /* banner + nav; JS lo mide en runtime */
}

/* ── Base ───────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--topbar-h) + 12px);
    -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
    font-family: var(--font-body);
    color: var(--slate-700);
    background: var(--surface);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img, svg, video { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
::selection { background: var(--orange); color: #fff; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--slate-900);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.02em;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: var(--container-wide); }
.section { position: relative; padding: var(--section-py) 0; }
.section--soft { background: var(--surface-soft); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

.section--dark {
    background: var(--grad-navy);
    color: rgba(255,255,255,.82);
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

/* Divisor curvo/aurora entre secciones oscuras */
.section--dark::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 50% at 15% 0%, rgba(245,124,0,.14), transparent 60%),
        radial-gradient(50% 50% at 90% 20%, rgba(34,211,238,.12), transparent 60%);
    pointer-events: none;
}
.section > .container { position: relative; z-index: 2; }

/* ── Section header ─────────────────────────────────────────── */
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
    color: var(--orange-dark);
    background: rgba(245,124,0,.10);
    padding: 7px 15px; border-radius: var(--r-pill);
    margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--cyan-light); background: rgba(34,211,238,.12); }
.section-title {
    font-size: clamp(1.9rem, 4.4vw, 3rem);
    margin-bottom: 16px;
}
.section-sub {
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    color: var(--slate-500);
    line-height: 1.6;
}
.section--dark .section-sub { color: rgba(255,255,255,.62); }

.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.text-cyan { color: var(--cyan-deep); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    --btn-py: 15px; --btn-px: 30px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-display);
    font-weight: 600; font-size: 1rem; line-height: 1;
    padding: var(--btn-py) var(--btn-px);
    border-radius: var(--r-pill);
    position: relative; overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
    white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { --btn-py: 11px; --btn-px: 22px; font-size: .9rem; }
.btn--lg { --btn-py: 18px; --btn-px: 38px; font-size: 1.08rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: var(--grad-orange); color: #fff; box-shadow: 0 10px 28px var(--orange-glow); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 42px var(--orange-glow); }
.btn--dark { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-md); }
.btn--dark:hover { transform: translateY(-3px); background: var(--navy-700); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-3px); }
.btn--outline { background: transparent; color: var(--navy-400); border: 1.5px solid var(--slate-200); }
.btn--outline:hover { border-color: var(--orange); color: var(--orange-dark); transform: translateY(-3px); }

/* Brillo que barre el botón */
.btn--glow::after {
    content: ""; position: absolute; inset: 0;
    background: var(--grad-sheen);
    transform: translateX(-120%);
    transition: transform .7s var(--ease);
}
.btn--glow:hover::after { transform: translateX(120%); }

/* ── Store badges ───────────────────────────────────────────── */
.store-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 22px; border-radius: var(--r-md);
    background: #0b1220; color: #fff;
    border: 1px solid rgba(255,255,255,.14);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0,0,0,.32); border-color: rgba(255,255,255,.3); }
.store-btn__icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn__text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store-btn__small { font-size: .68rem; opacity: .75; letter-spacing: .02em; }
.store-btn__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.store-btn.is-soon { opacity: .55; cursor: default; pointer-events: none; }

.store-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Badge / chips ──────────────────────────────────────────── */
.badge {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-display); font-weight: 500; font-size: .85rem;
    padding: 8px 16px; border-radius: var(--r-pill);
    background: rgba(255,255,255,.08); color: #fff;
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(8px);
}
.badge--light { background: rgba(245,124,0,.1); color: var(--orange-dark); border-color: rgba(245,124,0,.2); }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green-light); position: relative; flex-shrink: 0; }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--green-light); animation: pulse-ring 1.8s ease-out infinite; }
.pulse-dot--orange { background: var(--orange-light); }
.pulse-dot--orange::after { border-color: var(--orange-light); }
@keyframes pulse-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

/* ═══════════════ TOPBAR (banner + navbar) ═══════════════ */
.topbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; }

/* Banner "próximamente" — se pliega al hacer scroll */
.soon-banner {
    overflow: hidden;
    max-height: 60px;
    transition: max-height var(--t), padding var(--t), opacity var(--t);
}
.topbar.is-collapsed .soon-banner { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }

/* ═══════════════ NAVBAR ═══════════════ */
.nav {
    position: relative; width: 100%;
    height: var(--nav-h);
    display: flex; align-items: center;
    transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.nav__logo img { height: 34px; width: auto; }
.nav.is-scrolled {
    background: rgba(255,255,255,.86);
    backdrop-filter: saturate(160%) blur(16px);
    box-shadow: 0 1px 0 rgba(15,23,42,.06), var(--shadow-sm);
}
/* En páginas con hero oscuro, el logo/links arrancan claros */
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links > li > a {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-display); font-weight: 500; font-size: .94rem;
    color: rgba(255,255,255,.9);
    padding: 9px 14px; border-radius: var(--r-pill);
    transition: color var(--t), background var(--t);
}
.nav__links > li > a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav.is-scrolled .nav__links > li > a { color: var(--slate-700); }
.nav.is-scrolled .nav__links > li > a:hover { background: var(--slate-100); color: var(--navy-400); }
.nav.is-scrolled .nav__links > li > a.is-active { color: var(--orange-dark); }
.nav__right { display: flex; align-items: center; gap: 12px; }

/* Dropdown */
.nav__item--has-menu { position: relative; }
.nav__menu {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
    min-width: 240px; padding: 10px;
    background: #fff; border-radius: var(--r-md);
    box-shadow: var(--shadow-lg); border: 1px solid var(--slate-100);
    opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav__item--has-menu:hover .nav__menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__menu a {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; border-radius: var(--r-sm);
    color: var(--slate-700); font-weight: 500; font-size: .92rem;
    transition: background var(--t), color var(--t);
}
.nav__menu a:hover { background: var(--surface-soft); color: var(--navy-400); }
.nav__menu a .emoji { font-size: 1.15rem; }

/* Lang selector */
.lang-select {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-display); font-weight: 500; font-size: .85rem;
    color: rgba(255,255,255,.85); padding: 8px 12px; border-radius: var(--r-pill);
    border: 1px solid rgba(255,255,255,.2);
}
.nav.is-scrolled .lang-select { color: var(--slate-600); border-color: var(--slate-200); }

/* Hamburger */
.nav__burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); position: relative; }
.nav__burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }
.nav.is-scrolled .nav__burger span { background: var(--navy-700); }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */
.hero {
    position: relative; min-height: min(92vh, 860px);
    display: flex; align-items: center;
    padding: calc(var(--topbar-h) + 40px) 0 72px;
    background: var(--grad-hero);
    color: #fff; overflow: hidden;
}
.hero__aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__aurora span {
    position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
    animation: float-blob 16s ease-in-out infinite;
}
.hero__aurora span:nth-child(1) { width: 460px; height: 460px; background: radial-gradient(circle, rgba(245,124,0,.55), transparent 70%); top: -80px; right: -60px; }
.hero__aurora span:nth-child(2) { width: 400px; height: 400px; background: radial-gradient(circle, rgba(34,211,238,.5), transparent 70%); bottom: -120px; left: -80px; animation-delay: -5s; }
.hero__aurora span:nth-child(3) { width: 320px; height: 320px; background: radial-gradient(circle, rgba(43,90,166,.6), transparent 70%); top: 40%; left: 45%; animation-delay: -9s; }
@keyframes float-blob { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(30px,-24px) scale(1.08); } 66% { transform: translate(-24px,20px) scale(.95); } }

.hero__grid-lines { position: absolute; inset: 0; opacity: .35; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 54px 54px; mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent 75%); }
.particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.particle { position: absolute; border-radius: 50%; animation: rise linear forwards; }
@keyframes rise { to { transform: translateY(-105vh) translateX(24px); opacity: 0; } }

.hero__content { position: relative; z-index: 3; max-width: 780px; }
.hero__badge { margin-bottom: 26px; }
.hero__title {
    font-size: clamp(2.4rem, 6.2vw, 4.4rem);
    color: #fff; line-height: 1.02; margin-bottom: 22px; letter-spacing: -.03em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__subtitle { font-size: clamp(1.05rem, 2.1vw, 1.32rem); color: rgba(255,255,255,.78); max-width: 620px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero__point { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; color: rgba(255,255,255,.82); }
.hero__point svg { width: 18px; height: 18px; color: var(--cyan-light); flex-shrink: 0; }

/* Scroll cue */
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; }
.scroll-cue .mouse { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-cue .wheel { width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ═══════════════ SUPER-APP SERVICE TABS ═══════════════ */
.svc-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.svc-tab {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-display); font-weight: 600; font-size: .98rem;
    padding: 13px 22px; border-radius: var(--r-pill);
    background: var(--surface-soft); color: var(--slate-600);
    border: 1.5px solid transparent;
    transition: color var(--t), background var(--t), box-shadow var(--t), transform var(--t);
}
.svc-tab .emoji { font-size: 1.2rem; }
.svc-tab:hover { transform: translateY(-2px); color: var(--navy-400); }
.svc-tab.is-active { color: #fff; background: var(--grad-orange); box-shadow: 0 12px 26px var(--orange-glow); }
.svc-panels { position: relative; }
.svc-panel { display: none; animation: fade-up .5s var(--ease) both; }
.svc-panel.is-active { display: block; }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.svc-panel__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.svc-panel__media {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    aspect-ratio: 4/3; background: var(--grad-navy);
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: clamp(5rem, 14vw, 9rem);
}
.svc-panel__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 30% 20%, rgba(245,124,0,.25), transparent 70%); }
.svc-panel__kicker { font-family: var(--font-display); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: var(--orange-dark); margin-bottom: 12px; }
.svc-panel__title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.svc-panel__text { color: var(--slate-500); font-size: 1.05rem; margin-bottom: 22px; }
.svc-panel__list { display: grid; gap: 12px; margin-bottom: 26px; }
.svc-panel__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--slate-700); }
.svc-panel__list svg { width: 22px; height: 22px; color: var(--green); flex-shrink: 0; }

/* ═══════════════ CARDS ═══════════════ */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
    position: relative; background: var(--surface);
    border: 1px solid var(--slate-100); border-radius: var(--r-lg);
    padding: 30px; box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    overflow: hidden; will-change: transform;
}
.card::before {
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
    background: var(--grad-orange); transform: scaleX(0); transform-origin: left;
    transition: transform var(--t);
}
.card:hover { box-shadow: var(--shadow-lg); border-color: rgba(245,124,0,.2); }
.card:hover::before { transform: scaleX(1); }
.card__icon {
    width: 58px; height: 58px; border-radius: var(--r-md);
    display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 20px;
    background: rgba(245,124,0,.1); color: var(--orange-dark);
    transition: transform var(--t);
}
.card:hover .card__icon { transform: rotate(-6deg) scale(1.08); }
.card__icon--cyan { background: rgba(34,211,238,.12); color: var(--cyan-deep); }
.card__title { font-size: 1.22rem; margin-bottom: 10px; }
.card__text { color: var(--slate-500); font-size: .98rem; }

/* Glass card (para fondos oscuros) */
.card--glass {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px); color: rgba(255,255,255,.8);
}
.card--glass .card__title { color: #fff; }
.card--glass .card__text { color: rgba(255,255,255,.62); }

/* Feature tile (grid de servicios chico) */
.tile {
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
    background: var(--surface); border: 1px solid var(--slate-100); border-radius: var(--r-md);
    padding: 26px 18px; box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(245,124,0,.25); }
.tile__emoji { font-size: 2.4rem; }
.tile__label { font-family: var(--font-display); font-weight: 600; color: var(--slate-800); font-size: .98rem; }

/* ═══════════════ STEPS ═══════════════ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.step { position: relative; text-align: center; }
.step__num {
    width: 64px; height: 64px; margin: 0 auto 18px;
    display: grid; place-items: center;
    font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff;
    background: var(--grad-orange); border-radius: 50%;
    box-shadow: 0 12px 26px var(--orange-glow);
    position: relative; z-index: 2;
}
.step__title { font-size: 1.12rem; margin-bottom: 8px; }
.step__text { color: var(--slate-500); font-size: .93rem; }
.section--dark .step__text { color: rgba(255,255,255,.6); }
.steps__line { position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(245,124,0,.4) 0 8px, transparent 8px 16px); z-index: 1; }

/* ═══════════════ STATS / COUNTERS ═══════════════ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 3vw, 40px); }
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { margin-top: 10px; font-weight: 500; color: var(--slate-500); font-size: .95rem; }
.section--dark .stat__label { color: rgba(255,255,255,.6); }

/* ═══════════════ MARQUEE (zonas / logos) ═══════════════ */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--slate-100); font-family: var(--font-display); font-weight: 500; color: var(--slate-700); white-space: nowrap; box-shadow: var(--shadow-sm); }
.chip svg { width: 18px; height: 18px; color: var(--orange); }

/* ═══════════════ CHECKLIST ═══════════════ */
.checklist { display: grid; gap: 14px; }
.check {
    display: flex; align-items: center; gap: 14px;
    background: var(--surface); border: 1px solid var(--slate-100); border-radius: var(--r-md);
    padding: 16px 20px; box-shadow: var(--shadow-sm);
    transition: transform var(--t), box-shadow var(--t);
}
.check:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.check__mark { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(34,197,94,.12); color: var(--green); }
.check__mark svg { width: 18px; height: 18px; }
.check span { font-weight: 500; color: var(--slate-700); }

/* ═══════════════ FAQ ═══════════════ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: var(--surface); border: 1px solid var(--slate-100); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: border-color var(--t), box-shadow var(--t); }
.faq__item.is-open { border-color: rgba(245,124,0,.3); box-shadow: var(--shadow-md); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; color: var(--slate-900); }
.faq__q svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; transition: transform var(--t); }
.faq__item.is-open .faq__q svg { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--t-slow); }
.faq__a p { padding: 0 24px 22px; color: var(--slate-500); }

/* ═══════════════ CTA band ═══════════════ */
.cta-band { position: relative; background: var(--grad-navy); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); overflow: hidden; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 20% 0%, rgba(245,124,0,.28), transparent 60%), radial-gradient(50% 80% at 85% 100%, rgba(34,211,238,.22), transparent 60%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band__title { font-size: clamp(1.8rem, 4vw, 2.8rem); color: #fff; margin-bottom: 14px; }
.cta-band__text { color: rgba(255,255,255,.72); max-width: 560px; margin: 0 auto 28px; font-size: 1.08rem; }

/* ═══════════════ FORMS ═══════════════ */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--slate-700); }
.field .req { color: var(--orange-dark); }
.input, .select, .textarea {
    width: 100%; padding: 14px 16px; border-radius: var(--r-sm);
    border: 1.5px solid var(--slate-200); background: var(--surface); color: var(--slate-900);
    transition: border-color var(--t), box-shadow var(--t);
}
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245,124,0,.12); }
.input.is-error, .select.is-error, .textarea.is-error { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(239,68,68,.1); }
.field__error { font-size: .82rem; color: var(--danger); display: none; }
.field.is-error .field__error { display: block; }
.checkbox { display: flex; align-items: flex-start; gap: 12px; font-size: .92rem; color: var(--slate-600); }
.checkbox input { width: 20px; height: 20px; accent-color: var(--orange); margin-top: 2px; flex-shrink: 0; }
.form-note { font-size: .85rem; color: var(--slate-400); }
.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.is-visible { display: block; animation: fade-up .5s var(--ease) both; }
.form-success__icon { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: rgba(34,197,94,.14); color: var(--green); display: grid; place-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }

/* ═══════════════ FOOTER ═══════════════ */
.footer { background: var(--navy-900); color: rgba(255,255,255,.62); padding: clamp(56px, 7vw, 84px) 0 30px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-orange); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__logo { height: 34px; margin-bottom: 18px; }
.footer__about { font-size: .95rem; max-width: 320px; margin-bottom: 20px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer__col a { display: block; padding: 6px 0; font-size: .93rem; color: rgba(255,255,255,.6); transition: color var(--t), transform var(--t); }
.footer__col a:hover { color: var(--orange-light); transform: translateX(4px); }
.footer__stores { display: flex; flex-direction: column; gap: 10px; }
.footer__stores img { height: 44px; width: auto; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: .86rem; color: rgba(255,255,255,.45); }
.footer__legal-links { display: flex; gap: 18px; }
.footer__legal-links a { color: rgba(255,255,255,.55); font-size: .86rem; transition: color var(--t); }
.footer__legal-links a:hover { color: var(--orange-light); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: background var(--t), transform var(--t); }
.footer__social a:hover { background: var(--orange); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; color: #fff; }

/* ═══════════════ PROXIMAMENTE banner ═══════════════ */
.soon-banner {
    display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
    background: var(--grad-orange); color: #fff; text-align: center;
    font-family: var(--font-display); font-weight: 600; font-size: .92rem;
    padding: 10px 20px;
}
.soon-banner .pulse-dot { background: #fff; }
.soon-banner .pulse-dot::after { border-color: #fff; }

/* ═══════════════ PAGE HERO (interior) ═══════════════ */
.page-hero { position: relative; background: var(--grad-hero); color: #fff; padding: calc(var(--topbar-h) + 48px) 0 68px; overflow: hidden; text-align: center; }
.page-hero__title { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; margin-bottom: 16px; }
.page-hero__text { color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; font-size: .86rem; color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--cyan-light); }

/* ═══════════════ Scroll reveal ═══════════════ */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal--scale { transform: scale(.94); }

/* Progreso de lectura (barra superior) */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--grad-orange); transition: width .1s linear; }

/* Back to top */
.to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(16px); transition: var(--t); z-index: 90; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); transform: translateY(-4px); }

/* ═══════════════ LEGAL (prosa) ═══════════════ */
.legal { max-width: 840px; margin: 0 auto; }
.legal__updated { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--slate-400); margin-bottom: 30px; padding: 8px 14px; background: var(--surface-soft); border-radius: var(--r-pill); }
.legal h2 { font-family: var(--font-display); font-size: 1.3rem; color: var(--navy-700); margin: 38px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.08rem; margin: 22px 0 10px; color: var(--slate-800); }
.legal p { color: var(--slate-600); margin-bottom: 14px; }
.legal ul { margin: 0 0 18px; display: grid; gap: 9px; }
.legal li { position: relative; padding-left: 24px; color: var(--slate-600); }
.legal li::before { content: ""; position: absolute; left: 5px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.legal a { color: var(--orange-dark); font-weight: 500; }
.legal a:hover { text-decoration: underline; }

/* ═══════════════ WHATSAPP FLOTANTE ═══════════════ */
.wa-float {
    position: fixed; left: 22px; bottom: 24px; z-index: 95;
    display: inline-flex; align-items: center; gap: 10px;
    height: 54px; padding: 0 18px 0 15px;
    background: #25D366; color: #fff; border-radius: var(--r-pill);
    box-shadow: 0 12px 30px rgba(37,211,102,.4);
    transition: transform var(--t), box-shadow var(--t);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(37,211,102,.5); }
.wa-float svg { width: 26px; height: 26px; flex-shrink: 0; }
.wa-float__text { font-family: var(--font-display); font-weight: 600; font-size: .95rem; white-space: nowrap; }
@media (max-width: 560px) {
    .wa-float { left: 16px; bottom: 16px; padding: 0; width: 54px; justify-content: center; }
    .wa-float__text { display: none; }
}

/* ═══════════════ COOKIE BANNER ═══════════════ */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px; margin: 0 auto; background: var(--navy-800); color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--shadow-lg); transform: translateY(160%); transition: transform .5s var(--ease); }
.cookie-bar.is-visible { transform: none; }
.cookie-bar__text { font-size: .9rem; line-height: 1.55; margin-bottom: 14px; }
.cookie-bar__text a { color: var(--cyan-light); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Utilidades */
.u-center { text-align: center; }
.u-mt-s { margin-top: 16px; } .u-mt-m { margin-top: 28px; } .u-mt-l { margin-top: 44px; }
.hide { display: none !important; }

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width: 980px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .steps, .steps--5 { grid-template-columns: repeat(2, 1fr); }
    .steps__line { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .svc-panel__inner { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer__col--brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .nav__burger { display: block; }
    .nav__links {
        position: fixed; inset: var(--topbar-h) 0 auto 0;
        flex-direction: column; align-items: stretch; gap: 4px;
        background: rgba(255,255,255,.98); backdrop-filter: blur(20px);
        padding: 16px var(--gutter) 26px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-140%); transition: transform var(--t-slow);
        max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    }
    .nav__links.is-open { transform: translateY(0); }
    .nav__links > li > a { color: var(--slate-800); padding: 14px 16px; font-size: 1.05rem; }
    .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 8px 12px; min-width: 0; }
    .nav__right .btn { display: none; }
    .lang-select { display: none; }
    .hero { min-height: auto; padding-top: calc(var(--topbar-h) + 28px); }
    .hero__actions .btn, .hero__actions .store-btn { flex: 1 1 100%; }
    .store-row { width: 100%; }
    .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .grid--4, .grid--3, .grid--2, .steps, .steps--5, .stats { grid-template-columns: 1fr; }
    .svc-tabs { gap: 8px; }
    .svc-tab { padding: 11px 16px; font-size: .9rem; }
    .footer__grid { grid-template-columns: 1fr; }
}
