/* =========================================================
   INVENTTIA · PREMIUM v3
   Logo-first · Modern · Serious · Interactive
   Brand-locked: Inventtia navy (#163353) with cyan accent
   ========================================================= */

/* ---------- 0. TOKENS ---------- */
:root {
    /* Brand — from inventtia_logo.jpg */
    --v2-navy-900: #0F2438;
    --v2-navy-800: #163353; /* logo wordmark */
    --v2-navy-700: #1E4A6E;
    --v2-steel-500: #3D6B8C;
    --v2-steel-400: #5B849E;
    --v2-blue-500:   #2A5F8A;
    --v2-cyan-400:   #5EB8D1;
    --v2-cyan-500:   #3A9BB8;
    /* Legacy aliases */
    --v2-violet-500: var(--v2-navy-800);
    --v2-violet-600: var(--v2-navy-900);
    --v2-indigo-500: var(--v2-navy-700);
    --v2-indigo-600: var(--v2-navy-900);

    /* Single accent lock = navy → steel (matches logo) */
    --v2-accent:           #163353;
    --v2-accent-strong:    #0F2438;
    --v2-accent-soft:      rgba(22, 51, 83, 0.10);
    --v2-accent-stroke:    rgba(22, 51, 83, 0.18);
    --v2-grad-accent:      linear-gradient(135deg, #0F2438 0%, #163353 48%, #2A5F8A 100%);
    --v2-grad-aurora:      conic-gradient(from 220deg at 50% 50%, #0F2438, #163353, #3A9BB8, #0F2438);

    /* Inks — cool navy neutrals (logo mist + ink) */
    --v2-ink-1000: #0A1522;
    --v2-ink-950:  #0C1A2A;
    --v2-ink-900:  #102033;
    --v2-ink-800:  #163353;
    --v2-ink-700:  #1F3F5A;
    --v2-ink-600:  #2C4F6A;
    --v2-ink-500:  #4A647A;
    --v2-ink-400:  #6B8498;
    --v2-ink-300:  #9AADB8;
    --v2-ink-200:  #D1D9E0;
    --v2-ink-150:  #E4EBF0;
    --v2-ink-100:  #EFF7F9; /* logo background mist */
    --v2-ink-50:   #F4F7F9;
    --v2-paper:    #F7FAFB;

    /* Semantic */
    --v2-bg:        var(--v2-paper);
    --v2-surface:   #FFFFFF;
    --v2-surface-2: var(--v2-ink-50);
    --v2-text:      #102033;
    --v2-text-soft: #3D5366;
    --v2-text-mute: #6B8498;
    --v2-border:    rgba(16, 32, 51, 0.08);
    --v2-border-strong: rgba(16, 32, 51, 0.14);

    /* Type */
    --v2-font-display: 'Geist', 'Cabinet Grotesk', 'Outfit', 'Inter', system-ui, sans-serif;
    --v2-font-body:    'Geist', 'Inter', system-ui, sans-serif;
    --v2-font-mono:    'Geist Mono', 'JetBrains Mono', ui-monospace, monospace;

    /* Radii — ONE scale, locked */
    --v2-r-xs: 6px;
    --v2-r-sm: 10px;
    --v2-r-md: 14px;
    --v2-r-lg: 20px;
    --v2-r-xl: 28px;
    --v2-r-2xl: 40px;
    --v2-r-pill: 999px;

    /* Shadows — tinted to brand navy */
    --v2-sh-xs: 0 1px 2px rgba(16, 32, 51, 0.04);
    --v2-sh-sm: 0 2px 8px rgba(16, 32, 51, 0.06);
    --v2-sh-md: 0 14px 40px -12px rgba(16, 32, 51, 0.18), 0 4px 12px rgba(16, 32, 51, 0.06);
    --v2-sh-lg: 0 32px 64px -20px rgba(16, 32, 51, 0.22), 0 8px 20px rgba(16, 32, 51, 0.08);
    --v2-sh-violet: 0 30px 80px -20px rgba(22, 51, 83, 0.40), 0 12px 32px -8px rgba(15, 36, 56, 0.28);
    --v2-sh-accent: var(--v2-sh-violet);
    --v2-sh-inset-hi: inset 0 1px 0 rgba(255, 255, 255, 0.10);
    --v2-sh-inset-lo: inset 0 -1px 0 rgba(16, 32, 51, 0.06);

    /* Glow */
    --v2-glow: 0 0 40px rgba(22, 51, 83, 0.18);
    --v2-glow-strong: 0 0 60px rgba(58, 155, 184, 0.28);
    --v2-spotlight: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(58, 155, 184, 0.12), transparent 40%);

    /* Motion — stronger, more deliberate curves */
    --v2-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --v2-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --v2-dur-fast: 160ms;
    --v2-dur-base: 300ms;
    --v2-dur-slow: 600ms;
}

@media (prefers-color-scheme: dark) {
    :root {
        --v2-bg:        var(--v2-ink-950);
        --v2-surface:   var(--v2-ink-900);
        --v2-surface-2: var(--v2-ink-800);
        --v2-text:      #F2F4FA;
        --v2-text-soft: #B7BECE;
        --v2-text-mute: #7A8198;
        --v2-border:    rgba(255, 255, 255, 0.08);
        --v2-border-strong: rgba(255, 255, 255, 0.14);
        --v2-sh-md: 0 14px 40px -12px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.35);
        --v2-sh-lg: 0 32px 64px -20px rgba(0, 0, 0, 0.7), 0 8px 20px rgba(0, 0, 0, 0.4);
        --v2-sh-inset-hi: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }
}

/* ---------- 1. RESET LAYER (scoped, won't fight legacy) ---------- */
.v2 *,
.v2 *::before,
.v2 *::after {
    box-sizing: border-box;
}

.v2 {
    font-family: var(--v2-font-body);
    color: var(--v2-text);
    background: var(--v2-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'ss01', 'cv11', 'cv02';
}

.v2 img { max-width: 100%; height: auto; display: block; }
.v2 a { color: inherit; text-decoration: none; }
.v2 button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ---------- 2. LAYOUT PRIMITIVES ---------- */
.v2-shell {
    max-width: 1320px;
    margin: 0 auto;
    padding-inline: clamp(20px, 4vw, 56px);
}

.v2-section {
    padding-block: clamp(64px, 9vw, 140px);
    position: relative;
}

/* Subtle vertical rhythm divider — used sparsely */
.v2-rule {
    height: 1px;
    background: var(--v2-border);
    margin: 0;
}

/* ---------- 3. NAV ---------- */
.v2-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    height: 68px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    transition: background var(--v2-dur-base) var(--v2-ease-out),
                border-color var(--v2-dur-base) var(--v2-ease-out),
                backdrop-filter var(--v2-dur-base) var(--v2-ease-out),
                color var(--v2-dur-base) var(--v2-ease-out);
    border-bottom: 1px solid transparent;
}

.v2-nav.is-stuck {
    background: color-mix(in srgb, var(--v2-bg) 82%, transparent);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom-color: var(--v2-border);
    color: var(--v2-text);
}

.v2-nav-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding-inline: clamp(20px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.v2-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--v2-font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: currentColor;
}

.v2-brand-logo {
    height: 26px;
    width: auto;
    max-width: 132px;
    object-fit: contain;
    display: block;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.v2-nav .v2-brand-logo,
.v2-drawer .v2-brand-logo {
    height: 26px;
    max-width: 132px;
}

.v2-brand-logo.is-mark {
    height: 28px;
    width: 28px;
    max-width: 28px;
    object-fit: cover;
    border-radius: 7px;
}

.v2-footer .v2-brand-logo {
    height: 30px;
    max-width: 150px;
    background: transparent;
}

/* Legacy square mark */
.v2-brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--v2-grad-accent);
    box-shadow: var(--v2-sh-violet), var(--v2-sh-inset-hi);
    position: relative;
    overflow: hidden;
}

.v2-brand-mark::after {
    content: 'I';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--v2-font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.02em;
}

.v2-nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.72);
}

.v2-nav.is-stuck .v2-nav-links {
    color: var(--v2-text-soft);
}

.v2-nav-links a {
    position: relative;
    transition: color var(--v2-dur-fast) var(--v2-ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .v2-nav:not(.is-stuck) .v2-nav-links a:hover { color: #fff; }
  .v2-nav.is-stuck .v2-nav-links a:hover { color: var(--v2-text); }
}

.v2-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--v2-r-pill);
    background: var(--v2-grad-accent);
    color: #ffffff !important;
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.005em;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 24px -10px rgba(22, 51, 83, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
    transition: transform var(--v2-dur-fast) var(--v2-ease-out),
                box-shadow var(--v2-dur-fast) var(--v2-ease-out);
}

.v2-nav-cta i { color: #ffffff; }
.v2-nav-cta:active { transform: translateY(0); }
@media (hover: hover) and (pointer: fine) {
  .v2-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -10px rgba(22, 51, 83, 0.7), inset 0 1px 0 rgba(255,255,255,0.22); }
}

.v2-burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--v2-r-sm);
    border: 1px solid var(--v2-border);
    background: var(--v2-surface);
    place-items: center;
}

@media (max-width: 880px) {
    .v2-nav-links { display: none; }
    .v2-burger { display: grid; }
}

/* ---------- 4. HERO ---------- */
.v2-hero {
    padding-top: clamp(110px, 14vh, 160px);
    padding-bottom: clamp(64px, 10vw, 120px);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1200px 600px at 80% 10%, rgba(58, 155, 184, 0.22), transparent 55%),
        radial-gradient(900px 500px at 20% 90%, rgba(22, 51, 83, 0.55), transparent 50%),
        linear-gradient(180deg, #0C1A2A 0%, #0F2438 50%, #163353 100%);
    color: #fff;
}

/* Animated mesh gradient overlay */
.v2-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 400px at 30% 30%, rgba(58, 155, 184, 0.10), transparent 60%),
        radial-gradient(700px 450px at 70% 70%, rgba(22, 51, 83, 0.25), transparent 55%);
    animation: v2-hero-breathe 12s var(--v2-ease-in-out) infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes v2-hero-breathe {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

@keyframes v2-btn-shimmer {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.v2-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

@media (max-width: 980px) {
    .v2-hero-grid { grid-template-columns: 1fr; }
}

.v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px 7px 10px;
    border-radius: var(--v2-r-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-family: var(--v2-font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.92);
    width: max-content;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.v2-eyebrow-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--v2-accent);
    box-shadow: 0 0 0 0 rgba(22, 51, 83, 0.55);
    animation: v2-pulse 2.4s var(--v2-ease-out) infinite;
}

@keyframes v2-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(22, 51, 83, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(22, 51, 83, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 51, 83, 0); }
}

.v2-hero h1 {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: clamp(42px, 6.4vw, 86px);
    line-height: 1.2;
    letter-spacing: -0.04em;
    margin: 22px 0 18px;
    color: #fff;
}

.v2-hero h1 em {
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(135deg, #5EB8D1 0%, #B8E3F0 50%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.15em 0 0.22em;
    display: inline-block;
    line-height: 1.45;
    vertical-align: top;
}

.v2-hero-sub {
    font-size: clamp(17px, 1.45vw, 20px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
    max-width: 56ch;
    margin: 0 0 34px;
}

.v2-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Buttons */
.v2-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: var(--v2-r-pill);
    font-family: var(--v2-font-display);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.005em;
    line-height: 1;
    white-space: nowrap;
    transition: transform var(--v2-dur-fast) var(--v2-ease-out),
                box-shadow var(--v2-dur-fast) var(--v2-ease-out),
                background var(--v2-dur-fast) var(--v2-ease-out);
    will-change: transform;
}

.v2-btn-primary {
    color: #fff;
    background: var(--v2-grad-accent);
    box-shadow: var(--v2-sh-violet), var(--v2-sh-inset-hi), var(--v2-glow);
    position: relative;
    overflow: hidden;
}

.v2-btn-primary::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(94, 184, 209, 0.35) 25%, transparent 50%);
    opacity: 0;
    transition: opacity var(--v2-dur-base) var(--v2-ease-out);
    animation: v2-btn-shimmer 6s linear infinite;
}

.v2-btn-primary:active { transform: translateY(0); }
@media (hover: hover) and (pointer: fine) {
  .v2-btn-primary:hover { transform: translateY(-2px); }
  .v2-btn-primary:hover::before { opacity: 1; }
}

.v2-btn-ghost {
    color: var(--v2-text);
    background: var(--v2-surface);
    border: 1px solid var(--v2-border-strong);
    box-shadow: var(--v2-sh-xs);
}

@media (hover: hover) and (pointer: fine) {
  .v2-btn-ghost:hover {
    transform: translateY(-2px);
    background: var(--v2-surface-2);
    box-shadow: var(--v2-sh-sm);
  }
}
.v2-btn-ghost:active { transform: translateY(0); }

/* Ghost button on dark hero sections */
.v2-hero .v2-btn-ghost,
.v2-cta .v2-btn-ghost {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}
.v2-hero .v2-btn-ghost:active,
.v2-cta .v2-btn-ghost:active { transform: translateY(0); }
@media (hover: hover) and (pointer: fine) {
  .v2-hero .v2-btn-ghost:hover,
  .v2-cta .v2-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
}

.v2-btn .v2-btn-arrow {
    display: inline-block;
    transition: transform var(--v2-dur-base) var(--v2-ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .v2-btn:hover .v2-btn-arrow { transform: translateX(3px); }
}

/* Hero visual: just centers the phone, no stage wrapper anymore */
.v2-hero-visual {
    display: grid;
    place-items: center;
    width: 100%;
    padding-block: clamp(20px, 4vw, 48px);
    perspective: 1200px;
}

/* Hero phone runs a touch bigger than stack-card phones */
.v2-phone-hero {
    max-width: 360px;
    filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.45));
}

.v2-hero-visual .v2-phone {
    box-shadow:
        0 50px 100px -30px rgba(11, 14, 26, 0.6),
        0 30px 60px -20px rgba(58, 155, 184, 0.35),
        0 0 80px rgba(58, 155, 184, 0.12),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (max-width: 980px) {
    .v2-phone-hero { max-width: 300px; }
}

/* hero meta strip — UNDER hero, not inside (Section 4.7) */
.v2-hero-trust {
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.v2-trust-label {
    font-family: var(--v2-font-mono);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    margin-bottom: 18px;
}

.v2-trust-row {
    display: flex;
    align-items: center;
    gap: clamp(24px, 5vw, 56px);
    flex-wrap: wrap;
}

.v2-trust-row span {
    font-family: var(--v2-font-display);
    font-weight: 500;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: -0.01em;
}

/* ---------- 5. SECTION HEADERS (no eyebrow spam) ---------- */
.v2-h {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: -0.028em;
    line-height: 1.2;
    color: var(--v2-text);
    max-width: 22ch;
    margin: 0 0 18px;
}

.v2-h em {
    font-style: italic;
    background: var(--v2-grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
    padding: 0.08em 0 0.12em;
    display: inline-block;
    vertical-align: top;
}

.v2-lede {
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.55;
    color: var(--v2-text-soft);
    max-width: 58ch;
    margin: 0;
}

/* ---------- 6. STICKY APP STACK ---------- */
.v2-stack {
    position: relative;
}

.v2-stack-intro {
    margin-bottom: 56px;
}

.v2-stack-card {
    position: sticky;
    top: 88px;
    min-height: min(78vh, 800px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
    padding: clamp(28px, 4vw, 56px);
    border-radius: var(--v2-r-2xl);
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    box-shadow: var(--v2-sh-md);
    margin-bottom: 28px;
    overflow: hidden;
    transform-origin: center top;
    will-change: transform, opacity;
}

/* Compact the stacked cards when the viewport is short so content isn't clipped */
@media (max-height: 780px) and (min-width: 881px) {
    .v2-stack-card {
        min-height: min(82vh, 760px);
        padding: 28px 36px;
        gap: 32px;
    }
    .v2-stack-card h3 { font-size: clamp(22px, 2.4vw, 32px); }
    .v2-stack-card p { font-size: 15px; margin-bottom: 18px; }
    .v2-stack-features { gap: 10px 16px; margin-bottom: 22px; }
    .v2-stack-features li { font-size: 13.5px; }
    .v2-stack-features i { width: 24px; height: 24px; font-size: 11px; }
    .v2-stack-visual { aspect-ratio: 3 / 4; }
    .v2-stack-visual .v2-phone { max-width: 260px; }
}

/* Very short viewport: abandon sticky stacking so all content is readable */
@media (max-height: 720px) and (min-width: 881px) {
    .v2-stack-card {
        position: relative;
        top: auto;
        min-height: auto;
    }
}

@media (max-width: 880px) {
    .v2-stack-card {
        grid-template-columns: 1fr;
        min-height: auto;
        position: relative;
        top: auto;
    }
}

.v2-stack-card[data-tone="vendedor"] {
    background:
        linear-gradient(135deg, rgba(22, 51, 83, 0.04), transparent 50%),
        var(--v2-surface);
}
.v2-stack-card[data-tone="admin"] {
    background:
        linear-gradient(135deg, rgba(58, 155, 184, 0.05), transparent 50%),
        var(--v2-surface);
}
.v2-stack-card[data-tone="catalogo"] {
    background:
        linear-gradient(135deg, rgba(30, 74, 110, 0.05), transparent 50%),
        var(--v2-surface);
}

.v2-stack-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--v2-font-mono);
    font-size: 12px;
    color: var(--v2-text-mute);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.v2-stack-tag::before {
    content: '';
    width: 14px;
    height: 1px;
    background: currentColor;
    display: block;
}

.v2-stack-card h3 {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: clamp(26px, 3.2vw, 44px);
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 14px 0 14px;
    color: var(--v2-text);
}

.v2-stack-card p {
    font-size: 17px;
    line-height: 1.55;
    color: var(--v2-text-soft);
    max-width: 46ch;
    margin: 0 0 24px;
}

.v2-stack-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.v2-stack-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: var(--v2-text);
}

.v2-stack-features i {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--v2-accent);
    background: var(--v2-accent-soft);
    font-size: 12px;
}

.v2-stack-visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--v2-r-xl);
    overflow: hidden;
    background: var(--v2-surface-2);
    box-shadow: var(--v2-sh-lg);
    border: 1px solid var(--v2-border);
}

.v2-stack-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.v2-stack-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(11, 14, 26, 0.18));
    pointer-events: none;
}

/* ---------- 7. BENTO ---------- */
.v2-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 18px;
    margin-top: 56px;
}

@media (max-width: 960px) {
    .v2-bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .v2-bento { grid-template-columns: 1fr; }
}

.v2-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--v2-r-xl);
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--v2-dur-base) var(--v2-ease-out),
                box-shadow var(--v2-dur-base) var(--v2-ease-out),
                border-color var(--v2-dur-base) var(--v2-ease-out);
    isolation: isolate;
}

@media (hover: hover) and (pointer: fine) {
  .v2-tile:hover {
    transform: translateY(-3px);
    box-shadow: var(--v2-sh-md);
    border-color: var(--v2-border-strong);
  }
}

.v2-tile h4 {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 14px 0 10px;
    color: var(--v2-text);
}

.v2-tile p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--v2-text-soft);
    margin: 0;
}

.v2-tile-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--v2-accent-soft);
    color: var(--v2-accent);
    display: grid;
    place-items: center;
    font-size: 18px;
}

/* Asymmetric placements */
.v2-tile-1 { grid-column: span 4; grid-row: span 2; }
.v2-tile-2 { grid-column: span 2; grid-row: span 1; }
.v2-tile-3 { grid-column: span 2; grid-row: span 1; }
.v2-tile-4 { grid-column: span 2; grid-row: span 1; }
.v2-tile-5 { grid-column: span 2; grid-row: span 1; }
.v2-tile-6 { grid-column: span 2; grid-row: span 1; }

@media (max-width: 960px) {
    .v2-tile-1,
    .v2-tile-2,
    .v2-tile-3,
    .v2-tile-4,
    .v2-tile-5,
    .v2-tile-6 {
        grid-column: span 2;
        grid-row: span 1;
    }
}
@media (max-width: 540px) {
    .v2-tile-1,
    .v2-tile-2,
    .v2-tile-3,
    .v2-tile-4,
    .v2-tile-5,
    .v2-tile-6 {
        grid-column: span 1;
    }
}

/* Hero tile (the big one) — gets real visual variation */
.v2-tile-1 {
    background:
        radial-gradient(80% 60% at 100% 0%, rgba(58, 155, 184, 0.18), transparent 60%),
        radial-gradient(80% 60% at 0% 100%, rgba(22, 51, 83, 0.20), transparent 60%),
        linear-gradient(160deg, #131732 0%, #0E1124 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--v2-sh-lg);
}
.v2-tile-1 h4 { color: #fff; font-size: 28px; }
.v2-tile-1 p { color: rgba(255,255,255,0.72); font-size: 16px; max-width: 36ch; }
.v2-tile-1 .v2-tile-icon { background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: blur(8px); }

.v2-tile-1 .v2-tile-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(60% 60% at 70% 30%, #000 30%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

.v2-tile-2 {
    background:
        linear-gradient(140deg, rgba(22, 51, 83, 0.10), transparent 60%),
        var(--v2-surface);
}

/* Number tile */
.v2-tile-stat .v2-num {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: 60px;
    line-height: 1.15;
    letter-spacing: -0.04em;
    background: var(--v2-grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    display: inline-block;
    padding: 0.05em 0 0.1em;
}

/* ---------- 8. CARNAVAL (editorial, different layout family) ---------- */
.v2-carnaval {
    background: var(--v2-ink-950);
    color: #fff;
    border-radius: var(--v2-r-2xl);
    margin-inline: clamp(12px, 3vw, 32px);
    padding: clamp(40px, 6vw, 80px);
    position: relative;
    overflow: hidden;
}

.v2-carnaval::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(600px 400px at 20% 30%, rgba(91, 132, 158, 0.20), transparent 60%),
        radial-gradient(700px 500px at 80% 70%, rgba(22, 51, 83, 0.22), transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.v2-carnaval-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

@media (max-width: 880px) {
    .v2-carnaval-inner { grid-template-columns: 1fr; }
}

.v2-carnaval h2 {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: clamp(36px, 4.8vw, 62px);
    letter-spacing: -0.03em;
    line-height: 1.02;
    color: #fff;
    margin: 18px 0 16px;
}

.v2-carnaval p {
    color: rgba(255,255,255,0.74);
    font-size: 17px;
    line-height: 1.55;
    max-width: 50ch;
    margin: 0 0 28px;
}

.v2-carnaval-tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: var(--v2-r-pill);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-family: var(--v2-font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255,255,255,0.12);
}

.v2-carnaval-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.v2-carnaval-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: rgba(255,255,255,0.88);
}

.v2-carnaval-list i {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-size: 11px;
}

.v2-carnaval-visual {
    aspect-ratio: 4/5;
    border-radius: var(--v2-r-xl);
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
}

.v2-carnaval-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-carnaval-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4));
    pointer-events: none;
}

/* Phone variant inside Carnaval block: transparent wrapper, just centers the phone */
.v2-carnaval-visual-phone {
    aspect-ratio: auto;
    background: transparent;
    box-shadow: none;
    border: 0;
    overflow: visible;
    display: grid;
    place-items: center;
    padding: 12px;
    min-height: 540px;
}
.v2-carnaval-visual-phone::after { display: none; }

/* "Carnaval" tone — red iridescent shadow ring */
.v2-phone[data-tone="carnaval"] {
    box-shadow:
        0 50px 100px -30px rgba(11, 14, 26, 0.55),
        0 30px 60px -20px rgba(220, 38, 38, 0.55),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Red screen: brand-saturated radial with depth.
   Specificity bumped (.v2-phone scope) so it always wins over the base #000 fill. */
.v2-phone .v2-phone-screen.v2-phone-screen-red {
    background:
        radial-gradient(60% 55% at 50% 38%, #FF3B30 0%, #DC2626 45%, #991B1B 100%) !important;
}

.v2-phone .v2-phone-screen.v2-phone-screen-red::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(45% 45% at 30% 20%, rgba(255, 255, 255, 0.20), transparent 70%),
        radial-gradient(40% 40% at 75% 85%, rgba(0, 0, 0, 0.32), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Status icons + island readable on red */
.v2-phone-screen-red .v2-phone-status {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

/* Centered content inside the phone screen */
.v2-phone-content-center {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px 48px;
    color: #fff;
}

.v2-phone-logo {
    width: 62%;
    max-width: 180px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.4));
    animation: v2-logo-breathe 6s var(--v2-ease-in-out) infinite;
    margin-bottom: 22px;
}

.v2-phone-title {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: 26px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 6px;
}

.v2-phone-tag {
    font-family: var(--v2-font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

@keyframes v2-logo-breathe {
    0%, 100% { transform: scale(1) translateY(0); }
    50%      { transform: scale(1.04) translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
    .v2-phone-logo { animation: none; }
}

.v2-carnaval .v2-btn-primary {
    background: linear-gradient(135deg, #2A5F8A 0%, #163353 100%);
    box-shadow: 0 30px 80px -20px rgba(91, 132, 158, 0.55);
}

/* ---------- 8b. FLOW — turnos & colas (teal tone) ---------- */
.v2-flow {
    background: var(--v2-ink-950);
    color: #fff;
    border-radius: var(--v2-r-2xl);
    margin-inline: clamp(12px, 3vw, 32px);
    padding: clamp(40px, 6vw, 80px);
    position: relative;
    overflow: hidden;
}

.v2-flow::before {
    content: '';
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(620px 420px at 22% 28%, rgba(58, 155, 184, 0.22), transparent 60%),
        radial-gradient(680px 500px at 82% 74%, rgba(16, 185, 129, 0.20), transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* Phone left, copy right — mirrors Carnaval but reversed for rhythm */
.v2-flow-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.v2-flow-copy { order: 2; }
.v2-flow-visual { order: 1; }

@media (max-width: 880px) {
    .v2-flow-inner { grid-template-columns: 1fr; }
    .v2-flow-copy { order: 1; }
    .v2-flow-visual { order: 2; }
}

.v2-flow h2 {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: clamp(36px, 4.8vw, 62px);
    letter-spacing: -0.03em;
    line-height: 1.02;
    color: #fff;
    margin: 18px 0 16px;
}

.v2-flow p {
    color: rgba(255,255,255,0.74);
    font-size: 17px;
    line-height: 1.55;
    max-width: 50ch;
    margin: 0 0 28px;
}

.v2-flow-tag {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: var(--v2-r-pill);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-family: var(--v2-font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255,255,255,0.12);
}

.v2-flow-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.v2-flow-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: rgba(255,255,255,0.88);
}

.v2-flow-list i {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: rgba(58, 155, 184, 0.16);
    color: #67E8F9;
    font-size: 11px;
}

/* "Flow" tone — teal iridescent shadow ring */
.v2-phone[data-tone="flow"] {
    box-shadow:
        0 50px 100px -30px rgba(11, 14, 26, 0.55),
        0 30px 60px -20px rgba(20, 184, 166, 0.50),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Teal screen: brand-saturated radial with depth */
.v2-phone .v2-phone-screen.v2-phone-screen-teal {
    background:
        radial-gradient(60% 55% at 50% 38%, #2DD4BF 0%, #0891B2 45%, #0E7490 100%) !important;
}

.v2-phone .v2-phone-screen.v2-phone-screen-teal::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(45% 45% at 30% 20%, rgba(255, 255, 255, 0.22), transparent 70%),
        radial-gradient(40% 40% at 75% 85%, rgba(0, 0, 0, 0.30), transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.v2-phone-screen-teal .v2-phone-status {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.40);
}

.v2-flow .v2-btn-primary {
    background: linear-gradient(135deg, #22D3EE 0%, #14B8A6 100%);
    box-shadow: 0 30px 80px -20px rgba(20, 184, 166, 0.55);
}

/* ---------- 9. CTA FINAL ---------- */
.v2-cta {
    text-align: center;
    padding-block: clamp(100px, 12vw, 160px);
    background:
        radial-gradient(900px 500px at 50% 0%, rgba(58, 155, 184, 0.18), transparent 50%),
        linear-gradient(180deg, #0F2438 0%, #0C1A2A 100%);
    color: #fff;
}

.v2-cta h2 {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: clamp(36px, 5.5vw, 72px);
    letter-spacing: -0.035em;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 18px;
    max-width: 18ch;
    margin-inline: auto;
}

.v2-cta h2 em {
    font-style: italic;
    background: linear-gradient(135deg, #5EB8D1 0%, #B8E3F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1.3;
    padding: 0.08em 0 0.12em;
    vertical-align: top;
}

.v2-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 52ch;
    margin: 0 auto 36px;
}

.v2-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- 10. FOOTER ---------- */
.v2-footer {
    background: var(--v2-ink-950);
    color: #fff;
    padding: 72px 0 32px;
}

.v2-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 880px) {
    .v2-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
    .v2-footer-grid { grid-template-columns: 1fr; }
}

.v2-footer h5 {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}

.v2-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.v2-footer ul a { color: rgba(255,255,255,0.62); font-size: 14.5px; transition: color var(--v2-dur-fast); }
@media (hover: hover) and (pointer: fine) {
  .v2-footer ul a:hover { color: #fff; }
}

.v2-footer-tag {
    color: rgba(255,255,255,0.62);
    font-size: 14.5px;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 38ch;
}

.v2-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    color: rgba(255,255,255,0.48);
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}

.v2-footer-bottom a { color: inherit; transition: color var(--v2-dur-fast); }
@media (hover: hover) and (pointer: fine) {
  .v2-footer-bottom a:hover { color: #fff; }
}

/* ---------- 11. REVEAL ANIMATIONS (CSS fallback) ---------- */
.v2-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 800ms var(--v2-ease-out), transform 800ms var(--v2-ease-out);
}
.v2-reveal.is-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .v2-reveal { opacity: 1; transform: none; transition: none; }
    .v2-eyebrow-pulse { animation: none; }
    .v2-stack-card { transform: none !important; }
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- 11b. MENÚ MÓVIL (drawer) ---------- */
.v2-drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--v2-dur-base) var(--v2-ease-out), visibility var(--v2-dur-base);
    pointer-events: none;
}

.v2-drawer.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.v2-drawer-scrim {
    position: absolute;
    inset: 0;
    background: rgba(6, 7, 15, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity var(--v2-dur-base) var(--v2-ease-out);
}

.v2-drawer.is-open .v2-drawer-scrim { opacity: 1; }

.v2-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    padding: 22px 24px 32px;
    background: var(--v2-surface);
    border-left: 1px solid var(--v2-border);
    box-shadow: var(--v2-sh-lg);
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--v2-dur-base) var(--v2-ease-out);
}

.v2-drawer.is-open .v2-drawer-panel { transform: translateX(0); }

.v2-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.v2-drawer-close {
    width: 40px;
    height: 40px;
    border-radius: var(--v2-r-sm);
    border: 1px solid var(--v2-border);
    display: grid;
    place-items: center;
    color: var(--v2-text);
}

.v2-drawer-panel a:not(.v2-btn):not(.v2-brand) {
    padding: 13px 0;
    font-family: var(--v2-font-display);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--v2-text);
    border-bottom: 1px solid var(--v2-border);
}

@media (hover: hover) and (pointer: fine) {
  .v2-drawer-panel a:not(.v2-btn):not(.v2-brand):hover { color: var(--v2-accent); }
}

.v2-drawer-panel .v2-btn { margin-top: 20px; justify-content: center; }

/* Bloquea el scroll del fondo con el drawer abierto */
body.v2-no-scroll { overflow: hidden; }

/* ---------- 12. UTILITIES ---------- */
.v2-mono { font-family: var(--v2-font-mono); }
.v2-balance { text-wrap: balance; }

/* Selection */
.v2 ::selection { background: var(--v2-accent); color: #fff; }

/* Focus visible */
.v2 a:focus-visible,
.v2 button:focus-visible,
.v2-btn:focus-visible {
    outline: 2px solid var(--v2-accent);
    outline-offset: 3px;
    border-radius: var(--v2-r-pill);
}

/* =========================================================
   13. PHONE MOCKUP
   ========================================================= */

.v2-phone {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 19.5;
    margin-inline: auto;
    border-radius: 44px;
    padding: 12px;
    background:
        linear-gradient(160deg, #1a1d2e 0%, #0b0e1a 60%, #1a1d2e 100%);
    box-shadow:
        0 50px 100px -30px rgba(11, 14, 26, 0.55),
        0 30px 60px -20px rgba(22, 51, 83, 0.35),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    isolation: isolate;
    transform-origin: center;
}

.v2-phone:not([data-tilt]) {
    animation: v2-phone-float 7s var(--v2-ease-in-out) infinite;
}

/* Side buttons (volume / power) */
.v2-phone::before,
.v2-phone::after {
    content: '';
    position: absolute;
    background: linear-gradient(90deg, #2a2d3e, #0b0e1a);
    border-radius: 2px;
    z-index: -1;
}
.v2-phone::before {
    left: -3px;
    top: 22%;
    width: 4px;
    height: 56px;
    border-radius: 2px 0 0 2px;
}
.v2-phone::after {
    right: -3px;
    top: 28%;
    width: 4px;
    height: 96px;
    border-radius: 0 2px 2px 0;
}

.v2-phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: #000;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.v2-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Dynamic island */
.v2-phone-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 26px;
    background: #000;
    border-radius: 999px;
    z-index: 2;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
}

.v2-phone-island::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #4b5266 0%, #06070f 70%);
    box-shadow: 0 0 0 0.5px rgba(255,255,255,0.06);
}

/* Status overlay (time + signal/wifi/battery) */
.v2-phone-status {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    font-family: var(--v2-font-display);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
    pointer-events: none;
}

.v2-phone-status .v2-status-right {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

/* Reflective sheen — diagonal sweep, very subtle */
.v2-phone-screen::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg,
        transparent 38%,
        rgba(255,255,255,0.10) 46%,
        rgba(255,255,255,0.22) 50%,
        rgba(255,255,255,0.08) 54%,
        transparent 62%
    );
    transform: translateX(-100%);
    animation: v2-phone-sheen 8s var(--v2-ease-in-out) infinite;
    pointer-events: none;
    z-index: 4;
    mix-blend-mode: overlay;
}

@keyframes v2-phone-float {
    0%   { transform: translateY(0) rotate(-1.5deg); }
    50%  { transform: translateY(-14px) rotate(1.5deg); }
    100% { transform: translateY(0) rotate(-1.5deg); }
}

@keyframes v2-phone-sheen {
    0%, 30%  { transform: translateX(-100%); }
    55%      { transform: translateX(100%); }
    100%     { transform: translateX(100%); }
}

/* Phone variants — accent ring tints (one ring tone per app) */
.v2-phone[data-tone="vendedor"] { box-shadow: 0 50px 100px -30px rgba(11, 14, 26, 0.55), 0 30px 60px -20px rgba(22, 51, 83, 0.45), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.v2-phone[data-tone="admin"]    { box-shadow: 0 50px 100px -30px rgba(11, 14, 26, 0.55), 0 30px 60px -20px rgba(58, 155, 184, 0.40), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.v2-phone[data-tone="catalogo"] { box-shadow: 0 50px 100px -30px rgba(11, 14, 26, 0.55), 0 30px 60px -20px rgba(30, 74, 110, 0.42), inset 0 0 0 1.5px rgba(255, 255, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.12); }

/* Override sticky-stack visual to be phone-sized, not landscape card */
.v2-stack-visual.v2-stack-visual-phone {
    aspect-ratio: auto;
    background: transparent;
    box-shadow: none;
    border: 0;
    overflow: visible;
    display: grid;
    place-items: center;
    min-height: 540px;
}
.v2-stack-visual.v2-stack-visual-phone::after { display: none; }

@media (max-width: 540px) {
    .v2-phone { max-width: 260px; }
    .v2-stack-visual.v2-stack-visual-phone,
    .v2-carnaval-visual-phone {
        min-height: auto;
        padding: 8px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v2-phone:not([data-tilt]) { animation: none; }
    .v2-phone-screen::after { animation: none; opacity: 0; }
}

/* =========================================================
   14. AURORA BACKGROUND (PS3 XMB style)
   ========================================================= */

.v2-aurora {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.v2-aurora-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.78;
    mix-blend-mode: normal;
    filter: blur(0.5px);
}

/* Aurora fallback layers (used when canvas can't or shouldn't run) */
.v2-aurora-fallback {
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(60% 50% at 20% 30%, rgba(22, 51, 83, 0.45), transparent 65%),
        radial-gradient(55% 45% at 80% 25%, rgba(58, 155, 184, 0.30), transparent 65%),
        radial-gradient(70% 60% at 50% 80%, rgba(30, 74, 110, 0.40), transparent 70%),
        radial-gradient(50% 40% at 10% 90%, rgba(91, 132, 158, 0.18), transparent 70%);
    filter: blur(60px) saturate(120%);
    opacity: 0.9;
    animation: v2-aurora-drift 24s var(--v2-ease-in-out) infinite alternate;
}

.v2-aurora-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(250, 251, 254, 0) 0%, rgba(250, 251, 254, 0.55) 70%, rgba(250, 251, 254, 0.92) 100%);
}

@media (prefers-color-scheme: dark) {
    .v2-aurora-veil {
        background: linear-gradient(180deg, rgba(10, 12, 22, 0) 0%, rgba(10, 12, 22, 0.55) 70%, rgba(10, 12, 22, 0.92) 100%);
    }
    .v2-aurora-canvas { opacity: 0.65; }
}

@keyframes v2-aurora-drift {
    0%   { transform: translate3d(-2%, -1%, 0) scale(1.0); }
    50%  { transform: translate3d(2%, 2%, 0) scale(1.05); }
    100% { transform: translate3d(-1%, 1%, 0) scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .v2-aurora-fallback { animation: none; }
}

/* Ensure hero ambient layer doesn't fight the global aurora */
.v2-hero::before { opacity: 0.6; }

/* Section backgrounds need slight scrim so text stays readable over aurora */
.v2-section .v2-shell,
.v2-hero .v2-shell {
    position: relative;
    z-index: 1;
}

/* Tile backgrounds get a touch more opacity to read clearly above aurora */
.v2-tile { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.v2-stack-card { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }

/* =========================================================
   15. MOBILE-NATIVE BASELINE
   ========================================================= */

html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

/* Fast, responsive taps on all controls */
.v2 button,
.v2 a,
.v2 [role="button"],
.v2-btn,
.v2-burger,
.v2-nav-cta,
.v2-drawer-close,
.v2-drawer-panel a {
    touch-action: manipulation;
    -webkit-touch-callout: none;
}

/* Avoid text selection on controls while keeping content selectable */
.v2 button,
.v2 [role="button"],
.v2-btn,
.v2-burger,
.v2-nav-cta,
.v2-drawer-close,
.v2-drawer-panel a:not([href^="http"]) {
    -webkit-user-select: none;
    user-select: none;
}

/* Fixed nav respects safe-area insets */
.v2-nav {
    padding-top: env(safe-area-inset-top, 0px);
    height: calc(68px + env(safe-area-inset-top, 0px));
}

/* Drawer panel respects safe-area insets */
.v2-drawer-panel {
    padding-top: calc(22px + env(safe-area-inset-top, 0px));
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
}

/* Drawer panel scroll containment */
.v2-drawer-panel {
    overscroll-behavior: contain;
}

/* Phone float animation is gentler on small screens */
@media (max-width: 540px) {
    .v2-phone:not([data-tilt]) {
        animation: v2-phone-float-mobile 7s var(--v2-ease-in-out) infinite;
    }
    @keyframes v2-phone-float-mobile {
        0%   { transform: translateY(0) rotate(-0.5deg); }
        50%  { transform: translateY(-6px) rotate(0.5deg); }
        100% { transform: translateY(0) rotate(-0.5deg); }
    }
}

/* =========================================================
   16. INTERACTIVE EFFECTS
   ========================================================= */

/* Scroll progress bar */
.v2-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, #5EB8D1, #B8E3F0);
    z-index: 100;
    pointer-events: none;
}

/* Mouse spotlight on cards/tiles */
.v2-stack-card,
.v2-tile,
.v2-carnaval,
.v2-flow {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.v2-stack-card::before,
.v2-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        500px circle at var(--mouse-x) var(--mouse-y),
        rgba(58, 155, 184, 0.10),
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--v2-dur-base) var(--v2-ease-out);
    pointer-events: none;
    z-index: 1;
}

/* Carnaval/Flow already use ::before for their background gradient, so spotlight lives on ::after */
.v2-carnaval::after,
.v2-flow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        500px circle at var(--mouse-x) var(--mouse-y),
        rgba(94, 184, 209, 0.10),
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--v2-dur-base) var(--v2-ease-out);
    pointer-events: none;
    z-index: 1;
}

.v2-stack-card:hover::before,
.v2-tile:hover::before,
.v2-carnaval:hover::after,
.v2-flow:hover::after {
    opacity: 1;
}

/* 3D tilt on phone mockups */
.v2-phone[data-tilt] {
    transform-style: preserve-3d;
    transition: transform var(--v2-dur-base) var(--v2-ease-out);
    will-change: transform;
}

/* Ensure children render above spotlight */
.v2-stack-card > *,
.v2-tile > *,
.v2-carnaval > *,
.v2-flow > * {
    position: relative;
    z-index: 2;
}

/* Hero word reveal */
.v2-hero h1 .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.v2-hero h1 .word-inner {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s var(--v2-ease-out), opacity 0.8s var(--v2-ease-out);
}
.v2-hero h1.is-revealed .word-inner {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger delays for hero words */
.v2-hero h1 .word:nth-child(1) .word-inner { transition-delay: 0.05s; }
.v2-hero h1 .word:nth-child(2) .word-inner { transition-delay: 0.12s; }
.v2-hero h1 .word:nth-child(3) .word-inner { transition-delay: 0.19s; }
.v2-hero h1 .word:nth-child(4) .word-inner { transition-delay: 0.26s; }
.v2-hero h1 .word:nth-child(5) .word-inner { transition-delay: 0.33s; }
.v2-hero h1 .word:nth-child(6) .word-inner { transition-delay: 0.40s; }
.v2-hero h1 .word:nth-child(7) .word-inner { transition-delay: 0.47s; }

@media (prefers-reduced-motion: reduce) {
    .v2-hero h1 .word-inner { transform: none; opacity: 1; }
}

/* =========================================================
   17. ABOUT & SERVICES SECTIONS
   ========================================================= */

.v2-section-header {
    text-align: center;
    max-width: 72ch;
    margin: 0 auto 56px;
}

.v2-section-header .v2-lede {
    margin: 0 auto;
}

.v2-section-dark {
    background:
        radial-gradient(1000px 500px at 10% 0%, rgba(58, 155, 184, 0.10), transparent 50%),
        linear-gradient(180deg, #163353 0%, #0F2438 100%);
    color: #fff;
}

.v2-section-dark .v2-h,
.v2-section-dark h3 {
    color: #fff;
}

.v2-section-dark .v2-lede,
.v2-section-dark p {
    color: rgba(255, 255, 255, 0.76);
}

.v2-section-dark .v2-btn-primary {
    background: linear-gradient(135deg, #3A9BB8 0%, #2A5F8A 100%);
    box-shadow: 0 24px 60px -16px rgba(0, 0, 0, 0.35), 0 0 40px rgba(94, 184, 209, 0.15);
}

.v2-about-intro {
    text-align: center;
    max-width: 72ch;
    margin: 0 auto 56px;
}

.v2-about-intro .v2-lede {
    margin: 0 auto;
}

.v2-about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.v2-about-card {
    position: relative;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-xl);
    padding: 32px;
    box-shadow: var(--v2-sh-sm);
    transition: transform var(--v2-dur-base) var(--v2-ease-out),
                box-shadow var(--v2-dur-base) var(--v2-ease-out),
                border-color var(--v2-dur-base) var(--v2-ease-out);
}

.v2-about-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v2-sh-md);
    border-color: var(--v2-border-strong);
}

.v2-about-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--v2-accent-soft);
    color: var(--v2-accent);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 22px;
}

.v2-about-card h3 {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    color: var(--v2-text);
}

.v2-about-card p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--v2-text-soft);
    margin: 0;
}

.v2-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.v2-service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--v2-r-xl);
    padding: 32px;
    transition: transform var(--v2-dur-base) var(--v2-ease-out),
                background var(--v2-dur-base) var(--v2-ease-out),
                border-color var(--v2-dur-base) var(--v2-ease-out);
}

.v2-service-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.v2-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(94, 184, 209, 0.14);
    color: #5EB8D1;
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 22px;
}

.v2-service-card h3 {
    font-family: var(--v2-font-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.v2-service-card p {
    font-size: 15px;
    line-height: 1.55;
    margin: 0;
}

.v2-service-cta {
    text-align: center;
    margin-top: 48px;
}

@media (max-width: 880px) {
    .v2-about-grid,
    .v2-service-grid { grid-template-columns: 1fr; }
}
