/* ============================================================
   Ullua-Soft · Home — style.css
   Editorial dark · sin glassmorphism · sin gradient-text masivo
   Acento naranja yerba (#FF6B35) + azul institucional
   ============================================================ */

:root {
    --bg: #0A0908;
    --bg-2: #15110D;
    --bg-3: #1F1A14;
    --line: #2A2622;
    --line-soft: rgba(255, 255, 255, 0.07);
    --text: #F5F1EA;
    --text-dim: #A39E94;
    --text-low: #8A857C;

    --accent: #2563EB;          /* azul institucional (logo) */
    --accent-dark: #1D4ED8;
    --accent-soft: rgba(37, 99, 235, 0.12);

    --secondary: #FF6B35;       /* naranja — plan Pro / CTA secundario */
    --success: #A7F432;         /* verde fluo */
    --danger: #EF4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--accent); color: var(--bg); }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

body {
    font-family: 'Nunito', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.06;
}

a { color: inherit; }

img { max-width: 100%; height: auto; }

/* === Helpers de tipografía === */
.eyebrow {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 1.2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--accent);
}

.section-head {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: left;
}

.section-head .eyebrow { padding-left: 0; border-left: none; }

.section-title {
    font-size: clamp(2rem, 4.2vw, 3.6rem);
    margin-bottom: 1.2rem;
}

.section-title em {
    font-style: normal;
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.section-title em::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 8px;
    background: var(--accent);
    opacity: 0.22;
    border-radius: 3px;
    z-index: -1;
}

.section-sub {
    color: var(--text-dim);
    font-size: 1.1rem;
    max-width: 680px;
    line-height: 1.65;
}

/* === BUTTONS === */
.btn-solid, .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    font-size: 0.92rem;
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
    border: 1px solid transparent;
    cursor: pointer;
    line-height: 1;
}

.btn-solid {
    background: var(--accent);
    color: var(--bg);
}
.btn-solid:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px -10px var(--accent);
}

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

.btn-lg { padding: 0.95rem 1.8rem; font-size: 1rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

/* === NAVBAR === */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 6%;
    background: rgba(10, 9, 8, 0.85);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line-soft);
    transition: padding 0.2s;
}

.navbar.scrolled {
    padding: 0.8rem 6%;
    background: rgba(10, 9, 8, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 var(--line-soft), 0 8px 32px -8px rgba(0,0,0,0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--text);
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
}

.logo img { height: 32px; }

.nav-items {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-items > a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-items > a:hover { color: var(--text); }
.nav-items > a.btn-ghost,
.nav-items > a.btn-solid { color: inherit; }
.nav-items > a.btn-ghost { color: var(--text); }
.nav-items > a.btn-solid { color: var(--bg); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

/* === HERO === */
.hero {
    padding: 5rem 6% 6rem;
    position: relative;
    overflow: hidden;
}

.hero-photo-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-photo-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.18;
    filter: grayscale(20%);
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.hero-photo-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--bg) 0%,
        rgba(10, 9, 8, 0.7) 45%,
        rgba(10, 9, 8, 0.2) 100%
    );
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 900px 500px at 85% 20%, var(--accent-soft), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: var(--accent-soft);
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
}

.dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(255, 107, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}

.hero-h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    margin-bottom: 1.6rem;
}

.hero-h1 em {
    font-style: normal;
    color: var(--accent);
    position: relative;
    display: inline-block;
}
.hero-h1 em::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 10px;
    background: var(--accent);
    opacity: 0.22;
    border-radius: 3px;
    z-index: -1;
}

.hero-h1 s {
    text-decoration: line-through;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 4px;
    color: var(--text-low);
    white-space: nowrap;
}

.hero-bajada {
    font-size: 1.18rem;
    color: var(--text-dim);
    margin-bottom: 2.4rem;
    max-width: 640px;
    line-height: 1.65;
}

.hero-ctas {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.hero-meta {
    list-style: none;
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    color: var(--text-dim);
    font-size: 0.88rem;
}

.hero-meta i { color: var(--accent); margin-right: 0.4rem; }

/* === HERO MOCKUP === */
.hero-mockup {
    position: relative;
}

.mockup-screen {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
    transform: rotate(-1deg);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-3);
    border-bottom: 1px solid var(--line);
}

.mockup-bar .d { width: 11px; height: 11px; border-radius: 50%; opacity: 0.6; }
.d.red { background: #ff5f56; }
.d.yellow { background: #ffbd2e; }
.d.green { background: #27c93f; }

.mockup-url {
    margin-left: 12px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    color: var(--text-low);
}

.mockup-screen iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    display: block;
}

.mockup-tag {
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

/* === TRUST === */
.trust {
    padding: 4rem 6% 3rem;
    text-align: center;
    border-block: 1px solid var(--line);
}

.trust-eyebrow {
    font-family: 'Nunito', sans-serif;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.logo-strip {
    overflow: hidden;
    mask-image: linear-gradient(to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
}

.logo-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.logo-track:hover { animation-play-state: paused; }

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

.logo-set {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-right: 1.25rem; /* iguala el gap entre sets */
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.logo-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 0.75rem 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    min-width: 140px;
    flex-shrink: 0;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.logo-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-3px);
}

.logo-chip img {
    height: 54px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

/* === NICHOS GRID — el plato fuerte === */
.nichos-section {
    padding: 7rem 6%;
    position: relative;
}

.nichos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(218px, 1fr));
    gap: 1.1rem;
}

.nicho-card {
    --nicho-color: var(--accent);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.7rem 1.5rem 1.4rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    overflow: hidden;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out, border-color 0.25s;
}

/* franja de color del rubro arriba */
.nicho-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--nicho-color);
    opacity: 0.55;
    transition: opacity 0.25s, height 0.25s;
}

.nicho-card > *:not(.nicho-badge) { position: relative; z-index: 1; }

.nicho-card:hover {
    transform: translateY(-6px);
    border-color: var(--nicho-color);
    box-shadow: 0 18px 44px -18px color-mix(in srgb, var(--nicho-color) 50%, transparent);
}
.nicho-card:hover::before { opacity: 1; height: 4px; }

/* tile de color con el icono del rubro (FA, look pro/consistente) */
.nicho-emoji { display: none; }

.nicho-icon {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    font-size: 1.45rem;
    line-height: 1;
    border-radius: 14px;
    color: var(--nicho-color);
    background: color-mix(in srgb, var(--nicho-color) 15%, var(--bg-3));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nicho-color) 32%, transparent);
    margin-bottom: 1rem;
    transition: transform 0.25s ease-out;
}
.nicho-card:hover .nicho-icon { transform: scale(1.08) rotate(-3deg); }

.nicho-name {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text);
}

.nicho-desc {
    color: var(--text-dim);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.nicho-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--nicho-color);
    margin-top: auto;
}
.nicho-arrow i { transition: transform 0.2s; }
.nicho-card:hover .nicho-arrow i { transform: translateX(4px); }

/* card destacada (PyME / recomendado) */
.nicho-card-destacado {
    background: linear-gradient(150deg,
                color-mix(in srgb, var(--nicho-color) 15%, var(--bg-2)) 0%,
                var(--bg-2) 65%);
    border-color: color-mix(in srgb, var(--nicho-color) 45%, var(--line));
}
.nicho-card-destacado::before { opacity: 1; height: 4px; }

.nicho-badge {
    position: absolute;
    top: 1.1rem; right: 1.1rem;
    z-index: 2;
    background: var(--nicho-color);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    box-shadow: 0 4px 14px -4px var(--nicho-color);
}

/* ---- Planes: separación + hover ---- */
.plan-card {
    background: var(--bg-2);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.plan-card:not(.featured):hover {
    transform: translateY(-6px);
    box-shadow: var(--elev-2);
    border-color: rgba(245,241,234,.22);
}
.plan-card.featured { box-shadow: var(--elev-3), var(--ring-accent); }
.plan-card.featured:hover { transform: translateY(-12px); }
.plan-card.plan-pro:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px -28px color-mix(in srgb, var(--secondary) 55%, transparent);
}

/* ---- Integraciones: pills con vida ---- */
.int-pill {
    transition: transform 0.2s, border-color 0.2s, background 0.2s, color 0.2s;
}
.int-pill:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    background: var(--bg-2);
    color: var(--text);
}

/* ---- Formularios (contacto + newsletter): campos visibles + focus ring ---- */
.contacto-form input,
.contacto-form textarea,
.nl-field input,
.nl-field select {
    background: var(--bg-3);
    border: 1px solid rgba(245,241,234,.12);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.contacto-form input::placeholder,
.contacto-form textarea::placeholder,
.nl-field input::placeholder {
    color: var(--text-low);
}
.contacto-form input:hover,
.contacto-form textarea:hover,
.nl-field input:hover,
.nl-field select:hover {
    border-color: rgba(245,241,234,.22);
}
.contacto-form input:focus,
.contacto-form textarea:focus,
.nl-field input:focus,
.nl-field select:focus {
    border-color: var(--accent);
    background: var(--bg-2);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.nl-field select option { background: var(--bg-3); color: var(--text); }

/* ---- CTA final: leve refuerzo de confianza ---- */
.cta-final { box-shadow: 0 30px 80px -40px rgba(37,99,235,.6); }
.btn-cta-final { box-shadow: var(--elev-2); }
.btn-cta-final:hover { box-shadow: var(--elev-3); }

/* === STATS === */
.stats-section {
    padding: 0 6%;
    margin: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-2);
}

.stat-cell {
    padding: 2.4rem 1.5rem;
    text-align: center;
    border-right: 1px solid var(--line);
}
.stat-cell:last-child { border-right: none; }

.stat-num {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-num span { font-size: 1.5rem; opacity: 0.7; margin-left: 2px; }

.stat-lbl {
    color: var(--text-dim);
    font-size: 0.88rem;
}

/* === ANTES/AHORA === */
.vs-section {
    padding: 7rem 6%;
    background: var(--bg-2);
    border-block: 1px solid var(--line);
}

.vs-table {
    max-width: 1100px;
    margin: 0 auto;
}

.vs-table {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

/* encabezados de columna */
.vs-head {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 0.8rem;
    margin-bottom: 0.2rem;
}
.vs-head-antes, .vs-head-ahora {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-weight: 800; font-size: 0.95rem;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 0 1.3rem;
}
.vs-head-antes { color: var(--text-dim); }
.vs-head-antes i { color: var(--danger); }
.vs-head-ahora { color: var(--accent); }
.vs-head-ahora i { color: var(--accent); }

.vs-table .vs-row {
    display: grid;
    grid-template-columns: 1fr 56px 1fr;
    gap: 0.8rem;
    align-items: stretch;
    padding: 0;
    border-bottom: none;
}

.vs-table .vs-antes,
.vs-table .vs-ahora {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    padding: 1.05rem 1.3rem;
    border-radius: 14px;
    line-height: 1.35;
}

.vs-antes {
    color: var(--text-dim);
    background: color-mix(in srgb, var(--danger) 7%, var(--bg-2));
    border: 1px solid color-mix(in srgb, var(--danger) 16%, transparent);
}
.vs-antes i { color: var(--danger); opacity: 0.85; flex-shrink: 0; }
.vs-ahora {
    color: var(--text);
    font-weight: 600;
    background: color-mix(in srgb, var(--accent) 10%, var(--bg-2));
    border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}
.vs-ahora i { color: var(--accent); flex-shrink: 0; }

.vs-arrow {
    display: grid; place-items: center;
    color: var(--accent);
    font-size: 1.35rem;
    font-weight: 800;
}

/* === FEATURES === */
.features-section { padding: 7rem 6%; }

.feature-toggle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: -2rem 0 3rem;
}

.ft-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text-dim);
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.ft-btn:hover { color: var(--text); border-color: var(--text-dim); }

.ft-btn.active {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.badge-pulse {
    background: var(--success);
    color: var(--bg);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-left: 0.4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-2);
}

.features-grid.hidden { display: none; }

.feat-block {
    padding: 2rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feat-num {
    font-family: 'Nunito', sans-serif;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.feat-block h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

.feat-block p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feat-ia .feat-num { color: var(--success); }

/* === PLANES === */
.planes-section {
    padding: 7rem 6%;
    background: var(--bg-2);
    border-block: 1px solid var(--line);
}

.planes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card.featured {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, var(--accent-soft) 0%, var(--bg) 40%);
    transform: translateY(-8px);
}

.plan-card.plan-pro {
    border: 1px solid var(--secondary);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg);
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.plan-card.plan-pro .plan-badge {
    background: var(--secondary);
    color: white;
}

.plan-head h3 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
}

.plan-head p {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
}

.plan-price {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
}

.plan-price .currency {
    font-size: 1.5rem;
    margin-right: 4px;
    color: var(--text-dim);
}

.plan-price .period {
    font-size: 0.95rem;
    color: var(--text-dim);
    font-weight: 400;
    margin-left: 4px;
}

.plan-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-list li {
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--line);
    color: var(--text-dim);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.plan-list li:last-child { border-bottom: none; }
.plan-list li i { color: var(--accent); width: 16px; }
.plan-list li b { color: var(--text); }
.plan-card.plan-pro .plan-list li i { color: var(--secondary); }

/* === TESTIMONIOS === */
.testi-section { padding: 7rem 6%; }

.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testi-card {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.testi-stars { color: #FFBD2E; margin-bottom: 1rem; font-size: 0.85rem; }

.testi-card p {
    color: var(--text);
    line-height: 1.65;
    flex-grow: 1;
    font-size: 1.02rem;
    margin-bottom: 1.5rem;
}

.testi-foot {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testi-av {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--av, var(--accent));
    color: var(--bg);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 3px rgba(255,255,255,.12);
}

.testi-foot strong { display: block; font-size: 0.95rem; }
.testi-foot span { color: var(--text-dim); font-size: 0.82rem; }

/* === INTEGRACIONES === */
.integraciones-section {
    padding: 6rem 6%;
    background: var(--bg-2);
    border-block: 1px solid var(--line);
}

.int-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.int-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.2rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.92rem;
    color: var(--text-dim);
}

.int-pill i { font-size: 1.1rem; }

/* === FAQ === */
.faq-section { padding: 7rem 6%; }

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--bg-2);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: rgba(37,99,235,.4); }
.faq-item.active {
    border-color: var(--accent);
    box-shadow: var(--elev-1);
}

.faq-question {
    width: 100%;
    padding: 1.3rem 1.5rem;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    text-align: left;
}

.faq-question i {
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: transform 0.25s;
}
.faq-item.active .faq-question i { transform: rotate(45deg); }

.faq-answer {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.65;
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.4rem;
}

/* === CONTACTO === */
.contacto-section { padding: 5rem 6% 7rem; }

.contacto-card {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
    align-items: center;
}

.contacto-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contacto-text p {
    color: var(--text-dim);
    line-height: 1.65;
}

.contacto-form { display: flex; flex-direction: column; gap: 1rem; }

.contacto-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contacto-form label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 500;
}

.contacto-form input,
.contacto-form textarea {
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contacto-form textarea { resize: vertical; }

/* === NEWSLETTER SECTION === */
.nl-section {
    padding: 0 6% 5rem;
}

.nl-card {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 3.5rem;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3.5rem;
    align-items: start;
    position: relative;
    overflow: hidden;
}

.nl-card::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
    pointer-events: none;
}

.nl-text .eyebrow { margin-bottom: 0.75rem; }

.nl-text h2 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.nl-text > p {
    color: var(--text-dim);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.nl-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.nl-perks li {
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nl-perks li i {
    color: var(--accent);
    flex-shrink: 0;
}

/* Formulario */
.nl-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nl-hp { display: none !important; }

.nl-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nl-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.nl-field label {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.nl-field .req { color: var(--accent); }

.nl-field input,
.nl-field select {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    width: 100%;
}

.nl-field input:focus,
.nl-field select:focus {
    outline: none;
    border-color: var(--accent);
}

.nl-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.nl-field select option { background: #1a1a1a; }

.nl-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
}

.nl-msg {
    font-size: 0.88rem;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    display: none;
    text-align: center;
}

.nl-msg.ok  { background: rgba(16,185,129,0.12); color: #10B981; border: 1px solid rgba(16,185,129,0.25); }
.nl-msg.err { background: rgba(239,68,68,0.1);   color: #EF4444; border: 1px solid rgba(239,68,68,0.2); }

.nl-social-proof {
    text-align: center;
    margin-top: 1.25rem;
    color: var(--text-low);
    font-size: 0.85rem;
}

.nl-social-proof i { color: var(--accent); margin-right: 0.35rem; }

@media (max-width: 900px) {
    .nl-card { grid-template-columns: 1fr; gap: 2rem; padding: 2rem; }
    .nl-form-row { grid-template-columns: 1fr; }
}

/* === CTA FINAL === */
.cta-final {
    margin: 0 6% 5rem;
    padding: 5rem 4rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: 32px;
    text-align: center;
    color: var(--bg);
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent 0 12px, rgba(0,0,0,0.04) 12px 13px);
    pointer-events: none;
}

.cta-final h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--bg);
    margin-bottom: 1rem;
    position: relative;
}

.cta-final h2 em {
    font-style: normal;
    background: var(--bg);
    color: var(--accent);
    padding: 0 0.4em;
    display: inline-block;
    border-radius: 4px;
}

.cta-final p {
    color: rgba(10, 9, 8, 0.85);
    font-size: 1.08rem;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.btn-cta-final {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--bg);
    color: var(--text);
    padding: 1.1rem 2.3rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    transition: transform 0.15s;
    position: relative;
}

.btn-cta-final:hover { transform: translateY(-2px); }

/* === FOOTER === */
.footer-v2 {
    padding: 4rem 6% 2rem;
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin: 1rem 0 1.5rem;
    max-width: 360px;
    line-height: 1.6;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    color: var(--text);
}

.footer-logo img { height: 32px; }

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.footer-col h5 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s;
}

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

.footer-newsletter p {
    color: var(--text-dim);
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

.news-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.news-form input {
    flex: 1;
    background: var(--bg-2);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

.news-form input:focus { border-color: var(--accent); }

.news-form button {
    background: var(--accent);
    color: var(--bg);
    border: none;
    padding: 0 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

.news-msg {
    font-size: 0.82rem;
    display: none;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

/* === AI CHAT === */
#ai-chat-demo {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    z-index: 99;
}

#ai-chat-trigger {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    font-size: 1.7rem;
}

#ai-chat-trigger:hover { transform: scale(1.06); }

#ai-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 3rem);
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    height: 480px;
}

#ai-chat-demo.ai-chat-open #ai-chat-box { display: flex; }

.ai-chat-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), transparent);
}

.ai-chat-pfp {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.ai-chat-info { flex: 1; }
.ai-chat-info h4 { font-size: 0.95rem; }
.ai-chat-info .online-status { font-size: 0.78rem; color: #25D366; }

#close-chat {
    background: none;
    border: none;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1rem;
}

#ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

#ai-chat-messages .msg {
    max-width: 85%;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
}

#ai-chat-messages .msg.bot {
    background: var(--bg-3);
    color: var(--text);
    align-self: flex-start;
}

#ai-chat-messages .msg.user {
    background: var(--accent);
    color: var(--bg);
    align-self: flex-end;
    font-weight: 600;
}

.ai-chat-suggestions {
    display: flex;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
}

.chat-suggest {
    background: var(--bg-3);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    cursor: pointer;
    font-family: inherit;
}

.chat-suggest:hover { border-color: var(--accent); }

#ai-chat-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.8rem 1rem 1rem;
    border-top: 1px solid var(--line);
}

#ai-msg-input {
    flex: 1;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

#ai-msg-input:focus { border-color: var(--accent); }

#ai-chat-form button {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 9, 8, 0.85);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.modal-active { display: flex; }

.modal-content {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 3rem;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-content h2 {
    font-size: 2rem;
    margin: 1rem 0 1.5rem;
}

.modal-content h2 em {
    font-style: normal;
    color: var(--accent);
}

.modal-content p {
    color: var(--text-dim);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg);
    border: 1px solid var(--line);
    color: var(--text);
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

.modal-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.modal-social {
    display: flex;
    gap: 0.8rem;
    color: var(--text-dim);
    font-size: 1.2rem;
}

.modal-social a { transition: color 0.2s; }
.modal-social a:hover { color: var(--accent); }

/* === RESPONSIVE === */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
    .mockup-screen { transform: rotate(0); }
    .planes-grid { grid-template-columns: 1fr; max-width: 460px; }
    .plan-card.featured { transform: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-cell:nth-child(2) { border-right: none; }
    .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contacto-card { grid-template-columns: 1fr; padding: 2rem; }
}

@media (max-width: 700px) {
    .nav-items {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bg-2);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 6%;
        gap: 0.5rem;
        display: none;
        border-bottom: 1px solid var(--line);
    }
    .nav-items.active { display: flex; }
    .nav-items > a { padding: 0.7rem 0; }
    .nav-items > .nav-link-btn { padding: 0.7rem 0; text-align: left; width: 100%; }
    .nav-items > a.btn-ghost,
    .nav-items > a.btn-solid { text-align: center; justify-content: center; padding: 0.8rem 1rem; margin-top: 0.4rem; }
    .menu-toggle { display: block; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-cell { border-right: none; border-bottom: 1px solid var(--line); }
    .stat-cell:last-child { border-bottom: none; }
    .vs-head { display: none; }
    .vs-table .vs-row { grid-template-columns: 1fr; gap: 0.4rem; }
    .vs-arrow { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contacto-form .form-row { grid-template-columns: 1fr; }
    .cta-final { padding: 3rem 1.5rem; }
    .modal-content { padding: 2rem 1.5rem; }
}

/* === A11y: nav "Nosotros" como <button> con look de link === */
.nav-link-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s;
}
.nav-link-btn:hover { color: var(--text); }

/* === A11y: prefers-reduced-motion === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* === A11y: focus-visible global === */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================================
   REDISEÑO 2026 · refinar dark editorial (no cambiar la base)
   Tokens de elevación + hero premium (screenshot real, chips,
   proof bar) + lightbox de video. Sin glassmorphism agresivo.
   ============================================================ */
:root {
    --gold: #FFC53D;                                   /* estrellas reseñas */
    --elev-1: 0 2px 8px -2px rgba(0,0,0,.5);
    --elev-2: 0 18px 50px -24px rgba(0,0,0,.7);
    --elev-3: 0 40px 90px -34px rgba(0,0,0,.78);
    --ring-accent: 0 0 0 1px rgba(37,99,235,.35), 0 0 60px -10px rgba(37,99,235,.45);
}

/* ---- Hero: glow más rico, sin tocar la foto de fondo ---- */
.hero::before {
    background:
        radial-gradient(ellipse 760px 460px at 82% 14%, var(--accent-soft), transparent 68%),
        radial-gradient(ellipse 520px 360px at 12% 96%, rgba(255,107,53,.07), transparent 70%);
}

/* ---- Proof microbar bajo los CTAs ---- */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.hero-proof-rating { display: inline-flex; align-items: center; gap: .55rem; }
.hero-stars { color: var(--gold); font-size: .82rem; letter-spacing: .06em; }
.hero-proof-rating-txt { font-size: .9rem; color: var(--text-dim); }
.hero-proof-rating-txt strong { color: var(--text); font-weight: 800; }
.hero-proof-sep { width: 1px; height: 20px; background: var(--line); }
.hero-proof-item {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .9rem; color: var(--text-dim);
}
.hero-proof-item i { color: var(--accent); }

/* ---- Hero mockup: screenshot real en frame premium ---- */
.hero-mockup { position: relative; }

.mockup-frame {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--elev-3), var(--ring-accent);
    transform: perspective(1600px) rotateY(-7deg) rotateX(2deg) rotate(.4deg);
    transition: transform .5s cubic-bezier(.22,.61,.36,1), box-shadow .5s;
    will-change: transform;
}
.hero-mockup:hover .mockup-frame {
    transform: perspective(1600px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
    box-shadow: var(--elev-3), 0 0 0 1px rgba(37,99,235,.5), 0 0 80px -8px rgba(37,99,235,.55);
}
.mockup-frame .mockup-url i { font-size: .62rem; margin-right: .3rem; opacity: .7; }

.mockup-shot { position: relative; display: block; line-height: 0; }
.mockup-shot img { width: 100%; height: auto; display: block; }

/* botón play sobre el screenshot → abre lightbox */
.mockup-play {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex; align-items: center; gap: .65rem;
    padding: .7rem .7rem .7rem .75rem;
    background: rgba(10,9,8,.62);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(245,241,234,.18);
    border-radius: 999px;
    color: var(--text);
    font-family: inherit; font-weight: 800; font-size: .9rem;
    cursor: pointer;
    transition: transform .2s, background .2s, border-color .2s;
}
.mockup-play:hover { transform: translate(-50%, -50%) scale(1.05); background: rgba(10,9,8,.78); border-color: var(--accent); }
.mockup-play-ico {
    width: 38px; height: 38px; flex: 0 0 38px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--accent); color: #fff;
    box-shadow: 0 0 0 0 rgba(37,99,235,.55);
    animation: playPulse 2.4s infinite;
}
.mockup-play-ico i { margin-left: 2px; }
.mockup-play-txt { padding-right: .5rem; }
@keyframes playPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,99,235,.5); }
    70%  { box-shadow: 0 0 0 14px rgba(37,99,235,0); }
    100% { box-shadow: 0 0 0 0 rgba(37,99,235,0); }
}

/* chips flotantes — sensación de producto vivo */
.hero-chip {
    position: absolute;
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem .85rem;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--elev-2);
    font-size: .82rem; font-weight: 700; color: var(--text);
    white-space: nowrap;
    z-index: 2;
    animation: chipFloat 5s ease-in-out infinite;
}
.hero-chip i { color: var(--success); }
.hero-chip-2 i { color: var(--accent); }
.hero-chip-3 i { color: var(--secondary); }
.hero-chip-1 { top: 8%;  left: -22px;  animation-delay: 0s; }
.hero-chip-2 { top: 44%; right: -26px; animation-delay: .8s; }
.hero-chip-3 { bottom: 6%; left: 4%;    animation-delay: 1.6s; }
@keyframes chipFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-7px); }
}

/* ---- Lightbox de video ---- */
.lightbox {
    position: fixed; inset: 0;
    z-index: 1100;
    display: flex; align-items: center; justify-content: center;
    padding: 4vmin;
    background: rgba(8,7,6,.86);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .28s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox-stage {
    width: min(1040px, 92vw);
}
.lightbox-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--elev-3);
}
.lightbox-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox-close {
    position: absolute; top: 18px; right: 18px;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: var(--bg-2); border: 1px solid var(--line);
    color: var(--text); font-size: 1.1rem;
    border-radius: 50%; cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}
.lightbox-close:hover { background: var(--bg-3); border-color: var(--accent); transform: rotate(90deg); }

/* ---- Responsive del rediseño ---- */
@media (max-width: 980px) {
    .mockup-frame { transform: none; margin-top: 1rem; }
    .hero-mockup:hover .mockup-frame { transform: translateY(-4px); }
    .hero-chip-1 { left: 0; }
    .hero-chip-2 { right: 0; }
}
@media (max-width: 700px) {
    .hero-chip { font-size: .74rem; padding: .4rem .65rem; }
    .hero-chip-2 { display: none; }
    .hero-proof { gap: .7rem; }
    .hero-proof-sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-chip, .mockup-play-ico { animation: none; }
}

/* ---- Stats: icono + jerarquía ---- */
.stat-cell { padding-top: 2rem; }
.stat-ico {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px;
    margin-bottom: .9rem;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.1rem;
}
.stat-ico .fa-star { color: var(--gold); }
.stat-cell:first-child .stat-ico { background: rgba(255,197,61,.12); }
.stat-ico .fa-whatsapp { color: #25D366; }
.stat-cell:last-child .stat-ico { background: rgba(37,211,102,.12); }

/* ---- Testimonios premium: comilla, lift, estrellas oro ---- */
.testi-section { position: relative; }
.testi-stars { color: var(--gold); }
.testi-card {
    position: relative;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.testi-card::before {
    content: '\201C';
    position: absolute;
    top: -.4rem; right: 1.2rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 5rem; line-height: 1;
    color: var(--accent);
    opacity: .14;
    pointer-events: none;
}
.testi-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37,99,235,.4);
    box-shadow: var(--elev-2);
}
.testi-foot strong { font-weight: 800; }

/* ---- Features: banda de prueba visual (screenshot real) ---- */
.feat-showcase {
    max-width: 980px;
    margin: 0 auto 3.5rem;
}
.feat-shot {
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-2);
    box-shadow: var(--elev-2), var(--ring-accent);
    line-height: 0;
}
.feat-shot img { width: 100%; height: auto; display: block; }
.feat-shot-cap {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    margin-top: 1rem;
    font-size: .9rem; font-weight: 600;
    color: var(--text-dim);
}
.feat-shot-cap i { color: var(--secondary); }
