/* 1.8.17: sección «Descarga la app» (portada y /app/). Video a un lado, botón y ventajas al otro. */
.zap {
    --zap-green: #0b3b2c;
    --zap-green-2: #125a41;
    --zap-yellow: #ffcc00;
    --zap-ink: #111827;
    --zap-muted: #4b5563;
    --zap-card: #ffffff;
    --zap-line: #e5e7eb;
    position: relative;
    display: grid;
    grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    margin: 40px 0;
    padding: 40px 48px;
    border-radius: 28px;
    background: radial-gradient(120% 140% at 0% 0%, #17694c 0%, var(--zap-green) 55%, #072a1f 100%);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.zap::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 204, 0, .22), rgba(255, 204, 0, 0) 65%);
    z-index: -1;
    pointer-events: none;
}
.zap--page { max-width: 1080px; margin: 32px auto 56px; }
.zap-main { padding: 0 16px; }

/* Video dentro de un teléfono */
.zap-media { display: flex; justify-content: center; }
.zap-phone {
    position: relative;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9 / 16;
    padding: 8px;
    border-radius: 40px;
    background: #0d0d0f;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4), inset 0 0 0 2px #2a2a2e;
}
.zap-video {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    object-fit: cover;
    background: var(--zap-green);
}
.zap-toggle {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(17, 24, 39, .6);
    color: #fff;
    cursor: pointer;
}
.zap-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.zap-toggle .zap-i-play { fill: currentColor; stroke: none; }
.zap-toggle .zap-i-play,
.zap-toggle.is-paused .zap-i-pause { display: none; }
.zap-toggle.is-paused .zap-i-play { display: block; }
.zap-toggle:focus-visible { outline: 3px solid var(--zap-yellow); outline-offset: 2px; }

/* Texto */
.zap-body { min-width: 0; }
.zap-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 204, 0, .16);
    color: var(--zap-yellow);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.zap-title {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.02em;
}
.zap-title em { font-style: normal; color: var(--zap-yellow); }
.zap-lead { margin: 0 0 22px; max-width: 46ch; color: #cfe7dc; font-size: 16px; line-height: 1.55; }

.zap-adv { display: grid; gap: 14px; margin: 0 0 26px; padding: 0; list-style: none; }
.zap-adv li { display: flex; gap: 14px; align-items: flex-start; margin: 0; }
.zap-ic {
    flex: none;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--zap-yellow);
}
.zap-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--zap-green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.zap-adv strong { display: block; color: #fff; font-size: 16px; font-weight: 800; }
.zap-adv small { display: block; margin-top: 2px; color: #a7d3c0; font-size: 14px; line-height: 1.45; }

/* Botón */
.zap-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.zap-btn,
.zap-btn:visited {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 999px;
    background: var(--zap-yellow);
    color: var(--zap-ink) !important;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 12px 26px rgba(255, 204, 0, .25);
    transition: transform .15s ease, box-shadow .15s ease;
}
.zap-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.zap-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(255, 204, 0, .35); }
.zap-btn:active { transform: translateY(0) scale(.98); }
.zap-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.zap-meta { color: #a7d3c0; font-size: 13px; font-weight: 600; }

.zap-ios,
.zap-soon-all {
    margin: 0;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    color: #e5f2ec;
    font-size: 15px;
    line-height: 1.5;
}
.zap-ios[hidden] { display: none; }
.zap-ios strong { color: var(--zap-yellow); }

/* Google Play: próximamente */
.zap-play {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 9px 14px;
    border: 1px dashed rgba(255, 255, 255, .25);
    border-radius: 12px;
    color: #cfe7dc;
    font-size: 14px;
}
.zap-play svg { width: 18px; height: 18px; fill: #9ca3af; }
.zap-play strong { color: #fff; }
.zap-play em {
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 204, 0, .16);
    color: var(--zap-yellow);
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Pasos para instalar */
.zap-steps {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
}
.zap-steps summary { cursor: pointer; color: #fff; font-weight: 800; font-size: 15px; }
.zap-steps summary:focus-visible { outline: 2px solid var(--zap-yellow); outline-offset: 4px; border-radius: 4px; }
.zap-steps ol { margin: 12px 0 0; padding-left: 22px; color: #e5f2ec; font-size: 14px; line-height: 1.55; }
.zap-steps li { margin: 0 0 8px; }
.zap-steps li::marker { color: var(--zap-yellow); font-weight: 800; }
.zap-note { margin: 6px 0 0; color: #a7d3c0; font-size: 13px; line-height: 1.5; }

/* En iPhone/iPad el botón no sirve: se oculta y sale el aviso */
.zap.is-ios .zap-cta,
.zap.is-ios .zap-steps { display: none; }

@media (max-width: 860px) {
    .zap { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px 24px; border-radius: 22px; }
    .zap-media { order: 2; }
    .zap-phone { max-width: 210px; }
    .zap-btn { width: 100%; justify-content: center; }
    .zap-cta { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .zap-btn { transition: none; }
}

html.dark-mode .zap { box-shadow: 0 0 0 1px #1f3b30; }

/* 1.8.32 hotfix: × para cerrar el anuncio de la app (portada). Mismo estilo que la × de remesas: transparente, sin borde, 42 px; blanca sobre el verde. */
.zap .zap-x,
html.dark-mode .zap .zap-x,
body section.zap button.zap-x {
    -webkit-appearance: none !important; -moz-appearance: none !important; appearance: none !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    position: absolute !important; top: 8px !important; right: 8px !important; left: auto !important; bottom: auto !important; z-index: 5 !important;
    width: 42px !important; height: 42px !important; min-width: 42px !important; min-height: 42px !important; max-width: none !important;
    margin: 0 !important; padding: 0 !important;
    background: transparent !important; background-image: none !important;
    border: 0 !important; box-shadow: none !important; text-shadow: none !important; outline-offset: 2px;
    border-radius: 10px !important; color: #ffffff !important;
    font-family: inherit !important; font-size: 26px !important; font-weight: 400 !important; line-height: 1 !important; letter-spacing: 0 !important; text-transform: none !important;
    cursor: pointer; transform: none !important;
}
.zap .zap-x:hover, .zap .zap-x:focus-visible,
html.dark-mode .zap .zap-x:hover, html.dark-mode .zap .zap-x:focus-visible,
body section.zap button.zap-x:hover { background: rgba(255,255,255,.14) !important; border: 0 !important; box-shadow: none !important; color: #ffffff !important; }
.zap .zap-x:active, html.dark-mode .zap .zap-x:active { background: rgba(255,255,255,.22) !important; border: 0 !important; box-shadow: none !important; }
@media (max-width: 860px) { .zap .zap-x, html.dark-mode .zap .zap-x, body section.zap button.zap-x { top: 4px !important; right: 4px !important; } }
