/* ============================
   HOME LAYOUT
   ============================ */

.home-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-bottom: 2rem;
}

/* ============================
   HERO
   ============================ */

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
    color: white;
    flex-wrap: wrap;
}

.hero-content {
    max-width: 520px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color:white;
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.btn-primary,
.btn-outline {
    padding: 12px 22px;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary {
    background: white;
    color: #444;
}

.btn-outline {
    border: 2px solid white;
}

.hero-illustration {
    font-size: 5rem;
    opacity: 0.7;
    margin-top: 2rem;
}

/* Welcome badge */
.welcome {
    margin-top: 1.8rem;
    background: rgba(255,255,255,0.18);
    padding: 14px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(6px);
}

/* ============================
   QUICK ACCESS
   ============================ */

.quick-access {
    padding: 0 2rem;
}

    .quick-access h2 {
        text-align: center;
        margin-bottom: 2rem;
    }

.access-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.access-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: 0.25s ease;
    text-align: center;
}

    .access-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    }

    .access-card i {
        font-size: 2rem;
        color: #667eea;
        margin-bottom: 1rem;
    }

    .access-card h3 {
        margin-bottom: 0.5rem;
    }



/* ============================
   FEATURES ROW (TARJETAS)
   ============================ */

.features-row {
    width: 100%;
    padding: 4rem 0;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
}

    .features-row .container {
        width: 100%;
        max-width: 1300px;
        margin: auto;
        text-align: center;
    }

    .features-row h2 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 2.5rem;
        color: #374151;
    }

/* CONTENEDOR DE TARJETAS EN UNA SOLA FILA */
.features-row-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: nowrap; /* Fuerza que estén en una sola fila */
}

/* TARJETAS */
.feature-card {
    background: #ffffff;
    padding: 2rem;
    width: 260px;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: 0.25s ease;
    text-align: center;
}

    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 26px rgba(0,0,0,0.12);
    }

    /* ÍCONO */
    .feature-card i {
        font-size: 2.4rem;
        color: #667eea;
        margin-bottom: 1rem;
    }

    /* TÍTULO */
    .feature-card h3 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #111827;
    }

    /* TEXTO */
    .feature-card p {
        font-size: 0.95rem;
        color: #6b7280;
    }

/* RESPONSIVE PARA MÓVIL */
@media (max-width: 1024px) {
    .features-row-container {
        flex-wrap: wrap; /* En pantallas pequeñas sí permite abajo */
    }
}

