/* =========================
   RESET BÁSICO
========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #020819;
    color: #ffffff;
}

/* Contenedor general */
.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================
   NAVBAR
========================= */
.top-bar {
    background: linear-gradient(90deg, #0b1024, #b80b16);
    color: #ffffff;
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    position: sticky;
    top: 0;
    z-index: 20;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.logo-subtitle {
    font-size: 0.75rem;
    opacity: 0.9;
}

.main-nav {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 0.9rem;
    text-decoration: none;
    color: #f0f4ff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255,255,255,0.12);
}

.nav-link.active {
    background: #ff3150;
    color: #ffffff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.25);
}

.nav-icon-btn img {
    width: 20px;
    height: 20px;
}

.nav-support-btn {
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #ff3150;
    color: #ffffff;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.2);
}

/* =========================
   HERO
========================= */
.hero {
    background: #020819 url("../img/bg-hero.jpg") center top / cover no-repeat;
    color: #ffffff;
    padding: 3.5rem 0 3rem 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.hero-text {
    flex: 1.2;
}

.hero-text h1 {
    font-size: 2.3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 32rem;
    margin-bottom: 1.2rem;
    color: #e0e5ff;
}

.hero-bullets {
    list-style: none;
    margin-bottom: 1.6rem;
}

.hero-bullets li {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.hero-cta {
    display: flex;
    gap: 0.85rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.75rem 1.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background: #ff3150;
    color: #ffffff;
    box-shadow: 0 12px 25px rgba(255,49,80,0.35);
}

.btn-secondary {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.phone-mock img {
    max-width: 370px;
    border-radius: 30px;
    /* box-shadow: 0 22px 40px rgba(0,0,0,0.7); */
    filter: drop-shadow(0 22px 40px rgba(0,0,0,0.7));
}

.hero-badges img {
    max-width: 260px;
    opacity: 0.95;
}

/* =========================
   SECCIONES GENERALES
========================= */
.section {
    padding: 3rem 0;
}

.section.light {
    background: #f5f7ff;
    color: #111827;
}

.section.soft {
    background: #e8edf8;
    color: #111827;
}

.section.gradient {
    background: linear-gradient(135deg, #071126, #152852);
}

.section h2 {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 1.8rem;
}

.section-lead {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2rem auto;
    font-size: 0.98rem;
}
/* Fijar color de títulos y texto en la sección del manual */
.manual-section h2 {
    color: #111827;   /* casi negro, se ve bien sobre el fondo claro */
}

.manual-section .section-lead {
    color: #4b5563;   /* gris oscuro para el subtítulo */
}

/* =========================
   TARJETAS FEATURES
========================= */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.cards-row.small {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.plan-card,
.info-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.5rem 1.4rem;
    box-shadow: 0 10px 20px rgba(15,23,42,0.15);
}

.section.light .feature-card,
.section.soft .plan-card,
.manual-section .info-card {
    color: #111827;
}

.feature-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.75rem;
}

.feature-card h3,
.plan-card h3,
.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card p,
.plan-card p,
.info-card p {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
}

.mini-list {
    list-style: none;
    font-size: 0.86rem;
    line-height: 1.4;
}

.mini-list li::before {
    content: "• ";
    color: #ff3150;
}

/* =========================
   FLUJO SOS
========================= */
.section.gradient h2 {
    color: #ffffff;
}

.flow-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.flow-step {
    background: rgba(15,23,42,0.9);
    border-radius: 16px;
    padding: 1.3rem 1.1rem;
    width: 210px;
    color: #e5edff;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.45);
}

.flow-icon img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

.flow-step h4 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.flow-step p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.flow-arrow {
    align-self: center;
    color: #ffccd5;
    font-size: 1.8rem;
}

/* =========================
   ROLES
========================= */
.roles-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2rem;
    align-items: center;
}

.roles-text p {
    font-size: 0.96rem;
    margin-bottom: 0.8rem;
}

.roles-text .hero-bullets {
    padding-left: 1rem;
}

/* =========================
   MANUAL / TÉRMINOS / SOPORTE
========================= */
.manual-section {
    background: #f0f4ff;
}

.manual-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.btn-outline {
    border-radius: 999px;
    padding: 0.55rem 1.3rem;
    border: 1px solid #1f2937;
    font-size: 0.85rem;
    text-decoration: none;
    color: #111827;
    display: inline-flex;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* =========================
   FOOTER
========================= */
.main-footer {
    background: linear-gradient(90deg, #7b0612, #030614);
    color: #e5e7eb;
    padding-top: 0.9rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 0.6rem;
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-center {
    justify-content: center;
    flex: 1;
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #f9fafb;
    text-decoration: none;
    opacity: 0.9;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-separator {
    opacity: 0.7;
}

.footer-manual-link {
    text-decoration: none;
}

.manual-badge {
    background: rgba(0,0,0,0.35);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
}

.footer-support-btn {
    background: #ff3150;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 0.4rem 0 0.7rem 0;
    font-size: 0.78rem;
    text-align: center;
    background: #02040b;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-subtitle,
    .hero-bullets {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-bullets {
        text-align: left;
        max-width: 26rem;
    }

    .roles-grid,
    .manual-grid,
    .cards-row,
    .cards-row.small {
        grid-template-columns: 1fr;
    }

    .roles-text {
        text-align: left;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 2.5rem;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .nav-support-btn {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-center {
        justify-content: flex-start;
    }
}

