/* ============================================================================
 * Kiosco ATAGO — Web corporativa
 * Estética: editorial moderno, gastronómico, rojo elegante.
 * Paleta: crema cálido + rojo vino + dorado sutil + tinta cálida
 * ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700;9..144,800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    /* Color */
    --bg:           #FBF6EE;
    --bg-soft:      #F5EDE0;
    --bg-card:      #FFFFFF;
    --ink:          #1A1310;
    --ink-soft:     #5A4F47;
    --ink-faint:    #9C8F86;
    --accent:       #9B1B1F;       /* rojo vino */
    --accent-deep:  #6B0F12;       /* aún más oscuro */
    --accent-warm:  #B92517;       /* rojo-tomate más vivo */
    --gold:         #C9A961;
    --gold-soft:    #E8D9B5;
    --rule:         rgba(26, 19, 16, 0.12);

    /* Tipografía */
    --font-display: 'Fraunces', 'Times New Roman', serif;
    --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --max:          1240px;
    --gutter:       28px;
    --radius:       14px;
    --radius-lg:    22px;
    --radius-xl:    32px;
}

/* ────────────────────────────────────────────────────────────── reset */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

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

/* ────────────────────────────────────────────────────────────── tipografía */

.display {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144, "SOFT" 50;
}
.serif {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 400;
    font-variation-settings: "opsz" 36;
}
.eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--accent);
}

/* ────────────────────────────────────────────────────────────── layout */

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

section { padding: clamp(60px, 9vw, 120px) 0; position: relative; }

/* ────────────────────────────────────────────────────────────── header */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.35s ease;
    background: transparent;
}
.site-header.scrolled {
    background: rgba(251, 246, 238, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rule);
    padding: 12px 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.brand-mark {
    width: 36px; height: 36px;
    background: var(--accent);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: var(--bg);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(155, 27, 31, 0.25);
    position: relative;
    overflow: hidden;
}
.brand-mark::after {
    content: '';
    position: absolute;
    inset: 2px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(155, 27, 31, 0.25);
}
.nav-cta:hover {
    background: var(--accent-deep);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(107, 15, 18, 0.35);
}

.menu-toggle { display: none; }

/* ────────────────────────────────────────────────────────────── hero */

.hero {
    padding-top: clamp(120px, 18vw, 180px);
    padding-bottom: clamp(60px, 8vw, 120px);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -300px;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(155, 27, 31, 0.07), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}
.hero-text { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 24px; }
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 6.5vw, 88px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    color: var(--ink);
    font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero h1 .accent {
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}
.hero h1 .underline-svg {
    display: inline-block;
    position: relative;
}
.hero h1 .underline-svg::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 0.05em;
    height: 0.18em;
    background: var(--gold);
    z-index: -1;
    transform: skewX(-8deg);
    opacity: 0.55;
}
.hero p.lead {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--ink-soft);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.55;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    line-height: 1;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: var(--bg);
    box-shadow: 0 8px 24px rgba(155, 27, 31, 0.28);
}
.btn-primary:hover {
    background: var(--accent-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(107, 15, 18, 0.35);
}
.btn-ghost {
    color: var(--ink);
    border: 1.5px solid var(--rule);
    background: transparent;
}
.btn-ghost:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--bg);
}
.btn-arrow {
    display: inline-block;
    transition: transform 0.25s;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* Hero stats / strip */
.hero-strip {
    display: flex;
    gap: 36px;
    border-top: 1px solid var(--rule);
    padding-top: 28px;
    flex-wrap: wrap;
}
.hero-strip .stat .num {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.hero-strip .stat .label {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.4;
}

/* Hero visual: mockup del kiosco */
.hero-visual {
    position: relative;
    aspect-ratio: 16/10;
    max-width: 640px;
    justify-self: end;
    width: 100%;
}
.kiosco-frame {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, #2a1d1a 0%, #1a1310 100%);
    border-radius: 28px;
    box-shadow:
        0 50px 100px -30px rgba(26, 19, 16, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    padding: 18px;
    overflow: hidden;
    transform: perspective(1400px) rotateY(-8deg) rotateX(2deg);
    transform-origin: center;
}
.kiosco-frame::before {
    content: '';
    position: absolute;
    top: 12px; left: 50%;
    width: 60px; height: 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    transform: translateX(-50%);
}
.kiosco-screen {
    width: 100%; height: 100%;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    position: relative;
}
.kiosco-screen img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.kiosco-screen-placeholder {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 32px;
    gap: 10px;
}
.kiosco-screen-placeholder .icon {
    font-size: 56px;
    margin-bottom: 8px;
}
.kiosco-screen-placeholder .titulo {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}
.kiosco-screen-placeholder .descr {
    font-size: 12px;
    color: var(--ink-faint);
    font-family: monospace;
    line-height: 1.5;
    word-break: break-all;
    padding: 8px 12px;
    background: rgba(0,0,0,0.04);
    border-radius: 6px;
}

/* badges flotantes alrededor del kiosco */
.float-badge {
    position: absolute;
    background: var(--bg);
    border: 1px solid var(--rule);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 14px 30px -10px rgba(26,19,16,0.18);
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 3;
}
.float-badge.fb-1 { top: 12%; left: -6%; animation: floatA 6s ease-in-out infinite; }
.float-badge.fb-2 { bottom: 22%; right: -5%; animation: floatB 7s ease-in-out infinite; }
.float-badge .ico {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--accent);
    color: var(--bg);
    display: grid; place-items: center;
    font-size: 18px;
}
.float-badge.fb-2 .ico { background: var(--gold); color: var(--ink); }
.float-badge .txt {
    font-size: 12px;
    line-height: 1.3;
}
.float-badge .txt b {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
}
.float-badge .txt span {
    color: var(--ink-soft);
}

@keyframes floatA {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-3px, -8px); }
}
@keyframes floatB {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(4px, -6px); }
}

/* ────────────────────────────────────────────────────────────── intro */

.intro {
    padding: clamp(50px, 7vw, 80px) 0;
    text-align: center;
}
.intro h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 880px;
    margin: 18px auto 0;
}
.intro h2 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}

/* ────────────────────────────────────────────────────────────── secciones */

.section-head {
    text-align: center;
    margin-bottom: 60px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
    font-family: var(--font-display);
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 18px;
}
.section-head h2 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}
.section-head p {
    font-size: 17px;
    color: var(--ink-soft);
    line-height: 1.55;
    max-width: 580px;
    margin: 0 auto;
}

/* ────────────────────────────────────────────────────────────── pilares */

.pilares { background: var(--bg-soft); }
.pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.pilar {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 38px 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--rule);
    overflow: hidden;
}
.pilar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.pilar:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px -25px rgba(26,19,16,0.18);
}
.pilar:hover::before { transform: scaleX(1); }
.pilar .pilar-num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 16px;
    color: var(--accent);
    margin-bottom: 18px;
    font-weight: 400;
    letter-spacing: 0.05em;
}
.pilar h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 14px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.pilar p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
}
.pilar ul {
    list-style: none;
    border-top: 1px solid var(--rule);
    padding-top: 18px;
}
.pilar li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--ink);
}
.pilar li::before {
    content: '→';
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────── ecosistema completo */

.ecosistema {
    background: var(--bg);
    position: relative;
}
.ecosistema::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rule), transparent);
}
.eco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.eco-card {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 38px 32px;
    border: 1px solid var(--rule);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.eco-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 140px; height: 140px;
    background: radial-gradient(circle, rgba(155, 27, 31, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.eco-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card);
    box-shadow: 0 30px 60px -25px rgba(26,19,16,0.18);
}
.eco-ico {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--accent);
    color: var(--bg);
    display: grid; place-items: center;
    font-size: 22px;
    margin-bottom: 22px;
    box-shadow: 0 8px 18px rgba(155, 27, 31, 0.25);
    position: relative;
    z-index: 1;
}
.eco-card:nth-child(2) .eco-ico { background: var(--ink); }
.eco-card:nth-child(3) .eco-ico { background: var(--gold); color: var(--ink); }
.eco-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}
.eco-card h3 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}
.eco-card p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.eco-card ul {
    list-style: none;
    border-top: 1px solid var(--rule);
    padding-top: 16px;
    position: relative;
    z-index: 1;
}
.eco-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 5px 0;
    font-size: 13.5px;
    color: var(--ink);
}
.eco-card li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* ────────────────────────────────────────────────────────────── apps móviles */

.apps-section {
    background: var(--ink);
    color: var(--bg);
    position: relative;
    overflow: hidden;
}
.apps-section::before {
    content: '';
    position: absolute;
    top: -200px; left: -300px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(155, 27, 31, 0.45), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.apps-section::after {
    content: '';
    position: absolute;
    bottom: -250px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.18), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.apps-section .container { position: relative; z-index: 1; }

.apps-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 70px;
    align-items: center;
}

.apps-text .eyebrow {
    color: var(--gold);
    margin-bottom: 18px;
}
.apps-text .eyebrow::before { background: var(--gold); }
.apps-text h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.8vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}
.apps-text h2 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}
.apps-text .lead-apps {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(251, 246, 238, 0.78);
    margin-bottom: 28px;
}
.apps-text .lead-apps strong { color: var(--bg); font-weight: 600; }

.apps-feats {
    list-style: none;
    border-top: 1px solid rgba(251, 246, 238, 0.12);
    padding-top: 22px;
    margin-bottom: 28px;
}
.apps-feats li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14.5px;
    color: rgba(251, 246, 238, 0.92);
}
.apps-feats li i {
    color: var(--gold);
    font-size: 13px;
    flex-shrink: 0;
}
.apps-feats strong { color: var(--bg); font-weight: 600; }

.apps-stores {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.apps-store-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid rgba(251, 246, 238, 0.2);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--bg);
    background: rgba(251, 246, 238, 0.05);
}
.apps-store-tag i { font-size: 18px; }
.apps-store-tag--ghost {
    background: transparent;
    border-style: dashed;
    color: rgba(251, 246, 238, 0.55);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

/* Mockup teléfono */
.apps-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}
.phone-frame {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9/19.5;
    background: #0a0a0a;
    border-radius: 44px;
    padding: 14px;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.06),
        0 60px 120px -30px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(155, 27, 31, 0.18);
    position: relative;
}
.phone-frame::before {
    /* notch */
    content: '';
    position: absolute;
    top: 22px; left: 50%;
    width: 90px; height: 26px;
    background: #0a0a0a;
    border-radius: 16px;
    transform: translateX(-50%);
    z-index: 2;
}
.phone-frame::after {
    /* botón lateral derecho */
    content: '';
    position: absolute;
    right: -2px; top: 28%;
    width: 3px; height: 60px;
    background: #1a1a1a;
    border-radius: 2px;
}
.phone-screen {
    width: 100%; height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: var(--bg);
    position: relative;
}
.phone-screen img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
}
.phone-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 40px 24px;
    background:
        repeating-linear-gradient(45deg,
            transparent 0,
            transparent 16px,
            rgba(155, 27, 31, 0.05) 16px,
            rgba(155, 27, 31, 0.05) 32px),
        var(--bg);
}
.phone-placeholder .icon {
    font-size: 48px;
    opacity: 0.55;
}
.phone-placeholder .titulo {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}
.phone-placeholder .filename {
    font-family: monospace;
    font-size: 11px;
    color: var(--ink-soft);
    background: rgba(0,0,0,0.05);
    padding: 6px 10px;
    border-radius: 4px;
    line-height: 1.4;
}
.phone-placeholder .ratio {
    font-size: 11px;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
}

/* ────────────────────────────────────────────────────────────── pantallas (en acción) */

.pantallas-list {
    display: flex;
    flex-direction: column;
    gap: clamp(60px, 9vw, 120px);
}
.pantalla-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.pantalla-row.flip .pantalla-text { order: 2; }
.pantalla-row .pantalla-text .eyebrow { margin-bottom: 18px; }
.pantalla-row .pantalla-text h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
    color: var(--ink);
}
.pantalla-row .pantalla-text h3 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}
.pantalla-row .pantalla-text p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 18px;
    max-width: 460px;
}
.pantalla-row .feat-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.pantalla-row .feat-tags li {
    background: var(--bg-soft);
    color: var(--ink);
    font-size: 12.5px;
    padding: 6px 12px;
    border-radius: 99px;
    font-weight: 500;
    border: 1px solid var(--rule);
}

.pantalla-shot {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(165deg, #2a1d1a 0%, #1a1310 100%);
    padding: 12px;
    aspect-ratio: 16/10;
    box-shadow:
        0 50px 100px -40px rgba(26, 19, 16, 0.4),
        0 0 0 1px rgba(255,255,255,0.05);
}
.pantalla-shot::before {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    width: 50px; height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 99px;
    transform: translateX(-50%);
    z-index: 2;
}
.pantalla-shot-inner {
    width: 100%; height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg);
    position: relative;
}
.pantalla-shot-inner img {
    width: 100%; height: 100%;
    object-fit: cover;
}

.shot-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 40px;
    background:
        repeating-linear-gradient(45deg,
            transparent 0,
            transparent 16px,
            rgba(155, 27, 31, 0.04) 16px,
            rgba(155, 27, 31, 0.04) 32px),
        var(--bg);
}
.shot-placeholder .icon {
    font-size: 42px;
    opacity: 0.45;
}
.shot-placeholder .titulo {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}
.shot-placeholder .filename {
    font-family: monospace;
    font-size: 12px;
    color: var(--ink-soft);
    background: rgba(0,0,0,0.04);
    padding: 6px 10px;
    border-radius: 4px;
    word-break: break-all;
    max-width: 360px;
}

/* ────────────────────────────────────────────────────────────── beneficios */

.beneficios {
    background: var(--bg-soft);
}
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.beneficio {
    background: var(--bg);
    padding: 32px 28px;
    transition: background 0.3s ease;
    position: relative;
}
.beneficio:hover { background: var(--bg-card); }
.beneficio .ben-num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--accent);
    font-size: 13px;
    margin-bottom: 12px;
    display: block;
}
.beneficio h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.2;
    letter-spacing: -0.015em;
}
.beneficio p {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.55;
}

/* ────────────────────────────────────────────────────────────── faq */

.faq-wrap {
    max-width: 820px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--rule);
}
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-q {
    width: 100%;
    text-align: left;
    padding: 22px 0;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.2s;
    letter-spacing: -0.01em;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}
.faq-q:hover { color: var(--accent); }
.faq-q:focus { outline: none; }
.faq-q:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: 4px;
}
.faq-q .ico {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border: 1px solid var(--rule);
    border-radius: 50%;
    display: grid; place-items: center;
    transition: all 0.25s;
    color: var(--ink-soft);
}
.faq-item.open .faq-q .ico {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    transform: rotate(45deg);
}
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a {
    max-height: 500px;
    padding-bottom: 22px;
}
.faq-a p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.65;
    max-width: 720px;
}

/* ────────────────────────────────────────────────────────────── contacto */

.contacto {
    background: var(--ink);
    color: var(--bg);
    position: relative;
    overflow: hidden;
}
.contacto::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(155, 27, 31, 0.5), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.contacto::after {
    content: '';
    position: absolute;
    bottom: -300px; left: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.18), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}
.contacto .container { position: relative; z-index: 1; }
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 70px;
    align-items: start;
}
.contacto h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 60px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 22px;
}
.contacto h2 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 400;
}
.contacto-info p {
    color: rgba(251, 246, 238, 0.7);
    line-height: 1.6;
    margin-bottom: 32px;
}
.contacto-data {
    border-top: 1px solid rgba(251, 246, 238, 0.12);
    padding-top: 28px;
}
.contacto-data-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}
.contacto-data-row .ico {
    width: 38px; height: 38px;
    background: rgba(251, 246, 238, 0.08);
    border-radius: 10px;
    display: grid; place-items: center;
    flex-shrink: 0;
    color: var(--gold);
    font-size: 16px;
}
.contacto-data-row .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(251, 246, 238, 0.5);
    margin-bottom: 3px;
}
.contacto-data-row .val {
    color: var(--bg);
    font-weight: 500;
    font-size: 15px;
}
.contacto-data-row a:hover { color: var(--gold); }

/* form */
.form-card {
    background: var(--bg);
    color: var(--ink);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--rule);
    border-radius: 10px;
    background: var(--bg);
    transition: border-color 0.2s, background 0.2s;
    font-size: 15px;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-card);
}
.form-group textarea {
    resize: vertical;
    min-height: 110px;
    font-family: inherit;
}

.honey { /* honeypot oculto */
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 22px;
    font-size: 13.5px;
    color: var(--ink-soft);
}
.form-check input { margin-top: 3px; }
.form-check a { color: var(--accent); text-decoration: underline; }

.btn-submit {
    width: 100%;
    background: var(--accent);
    color: var(--bg);
    padding: 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-submit:hover:not(:disabled) {
    background: var(--accent-deep);
    transform: translateY(-1px);
}
.btn-submit:disabled { opacity: 0.6; cursor: wait; }

.form-alert {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    display: none;
}
.form-alert.is-shown { display: block; }
.form-alert.is-ok { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-alert.is-error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ────────────────────────────────────────────────────────────── footer */

footer.site-footer {
    background: var(--bg-soft);
    padding: 60px 0 30px;
    border-top: 1px solid var(--rule);
}
.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--rule);
}
.footer-brand .descr {
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.6;
    margin-top: 14px;
    max-width: 280px;
}
.footer-col h5 {
    font-family: var(--font-body);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-faint);
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    color: var(--ink);
    font-size: 14px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--ink-soft);
}

/* ────────────────────────────────────────────────────────────── cookie banner */

.cookie-banner {
    position: fixed;
    bottom: 20px; left: 20px; right: 20px;
    max-width: 520px;
    margin-left: auto;
    background: var(--ink);
    color: var(--bg);
    border-radius: var(--radius-lg);
    padding: 22px 26px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
    z-index: 200;
    transform: translateY(110%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cookie-banner.is-shown { transform: translateY(0); }
.cookie-banner .titulo {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cookie-banner p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(251, 246, 238, 0.75);
    margin-bottom: 16px;
}
.cookie-banner p a { color: var(--gold); text-decoration: underline; }
.cookie-banner .actions {
    display: flex;
    gap: 10px;
}
.cookie-banner button {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    flex: 1;
}
.cookie-banner .accept {
    background: var(--gold);
    color: var(--ink);
}
.cookie-banner .accept:hover { background: var(--bg); }
.cookie-banner .reject {
    background: transparent;
    color: var(--bg);
    border: 1px solid rgba(251, 246, 238, 0.25);
}
.cookie-banner .reject:hover { background: rgba(251, 246, 238, 0.06); }

/* ────────────────────────────────────────────────────────────── páginas legales */

.legal-page {
    padding: 140px 0 80px;
    max-width: 760px;
    margin: 0 auto;
}
.legal-page h1 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    color: var(--ink);
}
.legal-page .legal-meta {
    color: var(--ink-faint);
    font-size: 13px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule);
}
.legal-page h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 14px;
    color: var(--ink);
    letter-spacing: -0.015em;
}
.legal-page h3 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-top: 26px;
    margin-bottom: 10px;
    color: var(--ink);
}
.legal-page p,
.legal-page ul {
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 15px;
}
.legal-page ul { padding-left: 22px; }
.legal-page strong { color: var(--ink); }
.legal-page a { color: var(--accent); text-decoration: underline; }

/* ────────────────────────────────────────────────────────────── animaciones de entrada */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ────────────────────────────────────────────────────────────── responsive */

@media (max-width: 980px) {
    .hero .container,
    .pantalla-row,
    .contacto-grid,
    .apps-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        max-width: 460px;
        margin: 40px auto 0;
    }
    .pantalla-row.flip .pantalla-text { order: 0; }
    .pilares-grid { grid-template-columns: 1fr; }
    .eco-grid { grid-template-columns: 1fr; }
    .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .nav-links {
        position: fixed;
        top: 0; right: 0; bottom: 0;
        width: 280px;
        background: var(--bg);
        flex-direction: column;
        padding: 100px 30px 30px;
        border-left: 1px solid var(--rule);
        align-items: flex-start;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 99;
    }
    .nav-links.is-open { transform: translateX(0); }
    .menu-toggle {
        display: grid;
        place-items: center;
        width: 40px; height: 40px;
        border-radius: 8px;
        background: var(--ink);
        color: var(--bg);
        z-index: 102;
        position: relative;
    }
    .menu-toggle span {
        width: 18px; height: 1.5px;
        background: currentColor;
        position: absolute;
        transition: all 0.25s;
    }
    .menu-toggle span:nth-child(1) { transform: translateY(-5px); }
    .menu-toggle span:nth-child(3) { transform: translateY( 5px); }
    .menu-toggle.is-open span:nth-child(1) { transform: translateY(0) rotate(45deg); }
    .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
    .menu-toggle.is-open span:nth-child(3) { transform: translateY(0) rotate(-45deg); }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .beneficios-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .float-badge.fb-1 { left: 0; }
    .float-badge.fb-2 { right: 0; }
    .hero-strip { gap: 24px; }
    .hero-strip .stat .num { font-size: 26px; }
}

/* ============================ VÍDEO ============================ */
.video-demo {
    background: var(--bg-soft);
    padding: 96px 0;
}
.video-wrap {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(26, 19, 16, 0.35);
    border: 1px solid var(--rule);
    background: #000;
}
.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
/* Respaldo para navegadores sin soporte de aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
    .video-wrap { height: 0; padding-bottom: 56.25%; }
}
@media (max-width: 640px) {
    .video-demo { padding: 64px 0; }
}
