/* =========================================================
   SANG — SAN ANDREAS NATIONAL GUARD
   FORT ZANCUDO
   Main stylesheet
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: #07111d;
    color: #f3f6f8;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --bg: #07111d;
    --bg2: #0b1726;

    --panel: #101e2d;
    --panel2: #142537;

    --line: rgba(255, 255, 255, 0.10);

    --text: #f3f6f8;
    --muted: #9eacb9;

    --accent: #c9a44a;
    --accent2: #e0c36a;

    --success: #6fb889;
    --danger: #bd6b6b;

    --max: 1180px;
}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(7, 17, 29, 0.96);
    border-bottom: 1px solid var(--line);

    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   BRAND
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;

    flex-shrink: 0;
}

.brand-mark {
    width: 54px;
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;

    background:
        linear-gradient(
            145deg,
            #172b40,
            #091522
        );

    border: 1px solid rgba(201, 164, 74, 0.65);

    clip-path: polygon(
        50% 0%,
        91% 16%,
        91% 67%,
        50% 100%,
        9% 67%,
        9% 16%
    );

    box-shadow:
        0 0 0 3px rgba(201, 164, 74, 0.04),
        0 8px 25px rgba(0, 0, 0, 0.3);
}

.brand-mark span {
    color: var(--accent2);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.8px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 14px;
    letter-spacing: 1.5px;
}

.brand-text span {
    color: var(--muted);

    font-size: 10px;
    letter-spacing: 2.5px;

    margin-top: 5px;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 4px;

    flex-wrap: wrap;
}

.menu a {
    position: relative;

    padding: 10px 9px;

    color: #b7c1ca;

    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.4px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.menu a::after {
    content: "";

    position: absolute;

    left: 9px;
    right: 9px;
    bottom: 3px;

    height: 2px;

    background: var(--accent);

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.2s ease;
}

.menu a:hover {
    color: #ffffff;
}

.menu a:hover::after,
.menu a.active::after {
    transform: scaleX(1);
}

.menu a.active {
    color: var(--accent2);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--line);
    background: var(--panel);

    color: white;

    cursor: pointer;

    font-size: 22px;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(201, 164, 74, 0.11),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #081521 0%,
            #07111d 55%,
            #0c1b2b 100%
        );
}

.hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7,17,29,0.98) 0%,
            rgba(7,17,29,0.82) 45%,
            rgba(7,17,29,0.35) 100%
        );

    pointer-events: none;
}

.hero::after {
    content: "SANG";

    position: absolute;

    right: -80px;
    bottom: -110px;

    color: rgba(255,255,255,0.025);

    font-size: 300px;
    font-weight: 900;

    letter-spacing: -20px;

    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    display: inline-block;

    color: var(--accent2);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.eyebrow {
    padding-left: 15px;

    position: relative;
}

.eyebrow::before {
    content: "";

    position: absolute;

    width: 5px;
    height: 5px;

    background: var(--accent);

    left: 0;
    top: 50%;

    transform: translateY(-50%);
}

.hero h1 {
    margin-top: 18px;

    font-size: clamp(48px, 8vw, 94px);

    line-height: 0.94;

    font-weight: 900;

    letter-spacing: -3px;

    text-transform: uppercase;
}

.hero h1 span,
.page-hero h1 span {
    color: var(--accent2);
}

.hero p {
    max-width: 680px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 18px;
    line-height: 1.7;
}


/* =========================================================
   HERO BUTTONS
   ========================================================= */

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 32px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 0;
    min-height: 42px;

    padding: 10px 18px;

    border: 1px solid transparent;
    border-radius: 5px;

    font-size: 11px;
    font-weight: 800;

    line-height: 1.2;
    letter-spacing: 0.9px;

    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}


/* Основна кнопка */

.btn-primary {
    background: var(--accent);
    color: #101010;

    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent2);
    border-color: var(--accent2);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.22);
}


/* Другорядна кнопка */

.btn-secondary {
    background: transparent;
    color: #f1f4f6;

    border-color: rgba(255, 255, 255, 0.20);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.04);

    border-color: var(--accent);
    color: var(--accent2);
}


/* Контурна кнопка */

.btn-outline {
    background: transparent;

    color: var(--accent2);

    border-color: rgba(201, 164, 74, 0.55);
}

.btn-outline:hover {
    background: var(--accent);

    color: #101010;

    border-color: var(--accent);
}


/* Маленька кнопка */

.btn-small {
    min-height: 34px;

    padding: 7px 12px;

    font-size: 10px;
}


/* Велика кнопка */

.btn-large {
    min-height: 46px;

    padding: 11px 20px;

    font-size: 12px;
}


/* =========================================================
   STATS
   ========================================================= */

.stats {
    position: relative;
    z-index: 3;

    margin-top: -1px;

    background: #091624;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-left: 1px solid var(--line);
}

.stat-card {
    min-height: 130px;

    padding: 28px 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right: 1px solid var(--line);
}

.stat-card strong {
    color: var(--accent2);

    font-size: 27px;
    font-weight: 900;

    line-height: 1;
}

.stat-card span {
    color: var(--muted);

    margin-top: 9px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg2);

    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 35px;

    margin-bottom: 45px;
}

.section-heading > div {
    max-width: 650px;
}

.section-heading h2 {
    margin-top: 8px;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.05;

    letter-spacing: -1.5px;
}

.section-heading > p {
    max-width: 430px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   CARDS
   ========================================================= */

.cards-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}

.card {
    position: relative;

    padding: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(20,37,55,0.96),
            rgba(12,27,42,0.96)
        );

    border: 1px solid var(--line);

    min-height: 220px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(201,164,74,0.38);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.22);
}

.card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 0;

    background: var(--accent);

    transition: height 0.25s ease;
}

.card:hover::before {
    height: 100%;
}

.card-number {
    color: var(--accent);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 1.5px;

    margin-bottom: 22px;
}

.card h3 {
    font-size: 20px;

    margin-bottom: 12px;
}

.card p {
    color: var(--muted);

    font-size: 14px;

    line-height: 1.7;
}

.card ul {
    margin-top: 18px;
    padding-left: 18px;

    color: var(--muted);

    font-size: 13px;
}

.card li {
    margin-bottom: 7px;
}

.text-link {
    display: inline-block;

    margin-top: 20px;

    color: var(--accent2);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.text-link:hover {
    color: #ffffff;
}


/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
    position: relative;

    padding: 100px 0 90px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 30%,
            rgba(201,164,74,0.09),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            #091624,
            #07111d
        );

    border-bottom: 1px solid var(--line);
}

.page-hero::after {
    content: "SANG";

    position: absolute;

    right: -25px;
    bottom: -75px;

    color: rgba(255,255,255,0.025);

    font-size: 220px;
    font-weight: 900;

    letter-spacing: -15px;

    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    margin-top: 18px;

    font-size: clamp(45px, 7vw, 82px);

    line-height: 0.95;

    letter-spacing: -3px;
}

.page-hero p {
    max-width: 700px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 17px;
}


/* =========================================================
   FEATURE BANNER
   ========================================================= */

.feature-banner {
    display: grid;

    grid-template-columns: 90px 1fr;

    gap: 30px;

    padding: 38px;

    background:
        linear-gradient(
            135deg,
            #142537,
            #0c1b2b
        );

    border: 1px solid var(--line);

    position: relative;
    overflow: hidden;
}

.feature-banner::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -130px;
    top: -130px;

    border: 1px solid rgba(201,164,74,0.12);

    transform: rotate(45deg);
}

.feature-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201,164,74,0.5);

    color: var(--accent2);

    font-size: 24px;
    font-weight: 900;
}

.feature-banner h2 {
    margin-top: 6px;

    font-size: 30px;
}

.feature-banner p {
    max-width: 780px;

    margin-top: 10px;

    color: var(--muted);

    font-size: 14px;
}


/* =========================================================
   UNITS
   ========================================================= */

.unit-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}

.unit-card {
    padding: 28px;

    min-height: 250px;

    background: var(--panel);

    border: 1px solid var(--line);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.unit-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(201,164,74,0.4);
}

.unit-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border: 1px solid rgba(201,164,74,0.35);

    color: var(--accent2);

    font-weight: 900;
    font-size: 12px;
}

.unit-code {
    color: var(--accent);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;
}

.unit-card h3 {
    margin-top: 5px;

    font-size: 21px;
}

.unit-card p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   STEPS / TIMELINE
   ========================================================= */

.steps {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 12px;
}

.step {
    position: relative;

    padding: 28px 22px;

    min-height: 190px;

    background: var(--panel);

    border: 1px solid var(--line);
}

.step-number {
    color: var(--accent);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: 2px;
}

.step h3 {
    margin-top: 30px;

    font-size: 18px;
}

.step p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   TIMELINE
   ========================================================= */

.timeline {
    position: relative;

    display: grid;

    gap: 15px;
}

.timeline::before {
    content: "";

    position: absolute;

    left: 18px;
    top: 0;
    bottom: 0;

    width: 1px;

    background: rgba(201,164,74,0.25);
}

.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 20px;
}

.timeline-dot {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 2;

    background: var(--bg);

    border: 1px solid var(--accent);

    color: var(--accent2);

    font-size: 11px;
    font-weight: 900;
}

.timeline-content {
    padding: 25px;

    background: var(--panel);

    border: 1px solid var(--line);
}

.timeline-content h3 {
    font-size: 19px;
}

.timeline-content p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   RANKS
   ========================================================= */

.rank-list {
    display: grid;

    gap: 10px;
}

.rank-item {
    display: grid;

    grid-template-columns:
        70px 70px 1fr 110px;

    align-items: center;

    gap: 20px;

    padding: 17px 22px;

    background: var(--panel);

    border: 1px solid var(--line);
}

.rank-number {
    color: var(--accent);

    font-size: 11px;
    font-weight: 900;
}

.rank-code {
    color: var(--muted);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1px;
}

.rank-name {
    font-size: 14px;
    font-weight: 800;
}

.rank-group {
    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-align: right;
}


/* =========================================================
   TABLE
   ========================================================= */

.table-wrap {
    width: 100%;

    overflow-x: auto;

    border: 1px solid var(--line);
}

table {
    width: 100%;

    border-collapse: collapse;

    min-width: 700px;
}

th,
td {
    padding: 16px 18px;

    border-bottom: 1px solid var(--line);

    text-align: left;
}

th {
    color: var(--accent2);

    background: #0d1b2a;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}

td {
    color: #dce2e7;

    font-size: 13px;
}

tr:last-child td {
    border-bottom: none;
}


/* =========================================================
   TAGS
   ========================================================= */

.tag {
    display: inline-flex;

    align-items: center;

    padding: 5px 9px;

    border: 1px solid rgba(201,164,74,0.3);

    color: var(--accent2);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   SCHEDULE
   ========================================================= */

.schedule-list {
    display: grid;

    gap: 12px;
}

.schedule-item {
    display: grid;

    grid-template-columns:
        130px 60px 1fr;

    align-items: center;

    gap: 22px;

    padding: 22px;

    background: var(--panel);

    border: 1px solid var(--line);

    transition:
        border-color 0.2s ease,
        transform 0.2s ease;
}

.schedule-item:hover {
    transform: translateX(4px);

    border-color:
        rgba(201,164,74,0.35);
}

.schedule-time {
    display: flex;
    flex-direction: column;
}

.schedule-time strong {
    color: var(--accent2);

    font-size: 25px;
    line-height: 1;
}

.schedule-time span {
    margin-top: 7px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;
}

.schedule-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201,164,74,0.35);

    color: var(--accent2);

    font-size: 11px;
    font-weight: 900;
}

.schedule-content h3 {
    font-size: 18px;
}

.schedule-content p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   NEWS
   ========================================================= */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}

.news-card {
    padding: 27px;

    min-height: 245px;

    background: var(--panel);

    border: 1px solid var(--line);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.news-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(201,164,74,0.4);
}

.news-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.news-card time {
    color: var(--muted);

    font-size: 10px;
    font-weight: 800;
}

.news-category {
    color: var(--accent2);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.3px;

    text-transform: uppercase;
}

.news-card h3 {
    margin-top: 22px;

    font-size: 20px;

    line-height: 1.25;
}

.news-card p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   FEATURED NEWS
   ========================================================= */

.featured-news {
    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 35px;

    padding: 40px;

    background:
        linear-gradient(
            135deg,
            #13263a,
            #0b1827
        );

    border: 1px solid var(--line);
}

.featured-news-date {
    display: flex;
    flex-direction: column;

    justify-content: center;

    text-align: center;

    border-right: 1px solid var(--line);
}

.featured-news-date span {
    color: var(--accent2);

    font-size: 58px;
    font-weight: 900;

    line-height: 1;
}

.featured-news-date small {
    margin-top: 8px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;
}

.featured-news-content h2 {
    margin-top: 8px;

    max-width: 760px;

    font-size: 33px;
    line-height: 1.15;
}

.featured-news-content p {
    max-width: 800px;

    margin-top: 15px;

    color: var(--muted);

    font-size: 14px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;

    margin: 20px 0;

    color: var(--muted);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}


/* =========================================================
   ANNOUNCEMENTS
   ========================================================= */

.announcement-list {
    display: grid;

    gap: 12px;
}

.announcement {
    display: grid;

    grid-template-columns:
        55px 1fr auto;

    align-items: center;

    gap: 20px;

    padding: 22px;

    background: var(--panel);

    border: 1px solid var(--line);
}

.announcement-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(201,164,74,0.45);

    color: var(--accent2);

    font-weight: 900;
}

.announcement-label {
    color: var(--accent2);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.announcement h3 {
    margin-top: 3px;

    font-size: 17px;
}

.announcement p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   DOCUMENTS
   ========================================================= */

.document-list {
    display: grid;

    gap: 10px;
}

.document-item {
    display: grid;

    grid-template-columns:
        90px 1fr 100px auto;

    align-items: center;

    gap: 22px;

    padding: 20px 22px;

    background: var(--panel);

    border: 1px solid var(--line);
}

.document-code {
    color: var(--accent);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 1px;
}

.document-type {
    color: var(--accent2);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.2px;
}

.document-info h3 {
    margin-top: 4px;

    font-size: 16px;
}

.document-info p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 12px;
}

.document-status {
    color: var(--success);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;

    text-align: center;
}


/* =========================================================
   LOCATION
   ========================================================= */

.contact-location {
    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 40px;

    padding: 45px;

    background:
        linear-gradient(
            135deg,
            #142537,
            #0c1a29
        );

    border: 1px solid var(--line);
}

.location-mark {
    width: 125px;
    height: 145px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #0a1725;

    border: 1px solid rgba(201,164,74,0.5);

    clip-path: polygon(
        50% 0,
        92% 16%,
        92% 68%,
        50% 100%,
        8% 68%,
        8% 16%
    );

    color: var(--accent2);

    font-size: 26px;
    font-weight: 900;
}

.location-info h3 {
    margin-top: 5px;

    font-size: 38px;
}

.location-info > p {
    max-width: 760px;

    margin-top: 12px;

    color: var(--muted);

    font-size: 14px;
}

.location-data {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 28px;
}

.location-data div {
    padding: 15px;

    background: rgba(0,0,0,0.15);

    border: 1px solid var(--line);
}

.location-data span {
    display: block;

    color: var(--muted);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;
}

.location-data strong {
    display: block;

    margin-top: 5px;

    color: #ffffff;

    font-size: 11px;
}


/* =========================================================
   CONTACT DETAILS
   ========================================================= */

.contact-detail {
    display: flex;
    flex-direction: column;

    margin-top: 20px;

    padding-top: 15px;

    border-top: 1px solid var(--line);
}

.contact-detail span {
    color: var(--muted);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.contact-detail strong {
    margin-top: 4px;

    color: var(--accent2);

    font-size: 12px;

    letter-spacing: 1px;
}


/* =========================================================
   WARNING
   ========================================================= */

.warning-box {
    display: grid;

    grid-template-columns: 70px 1fr;

    gap: 25px;

    padding: 35px;

    background:
        linear-gradient(
            135deg,
            rgba(128,78,55,0.18),
            rgba(20,37,55,0.85)
        );

    border: 1px solid rgba(189,107,107,0.22);
}

.warning-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(189,107,107,0.45);

    color: #d88989;

    font-size: 22px;
    font-weight: 900;
}

.warning-box h2 {
    margin-top: 4px;

    font-size: 28px;
}

.warning-box p {
    max-width: 800px;

    margin-top: 8px;

    color: var(--muted);

    font-size: 13px;
}

.emergency-numbers {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;

    margin-top: 20px;
}

.emergency-numbers div {
    min-width: 160px;

    padding: 14px 17px;

    background: rgba(0,0,0,0.18);

    border: 1px solid var(--line);
}

.emergency-numbers strong {
    display: block;

    color: var(--accent2);

    font-size: 20px;
}

.emergency-numbers span {
    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   CTA
   ========================================================= */

.cta-section {
    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            #0b1928,
            #07111d
        );
}

.cta-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 50px;

    background:
        linear-gradient(
            135deg,
            #14283d,
            #0d1d2e
        );

    border: 1px solid rgba(201,164,74,0.25);
}

.cta-box h2 {
    margin-top: 8px;

    font-size: clamp(30px, 4vw, 48px);

    line-height: 1.05;
}

.cta-box p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 14px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    flex-shrink: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 30px 0;

    background: #050d16;

    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;

    grid-template-columns:
        1fr 1fr 1fr;

    align-items: center;

    gap: 25px;
}

.site-footer strong {
    display: block;

    font-size: 11px;

    letter-spacing: 1px;
}

.site-footer span {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 1.5px;
}

.footer-center {
    color: var(--accent);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.5px;

    text-align: center;
}

.footer-copy {
    color: var(--muted);

    font-size: 10px;

    text-align: right;
}


/* =========================================================
   ABOUT / PRINCIPLES
   ========================================================= */

.principles-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 12px;
}

.principle {
    padding: 25px;

    background: var(--panel);

    border: 1px solid var(--line);
}

.principle strong {
    display: block;

    color: var(--accent2);

    font-size: 18px;
}

.principle span {
    display: block;

    margin-top: 8px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   COMMAND
   ========================================================= */

.command-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}

.command-card {
    position: relative;

    min-height: 300px;

    padding: 30px;

    background: var(--panel);

    border: 1px solid var(--line);

    overflow: hidden;
}

.command-card::after {
    content: "SANG";

    position: absolute;

    right: -25px;
    bottom: -25px;

    color: rgba(255,255,255,0.025);

    font-size: 85px;
    font-weight: 900;
}

.command-photo {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    background: #0b1724;

    border: 1px solid rgba(201,164,74,0.4);

    color: var(--accent);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1px;
}

.command-rank {
    color: var(--accent2);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.command-card h3 {
    margin-top: 5px;

    font-size: 21px;
}

.command-card p {
    margin-top: 9px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   REQUIREMENTS
   ========================================================= */

.requirements {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;
}

.requirement {
    display: flex;

    gap: 17px;

    padding: 23px;

    background: var(--panel);

    border: 1px solid var(--line);
}

.requirement-number {
    color: var(--accent);

    font-size: 12px;
    font-weight: 900;
}

.requirement h3 {
    font-size: 16px;
}

.requirement p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   FAQ
   ========================================================= */

.faq-list {
    display: grid;

    gap: 10px;
}

.faq-item {
    padding: 23px;

    background: var(--panel);

    border: 1px solid var(--line);
}

.faq-item h3 {
    font-size: 16px;
}

.faq-item p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 13px;
}


/* =========================================================
   KMB DAY BLOCKS
   ========================================================= */

.day-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;

    padding-bottom: 18px;

    border-bottom: 1px solid var(--line);
}

.day-header h2 {
    font-size: 30px;
}

.day-label {
    color: var(--accent2);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.5px;
}


/* =========================================================
   RESPONSIVE — 1100px
   ========================================================= */

@media (max-width: 1100px) {

    .header-inner {
        gap: 15px;
    }

    .menu {
        gap: 0;
    }

    .menu a {
        padding-left: 6px;
        padding-right: 6px;

        font-size: 10px;
    }

    .menu a::after {
        left: 6px;
        right: 6px;
    }

    .cards-grid,
    .news-grid,
    .unit-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .command-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .steps {
        grid-template-columns:
            repeat(3, 1fr);
    }
}


/* =========================================================
   RESPONSIVE — 850px
   ========================================================= */

@media (max-width: 850px) {

    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;
    }

    .menu {
        position: absolute;

        left: 20px;
        right: 20px;
        top: 82px;

        display: none;

        flex-direction: column;
        align-items: stretch;

        padding: 10px;

        background: #0b1827;

        border: 1px solid var(--line);

        box-shadow:
            0 20px 40px rgba(0,0,0,0.35);
    }

    .menu.open {
        display: flex;
    }

    .menu a {
        padding: 13px 14px;

        font-size: 11px;
    }

    .menu a::after {
        display: none;
    }

    .hero {
        min-height: 570px;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        align-items: flex-start;

        flex-direction: column;
    }

    .location-data {
        grid-template-columns:
            1fr;
    }

    .cta-box {
        align-items: flex-start;

        flex-direction: column;
    }

    .footer-inner {
        grid-template-columns:
            1fr;

        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }

    .footer-center {
        order: 2;
    }
}


/* =========================================================
   RESPONSIVE — 650px
   ========================================================= */

@media (max-width: 650px) {

    .container {
        width: min(
            var(--max),
            calc(100% - 28px)
        );
    }

    .header-inner {
        min-height: 72px;
    }

    .brand-mark {
        width: 46px;
        height: 53px;
    }

    .brand-text strong {
        font-size: 11px;
    }

    .brand-text span {
        font-size: 8px;
    }

    .menu {
        top: 72px;

        left: 14px;
        right: 14px;
    }

    .hero {
        min-height: 540px;
    }

    .hero h1 {
        font-size: 49px;

        letter-spacing: -2px;
    }

    .hero p {
        font-size: 15px;
    }

    .page-hero {
        padding: 75px 0;
    }

    .page-hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .cards-grid,
    .news-grid,
    .unit-grid,
    .command-grid,
    .requirements,
    .principles-grid {
        grid-template-columns:
            1fr;
    }

    .steps {
        grid-template-columns:
            1fr;
    }

    .stats-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .stat-card {
        min-height: 105px;

        padding: 20px 15px;
    }

    .stat-card strong {
        font-size: 22px;
    }

    .section {
        padding: 60px 0;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .feature-banner {
        grid-template-columns:
            1fr;

        padding: 28px;
    }

    .featured-news {
        grid-template-columns:
            1fr;

        padding: 28px;
    }

    .featured-news-date {
        border-right: none;

        border-bottom: 1px solid var(--line);

        padding-bottom: 20px;

        flex-direction: row;

        align-items: center;

        justify-content: flex-start;

        gap: 12px;

        text-align: left;
    }

    .featured-news-date span {
        font-size: 45px;
    }

    .featured-news-content h2 {
        font-size: 27px;
    }

    .schedule-item {
        grid-template-columns:
            75px 45px 1fr;

        gap: 12px;

        padding: 17px;
    }

    .schedule-time strong {
        font-size: 20px;
    }

    .schedule-icon {
        width: 40px;
        height: 40px;
    }

    .document-item {
        grid-template-columns:
            1fr;

        gap: 12px;
    }

    .document-status {
        text-align: left;
    }

    .document-item .btn {
    width: auto;
}

    .rank-item {
        grid-template-columns:
            45px 55px 1fr;

        gap: 10px;
    }

    .rank-group {
        grid-column: 3;

        text-align: left;
    }

    .contact-location {
        grid-template-columns:
            1fr;

        padding: 30px;
    }

    .location-mark {
        width: 100px;
        height: 115px;
    }

    .location-info h3 {
        font-size: 31px;
    }

    .announcement {
        grid-template-columns:
            45px 1fr;
    }

    .announcement .text-link {
        grid-column: 2;
        margin-top: 5px;
    }

    .warning-box {
        grid-template-columns:
            1fr;

        padding: 28px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-box {
        padding: 32px 25px;
    }

    .cta-box h2 {
        font-size: 34px;
    }

    .cta-actions {
    width: auto;

    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.cta-actions .btn {
    width: auto;
}
}


/* =========================================================
   SMALL DEVICES
   ========================================================= */

@media (max-width: 430px) {

    .stats-grid {
        grid-template-columns:
            1fr;
    }

    .hero h1 {
        font-size: 42px;
    }

    .page-hero h1 {
        font-size: 41px;
    }

    .hero-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.hero-actions .btn {
    width: auto;
}

    .card,
    .news-card,
    .unit-card {
        padding: 24px;
    }
}


/* =========================================================
   SELECTION
   ========================================================= */

::selection {
    background: var(--accent);
    color: #111;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #050d16;
}

::-webkit-scrollbar-thumb {
    background: #24384c;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}
