:root {
    --red: #b00012;
    --red-dark: #650008;
    --red-deep: #210306;
    --black: #08090b;
    --ink: #151821;
    --muted: #667085;
    --gold: #d3a342;
    --gold-light: #f3d98c;
    --line: #e4e7ec;
    --soft: #f5f6f8;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(12, 13, 16, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
    position: fixed;
    z-index: 30;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 12px clamp(18px, 5vw, 72px);
    color: var(--white);
    background: rgba(5, 6, 8, .78);
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    backdrop-filter: blur(14px);
    transition: background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    background: rgba(5, 6, 8, .96);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .24);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    padding: 2px;
    background: #050505;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.brand strong,
.brand small { display: block; line-height: 1.05; }
.brand strong { font-size: 1.05rem; }
.brand small {
    margin-top: 4px;
    color: rgba(255, 255, 255, .68);
    font-size: .72rem;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .86rem;
    font-weight: 900;
    text-transform: uppercase;
}

.site-nav a,
.nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, .84);
    border-radius: 6px;
}

.nav-item { position: relative; }

.nav-item > a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.site-nav a:hover,
.nav-item:hover > a {
    color: var(--white);
    background: rgba(176, 0, 18, .55);
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: none;
    min-width: 220px;
    padding: 8px;
    background: rgba(8, 9, 11, .98);
    border: 1px solid rgba(243, 217, 140, .18);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.nav-item:hover .nav-dropdown { display: grid; }

.nav-dropdown a {
    display: block;
    padding: 10px 12px;
    color: rgba(255, 255, 255, .78);
    white-space: nowrap;
    text-transform: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: .86rem;
    font-weight: 800;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: var(--white);
}

.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    grid-template-columns: minmax(0, 720px);
    align-items: center;
    padding: 112px clamp(18px, 5vw, 72px) 58px;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(5, 6, 8, .99) 0%, rgba(24, 2, 5, .96) 47%, rgba(73, 0, 7, .84) 100%),
        radial-gradient(circle at 76% 30%, rgba(211, 163, 66, .24), transparent 32%),
        linear-gradient(135deg, #07080a, #350007);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .85), transparent 82%);
}

.hero-bg {
    position: absolute;
    inset: 78px clamp(18px, 5vw, 72px) 44px auto;
    width: min(42vw, 560px);
    display: grid;
    place-items: center;
    opacity: .42;
    filter: saturate(1.08) contrast(1.08);
}

.hero-bg::before {
    content: "";
    position: absolute;
    inset: 4%;
    background: radial-gradient(circle, rgba(211, 163, 66, .2), transparent 62%);
    filter: blur(24px);
}

.hero-bg img {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 28px 56px rgba(0, 0, 0, .44));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.hero-logo-card {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: min(100%, 430px);
    margin-bottom: 22px;
    padding: 8px 13px 8px 8px;
    background: rgba(6, 7, 10, .68);
    border: 1px solid rgba(243, 217, 140, .32);
    border-radius: 8px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .24);
    backdrop-filter: blur(16px);
}

.hero-logo-card img {
    width: clamp(64px, 8vw, 90px);
    height: clamp(64px, 8vw, 90px);
    object-fit: contain;
    background: #020203;
    border-radius: 6px;
}

.hero-logo-card strong,
.hero-logo-card span {
    display: block;
    line-height: 1.08;
}

.hero-logo-card strong {
    color: var(--gold-light);
    font-size: clamp(1.12rem, 2vw, 1.55rem);
    font-weight: 950;
}

.hero-logo-card span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .74);
    font-size: .82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--gold);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.45rem, 4.55vw, 4.65rem);
    line-height: 1.02;
    letter-spacing: 0;
    max-width: 760px;
}

.hero-lead {
    max-width: 650px;
    margin: 20px 0 10px;
    color: var(--gold-light);
    font-size: clamp(1.04rem, 1.45vw, 1.35rem);
    font-weight: 900;
    line-height: 1.25;
}

.hero-text {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, .77);
    font-size: 1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-actions .btn {
    text-transform: uppercase;
    letter-spacing: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 6px;
    font-weight: 950;
}

.btn.primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 16px 36px rgba(176, 0, 18, .28);
}

.btn.ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .06);
}

.btn.full { width: 100%; }

.ops-panel {
    position: relative;
    z-index: 2;
    padding: 24px;
    background: rgba(9, 10, 13, .72);
    border: 1px solid rgba(255, 255, 255, .14);
    border-left: 4px solid var(--red);
    border-radius: 8px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.ops-panel span {
    color: var(--gold-light);
    font-size: .76rem;
    font-weight: 950;
}

.ops-panel strong {
    display: block;
    margin-top: 10px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.ops-panel p {
    margin: 12px 0 18px;
    color: rgba(255, 255, 255, .72);
}

.ops-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.ops-grid b {
    display: grid;
    place-items: center;
    min-height: 44px;
    color: #ffd7d7;
    background: rgba(176, 0, 18, .2);
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 6px;
    font-size: .82rem;
}

.section {
    padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
    max-width: 880px;
    margin-bottom: 34px;
}

.section-heading h2,
.director-copy h2,
.commitment-title h2,
.contact h2,
.register h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.9rem, 3.6vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: 0;
}

.section-heading.light h2 { color: var(--white); }

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(340px, .7fr);
    gap: clamp(26px, 5vw, 70px);
    align-items: start;
}

.intro-copy {
    max-width: 760px;
    color: #414957;
    font-size: 1.04rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.stat-card {
    padding: 22px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.stat-card strong {
    display: block;
    color: var(--red);
    font-size: 2.2rem;
    line-height: 1;
}

.stat-card span {
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-weight: 800;
}

.service-band {
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(7, 8, 10, .98), rgba(36, 3, 7, .96)),
        url("../img/service-pattern.svg") center/cover;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-card {
    min-height: 260px;
    padding: 24px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
}

.service-card span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--white);
    background: var(--red);
    border-radius: 6px;
    font-weight: 950;
}

.service-card h3 {
    margin: 22px 0 10px;
    font-size: 1.25rem;
}

.service-card p {
    margin: 0;
    color: rgba(255, 255, 255, .72);
}

.director {
    display: grid;
    grid-template-columns: minmax(280px, .48fr) minmax(0, .9fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    background: #fbfbfc;
}

.director-photo {
    overflow: hidden;
    background: #101217;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.director-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.director-copy p {
    color: #424b5a;
    font-size: 1.03rem;
}

.signature {
    margin-top: 24px;
    padding-left: 18px;
    border-left: 4px solid var(--red);
}

.signature strong,
.signature span { display: block; }
.signature span { color: var(--muted); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(12, 13, 16, .08);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #111318;
}

.gallery-item div { padding: 18px; }
.gallery-item strong { font-size: 1.05rem; }
.gallery-item p { margin: 7px 0 0; color: var(--muted); }

.register {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(320px, .55fr);
    gap: clamp(24px, 5vw, 62px);
    align-items: center;
    color: var(--white);
    background:
        linear-gradient(135deg, rgba(9, 10, 13, .98), rgba(81, 0, 8, .94)),
        radial-gradient(circle at 80% 18%, rgba(211, 163, 66, .24), transparent 34%);
}

.register h2 { color: var(--white); }
.register p { color: rgba(255, 255, 255, .76); }

.register-form {
    display: grid;
    gap: 13px;
    padding: 22px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 8px;
}

.register-form label {
    display: grid;
    gap: 7px;
    color: rgba(255, 255, 255, .78);
    font-weight: 800;
}

.register-form input,
.register-form select {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    color: var(--white);
    background: rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 6px;
}

.contact {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, .5fr);
    gap: clamp(24px, 5vw, 64px);
    align-items: center;
}

.contact p { color: var(--muted); }

.contact-box {
    display: grid;
    gap: 12px;
    padding: 24px;
    color: var(--ink);
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.contact-box a:not(.btn),
.contact-box span {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
}

.articles {
    background:
        linear-gradient(180deg, #ffffff, #f7f8fa);
}

.section-heading > p:not(.eyebrow) {
    max-width: 720px;
    margin: 16px 0 0;
    color: var(--muted);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.article-card {
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--red);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(12, 13, 16, .08);
}

.article-card span {
    color: var(--gold);
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.article-card h3 {
    margin: 12px 0 10px;
    font-size: 1.22rem;
    line-height: 1.22;
}

.article-card p {
    margin: 0;
    color: var(--muted);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 26px clamp(18px, 5vw, 72px);
    color: rgba(255, 255, 255, .72);
    background: var(--black);
}

.site-footer a { color: var(--gold-light); font-weight: 900; }

@media (max-width: 1080px) {
    .site-nav {
        position: absolute;
        top: 78px;
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: rgba(5, 6, 8, .97);
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 8px;
    }

    .site-nav.is-open { display: flex; }
    .nav-item > a { width: 100%; }
    .nav-dropdown {
        position: static;
        display: grid;
        min-width: 0;
        margin: 0 0 6px 12px;
        padding: 4px 0 4px 10px;
        background: transparent;
        border: 0;
        border-left: 1px solid rgba(243, 217, 140, .22);
        box-shadow: none;
    }
    .nav-toggle { display: grid; }
}

@media (max-width: 920px) {
    .hero,
    .intro-grid,
    .director,
    .register,
    .contact {
        grid-template-columns: 1fr;
    }

    .services,
    .article-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ops-panel { width: min(100%, 520px); }
}

@media (max-width: 620px) {
    .brand small { display: none; }
    .brand img { width: 48px; height: 48px; }
    .hero {
        min-height: auto;
        padding-top: 112px;
    }
    .hero-bg {
        inset: 96px 10px auto auto;
        width: 74vw;
        opacity: .16;
    }
    .hero-logo-card {
        align-items: center;
        margin-bottom: 18px;
    }
    .hero-logo-card img {
        width: 72px;
        height: 72px;
    }
    .hero h1 { font-size: 2.45rem; }
    .hero-actions .btn { width: 100%; }
    .stat-grid,
    .services,
    .article-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .site-footer { display: grid; }
}
