/* ===========================
        BASE
=========================== */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f7f9fc;
    color: #222;
}

a {
    text-decoration: none;
}


/* ===========================
        NAVBAR CENTRADO
=========================== */
.navbar {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #2563eb;
}

.nav-left {
    flex: 1;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-center a {
    color: #555;
    font-weight: 500;
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* BOTONES NAV */
.nav-btn {
    padding: 10px 18px;
}


/* ===========================
        BOTONES
=========================== */

.btn-primary {
    background: #2563eb;
    color: white !important;
    padding: 10px 18px;
    border-radius: 8px;
}

.btn-outline {
    border: 2px solid #2563eb;
    padding: 10px 18px;
    border-radius: 8px;
    color: #2563eb !important;
}

.btn-primary-lg {
    background: #2563eb;
    padding: 14px 24px;
    border-radius: 12px;
    color: white !important;
    font-size: 16px;
    font-weight: 600;
}

.btn-outline-lg {
    border: 2px solid #2563eb;
    padding: 14px 24px;
    border-radius: 12px;
    color: #2563eb !important;
    font-weight: 600;
    font-size: 16px;
}


/* ===========================
        MENU MÓVIL
=========================== */

.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: fixed;
    top: 70px;
    right: 0;
    width: 60%;
    padding: 20px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    gap: 18px;
    z-index: 99;
}

.mobile-menu.show {
    display: flex;
}


/* ===========================
        HERO
=========================== */
.hero {
    padding: 150px 80px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(160deg, #ebf3ff, #dce7f7);
    margin-top: 70px;
}

.hero-left h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
}

.accent {
    color: #2563eb;
}

.hero-left p {
    margin-top: 12px;
    color: #555;
    font-size: 17px;
    max-width: 420px;
}

.hero-buttons {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* HERO RIGHT + SLIDER */
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider {
    position: relative;
    width: 360px;
    max-width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15,23,42,0.28);
    background: #111827;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide.active {
    opacity: 1;
}

.slider-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(15,23,42,0.86);
    color: #e5e7eb;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.3;
    backdrop-filter: blur(10px);
}

.slider-badge span {
    color: #a5b4fc;
}


/* ===========================
        SECTIONS
=========================== */
.section {
    padding: 80px 60px;
    text-align: center;
}

.section.alt {
    background: #eef3fb;
}

.title {
    font-size: 30px;
    font-weight: 700;
}

.subtitle {
    color: #666;
    max-width: 600px;
    margin: 10px auto;
}


/* ===========================
        CARDS
=========================== */
.cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    width: 240px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.card i {
    font-size: 30px;
    color: #2563eb;
    margin-bottom: 12px;
}


/* ===========================
        STEPS
=========================== */
.steps {
    display: flex;
    justify-content: center;
    gap: 70px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.step span {
    font-size: 42px;
    font-weight: 700;
    color: #2563eb;
}


/* ===========================
        FOOTER
=========================== */
footer {
    background: #1e3a8a;
    color: white;
    padding: 20px;
    text-align: center;
}


/* ===========================
        RESPONSIVE
=========================== */

/* Tablet */
@media (max-width: 1000px) {
    .nav-container {
        padding-inline: 20px;
    }
}

/* Móvil */
@media (max-width: 900px) {

    .nav-center,
    .nav-right {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 140px 20px 60px;
    }

    .hero-left h1 {
        font-size: 30px;
        line-height: 1.25;
    }

    .hero-left p {
        max-width: 100%;
        margin: 15px auto 25px;
        font-size: 16px;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .btn-primary-lg,
    .btn-outline-lg {
        width: 100%;
        max-width: 260px;
        padding: 14px 0;
        text-align: center;
    }

    .hero-right {
        margin-top: 40px;
    }

    .slider {
        width: 280px;
    }

    .cards {
        flex-direction: column;
        gap: 20px;
    }

    .steps {
        flex-direction: column;
        gap: 35px;
    }
}
