/* Colores de Theme.kt de la app: Ocean, Deep, Night, Growth, Ice */
:root {
    --ocean: #0789D8;
    --deep: #07366B;
    --night: #082F5E;
    --growth: #178F47;
    --growth-soft: #D7F5E3;
    --bg: #F3F8FC;
    --bg-alt: #FFFFFF;
    --surface: #FFFFFF;
    --surface-soft: #F5F8FB;
    --text: #0B2340;
    --text-soft: #4A5868;
    --line: #D3DCE5;
    --primary: #0789D8;
    --primary-text: #FFFFFF;
    --primary-soft: #DCEEFB;
    --logo-text: #012F64;
    --amber: #E8A317;
    --shadow: 0 18px 50px rgba(7, 54, 107, 0.14);
    --radius: 18px;
    --on-growth: #FFFFFF;
    --phone-border: var(--night);
    --device-outline: 0 0 0 transparent;
    color-scheme: light;
}

/* Oscuro: el del sistema, salvo que la persona elija claro u oscuro con el botón de arriba (data-theme en <html>) */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --bg: #071A2E;
        --bg-alt: #0A2036;
        --surface: #0C2440;
        --surface-soft: #122C49;
        --text: #E6EEF7;
        --text-soft: #B3C3D6;
        --line: #2A4565;
        --primary: #4FB3F0;
        --primary-text: #00213D;
        --primary-soft: #173A60;
        --growth: #4CD483;
        --growth-soft: #0E4A2A;
        --logo-text: #DCEEFB;
        --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
        color-scheme: dark;
        --on-growth: #00391C;
        --phone-border: #1B3A5C;
        --device-outline: 0 0 0 1px #2A4565;
    }
}
:root[data-theme="dark"] {
    --bg: #071A2E;
    --bg-alt: #0A2036;
    --surface: #0C2440;
    --surface-soft: #122C49;
    --text: #E6EEF7;
    --text-soft: #B3C3D6;
    --line: #2A4565;
    --primary: #4FB3F0;
    --primary-text: #00213D;
    --primary-soft: #173A60;
    --growth: #4CD483;
    --growth-soft: #0E4A2A;
    --logo-text: #DCEEFB;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
    --on-growth: #00391C;
    --phone-border: #1B3A5C;
    --device-outline: 0 0 0 1px #2A4565;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: var(--primary); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font: inherit;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--primary); color: var(--primary-text); box-shadow: 0 6px 18px rgba(7, 137, 216, 0.3); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(7, 137, 216, 0.42); }
.btn-outline { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--primary-soft); }
.btn-light { background: #FFFFFF; color: var(--deep); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.label-short { display: none; }
.btn-block { width: 100%; }
.btn:focus-visible, .billing-option:focus-visible, summary:focus-visible, .download:focus-visible, .nav a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* Encabezado */
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.topbar-row { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; color: var(--logo-text); }
.logo { width: 112px; height: 31px; color: var(--logo-text); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { color: var(--text-soft); text-decoration: none; font-weight: 550; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--text); background: var(--primary-soft); }
.topbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
/* Claro / oscuro: muestra el ícono del modo al que cambia */
.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer;
}
.theme-toggle:hover { background: var(--primary-soft); }
.theme-toggle:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
    :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

/* Portada */
.hero {
    padding: 64px 0 80px;
    background:
        radial-gradient(900px 420px at 85% 10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%),
        radial-gradient(700px 380px at 0% 100%, color-mix(in srgb, var(--growth) 12%, transparent), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--growth-soft);
    color: var(--growth);
    font-size: 14px;
    font-weight: 650;
    margin-bottom: 18px;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; color: var(--text); }
.accent {
    background: linear-gradient(90deg, #05A2EA, #0070CB 55%, #20B85A);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}
.lead { font-size: 1.15rem; color: var(--text-soft); margin: 20px 0 28px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 24px 0 0; color: var(--text-soft); font-size: 15px; }
.hero-points li::before { content: "✓"; color: var(--growth); font-weight: 800; margin-right: 6px; }

/* Venta de ejemplo */
.hero-visual { position: relative; display: flex; justify-content: center; padding: 28px 0; }
.device {
    width: 100%;
    max-width: 340px;
    padding: 18px;
    border-radius: 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.device-bar { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--text-soft); font-weight: 600; }
.pill { padding: 3px 10px; border-radius: 999px; background: var(--growth-soft); color: var(--growth); font-size: 12px; }
.device-title { font-size: 18px; font-weight: 750; margin: 14px 0 8px; }
.cart { list-style: none; margin: 0; padding: 0; }
.cart li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cart .qty {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 750;
    font-size: 13px;
}
.cart .name { flex: 1; }
.cart .price { font-weight: 650; font-variant-numeric: tabular-nums; }
.methods { display: flex; gap: 6px; margin: 16px 0 12px; }
.methods span { flex: 1; text-align: center; padding: 8px 4px; border-radius: 10px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.methods .on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.charge { padding: 14px; border-radius: 14px; background: var(--growth); color: var(--on-growth); text-align: center; font-weight: 750; font-size: 17px; }
.toast {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.toast-top { top: 0; right: 0; }
.toast-bottom { bottom: 0; left: 0; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-green { background: #20B85A; }
.dot-amber { background: var(--amber); }

/* Para quién */
.who { padding: 28px 0 8px; }
.who-title { text-align: center; color: var(--text-soft); font-weight: 650; font-size: 15px; margin-bottom: 14px; }
.who-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; padding: 0; margin: 0; }
.who-list li { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 550; }

/* Secciones */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); font-weight: 800; }
.section-head p { color: var(--text-soft); margin-top: 12px; font-size: 1.08rem; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); font-size: 24px; margin-bottom: 16px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--text-soft); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.step-number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: var(--primary-text); font-weight: 800; margin-bottom: 16px; }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--text-soft); }

/* Sin Rendi / Con Rendi */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.compare-card { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.compare-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.compare-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare-card li { position: relative; padding-left: 30px; }
.compare-card li::before {
    position: absolute;
    left: 0;
    top: 2px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}
.compare-before { color: var(--text-soft); }
.compare-before h3 { color: var(--text); }
.compare-before li::before { content: "✕"; background: color-mix(in srgb, #D64545 14%, transparent); color: #D64545; }
.compare-after { border: 2px solid var(--growth); box-shadow: var(--shadow); }
.compare-after li::before { content: "✓"; background: var(--growth-soft); color: var(--growth); }

/* Capturas reales de la app */
.platform-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 28px; }
.platform-tabs button {
    font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; padding: 8px 16px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.platform-tabs button:hover { border-color: var(--primary); }
.platform-tabs button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
.platform-stage { margin: 0 auto 56px; }
.platform-stage figcaption { max-width: 620px; margin: 18px auto 0; color: var(--text-soft); text-align: center; }

/* Marcos de cada equipo, dibujados con CSS alrededor del mismo video */
.device-frame { position: relative; margin: 0 auto; box-shadow: var(--shadow); }
.device-frame video { display: block; width: 100%; height: auto; background: #F3F8FC; }
.frame-bar { display: none; align-items: center; gap: 10px; height: 34px; padding: 0 12px; font-size: 13px; }
.frame-dots, .frame-controls { display: none; }
.frame-dots i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; background: #C9D2DC; }
.frame-title { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.is-android, .is-iphone { max-width: 300px; padding: 10px; border-radius: 40px; background: #0E1116; }
/* La franja blanca de arriba hace de barra de estado, para que la cámara no tape la app */
.is-android video, .is-iphone video { border-radius: 30px; border-top: 34px solid #FFFFFF; }
.is-android::before, .is-iphone::before, .is-tablet::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); background: #0E1116; z-index: 1; }
.is-android::before { top: 22px; width: 12px; height: 12px; border-radius: 50%; }
.is-iphone { border-radius: 46px; }
.is-iphone video { border-radius: 36px; }
.is-iphone::before { top: 20px; width: 86px; height: 24px; border-radius: 12px; }
.is-tablet { max-width: 860px; padding: 22px; border-radius: 30px; background: #0E1116; }
.is-tablet video { border-radius: 10px; }
.is-android, .is-iphone, .is-tablet { box-shadow: var(--device-outline), var(--shadow); }
.is-tablet::before { top: 8px; width: 7px; height: 7px; border-radius: 50%; background: #2A3038; }

.is-windows, .is-mac, .is-web { max-width: 960px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.is-windows .frame-bar, .is-mac .frame-bar, .is-web .frame-bar { display: flex; }
.is-windows .frame-bar { background: #FFFFFF; color: #1A1A1A; padding-right: 0; border-bottom: 1px solid #E5E5E5; }
.is-windows .frame-title::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px; background: url(favicon.svg) center / contain no-repeat; }
.is-windows .frame-controls { display: flex; height: 100%; }
.is-windows .frame-controls i { width: 46px; display: grid; place-items: center; font-style: normal; color: #444; }
.is-mac { border-radius: 12px; }
.is-mac .frame-bar { background: linear-gradient(#ECECEE, #DEDEE1); color: #4A4A4A; border-bottom: 1px solid #CFCFD3; }
.is-mac .frame-dots { display: flex; }
.is-mac .frame-dots i:nth-child(1) { background: #FF5F57; }
.is-mac .frame-dots i:nth-child(2) { background: #FEBC2E; }
.is-mac .frame-dots i:nth-child(3) { background: #28C840; }
.is-mac .frame-title { text-align: center; font-weight: 600; margin-right: 51px; }
.is-web .frame-bar { background: var(--surface-soft); border-bottom: 1px solid var(--line); height: 40px; }
.is-web .frame-dots { display: flex; }
.is-web .frame-title { flex: 0 1 360px; padding: 4px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-soft); }
.phones {
    list-style: none; padding: 0; margin: 0 auto; max-width: 960px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.phones li { display: grid; gap: 12px; justify-items: center; align-content: start; text-align: center; font-weight: 600; }
.phones img {
    display: block; width: 100%; height: auto; border-radius: 22px;
    border: 6px solid var(--phone-border); box-shadow: var(--shadow); background: #F3F8FC;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 20px 0 16px;
    border-radius: 999px;
    background: #25D366;
    color: #06381B;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    transition: transform 0.15s, box-shadow 0.15s;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28); }
.whatsapp-float:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.whatsapp-float svg { width: 28px; height: 28px; flex: none; }

/* Planes */
.billing { display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 0 auto 32px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.billing-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-soft);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}
.billing-option.is-active { background: var(--primary); color: var(--primary-text); }
.save { padding: 2px 8px; border-radius: 999px; background: var(--growth-soft); color: var(--growth); font-size: 12px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 880px; margin: 0 auto; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.plan-full { border: 2px solid var(--growth); box-shadow: var(--shadow); }
.plan-badge { position: absolute; top: -13px; left: 32px; padding: 4px 12px; border-radius: 999px; background: var(--growth); color: var(--on-growth); font-size: 13px; font-weight: 700; }
.plan h3 { font-size: 1.3rem; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 6px; }
.amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.per { color: var(--text-soft); font-weight: 550; }
.plan-desc { color: var(--text-soft); min-height: 1.55em; }
.plan-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 11px; flex: 1; }
.plan-list li { position: relative; padding-left: 28px; }
.plan-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--growth-soft);
    color: var(--growth);
    font-size: 12px;
    font-weight: 800;
}
.plan-list li:has(strong) { padding-left: 0; }
.plan-list li:has(strong)::before { content: none; }
.plans-note { text-align: center; color: var(--text-soft); font-size: 14px; margin-top: 24px; }

/* Opiniones */
.in-use {
    display: inline-block; margin-bottom: 14px; padding: 8px 18px; border-radius: 999px;
    background: var(--growth-soft); color: var(--growth); font-weight: 600;
}
.in-use strong { font-size: 1.15em; }
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.stars { color: #F2B01E; letter-spacing: 2px; font-size: 1.1rem; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reviews-empty { max-width: 620px; margin: 0 auto; padding: 36px 28px; border-radius: 22px; background: var(--bg); border: 1px dashed var(--line); text-align: center; }
.reviews-empty h3 { font-size: 1.25rem; margin: 10px 0 8px; }
.reviews-empty p { color: var(--text-soft); margin-bottom: 22px; }
.stars-big { font-size: 1.8rem; letter-spacing: 4px; }
.review { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.review-text { flex: 1; }
.review-author { font-size: 14px; color: var(--text-soft); }
.review-author strong { color: var(--text); display: block; }

/* Descargas */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; max-width: 1100px; margin: 0 auto; }
.download {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.15s, transform 0.15s;
}
a.download:hover { border-color: var(--primary); transform: translateY(-2px); }
.download strong { display: block; }
.download small { color: var(--text-soft); font-size: 14px; }
.download-icon { font-size: 28px; }
.download-main { border: 2px solid var(--primary); }
.is-soon { opacity: 0.65; }

/* Preguntas */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.faq summary { padding: 18px 20px; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 18px; color: var(--text-soft); }

/* Llamado final */
.cta { padding: 0 0 80px; background: var(--bg-alt); }
.cta-box {
    max-width: 1100px;
    padding: 56px 32px;
    border-radius: 28px;
    text-align: center;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0789D8, #07366B 70%);
}
.cta-box h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; }
.cta-box p { margin: 12px 0 26px; opacity: 0.9; font-size: 1.08rem; }

/* Pie */
.footer { padding: 48px 0 28px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer .logo { width: 120px; height: 34px; }
.footer-note { color: var(--text-soft); margin-top: 10px; font-size: 15px; }
.footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-soft); margin-bottom: 10px; }
.footer nav { display: flex; flex-direction: column; gap: 6px; }
.footer nav a { color: var(--text); text-decoration: none; }
.footer nav a:hover { color: var(--primary); }
.footer { padding-bottom: 96px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 14px; }

/* Tablet */
@media (max-width: 960px) {
    .nav { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero { padding: 40px 0 56px; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .reviews { grid-template-columns: 1fr 1fr; }
    /* Las capturas del celular pasan a una fila que se desliza con el dedo */
    .phones {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
        padding: 4px 4px 20px; margin: 0 -4px;
    }
    .phones li { flex: 0 0 220px; scroll-snap-align: center; }
}

/* Celular */
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .topbar-row { gap: 8px; height: 58px; }
    .logo { width: 96px; height: 27px; }
    .btn-ghost { display: none; }
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 32px; }
    .features, .steps, .plans, .reviews, .compare { grid-template-columns: 1fr; }
    .compare-card { padding: 22px; }
    /* Pestañas en una fila que se desliza; los marcos más delgados */
    .platform-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 22px; padding: 2px 16px 6px; }
    .platform-tabs::-webkit-scrollbar { display: none; }
    .platform-tabs button { flex: 0 0 auto; }
    .platform-stage { margin-bottom: 40px; }
    .platform-stage figcaption { font-size: 0.92rem; }
    .is-android, .is-iphone { max-width: 260px; }
    .is-tablet { padding: 12px; border-radius: 20px; }
    .is-tablet::before { top: 3px; width: 5px; height: 5px; }
    .frame-bar { height: 28px; font-size: 11px; }
    .is-windows .frame-controls i { width: 32px; }
    .frame-dots i { width: 9px; height: 9px; margin-right: 5px; }
    .is-mac .frame-title { margin-right: 42px; }
    .is-web .frame-bar { height: 32px; }
    .phones li { flex-basis: 64%; }
    /* En el celular el botón flotante es solo el ícono, para no tapar el contenido */
    .whatsapp-float { right: 16px; bottom: 16px; width: 56px; padding: 0; justify-content: center; }
    .whatsapp-float span { display: none; }
    .feature { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 18px; }
    .feature-icon { grid-row: span 2; margin: 0; }
    .hero-actions .btn { flex: 1; }
    .toast { font-size: 12.5px; padding: 8px 11px; }
    .plan { padding: 26px 22px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .cta { padding-bottom: 56px; }
    .cta-box { padding: 40px 22px; border-radius: 22px; }
}

/* Celulares angostos: el botón de arriba no cabe con el texto largo */
@media (max-width: 374px) {
    .label-long { display: none; }
    .label-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
