:root {
    --primary: #870819;
    --secondary: #112138;
    --soft: #e7dfdf;
    --white: #ffffff;
    --muted: #d6d6d1;
    --surface: #112138B8;
    --border: #D6D6D139;
    --radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, sans-serif;
    background: var(--secondary);
    color: var(--soft);
    line-height: 1.6;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    padding: 4.5rem 0;
}

.bg-orb {
    position: fixed;
    z-index: -1;
    border-radius: 999px;
    filter: blur(90px);
    pointer-events: none;
}

.bg-orb-1 {
    width: 320px;
    height: 320px;
    top: -120px;
    left: -90px;
    background: #87081966;
}

.bg-orb-2 {
    width: 280px;
    height: 280px;
    top: 30%;
    right: -70px;
    background: #E7DFDF38;
}

.bg-orb-3 {
    width: 280px;
    height: 280px;
    bottom: -110px;
    left: 30%;
    background: #D6D6D138;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid transparent;
    transition: all .3s ease;
}

    .navbar.scrolled {
        background: #112138E6;
        backdrop-filter: blur(8px);
        border-color: #D6D6D133;
        box-shadow: 0 8px 22px #0000004D;
    }

.nav-wrap {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
}

.brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    /*background: linear-gradient(130deg, var(--primary), var(--secondary));*/
}

    .brand-icon svg {
        width: 80px;
        fill: #fff;
    }

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .45rem .7rem;
    background: transparent;
    color: var(--soft);
}

.menu {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.nav-link, .theme-toggle {
    border: 0;
    background: transparent;
    color: var(--soft);
    padding: .5rem .75rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: .22s ease;
}

    .nav-link:hover, .theme-toggle:hover {
        background: #87081947;
        color: #fff;
    }

.theme-toggle {
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.hero {
    padding-top: 3rem;
    display: grid;
    gap: 2.4rem;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    border: 1px solid #D6D6D173;
    background: #87081933;
    padding: .35rem .9rem;
    border-radius: 999px;
    font-size: .75rem;
    letter-spacing: .17em;
    text-transform: uppercase;
    font-weight: 700;
}

h1 {
    margin: .7rem 0 0;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.8rem);
    line-height: 1.15;
}

    h1 span {
        background: linear-gradient(90deg, #000000, #a42626, #9b2a2a);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.lead {
    max-width: 60ch;
}

.actions {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.btn {
    display: inline-block;
    padding: .78rem 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s ease;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 24px #87081959;
    border: 0;
}

    .btn-primary:hover {
        transform: translateY(-2px);
    }

.btn-ghost {
    border: 1px solid #000;
    color: #000
}

    .btn-ghost:hover {
        border-color: var(--primary);
        color: #f0a5a5;
        border: none;
        background-color: #a42626;
        color: #fff;
    }

.btn-full {
    width: 100%;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: .28s ease;
}

    .card:hover {
        transform: translateY(-4px);
        border-color: #870819BF;
        box-shadow: 0 12px 26px #87081947;
    }

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .9rem;
}

    .panel-head h2 {
        margin: 0;
        font-size: 1.1rem;
        color: #fff;
    }

.badge {
    font-size: .78rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    background: #D6D6D133;
}

.metrics {
    margin-top: .9rem;
    display: grid;
    gap: .55rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    border: 1px solid #D6D6D173;
    padding: .68rem .8rem;
    border-radius: 12px;
}

    .metric-row strong {
        color: #fff;
    }

.panel-note {
    margin: .9rem 0 0;
    font-size: .95rem;
}

.section-title {
    margin: 0 0 .4rem;
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-subtitle {
    margin: 0 0 1.4rem;
}

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

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

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

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

.icon {
    font-size: 1.2rem;
    display: inline-block;
}

.card h3 {
    margin: .6rem 0 .35rem;
    color: #fff;
}

.card p {
    margin: 0;
}

.darkLight {
    color: #870819;
}

.split {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1.1fr .9fr;
}

.info-chip {
    background: #112138D9;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: .9rem;
}

    .info-chip strong {
        display: block;
        color: #fff;
    }

blockquote footer {
    margin-top: .8rem;
    display: grid;
}

blockquote span {
    opacity: .8;
    font-size: .86rem;
}

.contact-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .35rem;
}

.form {
    display: grid;
    gap: .45rem;
}

    .form label {
        font-weight: 600;
        font-size: .92rem;
    }

input, textarea {
    border: 1px solid #D6D6D173;
    border-radius: 12px;
    background: #112138E0;
    color: #fff;
    padding: .72rem .85rem;
    outline: none;
}

    input::placeholder, textarea::placeholder {
        color: #bdb3b3;
    }

    input:focus, textarea:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px #87081933;
    }

.footer {
    border-top: 1px solid #D6D6D133;
    padding: 1rem 0;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    flex-wrap: wrap;
}

.socials {
    display: flex;
    gap: .55rem;
}

    .socials a {
        border: 1px solid var(--border);
        color: var(--soft);
        border-radius: 8px;
        padding: .3rem .5rem;
        text-decoration: none;
        font-size: .8rem;
    }

#scrollTopBtn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    display: none;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 22px #87081959;
}

    #scrollTopBtn.show {
        display: grid;
    }

.reveal {
    opacity: 0;
    transform: translateY(16px);
}

    .reveal.is-visible {
        opacity: 1;
        transform: translateY(0);
        transition: opacity .7s ease, transform .7s ease;
    }

body.light-mode {
    background: #f8fafc;
    color: #334155;
}

    body.light-mode .navbar.scrolled {
        background: #FFFFFFE6;
        border-color: #1121381F;
    }

    body.light-mode .brand, body.light-mode h1, body.light-mode .section-title, body.light-mode .card h3, body.light-mode .metric-row strong {
        color: #112138;
    }

    body.light-mode .card, body.light-mode .info-chip, body.light-mode input, body.light-mode textarea {
        background: #fff;
        border-color: #e2e8f0;
        color: #334155;
    }

    body.light-mode .nav-link, body.light-mode .theme-toggle {
        color: #334155;
    }

    body.light-mode .icon, body.light-mode .socials a {
        color: #870819;
    }

    body.light-mode .darkLight {
        color: #870819;
    }

    body.light-mode .socials a {
        border-color: #8708194D;
    }

@media (max-width: 980px) {
    .hero, .split, .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

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

@media (max-width: 760px) {
    .menu-toggle {
        display: inline-block;
    }

    .menu {
        position: absolute;
        top: 78px;
        left: 1rem;
        right: 1rem;
        padding: .8rem;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #112138F2;
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

        .menu.open {
            display: flex;
        }

    .hero, .split, .grid-4, .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
}
