/* =====================================================
   LumiaFit – Sistema de Diseño 2026 v2
   Paleta: Naranja + Negro (Energía + Profesionalismo)
===================================================== */
:root {
    /* Marca principal */
    --color-primary:        #FF6B1A;               /* Naranja — CTAs, links, íconos */
    --color-primary-hover:  #E85C0D;               /* Hover — naranja más profundo */
    --color-primary-soft:   #FFF0E6;               /* Fondo suave — badges, chips */
    --color-primary-glow:   rgba(255, 107, 26, 0.18);
    --color-primary:        #FF6B1A;               /* Alias para compatibilidad */
    --primary:              #FF6B1A;
    --primary-dark:         #E85C0D;
    --primary-light:        #FFF0E6;
    --primary-soft:         rgba(255, 107, 26, 0.08);

    /* Negros y oscuros */
    --color-black:          #0D0D0D;   /* Hero, navbar, footer */
    --color-dark:           #141414;   /* Fondos de secciones oscuras */
    --color-dark-surface:   #1F1F1F;   /* Cards sobre fondo oscuro */
    --color-dark-border:    #2E2E2E;   /* Bordes en modo oscuro */
    --dark:                 #0D0D0D;
    --bg-dark:              #0D0D0D;
    --secondary:            #0D0D0D;

    /* Claros */
    --color-bg:             #F9F7F5;   /* Fondo general — blanco humo cálido */
    --color-surface:        #FFFFFF;   /* Cards, modales, inputs */
    --color-border:         #EDEBE8;   /* Bordes en modo claro */
    --bg:                   #F9F7F5;
    --bg-soft:              #FAFAFA;
    --surface:              #FFFFFF;
    --border:               #EDEBE8;

    /* Tipografía */
    --color-text:           #111111;
    --color-text-muted:     #7A6F66;   /* Gris cálido, no frío */
    --color-text-inverse:   #FFFFFF;
    --text:                 #111111;
    --text-muted:           #7A6F66;

    /* Estados */
    --color-success:        #22C55E;
    --color-success-soft:   #DCFCE7;
    --color-warning:        #F59E0B;
    --color-error:          #EF4444;
    --accent:               #22C55E;
    --accent-soft:          #DCFCE7;
    --accent-dark:          #16A34A;

    /* Sombras */
    --shadow-card:  0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-float: 0 8px 40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 107, 26, 0.06);
    --shadow-cta:   0 4px 20px rgba(255, 107, 26, 0.35);
    --shadow-sm:    0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow:       0 2px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg:    0 12px 40px rgba(0, 0, 0, 0.12);

    /* Radios */
    --radius-sm:   6px;
    --radius:      14px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --radius-pill: 9999px;

    /* Tipografía */
    --font-display: 'Sora', sans-serif;
    --font-heading: 'Sora', sans-serif;
    --font-body:    'Inter', sans-serif;

    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* =====================================================
   Reset & Base
===================================================== */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

/* =====================================================
   Phone Frame Component — resetado
   Las capturas de app ya traen marco propio
===================================================== */
.phone-frame,
.phone-frame-sm {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.phone-frame {
    max-width: 320px;
}

.phone-frame-sm {
    max-width: 200px;
    flex-shrink: 0;
}

.phone-frame img,
.phone-frame-sm img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* Eliminar pseudo-elementos que dibujen marco, notch, etc. */
.phone-frame::before,
.phone-frame::after,
.phone-frame-sm::before,
.phone-frame-sm::after {
    display: none;
    content: none;
}

/* Eliminar placeholder — ya no aplica */
.phone-frame.placeholder,
.phone-frame-sm.placeholder {
    display: none;
}

/* =====================================================
   Browser Frame Component (para screenshots del panel)
===================================================== */
.browser-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-float);
    border: 1px solid var(--border);
    background: var(--surface);
    max-width: 100%;
}

.browser-bar {
    background: #F0F0F5;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}

.browser-dot:nth-child(1) { background: #FF5F57; }
.browser-dot:nth-child(2) { background: #FEBC2E; }
.browser-dot:nth-child(3) { background: #28C840; }

.browser-url {
    margin-left: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.browser-content {
    overflow: hidden;
    line-height: 0;
    font-size: 0;
}

.browser-content img {
    width: 100%;
    display: block;
}

.browser-content.placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1F1F1F, #2A1A0D);
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--color-dark-border);
}

.browser-content.placeholder::after {
    content: "🖥️ Panel Screenshot";
    color: var(--color-primary);
    font-size: 14px;
    opacity: 0.6;
}

/* =====================================================
   Demo Form Styles
===================================================== */
.demo-form-wrap {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.demo-form-wrap h2 {
    margin-bottom: 8px;
    font-size: 1.75rem;
}

.demo-form-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.demo-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--bg);
    color: var(--text);
    cursor: pointer;
}

.demo-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.demo-alt-contact {
    margin-top: 24px;
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.demo-alt-contact p {
    margin: 0;
    color: var(--text-muted);
}

.demo-alt-contact a {
    color: var(--primary);
    font-weight: 600;
}

/* =====================================================
   App Screenshots Scroll (mobile gallery)
===================================================== */
.app-screenshots-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}

.app-screenshots-scroll::-webkit-scrollbar {
    height: 4px;
}

.app-screenshots-scroll::-webkit-scrollbar-track {
    background: var(--bg-soft);
    border-radius: 2px;
}

.app-screenshots-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.app-screenshots-scroll .phone-frame-sm {
    scroll-snap-align: start;
}

/* =====================================================
   Badges
===================================================== */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
}

.badge-proximo {
    background: var(--accent);
    color: white;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.4rem; }
p  { margin: 0 0 16px; color: var(--text-muted); }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--secondary); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.75); }
.section-soft { background: var(--bg-soft); }

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary);
    background: var(--primary-light);
    padding: 6px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.1rem; }

/* =====================================================
   Botones
===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 107, 26, 0.45);
}

/* Botón CTA con sombra naranja */
.btn-cta {
    background: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-cta);
    border-radius: var(--radius-pill);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-cta:hover {
    background: var(--color-primary-hover);
    box-shadow: 0 6px 28px rgba(255, 107, 26, 0.55);
    transform: translateY(-1px);
    color: #fff;
}

/* Botón ghost sobre fondo oscuro */
.btn-ghost-dark {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-pill);
}
.btn-ghost-dark:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}
.btn-secondary:hover { background: #0F0F1A; color: #fff; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.btn-ghost {
    background: transparent;
    color: var(--text);
}
.btn-ghost:hover { color: var(--primary); }

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }

/* =====================================================
   Navbar
===================================================== */
.nav-main {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--border);
    transition: top .2s ease;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), #FF7A5C);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.1rem;
}
.nav-logo-img {
    max-height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: var(--text);
    font-weight: 500;
    font-size: .95rem;
}
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text);
}

@media (max-width: 900px) {
    .nav-links, .nav-actions .btn-ghost { display: none; }
    .nav-toggle { display: block; }

    /* Menú mobile desplegado */
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-black);
        padding: 20px;
        gap: 0;
        border-bottom: 1px solid var(--color-dark-border);
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        z-index: 99;
    }

    .nav-links.mobile-open li {
        width: 100%;
    }

    .nav-links.mobile-open a {
        display: block;
        padding: 16px 0;
        color: #fff;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--color-dark-border);
    }

    .nav-links.mobile-open a:hover {
        color: var(--color-primary);
    }

    .nav-links.mobile-open li:last-child a {
        border-bottom: none;
    }

    /* Cambiar color del toggle cuando está abierto */
    .nav-main.mobile-open .nav-toggle {
        color: var(--color-primary);
    }
}

/* =====================================================
   Hero
===================================================== */
.hero {
    padding: 140px 0 80px;
    background: radial-gradient(ellipse at top left, rgba(255,77,46,.08) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(0,217,163,.08) 0%, transparent 50%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .highlight {
    background: linear-gradient(90deg, var(--primary), #FF7A5C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-sub { font-size: 1.15rem; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: .88rem;
}
.hero-trust i { color: var(--accent); }
.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-soft), #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.hero-visual.placeholder::after {
    content: "📱 Mockup del dashboard";
    font-size: 1.1rem;
}
.hero-mockup {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* Cuando hero-mockup es un contenedor con imagen dentro */
.hero-mockup:has(img) {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.hero-mockup img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

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

/* =====================================================
   Logos / Social proof
===================================================== */
.logos-strip {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.logos-strip .label {
    font-size: .82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 20px;
}
.logos-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: .5;
    filter: grayscale(1);
}
.logos-grid .logo-item {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* =====================================================
   Problema / Solución
===================================================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.problem-card {
    padding: 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .2s;
}
.problem-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.problem-icon {
    width: 48px; height: 48px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}
@media (max-width: 800px) { .problem-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Features
===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 32px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all .25s;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
    background: var(--primary-light);
    color: var(--primary);
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.feature-card p { margin: 0; font-size: .95rem; }

@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Cómo funciona (pasos)
===================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}
.step-card { position: relative; text-align: center; padding: 24px 16px; }
.step-num {
    counter-increment: step;
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.step-card:nth-child(odd) .step-num { background: var(--primary); }
.step-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step-card p { font-size: .9rem; margin: 0; }

@media (max-width: 800px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   Producto en acción (showcase)
===================================================== */
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { grid-template-columns: 1fr 1fr; }
.showcase-row.reverse .showcase-text { order: 2; }
.showcase-row h3 { font-size: 1.6rem; margin-bottom: 16px; }
.showcase-list { list-style: none; padding: 0; margin: 24px 0 0; }
.showcase-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--text);
    font-weight: 500;
}
.showcase-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.showcase-visual {
    background: linear-gradient(135deg, var(--bg-soft), #fff);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
}

.showcase-visual:not(:has(.browser-frame)):not(:has(img)) {
    aspect-ratio: 4/3;
}
.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

@media (max-width: 900px) {
    .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: 32px; }
    .showcase-row.reverse .showcase-text { order: initial; }
}

/* =====================================================
   Testimonios
===================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    padding: 28px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
}
.testimonial-card::before {
    content: "❝";
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
    position: absolute;
    top: 12px; right: 20px;
    opacity: .3;
}
.testimonial-quote { font-style: italic; color: var(--text); margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #FF7A5C);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.testimonial-person strong { display: block; font-weight: 600; }
.testimonial-person small { color: var(--text-muted); font-size: .82rem; }

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

/* =====================================================
   Precios
===================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}
.pricing-card {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: all .25s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    position: relative;
}
.pricing-badge {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.pricing-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.pricing-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 24px; min-height: 40px; }
.pricing-price {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}
.pricing-price small { font-size: .9rem; color: var(--text-muted); font-weight: 500; }
.pricing-annual {
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, var(--accent-soft), #fff);
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--accent);
}
.pricing-annual small { color: var(--text-muted); }
.pricing-annual strong { color: var(--accent); }
.pricing-features {
    list-style: none; padding: 0;
    margin: 28px 0;
    flex: 1;
}
.pricing-features li {
    padding: 8px 0 8px 26px;
    position: relative;
    font-size: .92rem;
    color: var(--text);
}
.pricing-features li::before {
    content: "✓";
    position: absolute; left: 0;
    color: var(--accent);
    font-weight: 700;
}

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

/* Toggle de región */
.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}
.pricing-toggle-btn {
    padding: 12px 32px;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    border-radius: 100px;
    cursor: pointer;
    transition: all .2s;
}
.pricing-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pricing-toggle-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}


/* =====================================================
   FAQ
===================================================== */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.faq-item summary {
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 16px 0 0; }

/* =====================================================
   CTA Final
===================================================== */
.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #FF7A5C 100%);
    color: #fff;
    text-align: center;
}
.cta-final h2 { color: #fff; margin-bottom: 16px; }
.cta-final p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 640px; margin: 0 auto 32px; }
.cta-final .btn-primary {
    background: #fff;
    color: var(--primary);
}
.cta-final .btn-primary:hover { background: var(--secondary); color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.2); }

/* =====================================================
   Footer
===================================================== */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,.75);
    padding: 72px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.footer-social a:hover { background: var(--primary); }
.footer-col h4,
.footer-col h3 {
    color: #fff;
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(255,255,255,.65);
    font-size: .88rem;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
}
.footer-bottom a { color: rgba(255,255,255,.5); margin-left: 16px; }
.footer-bottom a:hover { color: #fff; }

@media (max-width: 1000px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1/-1; max-width: none; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   BLOG
===================================================== */
.blog-hero {
    padding: 128px 0 72px;
}
.blog-hero h1 {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.blog-cats-section {
    padding-top: 0 !important;
    padding-bottom: 32px;
}
.blog-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.blog-cat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 100px;
    background: #fff;
    color: var(--text-muted);
    font-size: .9rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}
.blog-cat:hover { border-color: rgba(255,107,26,.35); color: var(--text); }
.blog-cat.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(255,107,26,.2);
}

@media (max-width: 700px) {
    .blog-hero {
        padding: 136px 0 50px;
    }
    .blog-hero h1 {
        font-size: clamp(2rem, 9vw, 2.45rem);
        margin-bottom: 18px;
    }
    .blog-hero .hero-sub {
        font-size: 1rem;
        margin-bottom: 0;
    }
    .blog-cats-section {
        padding-bottom: 24px;
        overflow: hidden;
    }
    .blog-cats {
        flex-wrap: nowrap;
        justify-content: center;
        overflow-x: auto;
        margin: 0 -20px;
        padding: 0 20px 10px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }
    .blog-cats::-webkit-scrollbar {
        display: none;
    }
    .blog-cat {
        flex: 0 0 auto;
        min-height: 36px;
        padding: 8px 12px;
        font-size: .82rem;
        scroll-snap-align: start;
    }
}

@media (max-width: 360px) {
    .blog-cats {
        justify-content: flex-start;
    }
}

/* Destacado */
.blog-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 56px;
    text-decoration: none;
    color: inherit;
    transition: all .2s;
}
.blog-featured:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: transparent;
}
.blog-featured-visual {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary-light), #FFD9CF);
    display: flex; align-items: center; justify-content: center;
}
.blog-featured-body { padding: 40px; }
.blog-featured-body h2 { margin-bottom: 12px; font-size: 1.8rem; }
.blog-featured-body p { font-size: 1.05rem; color: var(--text-muted); }

@media (max-width: 900px) {
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured-body { padding: 28px; }
}

/* Grid de posts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-grid-filtered {
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    justify-content: center;
}
.blog-grid-filtered .blog-card-visual {
    aspect-ratio: 21/9;
}
.blog-grid-filtered .blog-cover-emoji {
    font-size: 4rem;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .blog-grid-filtered { grid-template-columns: minmax(0, 520px); } }
@media (max-width: 600px) { .blog-grid-filtered { grid-template-columns: 1fr; } }

.blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all .25s;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.blog-card-visual {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg-soft), #fff);
    display: flex; align-items: center; justify-content: center;
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card-cat {
    display: inline-block;
    align-self: flex-start;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary);
    margin-bottom: 10px;
}
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card-body p {
    font-size: .92rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-cover-emoji { font-size: 5rem; line-height: 1; }

.blog-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: .82rem;
    color: var(--text-muted);
}

/* Post individual */
.blog-post-header { padding: 120px 0 40px; text-align: center; }
.blog-breadcrumb {
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.blog-breadcrumb a { color: var(--text-muted); }
.blog-breadcrumb a:hover { color: var(--primary); }

.blog-post-header h1 { margin-bottom: 16px; }
.blog-post-excerpt {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 32px;
}
.blog-post-meta { display: flex; justify-content: center; }
.blog-post-author { display: flex; align-items: center; gap: 12px; text-align: left; }
.blog-post-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #FF7A5C);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.blog-post-author strong { display: block; font-weight: 600; }
.blog-post-author small { color: var(--text-muted); font-size: .82rem; }

.blog-post-cover {
    max-width: 960px;
    margin: 0 auto 56px;
    aspect-ratio: 16/7;
    background: linear-gradient(135deg, var(--primary-light), #FFD9CF);
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
}
.blog-post-cover .blog-cover-emoji { font-size: 8rem; }

/* Tipografía del body del post */
.blog-post-body {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text);
    padding-bottom: 48px;
}
.blog-post-body h2 {
    font-size: 1.8rem;
    margin: 48px 0 16px;
}
.blog-post-body h3 {
    font-size: 1.3rem;
    margin: 32px 0 12px;
}
.blog-post-body p { margin-bottom: 20px; color: var(--text); }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 20px 24px; }
.blog-post-body li { margin-bottom: 8px; }
.blog-post-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 12px 20px;
    margin: 24px 0;
    font-style: italic;
    background: var(--bg-soft);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text);
}
.blog-post-body a { color: var(--primary); text-decoration: underline; }
.blog-post-body img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 24px 0;
}
.blog-post-body code {
    background: var(--bg-soft);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: .92em;
}

/* Tags */
.blog-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}
.blog-tag {
    background: var(--bg-soft);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: .82rem;
}

/* CTA inline en post */
.blog-cta-box {
    background: linear-gradient(135deg, var(--primary), #FF7A5C);
    color: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 40px 0;
}
.blog-cta-box h3 { color: #fff; margin-bottom: 8px; }
.blog-cta-box p { color: rgba(255,255,255,.9); margin-bottom: 24px; }
.blog-cta-box .btn-primary {
    background: #fff;
    color: var(--primary);
}
.blog-cta-box .btn-primary:hover { background: var(--secondary); color: #fff; }

/* =====================================================
   Stats (Nosotros)
===================================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item {
    padding: 32px 16px;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
}
.stat-num {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: .95rem;
    color: var(--text-muted);
    font-weight: 500;
}
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   Team (Nosotros)
===================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.team-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
    transition: all .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
    width: 88px; height: 88px;
    margin: 0 auto 20px;
    border-radius: 50%;
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
}
.team-card h3 { margin-bottom: 4px; font-size: 1.2rem; }
.team-role {
    color: var(--primary);
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 12px;
}
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } }

/* =====================================================
   Contacto
===================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-channels h2 { margin-bottom: 8px; }
.contact-channels > p { margin-bottom: 24px; }

.contact-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--text);
    transition: all .2s;
}
.contact-channel:hover {
    border-color: var(--primary);
    transform: translateX(4px);
    color: var(--text);
}
.contact-channel-icon {
    width: 44px; height: 44px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-channel strong { display: block; font-weight: 600; }
.contact-channel > div:last-child div { color: var(--text-muted); font-size: .88rem; }

.contact-info-box {
    margin-top: 24px;
    padding: 20px;
    background: var(--bg-soft);
    border-radius: var(--radius);
}
.contact-info-box h4 { font-size: .95rem; margin-bottom: 8px; }
.contact-info-box p { margin: 0; font-size: .9rem; }

/* Form */
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}
.contact-form-wrap h2 { margin-bottom: 6px; }
.contact-form-wrap > p { margin-bottom: 24px; }

.contact-form { position: relative; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.form-group select {
    width: 100%;
    padding: 12px 14px;
    padding-right: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--text);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}
.form-group input:not([type="checkbox"]):not([type="radio"]):focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255,77,46,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 28px; }
}

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: .92rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}
.alert i {
    flex-shrink: 0;
    margin-top: 2px;
}
.alert-ok {
    background: rgba(0,217,163,.12);
    color: var(--accent-dark);
    border: 1px solid rgba(0,217,163,.3);
}
.alert-error {
    background: rgba(255,77,46,.08);
    color: var(--primary-dark);
    border: 1px solid rgba(255,77,46,.2);
}

/* =====================================================
   Legal pages
===================================================== */
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal-body h3 { font-size: 1.1rem; margin: 24px 0 8px; }

/* =====================================================
   404
===================================================== */
.error-page { text-align: center; max-width: 680px; margin: 0 auto; }
.error-code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 18vw, 10rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary), #FF8C4A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
}

/* =====================================================
   Hero Section — Dark con gradiente naranja
===================================================== */
.hero {
    background-color: var(--color-black);
    background-image:
        radial-gradient(ellipse 55% 45% at 85% 15%, rgba(255,107,26,0.22) 0%, transparent 65%),
        radial-gradient(ellipse 30% 40% at 10% 90%,  rgba(255,107,26,0.08) 0%, transparent 60%);
    color: var(--color-text-inverse);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    opacity: 0.5;
    pointer-events: none;
}

.hero h1 {
    color: #fff;
}

.hero h1 .highlight {
    color: var(--color-primary);
}

.hero-sub {
    color: rgba(255,255,255,0.75);
}

.hero-trust span {
    color: rgba(255,255,255,0.6);
}

.hero-trust i {
    color: var(--color-primary);
}

/* =====================================================
   CTA Final — Dark con gradiente naranja
===================================================== */
.cta-final {
    background-color: var(--color-black);
    background-image: radial-gradient(
        ellipse 70% 40% at 50% 110%,
        rgba(255, 107, 26, 0.20) 0%,
        transparent 65%
    );
    color: var(--color-text-inverse);
    text-align: center;
    padding: 80px 0;
}

.cta-final h2 {
    color: #fff;
}

.cta-final p {
    color: rgba(255,255,255,0.75);
}

/* =====================================================
   Navbar — Glassmorphism on scroll
===================================================== */
.nav-main.scrolled {
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-dark-border);
}

.nav-main.scrolled .nav-logo {
    color: #fff;
}

.nav-main.scrolled .nav-links a {
    color: rgba(255,255,255,0.8);
}

.nav-main.scrolled .nav-links a:hover {
    color: var(--color-primary);
}

/* =====================================================
   Video Components
===================================================== */

/* Video dentro de phone-frame — eliminado, ahora solo imágenes */
.phone-frame video,
.phone-frame-sm video {
    display: none;
}

/* Video dentro de browser-frame */
.browser-content video {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Video Preview con botón play */
.video-preview {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.video-preview .video-thumb {
    width: 100%;
    display: block;
    transition: filter 0.2s;
}

.video-preview:hover .video-thumb {
    filter: brightness(0.8);
}

.play-btn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
    filter: drop-shadow(0 4px 12px rgba(255,107,26,0.5));
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn svg {
    width: 100%;
    height: 100%;
}

.video-label {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 13px;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    font-family: var(--font-body);
}

/* Modal de video */
.video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 16px;
}

.video-modal {
    position: relative;
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
}

.video-modal video {
    width: 100%;
    display: block;
}

.video-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   Sección Pasos — Números en naranja
===================================================== */
.step-num,
.step-card:nth-child(odd) .step-num,
.step-card:nth-child(even) .step-num {
    background: var(--color-dark-surface);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 20px rgba(255,107,26,0.15);
}

.paso-numero {
    color: var(--color-primary);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.paso-conector {
    background: var(--color-primary);
    opacity: 0.3;
}

/* =====================================================
   Footer — Dark theme
===================================================== */
.footer {
    background: var(--color-black);
    color: rgba(255, 255, 255, 0.55);
    border-top: 1px solid var(--color-dark-border);
}

.footer a {
    color: rgba(255, 255, 255, 0.55);
}

.footer a:hover {
    color: var(--color-primary);
}

/* =====================================================
   Stats/Social Proof — Números naranja
===================================================== */
.stat-number {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* =====================================================
   Panel Tabs
===================================================== */
.panel-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.panel-tab {
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: var(--radius-pill);
    transition: all 0.2s;
}

.panel-tab:hover {
    color: var(--color-text);
    background: var(--color-bg);
}

.panel-tab.active {
    background: var(--color-primary);
    color: #fff;
}

.panel-content {
    max-width: 900px;
    margin: 0 auto;
}

.panel-media {
    display: none;
}

.panel-media.active {
    display: block;
}

.panel-media img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.panel-media video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* =====================================================
   App screenshots scroll
===================================================== */
.app-screenshots-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
    margin: 48px -20px 0;
    padding-left: 20px;
    padding-right: 20px;
}

.app-screenshots-scroll::-webkit-scrollbar {
    height: 4px;
}

.app-screenshots-scroll::-webkit-scrollbar-track {
    background: var(--color-bg);
    border-radius: 2px;
}

.app-screenshots-scroll::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 2px;
}

/* Ya definido arriba */

/* =====================================================
   PROMO AGOSTO — Announcement Bar & Promo Card
   Revisar al finalizar agosto
===================================================== */

/* — Announcement Bar — */
.lumia-announcement-bar {
  background: #FF4D2E;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px 10px 16px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  font-family: 'Sora', sans-serif;
}

.lumia-announcement-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent, transparent 40px,
    rgba(255,255,255,0.04) 40px,
    rgba(255,255,255,0.04) 80px
  );
  pointer-events: none;
}
.lab-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}
.lab-badge {
  background: #fff;
  color: #FF4D2E;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}
.lab-text {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.lab-cta {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}
.lab-cta:hover { background: rgba(255,255,255,0.28); color: #fff; }
.lab-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}
.lab-close:hover { color: #fff; }
@media (max-width: 600px) {
  .lab-text { display: none; }
  .lumia-announcement-bar { padding: 10px 40px 10px 10px; }
}

/* — Sección contenedora — */
.lpc-section {
  padding: 48px 0;
}

/* — Promo Card — */
.lumia-promo-card {
  background: #FF4D2E;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  font-family: 'Sora', sans-serif;
  margin: 0;
  max-width: 100%;
  width: 100%;
}
.lpc-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.lpc-deco-1 {
  width: 220px; height: 220px;
  top: -60px; right: -40px;
  background: rgba(255,255,255,0.07);
}
.lpc-deco-2 {
  width: 120px; height: 120px;
  bottom: -30px; right: 100px;
  background: rgba(255,255,255,0.05);
}
.lpc-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.lpc-left { flex: 1; min-width: 220px; }
.lpc-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.lpc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: lumia-blink 1.4s ease-in-out infinite;
}
@keyframes lumia-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.lpc-headline {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.lpc-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
  max-width: 340px;
  margin: 0;
}
.lpc-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.lpc-counter { text-align: center; }
.lpc-days {
  display: block;
  font-size: 64px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}
.lpc-days-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.lpc-btn {
  display: inline-block;
  background: #fff;
  color: #FF4D2E;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 800;
  border: none;
  border-radius: 100px;
  padding: 13px 24px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.lpc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  color: #FF4D2E;
}
.lpc-btn:active { transform: translateY(0); }
.lpc-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 2rem;
  background: rgba(0,0,0,0.12);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 1;
}
@media (max-width: 600px) {
  .lpc-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }
  .lpc-right {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .lpc-days { font-size: 48px; }
  .lpc-footer { padding: 10px 1.5rem; font-size: 12px; }
}

/* =====================================================
   UI polish — portada agosto 2026
===================================================== */

/* Más aire debajo de la cabecera fija y mejor profundidad del hero. */
.hero {
  padding-top: 172px;
}

.hero-grid {
  gap: clamp(40px, 5vw, 72px);
}

.hero-text {
  position: relative;
  z-index: 1;
}

.hero-sub {
  max-width: 590px;
  line-height: 1.7;
}

.hero-mockup:has(img) {
  border: 1px solid rgba(255, 107, 26, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38), 0 0 48px rgba(255, 107, 26, 0.08);
}

/* La promo adopta el naranja principal de la marca. */
.lumia-announcement-bar,
.lumia-promo-card {
  background: var(--color-primary);
}

.lumia-announcement-bar {
  min-height: 52px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.lab-badge,
.lpc-btn {
  color: var(--color-primary);
}

.lumia-promo-card {
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 60px rgba(255, 107, 26, 0.2);
}

.lpc-inner {
  padding: clamp(24px, 4vw, 40px);
}

.lpc-sub {
  max-width: 520px;
  font-size: 15px;
}

.lpc-btn:hover {
  color: var(--color-primary);
}

/* Grilla equilibrada: ocho funcionalidades en dos filas de cuatro. */
@media (min-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.problem-card,
.feature-card {
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.03);
}

.problem-card:hover,
.feature-card:hover {
  border-color: rgba(255, 107, 26, 0.45);
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
}

.problem-icon,
.feature-icon {
  box-shadow: inset 0 0 0 1px rgba(255, 107, 26, 0.12);
}

.faq-item {
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(255, 107, 26, 0.42);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

/* Foco visible para navegación por teclado. */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(255, 107, 26, 0.45);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .hero {
    padding: 164px 0 64px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
    min-height: 58px;
  }

  .hero-trust {
    align-items: flex-start;
    gap: 10px 16px;
    flex-wrap: wrap;
  }

  .lpc-section {
    padding: 32px 0;
  }

  .lpc-right {
    gap: 16px;
  }

  .lpc-btn {
    padding-inline: 20px;
  }

  .nav-inner {
    gap: 10px;
  }

  .nav-logo-img {
    max-width: 132px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn-primary {
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =====================================================
   Home comercial v3 — agosto 2026
===================================================== */
.home-hero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 4.4vw, 3.8rem);
  letter-spacing: -0.055em;
}

/* Naranja oscuro para texto y controles que requieren contraste AA. */
.btn-primary,
.panel-tab.active {
  background: #C94708;
}

.btn-primary:hover {
  background: #B83C00;
}

.eyebrow,
.metric-placeholder,
.solution-card span,
.plan-label {
  color: #B83C00;
}

.section-dark .eyebrow,
.eyebrow-light {
  color: #FFD7C2;
  background: rgba(255, 107, 26, 0.18);
}

.browser-url { color: #655b54; }

.home-hero { padding-top: 150px; }

.home-hero .hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.product-shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.shot-tag {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(13, 13, 13, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.trust-strip {
  padding: 34px 0 40px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.trust-kicker {
  margin: 0 0 22px;
  text-align: center;
  color: #554d47;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.capture-placeholder {
  color: #70655d;
  background:
    linear-gradient(135deg, rgba(255, 107, 26, 0.055), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(255, 107, 26, 0.035) 12px, rgba(255, 107, 26, 0.035) 24px);
  border: 1px dashed rgba(122, 111, 102, 0.55);
}

.logo-placeholder {
  min-height: 76px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.placeholder-note,
.pricing-disclaimer {
  margin: 16px auto 0;
  text-align: center;
  color: #665d56;
  font-size: 0.8rem;
}

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

.outcome-card {
  padding: clamp(26px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.metric-placeholder {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.06em;
}

.outcome-card h3 { margin: 0 0 12px; font-size: 1.12rem; }
.outcome-card p { margin: 0 0 18px; color: #5f554e; }
.outcome-card small {
  display: inline-block;
  padding: 5px 9px;
  color: #6b5140;
  background: #fff3eb;
  border-radius: 6px;
  font-weight: 700;
}

.section-header-light h2 { color: #fff; }
.section-header-light p { color: rgba(255, 255, 255, 0.72); }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.workflow-card {
  overflow: hidden;
  background: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
}

.workflow-card:last-child { grid-column: 1 / -1; }

.workflow-placeholder {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 107, 26, 0.13), rgba(31, 31, 31, 0.94)),
    repeating-linear-gradient(-45deg, transparent, transparent 18px, rgba(255, 255, 255, 0.025) 18px, rgba(255, 255, 255, 0.025) 36px);
  border-width: 0 0 1px;
  border-color: rgba(255, 255, 255, 0.12);
}

.workflow-placeholder i { font-size: 2rem; color: var(--primary); }
.capture-id {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.workflow-copy { position: relative; padding: 26px 28px 30px; }
.workflow-copy h3 { margin: 0 0 8px; font-size: 1.2rem; }
.workflow-copy p { margin: 0; }
.flow-number {
  position: absolute;
  top: 25px;
  right: 26px;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.solution-card {
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.solution-card:hover {
  color: var(--text);
  transform: translateY(-5px);
  border-color: rgba(255, 107, 26, 0.48);
  box-shadow: var(--shadow-lg);
}

.solution-card i { margin-bottom: 36px; color: var(--primary); font-size: 1.7rem; }
.solution-card h3 { margin: 0 0 10px; }
.solution-card p { margin: 0 0 24px; color: #5e554f; }
.solution-card span { margin-top: auto; color: var(--primary-dark); font-weight: 700; }

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.integration-card {
  position: relative;
  min-height: 118px;
  padding: 18px;
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.integration-logo {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 12px;
}

.integration-card h3 { margin: 0 0 2px; font-size: 0.98rem; }
.integration-card p { margin: 0; color: #665d56; font-size: 0.82rem; }
.status-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}
.status-disponible { color: #176b36; background: #dcfce7; }
.status-validar { color: #8a4b00; background: #fff2cf; }
.status-roadmap { color: #554c46; background: #eee9e5; }

.case-study-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
}

.case-photo-placeholder {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(145deg, #28170f, #151515);
  border-color: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
}

.case-photo-placeholder i { color: var(--primary); font-size: 2.4rem; }
.case-study-copy h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.3rem); }
.case-quote-note { color: #f3c8ae !important; font-size: 0.83rem; }
.case-metrics {
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.case-metrics div { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.case-metrics strong { display: block; color: var(--primary); font-family: var(--font-display); font-size: 1.8rem; }
.case-metrics span { color: rgba(255, 255, 255, 0.65); font-size: 0.78rem; }
.case-author { color: #fff !important; }

.pricing-card { position: relative; }
.pricing-card.featured { border: 2px solid var(--primary); box-shadow: 0 18px 50px rgba(255, 107, 26, 0.13); }
.plan-label { color: var(--primary-dark); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.pricing-card h3 { min-height: 54px; margin: 10px 0 22px; font-size: 1.16rem; }
.price-placeholder { margin-bottom: 24px; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--text); }
.price-placeholder small { color: #665d56; font-size: 0.78rem; font-weight: 600; }
.pricing-card ul { flex: 1; margin: 0 0 28px; padding: 0; list-style: none; }
.pricing-card li { position: relative; padding: 7px 0 7px 25px; }
.pricing-card li::before { content: "✓"; position: absolute; left: 0; color: var(--color-success); font-weight: 800; }
.pricing-card .btn { width: 100%; }

.implementation-steps {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.implementation-steps li {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border-bottom: 1px solid var(--border);
}

.implementation-steps > li > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 800;
}

.implementation-steps h3 { margin: 1px 0 5px; }
.implementation-steps p { margin: 0; color: #5d544e; }

.eyebrow-light { color: #ffb88f; }
.cta-final-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-on-dark { color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-on-dark:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.08); }

@media (max-width: 1000px) {
  .client-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .home-hero h1 { font-size: clamp(2.45rem, 12vw, 3.5rem); }
  .outcomes-grid,
  .workflow-grid,
  .case-study-grid { grid-template-columns: 1fr; }
  .workflow-card:last-child { grid-column: auto; }
  .case-photo-placeholder { min-height: 330px; }
  .case-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .client-logo-grid,
  .solutions-grid,
  .integrations-grid { grid-template-columns: 1fr; }
  .logo-placeholder { min-height: 62px; }
  .solution-card { min-height: 230px; }
  .integration-card { min-height: 108px; }
  .panel-tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; }
  .panel-tab { flex: 0 0 auto; }
  .workflow-copy { padding: 23px 22px 26px; }
  .implementation-steps li { grid-template-columns: 46px 1fr; }
}

/* Overrides AA al final del archivo para prevalecer sobre componentes legacy. */
.btn-primary,
.panel-tab.active { background: #C94708; }
.btn-primary:hover { background: #B83C00; }
.eyebrow,
.metric-placeholder,
.solution-card span,
.plan-label { color: #B83C00; }
.section-dark .eyebrow,
.eyebrow-light { color: #FFD7C2; background: rgba(255, 107, 26, 0.18); }
.browser-url { color: #655b54; }
.flow-number { color: #777; }
.pricing-badge { background: #C94708; }
.cta-final .btn-primary { color: #fff; background: #C94708; }
.cta-final .btn-primary:hover { color: #fff; background: #B83C00; }

/* Hero de landings: contenido centrado, sin depender de capturas de producto. */
.landing-hero {
  min-height: 680px;
  display: flex;
  align-items: center;
}

.landing-hero-grid {
  display: block;
}

.landing-hero .hero-text {
  width: min(100%, 900px);
  margin: 0 auto;
  text-align: center;
}

.landing-hero h1 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.8rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.landing-hero .hero-sub {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.landing-hero .hero-ctas,
.landing-hero .hero-trust {
  justify-content: center;
}

.landing-hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.landing-hero .btn-outline:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 600px) {
  .landing-hero {
    min-height: 620px;
  }

  .landing-hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }
}

/* Capturas de producto para landings específicas. */
.landing-answer {
  padding-top: 36px;
  background: #fffaf7;
}

.landing-answer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.landing-answer h2 {
  max-width: 540px;
  margin: 18px 0 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.landing-answer-content {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(20, 23, 38, 0.1);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(31, 24, 20, 0.08);
}

.landing-answer-content > p {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.75;
}

.landing-answer-content ul {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(20, 23, 38, 0.1);
  list-style: none;
}

.landing-answer-content li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--text-muted);
  line-height: 1.55;
}

.landing-answer-content li i,
.landing-comparison td:last-child i {
  color: #c94708;
  margin-top: 4px;
}

.landing-comparison-scroll {
  overflow-x: auto;
  margin-top: 42px;
  border: 1px solid rgba(20, 23, 38, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(31, 24, 20, 0.07);
}

.landing-comparison table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.landing-comparison th,
.landing-comparison td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(20, 23, 38, 0.09);
  vertical-align: top;
  line-height: 1.5;
}

.landing-comparison thead th {
  color: #fff;
  background: #171717;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-comparison tbody th {
  width: 18%;
  color: var(--text);
  font-weight: 750;
}

.landing-comparison td { color: var(--text-muted); }
.landing-comparison td:last-child { color: var(--text); font-weight: 600; }
.landing-comparison tbody tr:last-child > * { border-bottom: 0; }

.landing-pricing .landing-comparison-scroll { max-width: 760px; margin-inline: auto; }
.landing-pricing table { min-width: 0; }
.landing-pricing tbody th { width: 55%; }
.landing-pricing td { white-space: nowrap; }

.landing-updated {
  padding-top: 12px;
  padding-bottom: 38px;
}

.landing-updated p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

.landing-updated i { color: #c94708; }

.landing-showcase {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(255, 107, 26, 0.09), transparent 28%),
    linear-gradient(180deg, #fff 0%, #fffaf7 100%);
}

.landing-showcase-header {
  max-width: 790px;
  margin-inline: auto;
}

.landing-showcase-list {
  display: grid;
  gap: 88px;
  margin-top: 58px;
}

.landing-showcase-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.65fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
}

.landing-showcase-row.is-reverse {
  grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.72fr);
}

.landing-showcase-row.is-reverse .landing-showcase-copy { order: 2; }
.landing-showcase-row.is-reverse .landing-showcase-media { order: 1; }

.landing-showcase-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #b83c00;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.landing-showcase-copy h3 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.landing-showcase-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.landing-showcase-media {
  min-width: 0;
}

.landing-showcase-media figure {
  margin: 0;
}

.landing-showcase-media img {
  display: block;
  width: 100%;
  height: auto;
}

.landing-showcase-media--browser figure,
.landing-showcase-media--browser-grid figure {
  overflow: hidden;
  border: 1px solid rgba(20, 23, 38, 0.12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(31, 24, 20, 0.14);
}

.landing-showcase-media--browser-grid {
  display: grid;
  gap: 18px;
}

.landing-showcase-media--browser-grid figure:nth-child(2) {
  width: 82%;
  margin: -72px 0 0 auto;
  box-shadow: 0 20px 52px rgba(31, 24, 20, 0.2);
}

.landing-showcase-media--phones {
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(14px, 3vw, 28px);
  padding: 38px 32px 0;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 100%, rgba(255, 107, 26, 0.35), transparent 54%),
    #171717;
  box-shadow: 0 28px 70px rgba(31, 24, 20, 0.2);
}

.landing-showcase-media--phones figure {
  width: min(43%, 270px);
  overflow: hidden;
  border: 5px solid #292929;
  border-bottom: 0;
  border-radius: 26px 26px 0 0;
  background: #111;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.42);
}

.landing-showcase-media--phones figure:first-child {
  transform: translateY(42px);
}

@media (max-width: 900px) {
  .landing-answer-grid { grid-template-columns: 1fr; gap: 28px; }
  .landing-showcase-list { gap: 72px; }
  .landing-showcase-row,
  .landing-showcase-row.is-reverse { grid-template-columns: 1fr; }
  .landing-showcase-row.is-reverse .landing-showcase-copy,
  .landing-showcase-row.is-reverse .landing-showcase-media { order: initial; }
  .landing-showcase-copy { max-width: 690px; }
}

@media (max-width: 600px) {
  .landing-answer { padding-top: 18px; }
  .landing-answer-content { padding: 24px 20px; border-radius: 18px; }
  .landing-answer-content > p { font-size: 1.02rem; }
  .landing-comparison-scroll { margin-top: 30px; border-radius: 14px; }
  .landing-comparison th,
  .landing-comparison td { padding: 16px 18px; }
  .landing-showcase-list { gap: 58px; margin-top: 42px; }
  .landing-showcase-row { gap: 26px; }
  .landing-showcase-media--browser figure,
  .landing-showcase-media--browser-grid figure { border-radius: 12px; }
  .landing-showcase-media--browser-grid figure:nth-child(2) { width: 90%; margin-top: -28px; }
  .landing-showcase-media--phones { min-height: 400px; padding: 26px 12px 0; border-radius: 20px; }
  .landing-showcase-media--phones figure { width: 47%; border-width: 3px; border-radius: 18px 18px 0 0; }
  .landing-showcase-media--phones figure:first-child { transform: translateY(24px); }
}

/* Capturas compartidas con la demo visual. */
.home-demo-visual {
  position: relative;
  overflow: visible;
  aspect-ratio: auto;
  min-height: 420px;
  padding: 34px 18px 54px 0;
  background: transparent;
  box-shadow: none;
}

.home-demo-browser {
  width: 100%;
  background: #fff;
}

.home-demo-browser .browser-content img {
  width: 100%;
  height: auto;
  aspect-ratio: 2940 / 1584;
}

/* Reserve the panel footprint before the screenshot or fonts arrive. */
.home-demo-browser .browser-content,
.home-hero + section ~ #producto .browser-content {
  aspect-ratio: 2940 / 1584;
}

.home-demo-phone {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 25%;
  z-index: 2;
  overflow: hidden;
  border: 5px solid #111;
  border-radius: 24px;
  background: #111;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.home-demo-phone img {
  display: block;
  width: 100%;
  height: auto;
}

.workflow-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.workflow-media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.workflow-phone-flow {
  padding: 22px 28px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 3vw, 28px);
  background: radial-gradient(circle at 50% 100%, rgba(255, 107, 26, 0.3), transparent 55%), #151515;
}

.workflow-phone-flow > img {
  width: auto;
  height: 94%;
  flex: 0 1 auto;
  object-fit: contain;
  border: 3px solid #222;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
}

.workflow-phone-flow > img:nth-child(2) {
  height: 100%;
  z-index: 1;
}

.home-app-stack {
  min-height: 520px;
  padding: 34px 28px 0;
  align-items: flex-end;
  gap: clamp(10px, 2vw, 24px);
  overflow: hidden;
  background: radial-gradient(circle at 50% 100%, rgba(255, 107, 26, 0.2), transparent 58%), #151515;
}

.home-app-stack > img {
  position: relative;
  width: min(30%, 180px);
  height: auto;
  max-height: 92%;
  object-fit: contain;
  border: 4px solid #222;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.38);
}

.home-app-stack > img:nth-child(2) {
  width: min(34%, 205px);
  z-index: 1;
}

@media (max-width: 900px) {
  .home-demo-visual { min-height: 390px; }
  .home-app-stack { min-height: 470px; }
}

@media (max-width: 600px) {
  .home-demo-visual { min-height: 300px; padding: 20px 12px 42px 0; }
  .home-demo-phone { width: 27%; border-width: 3px; border-radius: 16px; }
  .workflow-phone-flow { padding-inline: 12px; gap: 8px; }
  .workflow-phone-flow > img { border-width: 2px; border-radius: 12px 12px 0 0; }
  .home-app-stack { min-height: 390px; padding: 28px 12px 0; gap: 8px; }
  .home-app-stack > img { border-width: 2px; border-radius: 16px 16px 0 0; }
}

/* =====================================================
   Landing demo visual para leads
===================================================== */
.demo-page {
  background: var(--bg);
}

.demo-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 86px;
  background:
    radial-gradient(circle at 78% 8%, rgba(255, 107, 26, 0.18), transparent 34%),
    linear-gradient(135deg, #fffaf7 0%, #f6f0eb 48%, #fff 100%);
}

.demo-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
}

.demo-hero-copy h1 {
  margin: 16px 0 18px;
  max-width: 760px;
  font-size: clamp(2.5rem, 5.4vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.demo-hero-copy p {
  max-width: 650px;
  margin: 0 0 30px;
  color: #554b45;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
}

.demo-proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 680px;
}

.demo-proof-row span {
  padding: 13px 14px;
  color: #5b5049;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 107, 26, 0.18);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.05);
  font-size: 0.9rem;
}

.demo-proof-row strong {
  display: block;
  color: #111;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.demo-hero-visual {
  position: relative;
  min-height: 520px;
}

.demo-browser {
  position: absolute;
  top: 26px;
  right: 0;
  width: min(100%, 780px);
}

.demo-phone-card {
  position: absolute;
  left: 0;
  bottom: 6px;
  width: min(29vw, 245px);
  min-width: 176px;
  padding: 8px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.28);
}

.demo-phone-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 21px;
}

.demo-strip {
  background: #111;
  color: #fff;
}

.demo-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 1px;
  padding-bottom: 1px;
}

.demo-strip-grid div {
  min-height: 112px;
  padding: 24px;
  background: #191919;
}

.demo-strip-grid strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.demo-strip-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.demo-product-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
}

.demo-tabs {
  display: grid;
  gap: 10px;
}

.demo-tab {
  width: 100%;
  min-height: 94px;
  padding: 17px 18px;
  text-align: left;
  white-space: normal;
  border-radius: 8px;
}

.demo-tab span {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
}

.demo-tab small {
  display: block;
  color: #6b625c;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}

.demo-tab.active small {
  color: rgba(255, 255, 255, 0.82);
}

.demo-stage {
  min-width: 0;
}

.demo-stage .browser-frame {
  border-radius: 14px;
}

.demo-page .browser-content {
  background: #f5f6f8;
}

.demo-page .browser-content img {
  height: auto;
}

.demo-page .demo-browser .browser-content,
.demo-page .demo-stage .browser-content {
  aspect-ratio: 2940 / 1584;
}

.demo-page .demo-browser .browser-content img,
.demo-page .demo-stage .browser-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.demo-capture-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.demo-capture-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.demo-capture-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2940 / 1584;
  object-fit: contain;
  background: #f2f0ee;
}

.demo-capture-card div {
  padding: 22px 24px 25px;
}

.demo-capture-card h3,
.demo-app-card h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

.demo-capture-card p,
.demo-app-card p {
  margin: 0;
  color: #625852;
  font-size: 0.94rem;
}

.section-dark .demo-app-card p {
  color: rgba(255, 255, 255, 0.68);
}

.demo-app-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
  gap: 18px;
}

.demo-app-card {
  min-width: 0;
}

.demo-app-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
  background: #090909;
  border: 8px solid #242424;
  border-radius: 30px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.26);
}

.demo-app-card h3 {
  color: #fff;
}

.demo-themes-section {
  background: #fff;
}

.demo-theme-groups {
  display: grid;
  gap: 30px;
}

.demo-theme-block {
  overflow: hidden;
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background: #fbf8f5;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.demo-theme-copy span {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: #B83C00;
  background: #fff0e6;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.demo-theme-copy h3 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

.demo-theme-copy p {
  margin: 0;
  color: #5d534c;
}

.demo-theme-scroll {
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(138px, 168px);
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  padding: 4px 4px 16px;
}

.demo-theme-phone {
  margin: 0;
  scroll-snap-align: start;
}

.demo-theme-phone img {
  display: block;
  width: 100%;
  height: auto;
  background: #141414;
  border: 7px solid #242424;
  border-radius: 26px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.demo-theme-phone figcaption {
  margin-top: 10px;
  color: #554c46;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}

.demo-sales-section {
  background: #fff;
}

.demo-sales-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
}

.demo-sales-grid h2 {
  margin: 14px 0 18px;
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.demo-sales-grid p {
  max-width: 680px;
  margin: 0;
  color: #5d534c;
  font-size: 1.08rem;
}

.demo-checklist {
  display: grid;
  gap: 12px;
}

.demo-checklist div {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  background: #fbf8f5;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.demo-checklist i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #C94708;
  border-radius: 50%;
}

.demo-checklist span {
  color: #312b27;
  font-weight: 650;
  line-height: 1.35;
}

@media (max-width: 1060px) {
  .demo-hero-grid,
  .demo-product-grid,
  .demo-theme-block,
  .demo-sales-grid {
    grid-template-columns: 1fr;
  }

  .demo-hero {
    padding-top: 150px;
  }

  .demo-hero-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 18px;
    align-items: end;
  }

  .demo-browser,
  .demo-phone-card {
    position: static;
    width: 100%;
  }

  .demo-strip-grid,
  .demo-app-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .demo-hero {
    padding: 132px 0 58px;
  }

  .demo-proof-row,
  .demo-strip-grid,
  .demo-capture-grid,
  .demo-app-row {
    grid-template-columns: 1fr;
  }

  .demo-hero-visual {
    grid-template-columns: 1fr;
  }

  .demo-phone-card {
    max-width: 245px;
    margin: 0 auto;
  }

  .demo-tabs {
    grid-template-columns: 1fr;
  }

  .demo-tab {
    min-height: 0;
  }

  .demo-theme-scroll {
    grid-auto-columns: minmax(150px, 58vw);
  }

  .demo-sales-grid {
    grid-template-columns: 1fr;
  }
}
