/*
  Paleta y tipografía tomadas directo de RestaurantERP.Web/wwwroot/css/app.css
  (Core Navy #111D2B + Core Gold/Accent #FF6B35, Manrope/IBM Plex Sans/JetBrains
  Mono) — para que la tienda pública se vea como una extensión del mismo
  producto, no como un sitio de marketing aparte. El héroe y la franja de
  "Hecho para el servicio" usan el navy oscuro (el mismo tono que .theme-auto
  usa en Ventas/KDS/Salón); el resto del sitio se queda en la paleta de
  oficina clara, igual que el resto de RestoCore.
*/

:root {
    --ink: #111D2B;
    --ink-2: #1B2A3F;
    --ink-3: #253954;

    --surface: #FAFAFA;
    --card: #FFFFFF;
    --border: rgba(17, 29, 43, .08);
    --border-strong: rgba(17, 29, 43, .16);

    --text-primary: #18181B;
    --text-secondary: #71717A;
    --text-muted: #A1A1AA;
    --text-on-ink: #FFFFFF;
    --text-on-ink-muted: #B8C2D9;

    --accent: #FF6B35;
    --accent-dark: #E5501C;
    --accent-soft: #FFE8DE;

    --positive: #2A9D8F;
    --positive-soft: #E1F5F2;

    --radius: 14px;
    --radius-sm: 8px;
    --font-heading: "Manrope", sans-serif;
    --font-body: "IBM Plex Sans", sans-serif;
    --font-mono: "JetBrains Mono", "IBM Plex Mono", monospace;

    --shadow-sm: 0 1px 2px rgba(17, 29, 43, .05), 0 1px 1px rgba(17, 29, 43, .04);
    --shadow-md: 0 16px 40px -12px rgba(17, 29, 43, .18), 0 4px 10px -4px rgba(17, 29, 43, .08);
    --shadow-glow: 0 8px 28px -6px rgba(255, 107, 53, .45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text-primary);
    background: var(--surface);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    min-height: 100vh;
}

::selection { background: var(--accent-soft); color: var(--accent-dark); }

/* Disuade el guardado casual de logos/íconos (clic derecho, arrastrar,
   "mantener pulsado" en iOS). No es protección real — cualquiera con las
   herramientas de desarrollador del navegador sigue pudiendo llegar al
   archivo — pero evita que alguien se lleve el logo con un clic sin querer
   pensarlo. El bloqueo de verdad del menú contextual va en _StoreLayout.cshtml. */
img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* ---------- Barra superior ---------- */

.mast {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.1rem 6vw;
    background: rgba(250, 250, 250, .78);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.mark {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.mark img {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}

.mark:hover img { transform: rotate(-6deg) scale(1.08); }

.mast-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    align-items: center;
    font-size: .93rem;
    font-weight: 500;
}

.mast-nav a {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    padding-bottom: 2px;
    transition: color .18s ease;
}

.mast-nav a:not(.mast-buy)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: right .22s cubic-bezier(.4, 0, .2, 1);
}

.mast-nav a:not(.mast-buy):hover {
    color: var(--ink);
}

.mast-nav a:not(.mast-buy):hover::after { right: 0; }

.mast-buy {
    color: #fff !important;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: .55rem 1.05rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    transition: transform .18s ease, box-shadow .18s ease;
}

.mast-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -6px rgba(255, 107, 53, .55);
}

/* Botón hamburguesa — oculto en escritorio, aparece solo bajo el
   breakpoint de abajo. Las 3 barras se cruzan en X cuando el menú
   está abierto (aria-expanded lo controla, sin necesidad de otra clase). */
.mast-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--card);
    cursor: pointer;
    flex: none;
}

.mast-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}

.mast-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mast-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.mast-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { position: relative; z-index: 2; }

/* ---------- Héroe (navy oscuro, igual al modo Tech-Gastronomy) ---------- */

.hero {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .85fr);
    gap: 2.5rem 4vw;
    padding: 5rem 6vw 5.5rem;
    align-items: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto auto;
    width: 60vw;
    height: 60vw;
    max-width: 720px;
    max-height: 720px;
    background: radial-gradient(circle, rgba(255, 107, 53, .28) 0%, rgba(255, 107, 53, 0) 68%);
    filter: blur(10px);
    animation: driftGlow 14s ease-in-out infinite alternate;
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto auto -30% -8%;
    width: 42vw;
    height: 42vw;
    max-width: 520px;
    max-height: 520px;
    background: radial-gradient(circle, rgba(42, 157, 143, .22) 0%, rgba(42, 157, 143, 0) 70%);
    pointer-events: none;
}

@keyframes driftGlow {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-4%, 6%) scale(1.08); }
}

.hero > div { position: relative; z-index: 2; animation: fadeUp .7s cubic-bezier(.16, 1, .3, 1) both; }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-mono);
    font-size: .74rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1.1rem;
}

.kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, .25);
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.6rem, 5.4vw, 4.4rem);
    line-height: 1.04;
    margin: 0 0 1.3rem;
    letter-spacing: -0.02em;
    color: var(--text-on-ink);
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(100deg, var(--accent) 10%, #FFB088 90%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lede { max-width: 36rem; font-size: 1.12rem; color: var(--text-on-ink-muted); margin: 0 0 2rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    padding: .85rem 1.5rem;
    font-size: .98rem;
    font-weight: 700;
    font-family: var(--font-body);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), box-shadow .2s ease, filter .2s ease;
}

.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 36px -6px rgba(255, 107, 53, .6); filter: brightness(1.03); }
.btn:active { transform: translateY(-1px) scale(.99); }

.btn.ghost {
    background: rgba(255, 255, 255, .06);
    color: var(--text-on-ink);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: none;
}

.btn.ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); transform: translateY(-3px); box-shadow: none; }

/* CTA de prueba gratis: mismo botón, con un pulso lento en el resplandor
   para que compita por atención contra "Comprar una licencia" sin
   volverse molesto ni parpadear como banner de los 2000. */
.btn-trial { animation: trialPulse 2.6s ease-in-out infinite; }

@keyframes trialPulse {
    0%, 100% { box-shadow: 0 8px 28px -6px rgba(255, 107, 53, .45); }
    50% { box-shadow: 0 10px 40px -4px rgba(255, 107, 53, .85); }
}

/* Comanda flotante: la reemplazamos por una "tarjeta de producto" con el
   mismo espíritu (recibo de venta), pero en el lenguaje visual del panel
   real en vez del papel artesanal de la versión anterior. */

.receipt {
    position: relative;
    z-index: 2;
    background: var(--ink-2);
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--text-on-ink);
    padding: 1.4rem 1.4rem 1.6rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    font-family: var(--font-mono);
    font-size: .82rem;
    line-height: 1.5;
    animation: fadeUp .7s .15s cubic-bezier(.16, 1, .3, 1) both, floaty 6s ease-in-out 1.2s infinite;
}

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

.receipt .cut { border: 0; border-top: 1px dashed rgba(255, 255, 255, .18); margin: .8rem 0; }

.receipt h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: .1rem 0 .3rem;
    font-weight: 700;
    color: var(--text-on-ink);
}

.receipt .row { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-on-ink-muted); }
.receipt .row span:first-child { color: var(--text-on-ink); }
.receipt .total { font-size: 1.05rem; font-weight: 600; color: var(--accent) !important; }
.receipt .total span { color: var(--accent) !important; }

/* ---------- Franjas de contenido ---------- */

.band { padding: 4.5rem 6vw; }

.band.dark {
    background: var(--ink);
    color: var(--text-on-ink);
    position: relative;
    overflow: hidden;
}

.band.dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 320px at 85% 0%, rgba(42, 157, 143, .16), transparent 60%);
    pointer-events: none;
}

.band.dark h2, .band.dark a { color: var(--text-on-ink); }

.band h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
    margin: 0 0 2.2rem;
    max-width: 34rem;
}

.split {
    position: relative;
    z-index: 1;
    display: grid;
    /* auto-fit en vez de "repeat(2, 1fr)" fijo: la cantidad de tarjetas
       ya no es fija (se editan desde /Admin/EditarWeb), así que el
       grid se reacomoda solo sin dejar un hueco feo si quedan 3, 5 o
       cualquier otra cantidad. */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.duty {
    border-top: none;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .035);
    border-radius: var(--radius);
    padding: 1.6rem 1.6rem 1.8rem;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1), background .25s ease, border-color .25s ease;
}

.duty:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 107, 53, .35);
}

.duty h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0 .5rem;
    display: flex;
    align-items: center;
    gap: .55rem;
}

.duty h3::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
    flex: none;
}

.duty p { margin: 0; color: var(--text-on-ink-muted); opacity: 1; font-size: .96rem; }

/* Tarjetas para fondo claro (página Descargar: "Después de instalar",
   requisitos del sistema). .duty de arriba está pensada para fondo
   oscuro (.band.dark, como en #oficio) — usada sobre fondo claro su
   texto gris claro sobre blanco casi no se lee. */
.spec-card {
    border: 1px solid var(--border-strong);
    background: var(--card);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem 1.6rem;
    box-shadow: var(--shadow-sm);
}

.spec-card h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0 0 .7rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--text-primary);
}

.spec-card h3::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--accent);
    flex: none;
}

.spec-card p { margin: 0 0 .5rem; color: var(--text-secondary); font-size: .93rem; line-height: 1.6; }
.spec-card p:last-child { margin-bottom: 0; }
.spec-card strong { color: var(--text-primary); }

/* Sub-línea del card (el "para quién es") — separada de la lista de
   filas de abajo para que no se lea como una fila más. */
.spec-sub { margin: 0 0 1.1rem; color: var(--text-secondary); font-size: .93rem; line-height: 1.5; }

/* Cada renglón como su propia fila con etiqueta chica arriba y el valor
   debajo — en vez de un párrafo tras otro del mismo tamaño, que es lo
   que hacía que la tarjeta se leyera como un bloque de texto plano. */
.spec-list { list-style: none; margin: 0; padding: 0; }

.spec-list li {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: .7rem 0;
    border-bottom: 1px solid var(--border);
}

.spec-list li:last-child { border-bottom: none; padding-bottom: 0; }
.spec-list li:first-child { padding-top: 0; }

.spec-label {
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.spec-value {
    font-size: .95rem;
    color: var(--text-primary);
    line-height: 1.45;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1.8rem 0;
}

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

/* ---------- Planes ---------- */

#planes { background: var(--surface); }

.plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    border: 0;
    background: transparent;
}

.plan {
    position: relative;
    padding: 1.8rem 1.6rem 2rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, border-color .25s ease;
}

.plan:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.plan .kicker { color: var(--text-muted); }
.plan .kicker::before { background: var(--text-muted); box-shadow: none; }

.plan.featured {
    background: var(--ink);
    color: var(--text-on-ink);
    border-color: var(--ink);
    margin: -14px 0;
    box-shadow: 0 22px 44px -14px rgba(17, 29, 43, .45);
}

.plan.featured::before {
    content: "Más pedido";
    position: absolute;
    top: -13px;
    left: 1.6rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .32rem .7rem;
    border-radius: 999px;
    box-shadow: 0 6px 16px -4px rgba(255, 107, 53, .5);
}

.plan.featured .kicker { color: var(--accent); }
.plan.featured .kicker::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 107, 53, .25); }
.plan.featured:hover { transform: translateY(-20px); border-color: var(--accent); }

.plan .name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.9rem;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Mismos colores por plan que usa el badge de tier en /Admin (Index.cshtml,
   _AdminLayout.cshtml: .badge.pos/.plus/.premium) — para que POS, Plus y
   Premium se reconozcan de un vistazo igual en la tienda que en el panel. */
.plan.tier-pos .name { color: var(--text-secondary); }
.plan.tier-plus .name { color: #1D5FBF; }
.plan.tier-premium .name { color: #7B2FCE; }
.plan.featured.tier-plus .name { color: #5B9BFF; }

.plan .line { min-height: 3.1em; margin: .4rem 0 1.1rem; color: var(--text-secondary); font-size: .96rem; }
.plan.featured .line { color: var(--text-on-ink-muted); }

.plan .price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 1.1rem;
}

.plan .price small {
    display: block;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: .72rem;
    letter-spacing: .01em;
    opacity: .7;
    margin-top: .3rem;
}

.plan ul { margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: .93rem; }

.plan li {
    padding: .5rem 0 .5rem 1.3rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.plan.featured li { border-bottom-color: rgba(255, 255, 255, .12); }

.plan li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--positive);
    font-weight: 700;
}

.plan.featured li::before { color: var(--accent); }

.plan .btn {
    margin-top: auto;
    align-self: stretch;
    justify-content: center;
    box-shadow: none;
}

.plan:not(.featured) .btn {
    background: var(--ink);
    color: #fff;
}

.plan:not(.featured) .btn:hover { background: var(--accent); box-shadow: var(--shadow-glow); }

.plan.featured .btn { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: var(--shadow-glow); }

.fine {
    font-family: var(--font-mono);
    font-size: .78rem;
    margin: 1.6rem 0 0;
    color: var(--text-muted);
}

/* ---------- Formularios (checkout) ---------- */

form.buy { max-width: 34rem; display: grid; gap: 1rem; }

label span {
    display: block;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: .35rem;
}

input, select, textarea {
    width: 100%;
    font: inherit;
    padding: .7rem .8rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--card);
    color: var(--text-primary);
    transition: border-color .18s ease, box-shadow .18s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* ---------- Resumen de precio en vivo (Pages/Store/Comprar.cshtml) ----------
   Se actualiza con JS puro a partir de PLAN_PRICING (JSON servido por el
   servidor, ver StorePlan.AnnualFullTotal/AnnualTotal/AnnualSavings) --
   nunca recalcula el descuento en el cliente, solo formatea lo que ya
   vino calculado, para que jamas se desincronice del monto real que cobra
   Wompi. */

.checkout-summary {
    background: var(--card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 1.1rem 1.3rem;
    margin: .2rem 0 .3rem;
    box-shadow: var(--shadow-sm);
}

.checkout-summary-label {
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 .45rem;
}

.checkout-summary-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0;
    font-family: var(--font-heading);
}

.checkout-summary-struck {
    font-size: .95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.checkout-summary-total {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--ink);
}

.checkout-summary-equivalent {
    margin: .4rem 0 0;
    font-size: .82rem;
    color: var(--text-secondary);
}

.checkout-summary-savings {
    margin: .3rem 0 0;
    font-size: .85rem;
    font-weight: 700;
    color: var(--positive);
}

.notice, .error {
    padding: 1rem 1.1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--card);
    margin-bottom: 1.2rem;
}

.notice { border-left: 3px solid var(--positive); }
.error { border-left: 3px solid #E63946; color: #E63946; background: #FCE4E6; border-color: transparent; }

.keybox {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    letter-spacing: .1em;
    background: var(--ink);
    color: #fff;
    padding: 1.1rem 1.2rem;
    display: inline-block;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

/* ---------- Pie ---------- */

.colophon {
    position: relative;
    z-index: 2;
    padding: 2.4rem 6vw 3rem;
    border-top: 1px solid var(--border);
    font-size: .92rem;
    color: var(--text-secondary);
    background: var(--surface);
}

.colophon-meta { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-top: .6rem; }
.colophon a { color: var(--ink); text-decoration: none; font-weight: 600; }
.colophon a:hover { color: var(--accent); }

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

@media (max-width: 900px) {
    .hero, .split, .plans { grid-template-columns: 1fr; }
    .plan.featured { margin: 0; }
    .plan.featured:hover { transform: translateY(-6px); }
    .hero { padding: 3.4rem 6vw 3rem; text-align: left; }
}

/* Nav del celular: en vez de que los 4 enlaces + el botón "Comprar
   licencia" se amontonen en la misma barra que el logo (lo que se veía
   apretado en el teléfono), acá se esconden detrás de un botón
   hamburguesa y se despliegan como panel completo debajo del header. */
@media (max-width: 720px) {
    .mast { padding: 1rem 5vw; flex-wrap: nowrap; }
    .mast-toggle { display: flex; }

    .mast-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height .3s ease, opacity .25s ease;
        pointer-events: none;
    }

    .mast-nav.open {
        max-height: 320px;
        opacity: 1;
        pointer-events: auto;
    }

    .mast-nav a:not(.mast-buy) {
        width: 100%;
        padding: .9rem 5vw;
        border-bottom: 1px solid var(--border);
        display: block;
    }

    .mast-nav a:not(.mast-buy)::after { display: none; }

    .mast-buy {
        margin: .8rem 5vw;
        width: calc(100% - 10vw);
        text-align: center;
        border-bottom: none;
    }
}

/* Botones del héroe apilados de lado a lado son difíciles de tocar en un
   teléfono chico — de 480px para abajo se van uno debajo del otro, a
   todo el ancho, para que el dedo no falle. */
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    .receipt, .hero > div { animation: none; }
    .hero::before { animation: none; }
}

/* ---------- Secciones libres del editor visual (/Admin/EditarWebVisual) ----------
   Se agregan siempre DESPUÉS de todo lo demás en Inicio/Descargar — ver
   Pages/Shared/_StorePageSections.cshtml y StorePageSection. */

.section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.section-split.image-right { direction: rtl; }
.section-split.image-right > * { direction: ltr; }

.section-split img {
    width: 100%;
    height: 100%;
    max-height: 26rem;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

@media (max-width: 860px) {
    .section-split { grid-template-columns: 1fr; direction: ltr; }
    .section-split img { max-height: 18rem; }
}

.section-cta { text-align: center; }
.section-cta .lede { margin-left: auto; margin-right: auto; }
.section-cta .btn { margin-top: .5rem; }

.section-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.8rem;
}

/* ---------- Promo de pago anual en las tarjetas de planes (/Admin/Modules) ---------- */

.plan .promo-badge {
    position: absolute;
    top: -13px;
    right: 1.6rem;
    background: linear-gradient(135deg, var(--positive), #1b7568);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .01em;
    padding: .35rem .85rem;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.plan .annual-price {
    margin: -.7rem 0 1.1rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--positive);
}

.plan.featured .annual-price { color: #6FE0C9; }

/* =====================================================================
   DEV-0186 — Portada con recorrido, capturas reales y animaciones.
   Todo lo que se mueve respeta prefers-reduced-motion (al final).
   ===================================================================== */

.ico { width: 1.1em; height: 1.1em; flex: none; }

/* Barra de progreso de lectura y cabecera que se compacta al bajar */
.scroll-progress {
    position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 40;
    background: linear-gradient(90deg, var(--accent), #FFB23F);
    transform-origin: 0 50%; transform: scaleX(0);
}
.mast { transition: padding .25s ease, box-shadow .25s ease, background .25s ease; }
.mast.is-scrolled { padding-top: .7rem; padding-bottom: .7rem; box-shadow: 0 8px 24px -16px rgba(17, 29, 43, .35); background: rgba(250, 250, 250, .92); }

/* ---------- Héroe ---------- */
.hero-v2 { grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr); padding-top: 4.2rem; padding-bottom: 5rem; min-height: min(88vh, 820px); }
.hero-v2 .hero-copy { animation: fadeUp .8s cubic-bezier(.16, 1, .3, 1) both; }
.kicker-live { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.kicker-live::before { display: none; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: livePulse 2s ease-out infinite; flex: none; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); } }

.hero-v2 h1 em {
    background: linear-gradient(100deg, #FF6B35 0%, #FFB23F 45%, #FF6B35 90%);
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmerText 6s ease-in-out infinite;
}
@keyframes shimmerText { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
    content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-20deg); animation: shine 4.2s ease-in-out infinite; z-index: -1; pointer-events: none;
}
@keyframes shine { 0%, 60% { left: -60%; } 85%, 100% { left: 130%; } }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; padding: 0; margin: 1.8rem 0 0; color: var(--text-on-ink-muted); font-size: .92rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust .ico { color: #3DDC97; }

.hero-visual { position: relative; z-index: 2; perspective: 1400px; animation: fadeUp 1s .15s cubic-bezier(.16, 1, .3, 1) both; }
.browser {
    position: relative; border-radius: 14px; overflow: hidden; background: #fff;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
    transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transform-style: preserve-3d;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EEF0F3; border-bottom: 1px solid #E2E5EA; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.browser-bar span:nth-child(2) { background: #FEBC2E; }
.browser-bar span:nth-child(3) { background: #28C840; }
.browser-bar em { margin-left: 10px; font-style: normal; font-size: .72rem; color: #6B7280; font-family: var(--font-mono); background: #fff; padding: 2px 10px; border-radius: 6px; flex: 1; max-width: 260px; transition: opacity .3s ease; }
.browser-screens { position: relative; aspect-ratio: 16 / 10; background: #F6F7F9; }
.browser-screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.03); transition: opacity .9s ease, transform 6s ease; }
.browser-screens img.is-active { opacity: 1; transform: scale(1); }

.float-ticket, .paper { height: auto; }
.float-ticket {
    position: absolute; width: 19%; max-width: 132px; right: -3%; bottom: -16%; z-index: 3;
    border-radius: 6px; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6);
    transform: rotate(5deg); animation: floaty 7s ease-in-out infinite;
}
.float-chip {
    position: absolute; display: inline-flex; align-items: center; gap: .5rem;
    padding: .6rem .95rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
    background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55);
    white-space: nowrap;
}
.chip-1 { left: -6%; top: 14%; animation: bob 5s ease-in-out infinite; }
.chip-2 { left: 6%; bottom: -7%; animation: bob 5.5s .8s ease-in-out infinite; }
.chip-ico { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--positive); color: #fff; }
.chip-ico .ico { width: 14px; height: 14px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floaty { 0%, 100% { transform: rotate(5deg) translateY(0); } 50% { transform: rotate(3deg) translateY(-12px); } }

/* ---------- Cinta de capacidades ---------- */
.marquee { overflow: hidden; background: var(--ink-2); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); padding: .95rem 0; -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; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 2.4rem; list-style: none; margin: 0; padding: 0 1.2rem; }
.marquee li { color: var(--text-on-ink-muted); font-family: var(--font-heading); font-weight: 700; font-size: .98rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.4rem; }
.marquee li::after { content: "✦"; color: var(--accent); font-size: .7rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Números ---------- */
.stats-band { padding-top: 3.2rem; padding-bottom: 3.2rem; background: #fff; border-bottom: 1px solid var(--border); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.02em; color: var(--ink); line-height: 1.1; }
.stat strong span { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--text-secondary); font-size: .95rem; }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Recorrido por módulos ---------- */
.tour { background: linear-gradient(180deg, #fff 0%, var(--surface) 100%); }
.tour h2 { max-width: 40rem; }
.band .kicker { color: var(--accent-dark); }
.tour-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.8rem; }
.tour-tab {
    position: relative; overflow: hidden; border: 1px solid var(--border-strong); background: #fff; color: var(--text-secondary);
    font: 600 .92rem var(--font-body); padding: .6rem 1.1rem; border-radius: 999px; cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.tour-tab:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-2px); }
.tour-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tour-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tour-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.tour-tab.is-active .tour-progress { animation: tourProgress var(--tour-ms, 7000ms) linear forwards; }
.tour.is-paused .tour-tab.is-active .tour-progress { animation-play-state: paused; }
@keyframes tourProgress { to { transform: scaleX(1); } }

.tour-stage { position: relative; }
.tour-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 2.5rem; align-items: center; }
.tour-panel[hidden] { display: none; }
.tour-panel.is-active .tour-copy { animation: fadeUp .6s cubic-bezier(.16, 1, .3, 1) both; }
.tour-panel.is-active .tour-shot { animation: shotIn .8s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes shotIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }
.tour-copy h3 { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; margin: 0 0 .8rem; color: var(--ink); }
.tour-copy p { color: var(--text-secondary); margin: 0 0 1.2rem; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; }
.checks .ico { color: #fff; background: var(--positive); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: .15rem; }
.browser-sm { transform: none; box-shadow: var(--shadow-md), 0 0 0 1px var(--border); }
.browser-sm img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.tour-shot.is-phone { display: flex; justify-content: center; }
.phone { width: min(300px, 70%); border-radius: 36px; padding: 10px; background: #0B1320; box-shadow: var(--shadow-md), 0 0 0 1px rgba(0, 0, 0, .2); position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 70px; height: 18px; margin-left: -35px; background: #0B1320; border-radius: 12px; z-index: 2; }
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; aspect-ratio: 780 / 1300; object-fit: cover; object-position: top; }

/* ---------- Tarjetas del porqué (editables) ---------- */
.duty { position: relative; overflow: hidden; }
.duty::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 180px; height: 180px; background: radial-gradient(circle, rgba(255, 107, 53, .22), transparent 70%); opacity: 0; transition: opacity .35s ease; }
.duty:hover::after { opacity: 1; }
.duty-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 1rem; background: rgba(255, 107, 53, .14); color: var(--accent); }
.duty-ico .ico { width: 22px; height: 22px; }
.duty h3::before { display: none; }
#oficio .kicker { color: var(--accent); }

/* ---------- Flujo del pedido ---------- */
.flow { background: #fff; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; position: relative; counter-reset: step; }
.flow-steps::before { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: var(--border-strong); }
.flow-steps::after { content: ""; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--accent), #FFB23F); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .2s; }
.flow-steps.is-visible::after { transform: scaleX(1); }
.flow-steps li { position: relative; text-align: center; display: grid; justify-items: center; gap: .35rem; }
.flow-ico { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--border-strong); color: var(--ink); margin-bottom: .5rem; transition: border-color .4s ease, background .4s ease, color .4s ease, transform .4s ease; transition-delay: calc(var(--d) * 300ms + 200ms); }
.flow-steps.is-visible .flow-ico { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); transform: scale(1.06); }
.flow-ico .ico { width: 24px; height: 24px; }
.flow-steps b { font-family: var(--font-heading); font-size: 1rem; color: var(--ink); }
.flow-steps li > span:last-child { color: var(--text-secondary); font-size: .9rem; max-width: 14rem; }

/* ---------- Tickets ---------- */
.tickets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; background: linear-gradient(180deg, var(--surface), #F2F3F6); overflow: hidden; }
.lede-light { color: var(--text-secondary); font-size: 1.08rem; margin: -1rem 0 1.4rem; max-width: 34rem; }
.tickets-visual { position: relative; height: 520px; }
.paper { position: absolute; width: 46%; border-radius: 4px; box-shadow: 0 30px 60px -25px rgba(17, 29, 43, .45), 0 0 0 1px rgba(17, 29, 43, .06); transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.paper-a { left: 8%; top: 0; transform: rotate(-5deg); }
.paper-b { right: 6%; top: 60px; transform: rotate(4deg); }
.tickets-visual:hover .paper-a { transform: rotate(-2deg) translate(-12px, -8px); }
.tickets-visual:hover .paper-b { transform: rotate(1deg) translate(12px, -8px); }

/* ---------- Planes: mensual / anual y lista plegable ---------- */
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; margin: -1rem 0 2rem; border-radius: 999px; background: #fff; border: 1px solid var(--border-strong); }
.billing-toggle button { border: 0; background: transparent; font: 600 .92rem var(--font-body); color: var(--text-secondary); padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; transition: background .25s ease, color .25s ease; }
.billing-toggle button.is-active { background: var(--ink); color: #fff; }
.save-pill { font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: 999px; background: var(--positive-soft); color: var(--positive); }
.billing-toggle button.is-active .save-pill { background: rgba(61, 220, 151, .2); color: #6FE0C9; }
.price-value { display: inline-block; transition: opacity .25s ease, transform .25s ease; }
.price-value.is-swapping { opacity: 0; transform: translateY(-6px); }
.plan .plan-more { display: none; }
.plan.is-expanded .plan-more { display: flex; animation: fadeUp .35s ease both; }
.plan-expand { border: 0; background: none; color: var(--accent-dark); font: 600 .9rem var(--font-body); padding: 0; margin: -.6rem 0 1.2rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.plan.featured .plan-expand { color: #FFB23F; }

/* ---------- Preguntas frecuentes ---------- */
.faq { background: #fff; }
.faq-list { display: grid; gap: .8rem; max-width: 52rem; }
.faq details { border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.faq details[open] { border-color: rgba(255, 107, 53, .45); background: #fff; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.3rem; font-family: var(--font-heading); font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); font-size: 1.1rem; transition: transform .3s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--text-secondary); animation: fadeUp .35s ease both; }

/* ---------- Cierre ---------- */
.final-cta { position: relative; overflow: hidden; background: var(--ink); padding: 5rem 6vw; text-align: center; }
.final-cta::before, .final-cta::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(20px); pointer-events: none; }
.final-cta::before { left: -120px; top: -220px; background: radial-gradient(circle, rgba(255, 107, 53, .32), transparent 65%); animation: driftGlow 12s ease-in-out infinite alternate; }
.final-cta::after { right: -140px; bottom: -260px; background: radial-gradient(circle, rgba(42, 157, 143, .28), transparent 65%); animation: driftGlow 14s ease-in-out infinite alternate-reverse; }
.final-cta-inner { position: relative; z-index: 1; max-width: 44rem; margin: 0 auto; }
.final-cta h2 { color: #fff; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; margin: 0 0 1rem; }
.final-cta p { color: var(--text-on-ink-muted); font-size: 1.1rem; margin: 0 0 2rem; }
.final-cta .hero-actions { justify-content: center; }

/* ---------- Barra fija en el celular ---------- */
.sticky-cta { display: none; }
@media (max-width: 720px) {
    .sticky-cta {
        display: flex; gap: .6rem; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
        padding: .6rem; border-radius: 18px; background: rgba(17, 29, 43, .94); backdrop-filter: blur(10px);
        box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5);
        transform: translateY(140%); transition: transform .35s cubic-bezier(.16, 1, .3, 1);
    }
    .sticky-cta.is-visible { transform: none; }
    .sticky-cta a { flex: 1; text-align: center; padding: .75rem .5rem; border-radius: 12px; font-weight: 700; font-size: .92rem; text-decoration: none; }
    .sticky-cta .primary { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
    .sticky-cta .secondary { color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
    body.has-sticky-cta .colophon { padding-bottom: 6rem; }
}

/* ---------- Pasos de la descarga ---------- */
.steps3 { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps3 li { counter-increment: s; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.steps3 li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); font-weight: 800; font-family: var(--font-heading); margin-bottom: .8rem; }
.steps3 b { display: block; font-family: var(--font-heading); color: var(--ink); margin-bottom: .25rem; }
.steps3 span { color: var(--text-secondary); font-size: .93rem; }
.download-hero { background: radial-gradient(900px 360px at 90% -10%, rgba(255, 107, 53, .12), transparent 60%), var(--surface); }
.download-hero .btn { font-size: 1.02rem; }

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1100px) {
    .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
    .flow-steps::before, .flow-steps::after { display: none; }
}
@media (max-width: 900px) {
    .hero-v2 { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .hero-v2 h1 { overflow-wrap: anywhere; }
    .hero-visual { margin: 1rem 4% 3rem; }
    .browser { --ry: 0deg; --rx: 0deg; }
    .chip-1 { left: -2%; top: -6%; }
    .tour-panel, .tickets { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
    .tickets-visual { height: 460px; }
    .steps3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .flow-steps { grid-template-columns: 1fr; }
    .flow-steps li { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; column-gap: 1rem; }
    .flow-ico { grid-row: span 2; margin: 0; }
    .flow-steps li > span:last-child { max-width: none; }
    .tour-tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: -6vw; margin-right: -6vw; padding: 0 6vw 6px; scrollbar-width: none; }
    .tour-tabs::-webkit-scrollbar { display: none; }
    .tour-tab { flex: none; }
    .float-chip { font-size: .75rem; padding: .45rem .75rem; }
    .float-ticket { width: 24%; right: -2%; bottom: -18%; }
    .tickets-visual { height: 380px; }
    .paper { width: 52%; }
    .paper-a { left: 0; }
    .paper-b { right: 0; }
    .billing-toggle { display: flex; width: 100%; }
    .billing-toggle button { flex: 1; justify-content: center; padding: .55rem .6rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .js .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
    .browser { transform: none; }
}
