﻿/* =====================================================================
   Vista: Views/Home/Index.cshtml (portada)
   Cuadros más marcados y letras en negrita. Va después de INICIOstilo.css
   y del tema del país.
   ===================================================================== */
.feat-card,
.app-card {
    border: 1.5px solid #c3cad8;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

    .feat-card:hover,
    .app-card:hover {
        border-color: var(--accent);
        box-shadow: 0 8px 24px rgba(15, 23, 42, .12);
    }

    .feat-card h3 { font-weight: 800; color: var(--text-dark); }
    .feat-card p,
    .app-card-text { font-weight: 600; color: #475569; }

.mockup-frame { border: 1.5px solid #c3cad8; box-shadow: 0 12px 36px rgba(15, 23, 42, .12); }
.mock-stat { border: 1.5px solid #cfd5e1; }

.hero-sub { font-weight: 600; color: #475569; }
.trust-item { font-weight: 700; color: #475569; }
.hero-badge { border: 1.5px solid currentColor; font-weight: 700; }
.section-label { font-weight: 800; }
/* ── Títulos: menos apretados con Poppins ───────────────────── */
.hero-title { letter-spacing: -.5px; }
.section-title,
.cta-inner h2 { letter-spacing: -.3px; }

/* ── Secciones nuevas: Cómo funciona, Planes, Preguntas ─────── */
.pasos-section,
.planes-section,
.faq-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 32px;
    text-align: center;
    scroll-margin-top: 80px;
}

.pasos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: paso;
}

.paso-card {
    position: relative;
    background: var(--bg-white);
    border: 1.5px solid #c3cad8;
    border-radius: var(--radius-lg);
    padding: 34px 26px 28px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
}

    .paso-card .paso-num {
        position: absolute;
        top: 18px;
        right: 22px;
        font-size: 44px;
        font-weight: 800;
        line-height: 1;
        color: var(--accent-light);
    }

    .paso-card h3 { font-size: 17px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
    .paso-card p { font-size: 14px; line-height: 1.65; font-weight: 600; color: #475569; margin: 0; }

/* Planes */
.planes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1.5px solid #c3cad8;
    border-radius: var(--radius-xl);
    padding: 34px 28px 28px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .06);
    transition: transform .2s, box-shadow .2s;
}

    .plan-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15, 23, 42, .12); }

    .plan-card.destacado {
        border: 2px solid var(--accent);
        box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
    }

.plan-cinta {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-card h3 { font-size: 20px; font-weight: 800; color: var(--text-dark); margin: 0 0 4px; }
.plan-lema { font-size: 14px; font-weight: 600; color: #64748b; margin: 0 0 18px; }

.plan-precio { display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-moneda { font-size: 18px; font-weight: 700; color: var(--text-dark); }
.plan-monto { font-size: 40px; font-weight: 800; line-height: 1; color: var(--text-dark); }
.plan-mes { font-size: 14px; font-weight: 600; color: #64748b; }
.plan-imp { font-size: 12px; font-weight: 600; color: #94a3b8; margin: 0 0 16px; }

.plan-incluye {
    list-style: none;
    padding: 0;
    margin: 8px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

    .plan-incluye li { display: flex; gap: 10px; font-size: 14px; font-weight: 600; color: #334155; }
    .plan-incluye li i { color: var(--accent); margin-top: 3px; }

.plan-boton {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s;
}

    .plan-boton:hover,
    .plan-card.destacado .plan-boton { background: var(--accent); color: #fff; }

.planes-nota { margin: 26px 0 0; font-size: 14px; font-weight: 600; color: #64748b; }
    .planes-nota a { color: var(--accent); font-weight: 700; text-decoration: none; }
    .planes-nota a:hover { text-decoration: underline; }

/* Preguntas frecuentes */
.faq-lista {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.faq-item {
    background: var(--bg-white);
    border: 1.5px solid #c3cad8;
    border-radius: var(--radius-md);
    transition: border-color .2s, box-shadow .2s;
}

    .faq-item[open] { border-color: var(--accent); box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }

    .faq-item summary {
        list-style: none;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 18px 22px;
        font-size: 15px;
        font-weight: 700;
        color: var(--text-dark);
    }

        .faq-item summary::-webkit-details-marker { display: none; }
        .faq-item summary i { color: var(--accent); transition: transform .2s; }
    .faq-item[open] summary i { transform: rotate(45deg); }

    .faq-item p { margin: 0; padding: 0 22px 20px; font-size: 14px; line-height: 1.7; font-weight: 600; color: #475569; }

/* Pie: cuatro columnas */
.footer-links.footer-4 { grid-template-columns: repeat(4, 1fr); }

/* Botón flotante de WhatsApp */
.wa-flotante {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    transition: transform .2s;
}

    .wa-flotante:hover { transform: scale(1.08); color: #fff; }

/* Animación al bajar (Index.js pone html.js-anim y .visible) */
.js-anim .ko-anim {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

    .js-anim .ko-anim.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .js-anim .ko-anim { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
    .pasos-grid,
    .planes-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .footer-links.footer-4 { grid-template-columns: repeat(2, 1fr); }
}