/* =========================================================
   THE SAVIORS HQ
   Global stylesheet
   Version 0.2
   ========================================================= */


/* ---------- RESET ---------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;

    background: #0a0a0a;
    color: #e8e8e8;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* ---------- HEADER ---------- */

.site-header {
    background: #111111;
    border-bottom: 1px solid #2d2d2d;
}

.header-inner {
    max-width: 1250px;
    min-height: 86px;

    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* ---------- BRAND ---------- */

.brand {
    display: flex;
    align-items: center;

    gap: 13px;

    white-space: nowrap;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #8d1111;
    border: 1px solid #bd2929;

    color: #ffffff;

    font-size: 23px;
    font-weight: 900;
}

.brand-text {
    color: #ffffff;

    font-size: 23px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.brand-sub {
    margin-top: 2px;

    color: #8d8d8d;

    font-size: 11px;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ---------- MAIN NAVIGATION ---------- */

.main-nav {
    min-height: 86px;

    display: flex;
    align-items: stretch;
}

.main-nav a {
    padding: 0 18px;

    display: flex;
    align-items: center;

    border-bottom: 3px solid transparent;

    color: #c7c7c7;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.7px;
    text-transform: uppercase;

    transition:
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.main-nav a:hover {
    color: #ffffff;
    background: #181818;

    border-bottom-color: #a51c1c;
}

.main-nav a.active {
    color: #ffffff;

    border-bottom-color: #d13737;
}


/* ---------- SECTION NAVIGATION ---------- */

.section-nav-wrap {
    background: #151515;

    border-bottom: 1px solid #292929;
}

.section-nav {
    max-width: 1250px;

    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: stretch;

    overflow-x: auto;
}

.section-nav a {
    min-height: 55px;

    padding: 0 17px;

    display: flex;
    align-items: center;

    white-space: nowrap;

    color: #999999;

    border-bottom: 2px solid transparent;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.45px;
    text-transform: uppercase;

    transition:
        color 0.15s ease,
        background 0.15s ease,
        border-color 0.15s ease;
}

.section-nav a:hover {
    color: #ffffff;
    background: #1b1b1b;
}

.section-nav a.active {
    color: #ffffff;

    border-bottom-color: #d13737;
}


/* ---------- PAGE ---------- */

.page {
    max-width: 1250px;

    margin: 0 auto;

    padding: 48px 24px 70px;
}


/* ---------- HERO ---------- */

.hero {
    padding: 48px 44px;

    background:
        linear-gradient(
            110deg,
            rgba(77, 0, 0, 0.82),
            rgba(18, 18, 18, 0.96) 55%
        );

    border: 1px solid #391515;
    border-radius: 14px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.hero-small {
    padding: 36px 38px;
}

.eyebrow {
    margin-bottom: 13px;

    color: #db4a4a;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 15px;

    color: #ffffff;

    font-size: 42px;
    line-height: 1.05;
}

.hero-small h1 {
    font-size: 35px;
}

.hero p {
    max-width: 760px;

    color: #bdbdbd;

    font-size: 16px;
    line-height: 1.7;
}


/* ---------- SECTION HEADINGS ---------- */

.section-title {
    margin-top: 44px;
    margin-bottom: 8px;

    color: #ffffff;

    font-size: 20px;
}

.section-description {
    margin-bottom: 24px;

    color: #8d8d8d;

    font-size: 13px;
    line-height: 1.6;
}


/* ---------- CARDS ---------- */

.grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.card {
    min-height: 190px;

    padding: 25px;

    position: relative;
    overflow: hidden;

    background: #121212;

    border: 1px solid #292929;
    border-radius: 11px;

    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        background 0.16s ease;
}

.card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 4px;
    height: 100%;

    background: #801515;
}

.card:hover {
    transform: translateY(-3px);

    background: #161616;

    border-color: #552121;
}

.card-label {
    margin-bottom: 11px;

    color: #b52b2b;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.card h2 {
    margin-bottom: 10px;

    color: #ffffff;

    font-size: 21px;
}

.card p {
    color: #929292;

    font-size: 13px;
    line-height: 1.6;
}

.card-link {
    position: absolute;

    left: 25px;
    bottom: 21px;

    color: #dddddd;

    font-size: 12px;
    font-weight: 700;
}

.card-link span {
    margin-left: 5px;

    color: #d63838;
}


/* ---------- CONTENT PANELS ---------- */

.panel {
    margin-top: 22px;
    padding: 24px;

    background: #121212;

    border: 1px solid #292929;
    border-radius: 11px;
}

.panel h2,
.panel h3 {
    margin-bottom: 12px;

    color: #ffffff;
}

.panel p {
    color: #aaaaaa;

    line-height: 1.7;
}

.panel + .panel {
    margin-top: 16px;
}


/* ---------- RULE / INFO BLOCKS ---------- */

.info-box {
    margin-top: 18px;
    padding: 18px 20px;

    background: #141414;

    border: 1px solid #303030;
    border-left: 4px solid #8d1111;

    border-radius: 8px;
}

.info-box strong {
    color: #ffffff;
}

.info-box p {
    color: #aaaaaa;

    line-height: 1.65;
}


/* ---------- WARNING ---------- */

.warning-box {
    margin-top: 18px;
    padding: 18px 20px;

    background: #220d0d;

    border: 1px solid #702222;
    border-left: 5px solid #d13737;

    border-radius: 8px;
}

.warning-box h3 {
    margin-bottom: 8px;

    color: #ff6868;
}

.warning-box p {
    color: #dddddd;

    line-height: 1.65;
}


/* ---------- STATUS BAR ---------- */

.status-bar {
    margin-top: 40px;

    padding: 17px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    background: #101010;

    border: 1px solid #242424;
    border-radius: 9px;

    color: #7f7f7f;

    font-size: 12px;
}

.status-live {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #b5b5b5;
}

.status-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #45ad64;

    box-shadow: 0 0 8px rgba(69, 173, 100, 0.55);
}


/* ---------- BUTTONS ---------- */

.button {
    min-height: 42px;

    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #a22525;
    border-radius: 7px;

    background: #811515;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

.button:hover {
    background: #a31c1c;

    border-color: #c33131;
}

.button-secondary {
    background: #1a1a1a;

    border-color: #353535;

    color: #dddddd;
}

.button-secondary:hover {
    background: #232323;

    border-color: #505050;
}


/* ---------- TABLES ---------- */

.table-wrap {
    width: 100%;

    overflow-x: auto;

    border: 1px solid #292929;
    border-radius: 9px;
}

table {
    width: 100%;

    border-collapse: collapse;

    background: #111111;
}

th,
td {
    padding: 13px 15px;

    text-align: left;

    border-bottom: 1px solid #252525;
}

th {
    background: #181818;

    color: #ffffff;

    font-size: 12px;

    letter-spacing: 0.5px;
    text-transform: uppercase;
}

td {
    color: #b6b6b6;

    font-size: 13px;
}

tr:last-child td {
    border-bottom: 0;
}


/* ---------- FOOTER ---------- */

.site-footer {
    padding: 24px;

    border-top: 1px solid #202020;

    color: #5f5f5f;

    text-align: center;

    font-size: 11px;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 950px) {

    .header-inner {
        padding-top: 20px;

        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        min-height: auto;

        overflow-x: auto;
    }

    .main-nav a {
        padding: 17px 14px;

        white-space: nowrap;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 650px) {

    .page {
        padding: 28px 15px 50px;
    }

    .hero,
    .hero-small {
        padding: 30px 24px;
    }

    .hero h1,
    .hero-small h1 {
        font-size: 31px;
    }

    .grid {
        grid-template-columns: 1fr;
    }

    .status-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-nav {
        padding: 0 10px;
    }

}