:root {
      --bg-dark: #121A18;
      --bg-surface: #1C2723;
      --bg-surface-elevated: #283731;
      --bg-surface-card: #202D28;
      --accent-gold: #E1A938;
      --accent-gold-hover: #F0BB4D;
      --accent-gold-glow: rgba(225, 169, 56, 0.20);
      --accent-green: #38A169;
      --accent-green-glow: rgba(56, 161, 105, 0.20);
      --text-white: #FFFFFF;
      --text-muted: #D1DDD9;
      --text-dim: #9EB0AA;
      --border-gold: rgba(225, 169, 56, 0.35);
      --border-subtle: rgba(255, 255, 255, 0.09);
      --font-heading: 'Playfair Display', Georgia, serif;
      --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;
      --font-mono: 'IBM Plex Mono', monospace;
      --header-height: 80px;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: var(--header-height);
      box-sizing: border-box;
    }
    *, *:before, *:after { box-sizing: inherit; margin: 0; padding: 0; }

    body {
      padding-top: var(--header-height);
      background-color: var(--bg-dark);
      color: var(--text-white);
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* Focus visible (WCAG 2.4.7): anillo dorado consistente en toda la app */
    :focus-visible {
      outline: 3px solid var(--accent-gold);
      outline-offset: 2px;
    }
    :focus:not(:focus-visible) {
      outline: none;
    }
    /* Utilidad: contenido solo para lectores de pantalla (WCAG 1.3.1 / 2.4.1) */
    .sr-only {
      position: absolute !important;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    /* Skip link: oculto hasta navegar con teclado */
    .skip-link {
      position: absolute;
      top: -100%;
      left: 50%;
      transform: translateX(-50%);
      background: var(--accent-gold);
      color: #121A18;
      padding: 12px 24px;
      border-radius: 8px;
      font-weight: 700;
      z-index: 9999;
      text-decoration: none;
      transition: top 0.2s;
    }
    .skip-link:focus {
      top: 10px;
    }

    h1, h2, h3, h4 {
      font-family: var(--font-heading);
      line-height: 1.25;
      color: var(--text-white);
      font-weight: 700;
      margin-bottom: 0.8rem;
    }
    h1 { font-size: clamp(2.3rem, 4.5vw, 3.8rem); letter-spacing: -0.02em; }
    h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.01em; }
    h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
    p { margin-bottom: 1.25rem; color: var(--text-muted); }
    .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 300; line-height: 1.7; }
    .accent-text { color: var(--accent-gold); }

    .section-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-body);
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.15em;
      color: var(--accent-gold);
      background-color: var(--accent-gold-glow);
      padding: 6px 14px;
      margin-bottom: 16px;
      border: 1px solid var(--border-gold);
      border-radius: 30px;
    }

    .container {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: var(--header-height);
      background-color: rgba(18, 26, 24, 0.95);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-subtle);
      z-index: 500;
      display: flex;
      align-items: center;
    }
    .header-container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .brand-link {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: #fff;
    }
    .brand-link img {
      background: transparent;
      border: none;
      box-shadow: none;
      display: block;
    }
    .brand-badge-icon {
      width: 42px;
      height: 42px;
      background: linear-gradient(135deg, #1E2923, #E1A938);
      border: 1px solid var(--border-gold);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      box-shadow: 0 4px 12px rgba(225, 169, 56, 0.25);
    }
    .brand-name {
      font-family: var(--font-heading);
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: -0.01em;
    }
    .brand-name span { color: var(--accent-gold); }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 26px;
    }
    .nav-link {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 500;
      transition: color 0.2s;
    }
    .nav-link:hover { color: var(--accent-gold); }

    .nav-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: 8px;
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 0.92rem;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.25s ease;
      border: none;
    }
    .btn-gold {
      background-color: var(--accent-gold);
      color: #121A18;
      box-shadow: 0 4px 16px rgba(225, 169, 56, 0.35);
    }
    .btn-gold:hover {
      background-color: var(--accent-gold-hover);
      transform: translateY(-2px);
      box-shadow: 0 6px 22px rgba(225, 169, 56, 0.5);
    }
    .btn-outline {
      background: transparent;
      color: var(--text-white);
      border: 1px solid var(--border-subtle);
    }
    .btn-outline:hover {
      border-color: var(--accent-gold);
      color: var(--accent-gold);
      background: rgba(225, 169, 56, 0.06);
    }
    .btn-sm { padding: 8px 16px; font-size: 0.84rem; }
    .btn-google {
      background: #fff;
      color: #202124;
      border: 1px solid #dadce0;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      min-height: 44px;
      font-weight: 700;
    }
    .btn-google:hover { background: #f8f9fa; box-shadow: 0 4px 14px rgba(0,0,0,0.22); }
    .google-mark { color: #4285f4; font-size: 1.15rem; font-weight: 800; line-height: 1; }
    .google-modal-button { width: 100%; margin-bottom: 14px; }
    .auth-divider {
      display: flex;
      align-items: center;
      gap: 12px;
      margin: 0 0 16px;
      color: var(--text-dim);
      font-size: 0.76rem;
    }
    .auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--border-subtle); }

    .hero-section {
      position: relative;
      padding: 80px 0 100px 0;
      background: radial-gradient(circle at 80% 20%, rgba(225, 169, 56, 0.08) 0%, transparent 60%),
                  radial-gradient(circle at 10% 80%, rgba(56, 161, 105, 0.08) 0%, transparent 50%),
                  var(--bg-dark);
      border-bottom: 1px solid var(--border-subtle);
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 40px;
      align-items: center;
    }
    .hero-content {
      max-width: 620px;
      padding-right: 12px;
    }
    .hero-one-liner {
      max-width: 560px;
      font-family: var(--font-heading);
      font-size: clamp(1.08rem, 1.7vw, 1.3rem);
      font-style: italic;
      color: var(--accent-gold);
      margin-bottom: 14px;
      border-left: 3px solid var(--accent-gold);
      padding-left: 16px;
      line-height: 1.5;
    }
    .lead {
      max-width: 600px;
      margin-bottom: 0;
    }
    .hero-actions {
      margin-top: 28px;
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    /* Un solo CTA primario: Google es un link tranquilo debajo, no un
       segundo botón compitiendo (el modal conserva su botón Google). */
    .hero-google-link {
      background: none;
      border: none;
      padding: 4px 2px;
      color: var(--text-muted);
      font-family: var(--font-body);
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .hero-google-link:hover { color: #fff; }

    /* Hamburguesa móvil: solo existe en ≤900px (el toggle vive en index.js,
       sin on*= por la CSP script-src-attr 'none'). */
    .nav-burger {
      display: none;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      font-size: 1.3rem;
      color: #fff;
      background: transparent;
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      cursor: pointer;
    }
    @media (max-width: 900px) {
      .main-nav { display: none; }
      .nav-actions .btn-outline { display: none; }
      .nav-burger { display: inline-flex; }
      .site-header.nav-open .main-nav {
        display: flex;
        position: fixed;
        top: var(--header-height);
        left: 12px;
        right: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: #141d1a;
        border: 1px solid rgba(225, 169, 56, 0.4);
        border-radius: 12px;
        padding: 10px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
        z-index: 501;
      }
      .site-header.nav-open .nav-link {
        padding: 10px 12px;
        font-size: 1rem;
        border-radius: 8px;
      }
      .site-header.nav-open .nav-link:hover { background: rgba(225, 169, 56, 0.08); }
    }
    .hero-guarantee {
      margin-top: 18px;
      display: flex;
      align-items: center;
      gap: 20px;
      font-size: 0.84rem;
      color: var(--text-dim);
    }
    .guarantee-item { display: flex; align-items: center; gap: 6px; }
    .guarantee-item span { color: var(--accent-green); font-weight: bold; }

    /* Comparativa estática ScanGo vs delivery (reemplaza la calculadora) */
    .compare-section {
      padding: 64px 0;
      background: linear-gradient(110deg, rgba(225,169,56,0.07), rgba(56,161,105,0.07)), var(--bg-surface);
      border-bottom: 1px solid var(--border-subtle);
    }
    .compare-table { max-width: 860px; margin: 0 auto; border: 1px solid var(--border-gold); border-radius: 12px; overflow: hidden; background: rgba(10,15,13,0.55); }
    .compare-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--border-subtle); align-items: center; }
    .compare-row:last-child { border-bottom: none; }
    .compare-row span:first-child { color: var(--text-muted); font-size: 0.85rem; font-weight: 700; }
    .compare-row span:not(:first-child) { font-size: 0.88rem; text-align: center; }
    .compare-head span { font-weight: 800; font-size: 0.9rem; }
    .compare-scango { color: var(--accent-gold); font-weight: 700; }
    .compare-head .compare-scango { color: var(--accent-gold); }

    /* Banda de hechos (R6): resultado por hechos verificables, estilo Fornno pero honesto */
    .facts-band-section { padding: 60px 0; background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle); }
    .facts-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto; }
    .fact-chip {
      display: flex; flex-direction: column; gap: 8px;
      padding: 22px 18px;
      background: rgba(10, 15, 13, 0.55);
      border: 1px solid var(--border-gold);
      border-radius: 12px;
      text-align: center;
      transition: transform 0.2s ease, border-color 0.2s ease;
    }
    .fact-chip:hover { transform: translateY(-3px); border-color: var(--accent-gold); }
    .fact-number {
      font-size: 2rem; font-weight: 800; letter-spacing: -0.5px;
      color: var(--accent-gold); line-height: 1.1;
    }
    .fact-label { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; }
    @media (max-width: 860px) {
      .facts-band { grid-template-columns: repeat(2, 1fr); }
      .fact-number { font-size: 1.6rem; }
    }
    @media (max-width: 520px) {
      .facts-band { grid-template-columns: 1fr; }
    }

    .hero-mockup-wrapper {
      position: relative;
      background: var(--bg-surface);
      border: 1px solid var(--border-gold);
      border-radius: 16px;
      padding: 24px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      overflow: hidden;
    }
    .hero-mockup-wrapper:hover {
      transform: translateY(-3px);
      box-shadow: 0 26px 70px rgba(0, 0, 0, 0.75);
    }
    .mockup-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid var(--border-subtle);
      padding-bottom: 14px;
      margin-bottom: 18px;
    }
    .mockup-dots { display: flex; gap: 6px; }
    .dot { width: 10px; height: 10px; border-radius: 50%; }
    .dot-red { background: #FF5F56; }
    .dot-yellow { background: #FFBD2E; }
    .dot-green { background: #27C93F; }
    .mockup-badge {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 700;
      background: #143826;
      color: #4ade80;
      padding: 4px 10px;
      border-radius: 20px;
      border: 1px solid #22c55e;
      letter-spacing: 0.03em;
    }
    .phone-simulator {
      position: relative;
      background: #0E1412;
      border: 2px solid #2B3A33;
      border-radius: 24px;
      padding: 16px;
      box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
      overflow: hidden;
    }
    .sim-top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 11px;
      color: var(--text-dim);
      padding-bottom: 10px;
      border-bottom: 1px dashed rgba(255,255,255,0.1);
    }
    .sim-restaurant-title {
      font-family: var(--font-heading);
      font-size: 16px;
      color: var(--accent-gold);
      margin: 12px 0 4px 0;
      text-align: center;
    }
    .sim-slogan { font-size: 11px; color: var(--text-dim); text-align: center; margin-bottom: 12px; }
    .sim-dish-card {
      background: var(--bg-surface-elevated);
      border-radius: 8px;
      padding: 10px 12px;
      margin-bottom: 8px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: 1px solid rgba(255,255,255,0.06);
    }
    .sim-dish-info h4, .sim-dish-info .sim-dish-name {
      font-size: 13px;
      font-weight: 700;
      margin: 0;
      color: #fff;
    }
    .sim-dish-info p { font-size: 10px; margin: 0; color: var(--text-dim); }
    .sim-dish-price { font-family: var(--font-mono); color: var(--accent-gold); font-size: 13px; font-weight: 700; }
    .sim-btn-add {
      background: var(--accent-green);
      color: #fff;
      border: none;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      cursor: pointer;
      font-weight: bold;
    }
    .sim-btn-remove {
      background: transparent;
      color: var(--accent-gold);
      border: 1px solid var(--accent-gold);
      width: 24px;
      height: 24px;
      border-radius: 50%;
      cursor: pointer;
      font-weight: bold;
      line-height: 1;
    }
    .sim-btn-remove[hidden] { display: none; }
    .sim-cart-bar {
      margin-top: 14px;
      background: linear-gradient(135deg, #38f29a 0%, #22c55e 100%);
      color: #0E1412;
      border-radius: 10px;
      padding: 10px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 12px;
      font-weight: 800;
      box-shadow: 0 6px 18px rgba(34, 197, 94, 0.24);
      transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
      border: 1px solid rgba(12, 20, 18, 0.12);
    }
    .sim-cart-bar.attention {
      animation: simCartPulse 0.9s ease-in-out 2;
      box-shadow: 0 0 0 3px rgba(73, 255, 167, 0.2), 0 12px 28px rgba(34, 197, 94, 0.34);
    }
    @keyframes simCartPulse {
      0%   { transform: translateX(0) scale(1); filter: brightness(1); }
      20%  { transform: translateX(1.5px) scale(1.01); filter: brightness(1.06); }
      40%  { transform: translateX(-1.5px) scale(1.01); filter: brightness(1.09); }
      60%  { transform: translateX(1.5px) scale(1.02); filter: brightness(1.12); }
      100% { transform: translateX(0) scale(1); filter: brightness(1); }
    }

    .features-section {
      padding: 100px 0;
      background-color: var(--bg-surface);
      border-bottom: 1px solid var(--border-subtle);
    }
    .section-header {
      text-align: center;
      max-width: 760px;
      margin: 0 auto 60px auto;
    }
    /* --- FUNCIONALIDADES · bento asimétrico con iconos ---
       Gramática propia: 1 tarjeta héroe 2x2 a la izquierda + 3 tarjetas
       de apoyo en un bloque 2x2 a la derecha. Rompe el "grid de 4
       iguales" con jerarquía visual real y sin huecos. */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      grid-auto-rows: minmax(150px, auto);
      gap: 20px;
    }
    .feature-card {
      min-width: 0;
      background-color: var(--bg-dark);
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 28px 26px;
      transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .feature-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-gold);
      box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    }
    /* Placement explícito: héroe 2x2 izq., apoyos der. sin huecos */
    .feature-card--hero {
      grid-column: 1 / 3;
      grid-row: 1 / 3;
      justify-content: flex-end;
      padding: 40px 36px;
      background:
        radial-gradient(120% 120% at 12% 8%, rgba(225,169,56,0.12) 0%, transparent 55%),
        var(--bg-dark);
      border-color: var(--border-gold);
    }
    .features-grid .feature-card:nth-child(2) { grid-column: 3; grid-row: 1; }
    .features-grid .feature-card:nth-child(3) { grid-column: 4; grid-row: 1; }
    .features-grid .feature-card:nth-child(4) { grid-column: 3 / 5; grid-row: 2; }
    .feature-card--hero .feature-title { font-size: 1.7rem; }
    .feature-card--hero p { font-size: 0.98rem; max-width: 46ch; }
    .feature-icon {
      font-size: 1.9rem;
      line-height: 1;
      margin-bottom: 14px;
      width: 54px;
      height: 54px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 12px;
      background: rgba(225,169,56,0.10);
      border: 1px solid var(--border-gold);
    }
    .feature-card--hero .feature-icon {
      width: 64px; height: 64px; font-size: 2.3rem;
    }
    .feature-title { font-size: 1.2rem; margin-bottom: 10px; }
    .feature-card p { font-size: 0.9rem; margin: 0; color: var(--text-dim); line-height: 1.55; }

    /* Demos por rubro: galería de menús de ejemplo (sin registro) */
    .demos-section {
      padding: 100px 0;
      background-color: var(--bg-surface);
      border-bottom: 1px solid var(--border-subtle);
    }
    .demo-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 24px;
      margin-top: 40px;
    }
    .demo-card {
      min-width: 0;
      /* Flex column: los párrafos tienen largos distintos por rubro, así el CTA
         queda anclado a la BASE de la tarjeta y las 4 acciones empatan. */
      display: flex;
      flex-direction: column;
      background-color: var(--bg-dark);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 30px 24px;
      transition: all 0.3s ease;
    }
    .demo-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-gold);
      box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    }
    .demo-emoji { font-size: 2.4rem; margin-bottom: 12px; line-height: 1; }
    .demo-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
    .demo-rubro {
      font-size: 0.78rem;
      font-weight: 700;
      color: var(--accent-gold);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 10px;
    }
    .demo-card p { font-size: 0.88rem; color: var(--text-dim); }
    .demo-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: auto; /* ancla el CTA a la base: alineación entre tarjetas */
      padding-top: 18px;
    }

    /* --- CÓMO FUNCIONA · stepper horizontal con línea conectora ---
       Gramática propia: es una SECUENCIA, no una lista de tarjetas. Los
       números viven en nodos circulares unidos por una línea que marca el
       recorrido 1→4. En móvil se vuelve vertical. */
    .how-it-works-section {
      padding: 100px 0;
      background-color: var(--bg-dark);
      border-bottom: 1px solid var(--border-subtle);
    }
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      margin-top: 40px;
      position: relative;
    }
    /* Línea conectora horizontal que atraviesa el centro de los nodos */
    .steps-grid::before {
      content: "";
      position: absolute;
      top: 22px;
      left: 12.5%;
      right: 12.5%;
      height: 2px;
      background: linear-gradient(90deg, transparent, var(--border-gold) 12%, var(--border-gold) 88%, transparent);
      opacity: 0.5;
      z-index: 0;
    }
    .step-card {
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 0;
      text-align: center;
      position: relative;
      z-index: 1;
      transition: transform 0.3s ease;
    }
    .step-card:hover { transform: translateY(-4px); }
    .step-badge {
      width: 46px;
      height: 46px;
      background: var(--bg-surface);
      border: 2px solid var(--border-gold);
      color: var(--accent-gold);
      font-family: var(--font-heading);
      font-weight: 700;
      font-size: 1.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      margin: 0 auto 20px auto;
      box-shadow: 0 0 0 6px var(--bg-dark);
    }
    .step-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
    .step-card p { font-size: 0.9rem; margin: 0; color: var(--text-dim); line-height: 1.55; }

    .pricing-section {
      padding: 100px 0;
      background-color: var(--bg-surface);
      border-bottom: 1px solid var(--border-subtle);
    }
    .pricing-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      align-items: stretch;
    }
    /* Pestañas por rubro: mismos precios, mensaje adaptado */
    .pricing-rubro-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
      margin: 26px 0 6px;
    }
    .pricing-rubro-tab {
      font-family: var(--font-body);
      font-size: 0.82rem;
      font-weight: 700;
      padding: 9px 18px;
      border-radius: 999px;
      border: 1px solid var(--border-subtle);
      background: transparent;
      color: var(--text-dim);
      cursor: pointer;
      transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    }
    .pricing-rubro-tab:hover {
      border-color: var(--border-gold);
      color: var(--text-white);
    }
    .pricing-rubro-tab.active {
      border-color: var(--accent-gold);
      background: var(--accent-gold-glow);
      color: var(--accent-gold);
    }
    .pricing-rubro-hint {
      text-align: center;
      font-size: 0.85rem;
      color: var(--text-dim);
      margin: 0 0 22px;
    }
    .pricing-card {
      background: var(--bg-dark);
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      padding: 36px 28px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      transition: all 0.3s ease;
    }
    .pricing-card.featured {
      border-color: var(--accent-gold);
      box-shadow: 0 10px 40px rgba(225, 169, 56, 0.25);
      transform: scale(1.03);
    }
    .ribbon-featured {
      position: absolute;
      top: -14px;
      left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(90deg, #E1A938, #F0BB4D);
      color: #121A18;
      font-size: 0.75rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      padding: 4px 14px;
      border-radius: 20px;
      white-space: nowrap;
    }
    .plan-name { font-size: 1.3rem; margin-bottom: 6px; }
    .plan-desc { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 24px; min-height: 42px; }
    .plan-price {
      font-family: var(--font-heading);
      font-size: 2.8rem;
      font-weight: 700;
      color: #fff;
      display: flex;
      align-items: baseline;
      gap: 6px;
      margin-bottom: 8px;
    }
    .plan-price span { font-size: 1rem; font-family: var(--font-body); color: var(--text-dim); }
    .plan-billing-note { font-size: 0.8rem; color: var(--accent-gold); margin-bottom: 24px; min-height: 20px; }
    .plan-features {
      list-style: none;
      margin-bottom: 32px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .plan-features li {
      font-size: 0.9rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .plan-features li span.check { color: var(--accent-green); font-weight: bold; font-size: 1.1rem; }

    /* Toggle de período para Plan Evento */
    .pricing-toggle {
      text-align: center;
      margin-bottom: 30px;
    }
    .toggle-buttons {
      display: inline-flex;
      gap: 8px;
      background: var(--bg-surface-card);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 4px;
    }
    .toggle-btn {
      flex: 1;
      padding: 8px 16px;
      font-size: 0.88rem;
      font-weight: 700;
      color: var(--text-dim);
      background: transparent;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    .toggle-btn:hover {
      color: var(--text-white);
      background: var(--bg-surface-elevated);
    }
    .toggle-btn.active {
      color: #fff;
      background: var(--accent-gold);
      color: #121A18;
      font-weight: 800;
      box-shadow: 0 4px 12px rgba(225, 169, 56, 0.35);
    }

    .badge-uy {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, #003f87, #0057b8);
      color: #fff;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 0.82rem;
      font-weight: 700;
      margin-bottom: 12px;
      box-shadow: 0 4px 12px rgba(0, 63, 135, 0.35);
      animation: badge-pulse 3s ease-in-out infinite;
    }
    @keyframes badge-pulse {
      0%, 100% { box-shadow: 0 4px 12px rgba(0, 63, 135, 0.35); transform: scale(1); }
      50% { box-shadow: 0 6px 16px rgba(0, 91, 195, 0.5); transform: scale(1.02); }
    }

    /* --- VALORES · fila editorial dividida (barra de confianza) ---
       Gramática propia: NO hay tarjetas ni bordes. Son 4 principios en
       una fila continua separados por filetes verticales — lenguaje
       editorial/manifesto, más ligero que los grids de arriba. */
    .values-section {
      padding: 90px 0;
      background-color: var(--bg-surface);
      border-bottom: 1px solid var(--border-subtle);
    }
    .values-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0;
      border-top: 1px solid var(--border-subtle);
      border-bottom: 1px solid var(--border-subtle);
    }
    .value-card {
      background: transparent;
      border: none;
      border-radius: 0;
      padding: 34px 26px;
      text-align: left;
      position: relative;
      transition: background-color 0.3s ease;
    }
    /* Filete vertical entre columnas (salvo la primera) */
    .value-card + .value-card::before {
      content: "";
      position: absolute;
      left: 0;
      top: 20px;
      bottom: 20px;
      width: 1px;
      background: var(--border-subtle);
    }
    .value-card:hover { background-color: rgba(225, 169, 56, 0.04); }
    .value-card:hover + .value-card::before,
    .value-card:hover::before { background: var(--border-gold); }
    .value-icon {
      font-size: 1.5rem;
      line-height: 1;
      margin-bottom: 16px;
      display: inline-flex;
      width: 46px;
      height: 46px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(225, 169, 56, 0.10);
      border: 1px solid var(--border-gold);
    }
    .value-tag {
      font-family: var(--font-heading);
      font-size: 1.12rem;
      color: var(--accent-gold);
      margin-bottom: 10px;
      letter-spacing: -0.01em;
    }
    .value-card p { font-size: 0.88rem; margin: 0; color: var(--text-dim); line-height: 1.6; }

    .site-footer {
      background-color: #0C1210;
      padding: 60px 0 30px 0;
      border-top: 1px solid var(--border-subtle);
    }

    /* Rendimiento: las secciones bajo el pliegue no se renderizan hasta
       acercarse al viewport. Cero cambio visual (el navegador las pinta
       al hacer scroll o saltar a un ancla); ahorra style/layout/paint inicial. */
    .features-section,
    .compare-section,
    .how-it-works-section,
    .pricing-section,
    .testimonials-section,
    .faq-section,
    .values-section,
    .site-footer {
      content-visibility: auto;
      contain-intrinsic-size: auto 900px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 40px;
    }
    .footer-desc { font-size: 0.88rem; color: var(--text-dim); max-width: 380px; }
    .footer-heading {
      font-size: 0.82rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent-gold);
      margin-bottom: 16px;
    }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
    .footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; }
    .footer-links a:hover { color: var(--accent-gold); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.06);
      padding-top: 24px;
      text-align: center;
      font-size: 0.82rem;
      color: var(--text-dim);
    }

    .demo-toast {
      position: absolute;
      top: 18px;
      left: 50%;
      transform: translateX(-50%) translateY(-8px);
      width: min(92%, 390px);
      background: linear-gradient(180deg, rgba(17, 24, 22, 0.96), rgba(11, 17, 15, 0.98));
      border: 1px solid rgba(224, 178, 86, 0.55);
      border-radius: 18px;
      box-shadow: 0 18px 45px rgba(0,0,0,0.52), 0 0 0 1px rgba(224, 178, 86, 0.06), inset 0 1px 0 rgba(255,255,255,0.04);
      padding: 16px 18px 14px;
      z-index: 30;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
      backdrop-filter: blur(12px);
      overflow: hidden;
    }
    .demo-toast::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(122, 255, 179, 0.06), transparent 35%, rgba(224, 178, 86, 0.08) 100%);
      pointer-events: none;
    }
    .demo-toast.active {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
      pointer-events: auto;
      box-shadow: 0 20px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(224, 178, 86, 0.12), 0 0 28px rgba(34, 197, 94, 0.12);
    }
    .demo-toast-header {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      gap: 10px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      margin-bottom: 12px;
    }
    .demo-toast-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(224, 178, 86, 0.18), rgba(34, 197, 94, 0.18));
      border: 1px solid rgba(224, 178, 86, 0.35);
      color: var(--accent-gold);
      font-size: 0.9rem;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.09);
    }
    .demo-toast-title {
      position: relative;
      z-index: 1;
      flex: 1;
      color: #fff;
      font-size: 1.02rem;
      font-weight: 800;
      letter-spacing: 0.02em;
      font-family: var(--font-body);
    }
    .demo-toast-close {
      position: relative;
      z-index: 1;
      border: none;
      background: rgba(255,255,255,0.04);
      color: rgba(255,255,255,0.7);
      width: 28px;
      height: 28px;
      border-radius: 50%;
      cursor: pointer;
      font-size: 1rem;
      transition: background 0.2s ease, color 0.2s ease;
    }
    .demo-toast-close:hover {
      background: rgba(224, 178, 86, 0.1);
      color: var(--accent-gold);
    }
    .demo-toast-body {
      position: relative;
      z-index: 1;
      color: rgba(255,255,255,0.82);
      font-size: 0.93rem;
      line-height: 1.6;
      white-space: pre-line;
      font-weight: 500;
    }
    .demo-toast-actions {
      position: relative;
      z-index: 1;
      display: flex;
      justify-content: flex-end;
      margin-top: 14px;
    }
    .demo-toast-action {
      border: 1px solid rgba(224, 178, 86, 0.38);
      background: linear-gradient(180deg, rgba(224, 178, 86, 0.12), rgba(224, 178, 86, 0.05));
      color: #f8f4eb;
      border-radius: 10px;
      padding: 10px 18px;
      font-weight: 800;
      cursor: pointer;
      font-family: var(--font-body);
      transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }
    .demo-toast-action:hover {
      transform: translateY(-1px);
      border-color: rgba(224, 178, 86, 0.7);
      color: var(--accent-gold);
    }

    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 15, 13, 0.85);
      backdrop-filter: blur(8px);
      z-index: 100000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
    }
    .modal-overlay.active { display: flex; }
    .modal-card {
      background: var(--bg-surface);
      border: 1px solid var(--border-gold);
      border-radius: 16px;
      width: 100%;
      max-width: 460px;
      padding: 32px;
      box-shadow: 0 24px 60px rgba(0,0,0,0.8);
      position: relative;
    }
    .modal-close {
      position: absolute;
      top: 18px;
      right: 18px;
      background: transparent;
      border: none;
      color: var(--text-dim);
      font-size: 20px;
      cursor: pointer;
    }
    .modal-tabs {
      display: flex;
      border-bottom: 1px solid var(--border-subtle);
      margin-bottom: 24px;
    }
    .modal-tab-btn {
      flex: 1;
      padding: 10px;
      background: transparent;
      border: none;
      color: var(--text-dim);
      font-family: var(--font-body);
      font-weight: 700;
      font-size: 0.9rem;
      cursor: pointer;
      border-bottom: 2px solid transparent;
      transition: all 0.2s;
    }
    .modal-tab-btn.active {
      color: var(--accent-gold);
      border-bottom-color: var(--accent-gold);
    }
    .form-group {
      margin-bottom: 16px;
      text-align: left;
    }
    .form-label {
      display: block;
      font-size: 0.82rem;
      font-weight: 600;
      color: var(--text-muted);
      margin-bottom: 6px;
    }
    .form-input {
      width: 100%;
      background: var(--bg-dark);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 11px 14px;
      color: #fff;
      font-family: var(--font-body);
      font-size: 0.92rem;
      transition: border-color 0.2s;
    }
    .form-input:focus {
      outline: none;
      border-color: var(--accent-gold);
    }
    .form-error {
      background: rgba(229, 62, 62, 0.15);
      border: 1px solid rgba(229, 62, 62, 0.4);
      color: #FEB2B2;
      padding: 8px 12px;
      border-radius: 6px;
      font-size: 0.82rem;
      margin-bottom: 14px;
      display: none;
    }
    #authError {
      margin: 12px 0;
      padding: 10px 14px;
      border-radius: 8px;
    }

    /* Testimonials Section */
    .testimonials-section {
      padding: 100px 0;
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-subtle);
    }
    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .testimonial-card {
      background: var(--bg-dark);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 30px 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: all 0.25s ease;
    }
    .testimonial-card:hover {
      border-color: rgba(225, 169, 56, 0.35);
      transform: translateY(-3px);
    }
    .test-stars { color: var(--accent-gold); font-size: 1.1rem; margin-bottom: 12px; letter-spacing: 2px; }
    .test-quote { font-style: italic; font-size: 0.92rem; line-height: 1.6; color: var(--text-muted); margin-bottom: 20px; }
    .test-author { display: flex; align-items: center; gap: 12px; }
    .test-avatar {
      width: 44px; height: 44px;
      border-radius: 50%;
      background: var(--bg-surface-elevated);
      border: 1px solid var(--border-gold);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.2rem;
      overflow: hidden;
      flex-shrink: 0;
    }
    .test-avatar img {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      display: block;
    }
    .test-author-name { font-weight: 700; font-size: 0.95rem; color: #fff; }
    .test-author-biz { font-size: 0.8rem; color: var(--text-dim); }

    /* FAQ Section */
    .faq-section {
      padding: 100px 0;
      background: var(--bg-dark);
      border-bottom: 1px solid var(--border-subtle);
    }
    .faq-container { max-width: 820px; margin: 0 auto; }
    .faq-item {
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      margin-bottom: 12px;
      overflow: hidden;
      transition: border-color 0.2s;
    }
    .faq-item:hover { border-color: rgba(255,255,255,0.18); }
    .faq-question {
      padding: 20px 24px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 700;
      font-size: 1.05rem;
      color: #fff;
      user-select: none;
    }
    .faq-icon {
      font-size: 1.2rem;
      color: var(--accent-gold);
      transition: transform 0.3s ease;
    }
    .faq-item.active .faq-icon { transform: rotate(45deg); }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.35s ease;
      padding: 0 24px;
      font-size: 0.92rem;
      color: var(--text-muted);
      line-height: 1.65;
    }
    .faq-item.active .faq-answer {
      max-height: 250px;
      padding: 0 24px 20px 24px;
    }

    @media (max-width: 992px) {
      .hero-grid, .pricing-grid, .footer-grid, .testimonials-grid { grid-template-columns: 1fr; }
      .demo-grid { grid-template-columns: repeat(2, 1fr); }
      /* Bento de funcionalidades: héroe ocupa todo el ancho, sin placement fijo */
      .features-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; }
      .feature-card--hero,
      .features-grid .feature-card:nth-child(2),
      .features-grid .feature-card:nth-child(3),
      .features-grid .feature-card:nth-child(4) { grid-column: auto; grid-row: auto; }
      .feature-card--hero { grid-column: span 2; }
      /* Stepper: la línea conectora pasa a vertical */
      .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
      .steps-grid::before { display: none; }
      .values-grid { grid-template-columns: repeat(2, 1fr); }
      .value-card:nth-child(odd)::before { display: none; }
      .main-nav { display: none; }
    }
    @media (max-width: 600px) {
      .steps-grid, .values-grid { grid-template-columns: 1fr; }
      .demo-grid { grid-template-columns: 1fr; }
      .features-grid { grid-template-columns: 1fr; }
      .feature-card--hero { grid-column: span 1; padding: 30px 26px; }
      .feature-card--hero .feature-title { font-size: 1.35rem; }
      /* Separadores: en 1 columna van horizontales */
      .value-card + .value-card::before {
        top: 0; left: 26px; right: 26px; bottom: auto;
        width: auto; height: 1px;
      }
      .compare-row { grid-template-columns: 1fr; gap: 4px; text-align: left; }
      .compare-row span:not(:first-child) { text-align: left; }
      .hero-actions > .btn { width: 100%; }
    }

    .footer-brand-title {
      font-family: var(--font-heading);
      color: #fff;
    }

    /* Floating WhatsApp Button with Continuous Pulse & Magnetic Attraction */
    .whatsapp-float-container {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 99999;
      display: flex;
      align-items: center;
      gap: 12px;
      pointer-events: none;
    }
    .whatsapp-float-btn {
      pointer-events: auto;
      width: 58px;
      height: 58px;
      background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 8px rgba(0,0,0,0.5);
      cursor: pointer;
      text-decoration: none;
      position: relative;
      transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.2s ease;
      animation: waWiggle 6s ease-in-out infinite;
      outline: none;
      border: 2px solid rgba(255,255,255,0.25);
    }
    .whatsapp-float-btn:hover {
      box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0,0,0,0.6);
    }
    .whatsapp-float-btn svg {
      width: 32px;
      height: 32px;
      fill: #ffffff;
    }
    .wa-pulse-ring {
      position: absolute;
      inset: -6px;
      border-radius: 50%;
      border: 2px solid #25D366;
      animation: waPulse 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
      pointer-events: none;
    }
    .wa-tooltip {
      pointer-events: auto;
      background: #1C2723;
      color: #ffffff;
      border: 1px solid var(--border-gold);
      border-radius: 20px;
      padding: 8px 14px;
      font-size: 0.82rem;
      font-weight: 600;
      white-space: nowrap;
      box-shadow: 0 8px 20px rgba(0,0,0,0.45);
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      text-decoration: none;
      transition: transform 0.2s, opacity 0.2s;
    }
    .wa-tooltip:hover {
      transform: translateY(-2px);
      border-color: #25D366;
    }
    /* El cartelito se retira solo a los 8s (index.js agrega .wa-rested):
       colapsa dejando la burbuja y vuelve al hover/foco. */
    .wa-tooltip {
      max-width: 260px;
      overflow: hidden;
      transition: transform 0.2s, opacity 0.3s ease, max-width 0.3s ease, padding 0.3s ease;
    }
    .whatsapp-float-container.wa-rested .wa-tooltip {
      opacity: 0;
      max-width: 0;
      padding-left: 0;
      padding-right: 0;
      border-width: 0;
      pointer-events: none;
    }
    .whatsapp-float-container.wa-rested:hover .wa-tooltip,
    .whatsapp-float-container.wa-rested:focus-within .wa-tooltip {
      opacity: 1;
      max-width: 260px;
      padding: 8px 14px;
      border-width: 1px;
      pointer-events: auto;
    }
    .wa-tooltip-dot {
      width: 8px;
      height: 8px;
      background: #25D366;
      border-radius: 50%;
      display: inline-block;
      box-shadow: 0 0 6px #25D366;
    }

    @keyframes waPulse {
      0% { transform: scale(0.95); opacity: 0.85; }
      50% { opacity: 0.4; }
      100% { transform: scale(1.45); opacity: 0; }
    }
    @keyframes waWiggle {
      0%, 82%, 100% { transform: rotate(0deg); }
      84% { transform: rotate(-12deg) scale(1.06); }
      87% { transform: rotate(12deg) scale(1.06); }
      90% { transform: rotate(-8deg); }
      93% { transform: rotate(8deg); }
      96% { transform: rotate(0deg); }
    }

    @media (max-width: 600px) {
      .wa-tooltip { display: none; }
      .whatsapp-float-container { bottom: 18px; right: 18px; }
      .whatsapp-float-btn { width: 52px; height: 52px; }
      .whatsapp-float-btn svg { width: 28px; height: 28px; }
    }

    /* El aviso de cookies es una barra inferior full-width: mientras está
       visible, el flotante de WhatsApp se oculta (no compite con una decisión
       legal y no tapa nada en ningún viewport). Vuelve al elegir
       (cookieConsent.js pone/saca has-cookie-banner en body). */
    body.has-cookie-banner .whatsapp-float-container { display: none; }

    /* Dynamic Promotional Discount Banner */
    .promo-discount-banner {
      background: linear-gradient(90deg, #16241F 0%, #30210B 50%, #16241F 100%);
      border-bottom: 1px solid var(--accent-gold);
      padding: 10px 16px;
      text-align: center;
      position: sticky;
      top: 0;
      z-index: 900;
      box-shadow: 0 4px 20px rgba(0,0,0,0.5);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      flex-wrap: wrap;
    }
    .promo-discount-banner .promo-badge {
      background: var(--accent-gold);
      color: #121A18;
      font-weight: 800;
      font-size: 0.76rem;
      padding: 3px 9px;
      border-radius: 12px;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }
    .promo-discount-banner .promo-text {
      color: #ffffff;
      font-size: 0.88rem;
      font-weight: 500;
    }
    .promo-discount-banner .promo-cta {
      background: transparent;
      border: 1px solid var(--accent-gold);
      color: var(--accent-gold);
      font-weight: 700;
      font-size: 0.8rem;
      padding: 4px 14px;
      border-radius: 20px;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.2s;
    }
    .promo-discount-banner .promo-cta:hover {
      background: var(--accent-gold);
      color: #121A18;
    }

    /* Forgot Password Link and Modal */
    .forgot-pass-link {
      display: inline-block;
      margin-top: 8px;
      background: transparent;
      border: none;
      color: var(--text-dim);
      font-size: 0.82rem;
      cursor: pointer;
      text-decoration: underline;
      transition: color 0.2s;
    }
    .forgot-pass-link:hover {
      color: var(--accent-gold);
    }
    .recovery-options-grid {
      display: flex;
      flex-direction: column;
      gap: 14px;
      margin-top: 14px;
    }
    .recovery-option-card {
      background: var(--bg-surface-elevated);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 16px;
      transition: border-color 0.2s;
    }
    .recovery-option-card:hover {
      border-color: var(--border-gold);
    }
    .recovery-option-card h4 {
      font-size: 0.95rem;
      margin-bottom: 6px;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .recovery-option-card p {
      font-size: 0.82rem;
      color: var(--text-dim);
      margin-bottom: 12px;
      line-height: 1.4;
    }

    /* Password Eye Visibility Toggle */
    .password-input-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      width: 100%;
    }
    .password-input-wrapper .form-input {
      padding-right: 44px;
      width: 100%;
    }
    .toggle-pass-btn {
      position: absolute;
      right: 8px;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: none;
      color: var(--text-dim);
      cursor: pointer;
      padding: 6px 8px;
      font-size: 1.05rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: color 0.2s;
      line-height: 1;
    }
    .toggle-pass-btn:hover {
      color: var(--accent-gold);
    }

    /* ============================================================
       VIDA DE LANDING · Motion elegante (Dark Artisanal Chic)
       ------------------------------------------------------------
       Seguridad de accesibilidad: TODO el estado oculto va detrás de
       `.motion-ready`, una clase que solo agrega index.js cuando NO hay
       `prefers-reduced-motion`. Sin JS (o con motion reducido) las
       secciones permanecen 100% visibles: nunca hay contenido oculto.
       Cero `on*=` (CSP script-src-attr 'none'); estado ARIA en JS.
       ============================================================ */

    /* --- 1 · Entrada escalonada del hero (solo si motion listo) --- */
    .motion-ready .hero-content > *,
    .motion-ready .hero-mockup-wrapper {
      opacity: 0;
      animation: heroRise 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    }
    .motion-ready .hero-content > *:nth-child(1) { animation-delay: 0.05s; }
    .motion-ready .hero-content > *:nth-child(2) { animation-delay: 0.14s; }
    .motion-ready .hero-content > *:nth-child(3) { animation-delay: 0.23s; }
    .motion-ready .hero-content > *:nth-child(4) { animation-delay: 0.32s; }
    .motion-ready .hero-mockup-wrapper { animation-delay: 0.24s; }

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

    /* --- 2 · Aurora ambiental: el fondo del hero respira despacio --- */
    @keyframes heroAuroraA {
      0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.9; }
      50% { transform: translate(-3%, 2%) scale(1.06); opacity: 1; }
    }
    @keyframes heroAuroraB {
      0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
      50% { transform: translate(3%, -2%) scale(1.08); opacity: 1; }
    }
    .motion-ready .hero-section::before,
    .motion-ready .hero-section::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      pointer-events: none;
      z-index: 0;
      filter: blur(10px);
    }
    .motion-ready .hero-section::before {
      width: 46vw; height: 46vw;
      top: -12%; right: 4%;
      background: radial-gradient(circle, rgba(225, 169, 56, 0.10) 0%, transparent 62%);
      animation: heroAuroraA 16s ease-in-out infinite;
    }
    .motion-ready .hero-section::after {
      width: 40vw; height: 40vw;
      bottom: -14%; left: -4%;
      background: radial-gradient(circle, rgba(56, 161, 105, 0.10) 0%, transparent 60%);
      animation: heroAuroraB 20s ease-in-out infinite;
    }
    /* --- Badge Uruguay en el menú público y Studio --- */
    .badge-uy {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, #003f87 0%, #0057b8 100%);
      color: #fff;
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 0.82rem;
      font-weight: 700;
      margin-bottom: 12px;
      box-shadow: 0 4px 12px rgba(0, 63, 135, 0.35);
      animation: badge-pulse 3s ease-in-out infinite;
    }
    .badge-uy-small {
      font-size: 0.75rem;
      padding: 3px 8px;
      margin-left: 8px;
    }
    @keyframes badge-pulse {
      0%, 100% { box-shadow: 0 4px 12px rgba(0, 63, 135, 0.35); transform: scale(1); }
      50% { box-shadow: 0 6px 16px rgba(0, 91, 195, 0.5); transform: scale(1.02); }
    }

    /* ============================================================
       QW3: IA Importación de Carta - Estilos del modal de revisión
       ============================================================ */
    .ai-review-modal .modal-card {
      max-width: 700px;
      max-height: 85vh;
      overflow-y: auto;
    }
    .ai-review-list {
      max-height: 320px;
      overflow-y: auto;
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 12px;
      background: var(--bg-base);
    }
    .ai-review-item {
      display: grid;
      grid-template-columns: 1fr auto 120px;
      gap: 12px;
      align-items: center;
      padding: 10px 14px;
      border-bottom: 1px solid var(--border-subtle);
      background: var(--bg-card);
      border-radius: 6px;
      margin-bottom: 8px;
    }
    .ai-review-item:last-child {
      border-bottom: none;
    }
    .ai-review-dish-info h4 {
      margin: 0 0 4px 0;
      font-size: 0.95rem;
      color: var(--chalk-white);
    }
    .ai-review-dish-info p {
      margin: 0;
      font-size: 0.85rem;
      color: var(--text-dim);
    }
    .ai-review-controls {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .ai-review-input {
      width: 90px;
      padding: 6px 8px;
      font-size: 0.85rem;
      border-radius: 6px;
      border: 1px solid var(--border-subtle);
      background: var(--bg-dark);
      color: #fff;
    }
    .ai-review-input:focus {
      outline: none;
      border-color: var(--accent-gold);
    }
    .empty-state {
      text-align: center;
      padding: 40px 20px;
      color: var(--text-dim);
    }
    .empty-state .empty-icon {
      font-size: 3rem;
      margin-bottom: 12px;
      display: block;
    }

    /* ============================================================
       FIN - QW3 IA Importación de Carta
       ============================================================ */
    @keyframes ctaHalo {
      0%, 100% { box-shadow: 0 0 0 0 rgba(225, 169, 56, 0.34); }
      50% { box-shadow: 0 0 0 12px rgba(225, 169, 56, 0); }
    }
    .motion-ready .hero-actions .btn-gold {
      animation: ctaHalo 2.8s ease-out infinite;
    }

    /* --- 4 · Reveal on-scroll para secciones y tarjetas --- */
    .motion-ready .section-header,
    .motion-ready .feature-card,
    .motion-ready .step-card,
    .motion-ready .value-card,
    .motion-ready .compare-row,
    .motion-ready .demo-card,
    .motion-ready .plan-card,
    .motion-ready .testimonial-card,
    .motion-ready .faq-item {
      opacity: 0;
      transform: translateY(26px);
      transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
      will-change: opacity, transform;
    }
    .motion-ready .reveal-in {
      opacity: 1 !important;
      transform: none !important;
    }

    /* --- 5 · Header congelado con vidrio esmerilado al hacer scroll --- */
    .site-header {
      transition: background-color 0.3s ease, box-shadow 0.3s ease,
                  border-color 0.3s ease, backdrop-filter 0.3s ease;
    }
    .site-header.is-scrolled {
      background-color: rgba(18, 26, 24, 0.82);
      backdrop-filter: saturate(140%) blur(12px);
      -webkit-backdrop-filter: saturate(140%) blur(12px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
      border-bottom-color: var(--border-gold);
    }

    /* --- 6 · Contador numérico (la cifra respira al terminar) --- */
    @keyframes countPulse {
      0% { transform: scale(1); color: var(--accent-gold); }
      40% { transform: scale(1.08); color: var(--accent-gold-hover); }
      100% { transform: scale(1); color: var(--accent-gold); }
    }
    .stat-counted {
      display: inline-block;
      font-variant-numeric: tabular-nums;
    }
    .stat-counted.count-done { animation: countPulse 0.5s ease; }

    /* --- 7 · Respeta la preferencia del sistema: sin motion --- */
    @media (prefers-reduced-motion: reduce) {
      .motion-ready .hero-content > *,
      .motion-ready .hero-mockup-wrapper,
      .motion-ready .section-header,
      .motion-ready .feature-card,
      .motion-ready .step-card,
      .motion-ready .value-card,
      .motion-ready .compare-row,
      .motion-ready .demo-card,
      .motion-ready .plan-card,
      .motion-ready .testimonial-card,
      .motion-ready .faq-item {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
      }
      .site-header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
    }