:root {
    --color-ink: #f4f6f8;
    --color-ink-soft: #c8d0d8;
    --color-steel: #162935;
    --color-steel-bright: #27404f;
    --color-accent: #d66f2b;
    --color-accent-dark: #b74b12;
    --color-gold: #ddb15d;
    --color-surface: #091720;
    --color-surface-strong: #142531;
    --color-panel: rgba(58, 75, 89, 0.78);
    --color-border: rgba(168, 185, 198, 0.2);
    --color-white: #ffffff;
    --color-shadow: rgba(0, 0, 0, 0.34);
    --site-width: 1180px;
    --header-height: 86px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 0.875rem;
    color: var(--color-ink);
    background:
        radial-gradient(circle at 50% 12%, rgba(214, 111, 43, 0.12), transparent 18%),
        radial-gradient(circle at 20% 28%, rgba(39, 64, 79, 0.22), transparent 26%),
        linear-gradient(180deg, #1a313f 0%, #112634 38%, #0b1a24 100%);
}

a {
    color: inherit;
}

a:hover {
    color: var(--color-gold);
}

img {
    display: block;
    max-width: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(16, 31, 41, 0.82);
    border-bottom: 1px solid rgba(168, 185, 198, 0.12);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.site-header__inner,
.site-footer__inner,
.site-main {
    width: min(calc(100% - 2rem), var(--site-width));
    margin: 0 auto;
}

.site-header__inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand__logo {
    width: 68px;
    height: 68px;
    object-fit: contain;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.28));
}

.brand__text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.brand__text {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand__subtext {
    color: var(--color-ink-soft);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.65rem;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.08);
}

.nav-toggle__bar {
    width: 1.4rem;
    height: 2px;
    background: var(--color-ink);
}

.site-nav {
    position: absolute;
    top: calc(100% - 0.25rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 1.1rem;
    background: rgba(33, 50, 63, 0.97);
    box-shadow: 0 24px 48px var(--color-shadow);
}

.site-nav.is-open {
    display: flex;
}

.site-nav__link {
    padding: 0.8rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav__link.is-active,
.site-nav__link:hover,
.site-nav__link:focus-visible {
    background: var(--color-steel);
    color: var(--color-white);
    transform: translateY(-1px);
}

.admin-menu {
    position: relative;
}

.admin-menu__toggle {
    min-height: 3rem;
    padding: 0.8rem 1rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-ink);
    font: inherit;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
}

.admin-menu__panel {
    display: none;
    gap: 0.45rem;
    padding-top: 0.55rem;
}

.admin-menu.is-open .admin-menu__panel {
    display: grid;
}

.admin-menu__link {
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
}

.site-main {
    flex: 1;
    width: min(calc(100% - 2rem), var(--site-width));
    padding: 2rem 0 3rem;
}

.site-main > section + section {
    margin-top: 1.75rem;
}

.alert {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(168, 185, 198, 0.16);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.alert--success {
    background: rgba(33, 79, 58, 0.92);
    color: #dff6e7;
}

.alert--error {
    background: rgba(109, 41, 34, 0.94);
    color: #ffe7e0;
}

.hero,
.content-grid,
.contact-grid,
.split-panel {
    display: grid;
    gap: 1.5rem;
}

.hero {
    align-items: stretch;
    margin-top: 1.25rem;
}

.hero__content,
.hero__card,
.card,
.page-intro,
.stats-band,
.section-heading,
.cta-panel {
    border: 1px solid rgba(168, 185, 198, 0.14);
    border-radius: 1.6rem;
    background: var(--color-panel);
    box-shadow: 0 18px 42px var(--color-shadow);
    backdrop-filter: blur(10px);
}

.hero__content,
.hero__card,
.card,
.page-intro,
.stats-band,
.section-heading,
.cta-panel {
    padding: 1.5rem;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--color-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(1.8rem, 4.4vw, 3.7rem);
    line-height: 0.96;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.18rem;
    margin-bottom: 0.75rem;
}

p {
    line-height: 1.7;
    color: var(--color-ink-soft);
}

h1,
h2,
strong,
label,
.brand__text,
.site-nav__link,
.admin-menu__toggle,
.button,
.site-footer strong {
    color: var(--color-ink);
}

.hero__lead {
    max-width: 48rem;
    font-size: 0.97rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.5rem;
}

.hero__highlights,
.stack-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.hero__highlights li,
.stack-list p {
    margin: 0;
    padding: 0.9rem 1rem;
    border-left: 3px solid var(--color-accent);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button--primary {
    background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
    color: var(--color-white);
    box-shadow: 0 14px 28px rgba(214, 111, 43, 0.26);
}

.button--secondary {
    border: 1px solid rgba(168, 185, 198, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-ink);
}

.content-grid,
.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-card,
.admin-auth__card {
    margin-top: 1.5rem;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

.contact-form > .button {
    width: fit-content;
    min-width: 0;
    align-self: center;
    justify-self: center;
    padding-inline: 1.1em;
}

.splash-screen__notice {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(221, 177, 93, 0.2);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
}

.splash-screen__notice strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--color-white);
    font-size: 1rem;
}

.splash-screen__notice p {
    margin-bottom: 0;
    color: rgba(244, 246, 248, 0.84);
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-field {
    display: grid;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
}

.form-field span {
    color: var(--color-ink);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.07);
    color: var(--color-ink);
    font: inherit;
}

.form-field input::placeholder,
.form-field select::placeholder,
.form-field textarea::placeholder {
    color: rgba(200, 208, 216, 0.75);
}

.form-field textarea {
    resize: vertical;
}

.admin-auth {
    display: grid;
    place-items: center;
    min-height: 60vh;
}

.admin-auth__card {
    width: min(100%, 40rem);
}

.admin-messages {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.admin-message__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.admin-message__body {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.page-intro,
.section-heading,
.cta-panel {
    margin-top: 0;
}

.stats-band {
    display: grid;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(24, 38, 48, 0.96), rgba(42, 58, 70, 0.92));
    color: var(--color-white);
}

.stats-band__item {
    display: grid;
    gap: 0.45rem;
}

.stats-band__item strong,
.stats-band__item span {
    color: inherit;
}

.cta-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: start;
    background: linear-gradient(135deg, rgba(61, 75, 87, 0.92), rgba(43, 58, 70, 0.9));
}

.card--accent {
    background: linear-gradient(180deg, rgba(69, 84, 96, 0.9), rgba(56, 71, 83, 0.8));
}

.card--dark {
    background: linear-gradient(135deg, rgba(21, 34, 43, 0.98), rgba(13, 24, 31, 0.96));
}

.card--dark h2,
.card--dark p {
    color: var(--color-white);
}

.card--service {
    position: relative;
    overflow: hidden;
}

.card--service::after {
    content: "";
    position: absolute;
    inset: auto -1rem -1rem auto;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214, 111, 43, 0.16), transparent 70%);
}

.site-footer {
    margin-top: auto;
    border-top: 1px solid rgba(168, 185, 198, 0.14);
    background: linear-gradient(180deg, rgba(15, 28, 37, 0.98), rgba(9, 18, 24, 1));
    color: var(--color-white);
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.9rem 0 1.05rem;
}

.site-footer__brand {
    max-width: 24rem;
}

.site-footer,
.site-footer p,
.site-footer a,
.site-footer span,
.site-footer strong {
    font-size: 0.8rem;
}

.site-footer p {
    margin-bottom: 0;
    line-height: 1.55;
}

.site-footer__address {
    text-align: left;
}

.splash-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    background:
        radial-gradient(circle at top, rgba(214, 111, 43, 0.14), transparent 24%),
        radial-gradient(circle at center, rgba(39, 64, 79, 0.18), transparent 28%),
        linear-gradient(180deg, #1b3040 0%, #122736 42%, #09141c 100%);
}

.splash-screen {
    width: min(100%, 30rem);
    padding: 2.4rem;
    border: 1px solid rgba(168, 185, 198, 0.16);
    border-radius: 1.9rem;
    background: rgba(67, 83, 96, 0.72);
    text-align: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
}

.splash-screen__logo {
    width: min(100%, 16rem);
    margin: 0 auto 1.2rem;
}

.splash-screen__title {
    margin-bottom: 0.75rem;
    color: var(--color-white);
    font-size: clamp(1.55rem, 6vw, 2.35rem);
}

.splash-screen__intro {
    margin-bottom: 1.4rem;
    color: rgba(244, 246, 248, 0.82);
    font-size: 0.92rem;
}

.splash-screen__bar {
    width: 100%;
    height: 0.9rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
}

.splash-screen__progress {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-gold), var(--color-accent));
    animation: loadSplash 3s linear forwards;
}

.splash-screen__text {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@keyframes loadSplash {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@media (min-width: 800px) {
    .site-header__inner,
    .site-footer__inner,
    .site-main {
        width: min(90vw, 1680px);
    }

    .nav-toggle {
        display: none;
    }

    .site-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.35rem;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .admin-menu__panel {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        min-width: 12rem;
        padding: 0.5rem;
        border: 1px solid var(--color-border);
        border-radius: 1rem;
        background: rgba(33, 50, 63, 0.98);
        box-shadow: 0 24px 48px var(--color-shadow);
    }

    .hero {
        grid-template-columns: minmax(0, 2fr) minmax(18rem, 0.9fr);
    }

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

    .form-field--full {
        grid-column: 1 / -1;
    }

    .stats-band {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .cta-panel {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .site-footer__inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .site-footer__address {
        text-align: right;
    }
}
