/* ============================================================
   TecnicGo — Landing · style.css
   Paleta eléctrica (índigo → cian) sobre navy, con glassmorphism.
   Soporta tema claro/oscuro mediante [data-theme].
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --indigo: #6366f1;
    --cyan: #22d3ee;
    --violet: #a855f7;
    --grad: linear-gradient(120deg, #6366f1 0%, #06b6d4 100%);
    --grad-soft: linear-gradient(120deg, rgba(99,102,241,.18), rgba(6,182,212,.18));

    --radius: 18px;
    --radius-lg: 26px;
    --maxw: 1180px;
    --ease: cubic-bezier(.22,.61,.36,1);

    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* Tema oscuro (por defecto) */
[data-theme="dark"] {
    --bg: #0a0e1a;
    --bg-2: #0e1426;
    --surface: rgba(255,255,255,.05);
    --surface-2: rgba(255,255,255,.08);
    --border: rgba(255,255,255,.10);
    --text: #e8edf6;
    --muted: #98a3b8;
    --shadow: 0 24px 60px rgba(0,0,0,.45);
    --glass-blur: 16px;
}

/* Tema claro */
[data-theme="light"] {
    --bg: #f6f8fc;
    --bg-2: #eef2f9;
    --surface: rgba(255,255,255,.75);
    --surface-2: #ffffff;
    --border: rgba(15,23,42,.08);
    --text: #0f172a;
    --muted: #5b6577;
    --shadow: 0 18px 44px rgba(15,23,42,.10);
    --glass-blur: 14px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    transition: background .4s var(--ease), color .4s var(--ease);
}
.container { max-width: var(--maxw); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
section { position: relative; }

/* Fondo ambiental con halos de color */
body::before {
    content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(60% 50% at 15% 0%, rgba(99,102,241,.20), transparent 60%),
        radial-gradient(50% 45% at 100% 20%, rgba(6,182,212,.16), transparent 60%),
        radial-gradient(60% 60% at 50% 110%, rgba(168,85,247,.14), transparent 60%);
}

/* ---------- Glassmorphism ---------- */
.glass {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius);
}
.glass-soft {
    background: var(--surface-2);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
}

/* ---------- Loader ---------- */
.loader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
    transition: opacity .5s var(--ease), visibility .5s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-spark {
    width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
    background: var(--grad); color: #fff; font-size: 2rem;
    box-shadow: 0 0 40px rgba(99,102,241,.6); animation: pulse 1.2s var(--ease) infinite;
}
.loader-text { font-family: var(--font-display); font-weight: 800; letter-spacing: 3px; color: var(--muted); }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.12); } }

/* ---------- Botones ---------- */
.btn { font-family: var(--font-display); font-weight: 600; border-radius: 999px; padding: .65rem 1.4rem; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .2s; }
.btn:active { transform: scale(.97); }
.btn-premium {
    background: var(--grad); color: #fff; border: none;
    box-shadow: 0 10px 26px rgba(79,98,233,.45);
}
.btn-premium:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(79,98,233,.6); }
.btn-ghost { color: var(--text); border: 1px solid var(--border); background: transparent; }
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-outline-glow {
    color: var(--text); border: 1px solid rgba(34,211,238,.5); background: rgba(34,211,238,.06);
}
.btn-outline-glow:hover { color: var(--text); border-color: var(--cyan); box-shadow: 0 0 24px rgba(34,211,238,.3); transform: translateY(-2px); }
.btn-lg { padding: .85rem 1.7rem; font-size: 1.02rem; }

/* ---------- Navbar ---------- */
.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 0; transition: all .35s var(--ease);
}
.site-nav.scrolled {
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); padding: .55rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--text); display: inline-flex; align-items: center; gap: .55rem; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; }
.brand-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.site-nav .nav-link { color: var(--muted); font-weight: 500; margin: 0 .15rem; position: relative; transition: color .2s; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--text); }
.site-nav .nav-link::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); border-radius: 2px; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: .6rem; }
.navbar-toggler { border: 1px solid var(--border); color: var(--text); padding: .35rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }
.theme-toggle { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer; transition: transform .2s; }
.theme-toggle:hover { transform: rotate(15deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 7rem 0 4rem; overflow: hidden; }
.hero-particles { position: absolute; inset: 0; z-index: 0; }
.hero-mesh {
    position: absolute; inset: -20%; z-index: -1;
    background:
        radial-gradient(35% 35% at 20% 30%, rgba(99,102,241,.5), transparent 60%),
        radial-gradient(30% 30% at 80% 25%, rgba(6,182,212,.45), transparent 60%),
        radial-gradient(35% 35% at 60% 80%, rgba(168,85,247,.4), transparent 60%);
    filter: blur(60px); opacity: .55; animation: meshFloat 16s ease-in-out infinite alternate;
}
@keyframes meshFloat { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(-3%,2%,0) scale(1.08); } }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 2rem; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: var(--cyan); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.25); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.1rem; }
.hero-title { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1.1rem; }
.typed-wrap { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
#typed { color: transparent; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 30rem; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-trust { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .92rem; }
.hero-trust strong { color: var(--text); }
.hero-trust .fa-star { color: #f59e0b; }
.avatars { display: flex; }
.avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; background: var(--grad); }
.avatars span:nth-child(2) { background: linear-gradient(120deg,#f59e0b,#ef4444); }
.avatars span:nth-child(3) { background: linear-gradient(120deg,#16a34a,#06b6d4); }
.avatars span:nth-child(4) { background: linear-gradient(120deg,#a855f7,#6366f1); }

.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px; z-index: 3; }
.hero-scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--cyan); border-radius: 2px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 24px; } }

/* Mockup de celular */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone { width: 290px; height: 580px; border-radius: 42px; padding: 14px; position: relative; box-shadow: var(--shadow); animation: floatY 5s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 120px; height: 22px; background: #000; border-radius: 0 0 14px 14px; z-index: 3; opacity: .85; }
.phone-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; position: relative; background: linear-gradient(160deg, #0c1226, #0a0f20); }
.app-map { position: absolute; inset: 0; background:
    linear-gradient(rgba(99,102,241,.06), rgba(6,182,212,.06)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 32px); }
.map-pin { position: absolute; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,.4); }
.map-pin i { transform: rotate(45deg); font-size: .8rem; }
.pin-1 { top: 22%; left: 24%; background: #f59e0b; animation: pop .5s var(--ease) .3s both; }
.pin-2 { top: 38%; left: 62%; background: #0ea5e9; animation: pop .5s var(--ease) .5s both; }
.pin-3 { top: 56%; left: 36%; background: #a855f7; animation: pop .5s var(--ease) .7s both; }
@keyframes pop { from { transform: rotate(-45deg) scale(0); } to { transform: rotate(-45deg) scale(1); } }
.map-me { position: absolute; top: 64%; left: 56%; width: 16px; height: 16px; background: #22d3ee; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 6px rgba(34,211,238,.25); }
.app-card { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: .85rem; color: var(--text); }
.app-card-top { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; }
.app-av { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; color: #fff; }
.app-card-top strong { font-size: .9rem; }
.app-meta { font-size: .72rem; color: var(--muted); }
.app-meta .fa-star { color: #f59e0b; }
.app-eta { margin-left: auto; font-weight: 700; color: var(--cyan); font-size: .85rem; }
.app-btn { width: 100%; border: none; border-radius: 12px; padding: .55rem; background: var(--grad); color: #fff; font-weight: 600; font-family: var(--font-display); }
.float-chip { position: absolute; padding: .5rem .8rem; font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; box-shadow: var(--shadow); }
.float-chip i { color: var(--cyan); }
.chip-a { top: 12%; left: -8%; animation: floatY 4s ease-in-out infinite; }
.chip-b { bottom: 16%; right: -6%; animation: floatY 5.5s ease-in-out infinite; }

/* ---------- Secciones genéricas ---------- */
.section { padding: 6rem 0; }
.section-head { text-align: center; max-width: 42rem; margin: 0 auto 3rem; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--indigo); margin-bottom: .7rem; }
.eyebrow.accent { color: var(--cyan); }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.02em; margin: 0 0 .6rem; }
.section-title.sm { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.section-lead { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { padding: 2rem 0 1rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.6rem 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(10px); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); font-size: .9rem; margin-top: .2rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--indigo), var(--cyan)); opacity: .4; }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 1.2rem; margin-bottom: 1.4rem; align-items: start; }
.tl-dot { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 10px 24px rgba(79,98,233,.4); z-index: 1; }
.tl-body { padding: 1.2rem 1.4rem; }
.tl-step { font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--cyan); }
.tl-body h3 { margin: .25rem 0 .4rem; font-size: 1.2rem; }
.tl-body p { color: var(--muted); margin: 0; }

/* ---------- Categorías ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.cat { display: flex; flex-direction: column; align-items: center; gap: .7rem; padding: 1.5rem 1rem; text-align: center; color: var(--text); font-weight: 600; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c) 50%, var(--border)); color: var(--text); }
.cat-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--c, var(--indigo)); box-shadow: 0 8px 20px color-mix(in srgb, var(--c) 45%, transparent); }

/* ---------- Beneficios ---------- */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.benefit-col { padding: 2.2rem; }
.benefit-col.highlight { position: relative; overflow: hidden; }
.benefit-col.highlight::before { content: ''; position: absolute; inset: 0; background: var(--grad-soft); z-index: -1; }
.bullets { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.bullets li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text); margin-bottom: .7rem; }
.bullets i { color: var(--cyan); margin-top: .25rem; }

/* ---------- Simulador ---------- */
.sim-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; padding: 2.2rem; }
.sim-field { margin-bottom: 1.4rem; }
.sim-field label { display: block; color: var(--muted); margin-bottom: .6rem; font-size: .92rem; }
.sim-field label strong { color: var(--text); }
.sim-field input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--surface-2); outline: none; }
.sim-field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); cursor: pointer; box-shadow: 0 4px 12px rgba(79,98,233,.6); border: 3px solid var(--bg); }
.sim-field input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--indigo); cursor: pointer; border: 3px solid var(--bg); }
.sim-result { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.sim-out { display: flex; justify-content: space-between; align-items: baseline; padding: .5rem 0; border-bottom: 1px dashed var(--border); }
.sim-out span { color: var(--muted); font-size: .9rem; }
.sim-out strong { font-family: var(--font-display); font-weight: 700; }
.sim-out.big strong { font-size: 1.8rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Testimonios ---------- */
.testi-swiper { padding: .5rem .5rem 3rem; }
.testi { padding: 1.8rem; height: 100%; }
.testi .stars { color: #f59e0b; margin-bottom: .8rem; }
.testi p { color: var(--text); font-size: 1.02rem; margin-bottom: 1.2rem; }
.testi-by { display: flex; align-items: center; gap: .7rem; }
.t-av { width: 42px; height: 42px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.testi-by small { display: block; color: var(--muted); }
.testi-swiper .swiper-pagination-bullet { background: var(--muted); }
.testi-swiper .swiper-pagination-bullet-active { background: var(--indigo); width: 22px; border-radius: 6px; }

/* ---------- Empresas / planes ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: stretch; }
.plan { padding: 2rem; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: rgba(99,102,241,.45); box-shadow: 0 20px 50px rgba(79,98,233,.25); transform: translateY(-8px); }
.plan-tag { position: absolute; top: -12px; right: 20px; background: var(--grad); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; }
.plan h3 { font-size: 1.3rem; }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 2rem; margin: .4rem 0 1rem; }
.plan-price span { font-size: .9rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.plan ul li { display: flex; gap: .6rem; align-items: center; color: var(--text); margin-bottom: .6rem; }
.plan ul i { color: var(--cyan); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; }
.faq-acc .accordion-item { margin-bottom: .8rem; overflow: hidden; }
.faq-acc .accordion-button { background: transparent; color: var(--text); font-family: var(--font-display); font-weight: 600; box-shadow: none; padding: 1.1rem 1.3rem; }
.faq-acc .accordion-button:not(.collapsed) { color: var(--indigo); background: var(--surface-2); }
.faq-acc .accordion-button::after { filter: hue-rotate(200deg); }
.faq-acc .accordion-body { color: var(--muted); padding: 0 1.3rem 1.2rem; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.contact-info, .contact-form { padding: 2.2rem; }
.contact-list { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; }
.contact-list li { display: flex; gap: .7rem; align-items: center; color: var(--text); margin-bottom: .7rem; }
.contact-list i { color: var(--cyan); width: 20px; }
.contact-map { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); height: 180px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; color: var(--muted); font-size: .85rem; margin-bottom: .4rem; }
.field input, .field textarea { width: 100%; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; padding: .75rem .9rem; color: var(--text); font-family: var(--font-body); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(99,102,241,.15); }
.field input.invalid, .field textarea.invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.12); }
.form-note { text-align: center; margin: .8rem 0 0; font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: #22c55e; } .form-note.err { color: #ef4444; }

/* ---------- Footer ---------- */
.site-footer { padding: 4rem 0 1.5rem; border-top: 1px solid var(--border); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: var(--muted); margin: 1rem 0; max-width: 22rem; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); transition: transform .2s, background .2s; }
.socials a:hover { transform: translateY(-3px); background: var(--grad); color: #fff; }
.footer-col h4 { font-size: 1rem; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--muted); margin-bottom: .6rem; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--border); margin-top: 2.5rem; padding-top: 1.5rem; color: var(--muted); font-size: .88rem; }
.footer-bottom .fa-heart { color: #ef4444; }

/* ---------- Botones flotantes ---------- */
.float-wa { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 26px rgba(37,211,102,.5); transition: transform .2s; }
.float-wa:hover { transform: scale(1.1); color: #fff; }
.to-top { position: fixed; right: 24px; bottom: 88px; z-index: 999; width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--grad); color: #fff; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); box-shadow: 0 8px 20px rgba(79,98,233,.5); }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Accesibilidad ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ===== Sección App móvil ===== */
.app-download { position: relative; overflow: hidden; }
.app-badge-soon {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--grad-soft); color: #a5b4fc;
    border: 1px solid rgba(99,102,241,.35);
    padding: .4rem .9rem; border-radius: 999px;
    font-size: .82rem; font-weight: 600; margin-bottom: 1rem;
}
.app-features { list-style: none; padding: 0; margin: 1.4rem 0; }
.app-features li {
    display: flex; align-items: center; gap: .7rem;
    padding: .5rem 0; font-size: 1.02rem; color: #cbd5e1;
}
.app-features li i {
    color: #22d3ee; width: 22px; text-align: center; flex-shrink: 0;
}
.app-stores { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.store-btn {
    display: inline-flex; align-items: center; gap: .7rem;
    background: #0f172a; border: 1px solid rgba(148,163,184,.28);
    border-radius: 14px; padding: .7rem 1.2rem; color: #fff;
    text-decoration: none; transition: transform .2s var(--ease), border-color .2s;
}
.store-btn:hover { transform: translateY(-2px); border-color: rgba(99,102,241,.6); color:#fff; }
.store-btn i { font-size: 1.7rem; color: #e2e8f0; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn small { font-size: .68rem; color: #94a3b8; }
.store-btn strong { font-size: 1.05rem; }
.store-btn.is-soon { opacity: .72; cursor: default; }
.store-btn.is-soon:hover { transform: none; }
.app-soon-note { margin-top: 1.1rem; font-size: .85rem; color: #94a3b8; }
.app-soon-note i { color: #22d3ee; margin-right: .35rem; }

/* ===== Sección Confianza ===== */
.trust .section-head { max-width: 640px; margin: 0 auto 3rem; }
.trust-card {
    height: 100%; padding: 2rem 1.5rem; border-radius: var(--radius);
    text-align: center; transition: transform .25s var(--ease), border-color .25s;
    border: 1px solid rgba(148,163,184,.14);
}
.trust-card:hover { transform: translateY(-6px); border-color: rgba(99,102,241,.45); }
.trust-ic {
    width: 64px; height: 64px; margin: 0 auto 1.2rem;
    border-radius: 18px; display: grid; place-items: center;
    font-size: 1.6rem; color: #fff;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    box-shadow: 0 12px 28px rgba(99,102,241,.35);
}
.trust-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .6rem; color: var(--text); }
.trust-card p { font-size: .92rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* ===== Badge "Gratis por lanzamiento" (columna técnicos) ===== */
.free-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(22,163,74,.18), rgba(15,118,110,.18));
    border: 1px solid rgba(22,163,74,.45);
    border-radius: 14px;
    padding: 14px 16px;
    margin: 4px 0 18px;
}
.free-badge > i {
    font-size: 1.6rem;
    color: #22c55e;
    flex-shrink: 0;
}
.free-badge strong {
    display: block;
    color: #4ade80;
    font-size: 1.02rem;
    font-weight: 800;
    margin-bottom: 2px;
}
.free-badge span {
    display: block;
    color: #cbd5e1;
    font-size: .86rem;
    line-height: 1.35;
}
