/* =========================================================
   SAIR - INDEX
   Sistema de Administración de Indicadores de Resultados
========================================================= */

:root {
    --g: #6A1B29;
    --g2: #4b1220;
    --g3: #8a2638;
    --d: #BC955C;
    --d2: #d5b47c;

    --dark: #1f2937;
    --gray: #6b7280;
    --light: #f7f7f8;
    --white: #ffffff;

    --shadow-sm: 0 4px 15px rgba(0, 0, 0, .06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, .10);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, .16);

    --radius: 18px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.header-container {
    width: min(1200px, 92%);
    margin: auto;

    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}


.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 21px;
    font-weight: 800;
    color: var(--g);
    letter-spacing: .5px;
}

.brand-subtitle {
    font-size: 9px;
    color: var(--gray);
    max-width: 260px;
    line-height: 1.2;
}


/* NAV */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav > a:not(.login-button) {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;

    transition: .25s ease;
}

.main-nav > a:not(.login-button):hover {
    color: var(--g);
}


/* LOGIN */

.login-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 11px 19px;

    border-radius: 10px;

    background: var(--g);
    color: white;

    font-size: 13px;
    font-weight: 700;

    transition: .25s ease;

    box-shadow: 0 6px 18px rgba(106, 27, 41, .20);
}

.login-button:hover {
    background: var(--g2);
    transform: translateY(-2px);
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    min-height: 660px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(46, 10, 19, .92),
            rgba(106, 27, 41, .72),
            rgba(106, 27, 41, .35)
        ),
        url("https://images.unsplash.com/photo-1564399579883-451a5d44ec08?auto=format&fit=crop&w=2200&q=85")
        center / cover no-repeat;

    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(188, 149, 92, .18),
            transparent 35%
        );
}

.hero-container {
    position: relative;
    z-index: 2;

    width: min(1200px, 92%);
    margin: auto;
}

.hero-content {
    max-width: 720px;
    padding-top: 80px;
}


/* BADGE */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 13px;

    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50px;

    color: white;
    background: rgba(255,255,255,.08);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .8px;

    margin-bottom: 22px;
}


/* TITLE */

.hero-content h1 {
    color: white;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.02;

    font-weight: 800;

    letter-spacing: -2px;

    margin-bottom: 24px;
}

.hero-content h1 span {
    color: var(--d);
}

.hero-content h1 strong {
    display: block;
    color: white;
}


/* DESCRIPTION */

.hero-content p {
    max-width: 650px;

    color: rgba(255,255,255,.84);

    font-size: 18px;

    line-height: 1.7;

    margin-bottom: 35px;
}


/* BUTTONS */

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 14px 23px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 700;

    transition: .25s ease;
}

.btn-primary {
    background: var(--d);
    color: white;

    box-shadow: 0 8px 25px rgba(188,149,92,.25);
}

.btn-primary:hover {
    background: var(--d2);
    transform: translateY(-2px);
}

.btn-secondary {
    color: white;

    border: 1px solid rgba(255,255,255,.35);

    background: rgba(255,255,255,.07);
}

.btn-secondary:hover {
    background: rgba(255,255,255,.15);
    transform: translateY(-2px);
}


/* SCROLL */

.hero-scroll {
    position: absolute;

    bottom: 28px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    color: rgba(255,255,255,.7);

    font-size: 11px;
    gap: 5px;
}

.hero-scroll i {
    animation: bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}


/* =========================================================
   SECTIONS
========================================================= */

.section-container {
    width: min(1200px, 92%);
    margin: auto;
}

.intro-section {
    padding: 100px 0;
    background: white;
}

.modules-section {
    padding: 100px 0;
    background: var(--light);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 55px;
}

.section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;

    color: var(--d);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.15;

    color: var(--dark);

    margin-bottom: 17px;

    font-weight: 800;
}

.section-heading h2 span {
    color: var(--g);
}

.section-heading p {
    color: var(--gray);
    font-size: 16px;
}


/* =========================================================
   FEATURES
========================================================= */

.features-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.feature-card {
    padding: 28px;

    border: 1px solid #ececef;

    border-radius: var(--radius);

    background: white;

    transition: .3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);

    border-color: rgba(106,27,41,.12);
}

.feature-icon {
    width: 50px;
    height: 50px;

    border-radius: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--g);
    background: rgba(106,27,41,.08);

    margin-bottom: 20px;
}

.feature-icon i {
    font-size: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 9px;
}

.feature-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   MODULES
========================================================= */

.modules-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.module-card {
    position: relative;

    background: white;

    border-radius: var(--radius);

    padding: 30px;

    min-height: 330px;

    border: 1px solid #ececef;

    box-shadow: var(--shadow-sm);

    overflow: hidden;

    transition: .3s ease;
}

.module-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);

    border-color: rgba(106,27,41,.16);
}

.module-number {
    position: absolute;

    right: 20px;
    top: 18px;

    font-size: 12px;
    font-weight: 800;

    color: rgba(106,27,41,.25);
}

.module-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background:
        linear-gradient(
            135deg,
            var(--g),
            var(--g2)
        );

    color: white;

    margin-bottom: 25px;

    box-shadow:
        0 10px 20px
        rgba(106,27,41,.20);
}

.module-icon i {
    font-size: 22px;
}

.module-card h3 {
    font-size: 20px;

    margin-bottom: 12px;

    color: var(--dark);
}

.module-card p {
    color: var(--gray);

    font-size: 14px;

    line-height: 1.7;

    min-height: 95px;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 20px;

    color: var(--g);

    font-size: 13px;
    font-weight: 800;

    transition: .25s ease;
}

.module-link:hover {
    gap: 13px;
    color: var(--g2);
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 75px 0;

    background:
        linear-gradient(
            135deg,
            var(--g2),
            var(--g)
        );
}

.cta-container {
    width: min(1100px, 92%);
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.cta-container .section-label {
    color: var(--d2);
}

.cta-container h2 {
    color: white;

    font-size: clamp(28px, 4vw, 42px);

    line-height: 1.15;

    margin-bottom: 10px;
}

.cta-container p {
    color: rgba(255,255,255,.72);
}

.cta-button {
    flex-shrink: 0;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 15px 24px;

    background: var(--d);
    color: white;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 800;

    transition: .25s ease;
}

.cta-button:hover {
    background: var(--d2);
    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #250b12;
    color: white;

    padding: 40px 0;
}

.footer-container {
    width: min(1200px, 92%);
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand strong {
    display: block;
    font-size: 17px;
}

.footer-brand span {
    display: block;

    max-width: 280px;

    color: rgba(255,255,255,.5);

    font-size: 10px;

    line-height: 1.4;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: rgba(255,255,255,.65);

    font-size: 12px;

    margin-bottom: 5px;
}

.footer-info span {
    color: rgba(255,255,255,.35);

    font-size: 10px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .features-grid,
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        gap: 18px;
    }

}

@media (max-width: 760px) {

    .header-container {
        height: 70px;
    }

    .brand-subtitle {
        display: none;
    }

    .main-nav > a:not(.login-button) {
        display: none;
    }

    .hero-section {
        min-height: 700px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .cta-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-info {
        text-align: left;
    }

}

@media (max-width: 560px) {

    .features-grid,
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 42px;
    }

}