/* ==========================================================
   ERP LANDING PAGE
========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.erp-home {
    background: #f8fafc;
    color: #172033;
}


/* ==========================================================
   NAVBAR
========================================================== */

.erp-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 100;
}

.erp-navbar-container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.erp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.erp-brand-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #003f99;
    color: #ffffff;

    font-size: 20px;
}

.erp-brand-name {
    font-size: 18px;
    font-weight: 800;
}

.erp-brand-subtitle {
    font-size: 11px;
    color: #64748b;
}

.erp-navigation {
    display: flex;
    align-items: center;
    gap: 26px;
}

.erp-navigation a {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
}

.erp-navigation a:hover {
    color: #003f99;
}

.btn-login {
    padding: 11px 18px;

    border-radius: 8px;

    background: #003f99 !important;
    color: white !important;

    font-weight: 600;
}

.btn-login i {
    margin-right: 6px;
}


/* ==========================================================
   HERO
========================================================== */

.erp-hero {
    padding: 90px 0;
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
}

.erp-hero-container {
    width: 90%;
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.hero-badge {
    display: inline-block;

    padding: 8px 14px;

    border-radius: 30px;

    background: #e0edff;
    color: #003f99;

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 20px;
}

.hero-badge i {
    margin-right: 5px;
}

.hero-content h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.08;

    margin: 0 0 25px;

    font-weight: 800;
}

.hero-content h1 span {
    display: block;
    color: #003f99;
}

.hero-content p {
    max-width: 580px;

    font-size: 18px;
    line-height: 1.7;

    color: #64748b;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    padding: 14px 22px;

    border-radius: 9px;

    text-decoration: none;

    font-weight: 600;
}

.btn-primary {
    background: #003f99;
    color: white;
}

.btn-secondary {
    background: white;
    color: #003f99;

    border: 1px solid #d7e1ef;
}


/* ==========================================================
   DASHBOARD MOCKUP
========================================================== */

.hero-dashboard {
    display: flex;
    justify-content: center;
}

.dashboard-window {
    width: 100%;

    background: white;

    border-radius: 14px;

    box-shadow: 0 25px 60px rgba(15, 23, 42, .15);

    overflow: hidden;

    border: 1px solid #dfe7f2;
}

.dashboard-top {
    height: 46px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 0 16px;

    background: #f8fafc;

    border-bottom: 1px solid #e5e7eb;

    font-size: 12px;
    color: #64748b;
}

.dashboard-dots {
    display: flex;
    gap: 5px;
}

.dashboard-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #cbd5e1;
}

.dashboard-body {
    display: flex;

    min-height: 320px;
}

.dashboard-sidebar {
    width: 65px;

    background: #003f99;

    padding: 20px 14px;
}

.sidebar-logo {
    color: white;
    text-align: center;
    font-size: 20px;

    margin-bottom: 30px;
}

.sidebar-line {
    height: 8px;

    border-radius: 4px;

    background: rgba(255,255,255,.3);

    margin-bottom: 17px;
}

.sidebar-line.active {
    background: white;
}

.dashboard-content {
    flex: 1;

    padding: 25px;
}

.dashboard-content h3 {
    margin-top: 0;
}

.dashboard-cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.dashboard-card {
    padding: 15px;

    border: 1px solid #e5e7eb;

    border-radius: 9px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.dashboard-card i {
    color: #003f99;
}

.dashboard-card strong {
    font-size: 13px;
}

.dashboard-card span {
    font-size: 11px;
    color: #64748b;
}

.dashboard-chart {
    margin-top: 20px;

    padding: 18px;

    border: 1px solid #e5e7eb;

    border-radius: 9px;
}

.chart-title {
    font-size: 12px;
    font-weight: 600;

    margin-bottom: 15px;
}

.chart-bars {
    height: 100px;

    display: flex;
    align-items: flex-end;

    gap: 12px;
}

.chart-bars span {
    flex: 1;

    background: #00a3e0;

    border-radius: 4px 4px 0 0;
}


/* ==========================================================
   SECCIONES
========================================================== */

.modules-section,
.features-section {
    padding: 90px 0;
}

.section-container {
    width: 90%;
    max-width: 1250px;
    margin: auto;
}

.section-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 50px;
}

.section-heading span {
    color: #003f99;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 38px;

    margin: 12px 0 15px;
}

.section-heading p {
    color: #64748b;

    line-height: 1.7;
}


/* ==========================================================
   MÓDULOS
========================================================== */

.modules-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.module-card {
    background: white;

    padding: 28px;

    border-radius: 12px;

    border: 1px solid #e5e7eb;

    transition: .2s;
}

.module-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(15, 23, 42, .08);
}

.module-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #e8f3ff;
    color: #003f99;

    border-radius: 10px;

    font-size: 20px;

    margin-bottom: 20px;
}

.module-card h3 {
    margin-bottom: 10px;
}

.module-card p {
    color: #64748b;

    font-size: 14px;
    line-height: 1.6;

    min-height: 68px;
}

.module-card a {
    color: #003f99;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;
}

.module-card a i {
    margin-left: 5px;
}


/* ==========================================================
   FEATURES
========================================================== */

.features-section {
    background: white;
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.feature {
    display: flex;

    gap: 20px;

    padding: 25px;

    border: 1px solid #e5e7eb;

    border-radius: 12px;
}

.feature > i {
    font-size: 25px;

    color: #003f99;
}

.feature h3 {
    margin-top: 0;
}

.feature p {
    color: #64748b;

    line-height: 1.6;

    margin-bottom: 0;
}


/* ==========================================================
   CTA
========================================================== */

.cta-section {
    padding: 70px 0;

    background: #003f99;

    color: white;
}

.cta-container {
    width: 90%;
    max-width: 1100px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.cta-container span {
    font-size: 12px;

    letter-spacing: 2px;
}

.cta-container h2 {
    max-width: 600px;

    font-size: 32px;

    margin-bottom: 0;
}

.btn-cta {
    background: white;

    color: #003f99;

    padding: 14px 22px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 700;

    white-space: nowrap;
}


/* ==========================================================
   FOOTER
========================================================== */

.erp-footer {
    background: #0f172a;

    color: white;

    padding: 35px 0;
}

.erp-footer-container {
    width: 90%;
    max-width: 1250px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.erp-footer strong {
    font-size: 17px;
}

.erp-footer p {
    color: #94a3b8;

    margin-bottom: 0;
}

.footer-copy {
    color: #94a3b8;

    font-size: 13px;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1000px) {

    .erp-navigation a:not(.btn-login) {
        display: none;
    }

    .erp-hero-container {
        grid-template-columns: 1fr;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 650px) {

    .erp-navbar-container {
        width: 94%;
    }

    .erp-brand-subtitle {
        display: none;
    }

    .erp-hero {
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-container {
        flex-direction: column;

        align-items: flex-start;
    }

    .erp-footer-container {
        flex-direction: column;

        align-items: flex-start;
    }

}