/* From Zero · estilo oscuro con brillos (inspirado en bluehackers.com)
   Marca: azul profundo #00028B y el rosa del logo oficial #EA4B7A. */
:root {
    --bg: #050507;
    --panel: #131316;
    --panel-2: #1a1a1f;
    --line: rgba(255, 255, 255, .09);
    --text: #ffffff;
    --muted: #a6a6b3;
    --blue: #00028b;
    --blue-glow: #3b3fff;
    --pink: #ea4b7a;
    --pink-600: #d63a68;
    --light-bg: #ffffff;
    --light-ink: #0b0b0e;
    --light-muted: #4b5060;
    --radius: 28px;
    --wrap: 1180px;
    --font: 'Montserrat', 'Poppins', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--muted);
    background: var(--bg);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--text); letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.accent { color: var(--pink); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.title-center { text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 56px; max-width: 820px; }
.title-center h2 { margin-bottom: 0; }
.subtitle { color: var(--text); font-size: 1.1rem; margin-bottom: .4em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--pink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    background: linear-gradient(135deg, var(--pink) 0%, #b5376f 100%);
    color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none;
    padding: .95em 1.8em; border-radius: 999px; border: 0; min-height: 50px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08) inset, 0 12px 40px -12px rgba(234, 75, 122, .8);
    transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15) inset, 0 16px 50px -10px rgba(234, 75, 122, .95); }
.btn-lg { font-size: 1.1rem; padding: 1.1em 2.4em; min-height: 60px; }
.btn-sm { padding: .55em 1.3em; min-height: 40px; font-size: .9rem; box-shadow: none; }

/* Top bar + header */
.topbar { background: #000; border-bottom: 1px solid var(--line); text-align: center; padding: 12px 20px; }
.topbar p { margin: 0; color: #fff; font-style: italic; font-size: 1rem; }
.topbar span { color: var(--pink); }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10, 10, 13, .85);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { width: 124px; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
.menu a:not(.btn):hover { color: #fff; }
.menu .btn { color: #fff; }
.menu-toggle { display: none; }

/* Hero */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(600px 400px at 78% 45%, rgba(59, 63, 255, .28), transparent 70%),
        radial-gradient(500px 300px at 10% 0%, rgba(234, 75, 122, .12), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 110px; }
.hero-kicker { color: #fff; font-weight: 700; font-size: 1rem; max-width: 30em; margin-bottom: 1.2em; }
.hero .lead { font-size: 1.12rem; max-width: 32em; margin-bottom: 2em; }
.hero-note { font-size: .88rem; margin: 1em 0 0; }

.glow-frame {
    position: relative; border-radius: 22px; padding: 10px;
    background: linear-gradient(160deg, rgba(59, 63, 255, .5), rgba(234, 75, 122, .25) 60%, rgba(59, 63, 255, .35));
    box-shadow: 0 0 60px -10px rgba(59, 63, 255, .65), 0 0 120px -40px rgba(234, 75, 122, .6);
}
.glow-frame > img:first-child { border-radius: 14px; width: 100%; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Marquee */
.marquee {
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    overflow: hidden; padding: 30px 0; background: #000;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li { color: #fff; font-weight: 700; font-size: 1.5rem; white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.marquee li::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 14px var(--pink); margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections and panels */
.section { padding: 100px 0; }
.section-tight { padding: 40px 0 100px; }
.panel { background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line); padding: 56px; }
.panel-glow {
    border: 1px solid rgba(59, 63, 255, .55);
    background: linear-gradient(180deg, #0b0b10, #060608);
    box-shadow: 0 0 0 1px rgba(59, 63, 255, .15), 0 -20px 80px -40px rgba(59, 63, 255, .8) inset, 0 30px 80px -50px rgba(59, 63, 255, .9);
}

.promise-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.promise-grid .strong { color: #fff; font-weight: 700; margin-bottom: 0; }
.promise-visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; max-width: 380px; width: 100%; justify-self: center; }
.promise-visual img { width: 50%; position: relative; filter: drop-shadow(0 20px 50px rgba(234, 75, 122, .5)); animation: float 7s ease-in-out infinite; }
.orbit { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); animation: spin 40s linear infinite; }
.orbit::before, .orbit::after { content: ''; position: absolute; border-radius: 50%; }
.orbit::before { width: 12px; height: 12px; background: var(--blue-glow); top: 13%; left: 13%; box-shadow: 0 0 22px var(--blue-glow); }
.orbit::after { inset: 15%; border: 1px solid rgba(59, 63, 255, .3); box-shadow: 0 0 60px -10px rgba(59, 63, 255, .5) inset; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--panel); border-radius: var(--radius); padding: 40px 34px; border: 1px solid transparent; transition: border-color .3s, transform .3s, background .3s; }
.card:hover { border-color: rgba(59, 63, 255, .55); background: var(--panel-2); transform: translateY(-4px); }
.card p { margin: 0; font-size: .98rem; }
.card-icon { width: 76px; height: 76px; margin: 0 0 26px auto; display: block; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.card-icon .spark { stroke: var(--blue-glow); stroke-width: 3; }
.card:hover .card-icon .spark { stroke: var(--pink); }

/* Method rows */
.row-panel {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    background: var(--panel); border-radius: var(--radius); padding: 48px 52px; margin-bottom: 24px;
}
.row-panel h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.row-img { border-radius: 18px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.9); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps span { flex: 0 0 auto; font-weight: 700; color: var(--pink); font-size: .95rem; padding-top: .1em; width: 28px; }
.steps strong { color: #fff; }
.row-art {
    border-radius: 18px; aspect-ratio: 16 / 10; display: grid; place-content: center; justify-items: center; gap: 14px;
    background: radial-gradient(closest-side, rgba(59, 63, 255, .45), transparent), var(--blue);
}
.row-art img { width: 62%; max-width: 280px; }
.row-art span { color: #fff; font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; }
.row-apps { border: 1px solid rgba(234, 75, 122, .4); background: linear-gradient(120deg, var(--panel) 40%, rgba(234, 75, 122, .12)); }
.row-apps p { margin: 0; }
.row-cta { justify-self: end; }

/* Pill + sectors */
.pill { display: inline-block; color: #fff; background: var(--panel-2); border: 1px solid var(--line); padding: 12px 30px; border-radius: 999px; font-size: 1rem; margin-bottom: 26px; }
.sectors { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sectors li { color: #fff; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 12px 24px; font-size: .98rem; transition: border-color .2s; }
.sectors li:hover { border-color: rgba(59, 63, 255, .6); }

/* Light section */
.section-light { background: var(--light-bg); color: var(--light-muted); }
.section-light h2 { color: var(--light-ink); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.checks li {
    display: flex; gap: 14px; align-items: flex-start;
    background: #fff; border: 1px solid #e7e7ef; border-radius: 22px; padding: 26px 24px;
    box-shadow: 0 10px 30px -20px rgba(0, 2, 139, .35);
}
.checks svg { flex: 0 0 30px; width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.checks strong { display: block; color: var(--blue); font-size: 1.05rem; }

/* FAQ */
.faq details { background: var(--panel); border-radius: 20px; margin-bottom: 14px; border: 1px solid transparent; transition: border-color .2s; }
.faq details[open] { border-color: rgba(59, 63, 255, .45); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 64px 24px 28px; font-weight: 700; color: #fff; position: relative; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+'; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
    width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); color: #fff;
    display: grid; place-items: center; font-size: 1.1rem; line-height: 1;
}
.faq details[open] summary::after { content: '–'; background: var(--pink); border-color: var(--pink); }
.faq details p { padding: 0 28px 24px; margin: 0; }

/* CTA */
.cta { text-align: center; padding: 80px 32px; }
.cta img { width: 64px; margin: 0 auto 24px; filter: drop-shadow(0 10px 30px rgba(234, 75, 122, .6)); }
.cta p { font-size: 1.1rem; margin-bottom: 1.8em; }
.cta .cta-phone { margin: 1.4em 0 0; font-size: .95rem; }
.cta-phone a { color: #fff; font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .9rem; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; }
.footer-row img { width: 116px; }
.footer-row p { margin: 0; }
.footer-row a { color: #fff; text-decoration: none; }

/* Floating WhatsApp */
.wa-float {
    position: fixed; right: 18px; bottom: 18px; z-index: 60;
    width: 58px; height: 58px; border-radius: 50%; background: #25d366;
    display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .6);
    transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Anuncio: apps a medida */
.section-ad { padding-top: 80px; }
.ad {
    position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
    padding: 56px; border-radius: 32px; overflow: hidden;
    background:
        radial-gradient(500px 360px at 85% 30%, rgba(59, 63, 255, .45), transparent 70%),
        radial-gradient(420px 300px at 0% 100%, rgba(234, 75, 122, .25), transparent 70%),
        linear-gradient(160deg, #0c0c22, #060608 70%);
    border: 1px solid rgba(234, 75, 122, .45);
    box-shadow: 0 0 0 1px rgba(234, 75, 122, .12), 0 40px 100px -50px rgba(234, 75, 122, .8);
}
.ad-tag {
    display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase; color: #fff;
    background: rgba(234, 75, 122, .18); border: 1px solid rgba(234, 75, 122, .6);
    padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.ad-tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.ad h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); text-transform: uppercase; letter-spacing: -.01em; }
.ad-copy > p { font-size: 1.05rem; max-width: 34em; }
.ad-features { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ad-features li {
    display: flex; gap: 12px; align-items: flex-start; padding: 16px;
    border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
    font-size: .9rem; line-height: 1.45;
}
.ad-features svg { flex: 0 0 36px; width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: rgba(59, 63, 255, .25); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ad-features strong { display: block; color: #fff; font-size: .98rem; }
.ad-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.ad-phone { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.25rem; }
.ad-phone svg { width: 34px; height: 34px; fill: #25d366; }
.ad-phone small { display: block; font-weight: 400; font-size: .75rem; color: var(--muted); line-height: 1; }

/* Videos de marca */
.ad-visual { position: relative; }
.brand-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #1238ff; object-fit: cover; }
.chip {
    position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap;
    background: rgba(20, 20, 28, .92); color: #fff; font-size: .78rem; font-weight: 700;
    padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .8);
    animation: float 7s ease-in-out infinite;
}
.chip-a { left: -18px; top: -20px; }
.chip-b { right: -14px; bottom: -20px; animation-delay: -3s; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink); }
.dot-green { background: #25d366; box-shadow: 0 0 10px #25d366; }

/* Logos de clientes */
.logos { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.logos li {
    width: 240px; height: 150px; display: grid; place-items: center; padding: 18px 28px;
    background: #fff; border-radius: 22px;
    box-shadow: 0 20px 50px -30px rgba(59, 63, 255, .9);
    transition: transform .25s, box-shadow .25s;
}
.logos li:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -24px rgba(234, 75, 122, .9); }
.logos img { max-height: 110px; width: auto; max-width: 100%; object-fit: contain; }

@media (max-width: 1120px) {
    .ad { grid-template-columns: 1fr; padding: 44px 32px; }
    .ad-visual { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 600px) {
    .ad { padding: 36px 20px; border-radius: 26px; }
    .ad-features { grid-template-columns: 1fr; }
    .ad-actions .btn { width: 100%; }
    .chip { display: none; }
    .logos li { width: calc(50% - 10px); height: 120px; padding: 14px; }
}

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .checks { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer;
    }
    .menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
    .menu-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .menu {
        position: absolute; top: 72px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #0a0a0d; padding: 8px 20px 20px; border-bottom: 1px solid var(--line);
        display: none;
    }
    .menu.open { display: flex; }
    .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: #fff; }
    .menu .btn { margin-top: 16px; }

    .hero-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 80px; }
    .promise-grid, .row-panel { grid-template-columns: 1fr; gap: 32px; }
    .promise-visual { max-width: 220px; }
    .panel { padding: 40px 28px; }
    .row-panel { padding: 36px 28px; }
    .row-cta { justify-self: start; }
    .section { padding: 72px 0; }
    .section-tight { padding: 24px 0 72px; }
    .marquee li { font-size: 1.2rem; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .topbar p { font-size: .9rem; }
    .cards, .checks { grid-template-columns: 1fr; }
    .hero .btn-lg { width: 100%; }
    .card { padding: 32px 26px; }
    .title-center { margin-bottom: 40px; }
    .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}
