:root {
    --bg: #080808;
    --bg-soft: #101010;
    --panel: #121212;
    --panel-border: rgba(255, 255, 255, 0.08);
    --text: #ffffff;
    --muted: #9f9f9f;
    --accent: #f8c400;
    --accent-deep: #e5af00;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    --radius: 22px;
    --radius-sm: 14px;
    --content-width: min(1120px, calc(100vw - 2rem));
    --nav-height: 86px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(248, 196, 0, 0.08), transparent 20%),
        linear-gradient(180deg, #0b0b0b 0%, #070707 100%);
    color: var(--text);
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

.page-shell {
    min-height: 100vh;
}

.site-header,
.services-section,
.cta-section,
.site-footer {
    padding-inline: 1rem;
}

.topbar {
    width: var(--content-width);
    min-height: var(--nav-height);
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.4rem;
    background: rgba(8, 8, 8, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 0 18px 18px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: "Archivo", sans-serif;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    font-size: 0.72rem;
    color: #050505;
    background: var(--accent);
    border-radius: 2px;
}

.brand-text {
    font-size: 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 1.6vw, 2rem);
}

.site-nav a,
.header-cta,
.text-link,
.footer-links a,
.footer-bottom a,
.social-row a {
    transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: var(--accent);
}

.header-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.85rem 1.45rem;
    border: 1px solid transparent;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.header-cta {
    color: #050505;
    background: var(--accent);
}

.header-cta:hover,
.header-cta:focus-visible,
.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--accent-deep);
}

.hero {
    width: var(--content-width);
    margin: 0 auto;
    padding: 5.5rem 0 3.5rem;
    text-align: center;
}

.hero-badge,
.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: #e9e9e9;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-badge::before,
.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.hero h1,
.services-section h2,
.cta-panel h2 {
    margin: 1.3rem 0 0;
    font-family: "Archivo", sans-serif;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3rem, 9vw, 5.8rem);
    line-height: 0.95;
}

.hero h1 span {
    color: var(--accent);
}

.hero p,
.section-copy,
.service-card p,
.cta-panel p,
.footer-brand-block p {
    color: var(--muted);
    line-height: 1.75;
}

.hero p {
    max-width: 720px;
    margin: 1.4rem auto 0;
    font-size: 1rem;
}

.hero-actions,
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary {
    color: #050505;
    background: var(--accent);
}

.btn-secondary {
    border-color: rgba(255, 255, 255, 0.14);
    background: transparent;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

.stats-grid {
    width: var(--content-width);
    margin: 0 auto;
    padding: 1rem 0 4.5rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.stat-card {
    padding: 1.3rem 1rem;
    text-align: center;
}

.stat-card strong {
    display: block;
    font-family: "Archivo", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.stat-card span {
    display: block;
    margin-top: 0.55rem;
    color: #7c7c7c;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.services-section {
    padding-top: 2.4rem;
    padding-bottom: 2.5rem;
}

.section-heading,
.services-grid,
.cta-panel,
.footer-grid,
.footer-bottom {
    width: var(--content-width);
    margin: 0 auto;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.services-section h2,
.cta-panel h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
}

.section-copy {
    max-width: 580px;
    margin: 0.9rem 0 0;
}

.text-link {
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

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

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 1.45rem;
    background:
        radial-gradient(circle at top right, rgba(248, 196, 0, 0.08) 0, rgba(248, 196, 0, 0.08) 16%, transparent 17%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--panel-border);
    box-shadow: var(--shadow);
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto auto -42px -42px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(248, 196, 0, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(248, 196, 0, 0.45);
}

.service-card:hover::after,
.service-card:focus-within::after {
    opacity: 1;
}

.service-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1.2rem;
    background: var(--accent);
    color: #050505;
}

.service-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    margin: 0;
    font-family: "Archivo", sans-serif;
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.service-card p {
    margin: 0.85rem 0 0;
    font-size: 0.95rem;
}

.cta-section {
    padding-top: 2.8rem;
    padding-bottom: 2.8rem;
}

.cta-panel {
    padding: clamp(2.5rem, 5vw, 4rem);
    text-align: center;
    color: #050505;
    background: var(--accent);
}

.cta-panel p {
    max-width: 720px;
    margin: 1rem auto 0;
    color: rgba(5, 5, 5, 0.75);
    font-weight: 600;
}

.btn-dark {
    color: #ffffff;
    background: #050505;
}

.btn-dark:hover,
.btn-dark:focus-visible {
    background: #1a1a1a;
}

.btn-outline-dark {
    border-color: rgba(5, 5, 5, 0.55);
    color: #050505;
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
    background: rgba(5, 5, 5, 0.06);
}

.site-footer {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(180px, 0.8fr));
    gap: 2rem;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-footer {
    margin-bottom: 1rem;
}

.footer-brand-block p {
    max-width: 420px;
    margin: 0;
}

.social-row {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.3rem;
}

.social-row a {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #b9b9b9;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-row a:hover,
.social-row a:focus-visible {
    color: #050505;
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.footer-links h3 {
    margin: 0 0 1rem;
    color: #f2f2f2;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    width: fit-content;
    color: var(--muted);
    margin-bottom: 0.8rem;
    font-size: 0.94rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.2rem;
    color: #727272;
    font-size: 0.8rem;
}

.footer-bottom div {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-toggle {
    display: none;
    justify-self: end;
    width: 48px;
    height: 48px;
    padding: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: #ffffff;
    transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span + span {
    margin-top: 4px;
}

.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;
}

@media (max-width: 960px) {
    .topbar {
        grid-template-columns: auto auto auto;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.65rem;
        background: rgba(12, 12, 12, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
    }

    .site-nav a {
        padding: 1rem 0.75rem;
        text-align: center;
    }

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

    .nav-toggle {
        display: block;
    }

    .header-cta {
        justify-self: end;
    }

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

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

    .footer-brand-block {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .topbar {
        gap: 0.75rem;
        padding: 0.9rem 1rem;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .header-cta {
        min-height: 40px;
        padding: 0.7rem 0.9rem;
        font-size: 0.67rem;
    }

    .hero {
        padding-top: 4rem;
    }

    .hero p,
    .section-copy,
    .service-card p,
    .cta-panel p,
    .footer-brand-block p {
        font-size: 0.95rem;
    }

    .stats-grid,
    .services-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .footer-bottom {
        flex-direction: column;
        align-items: start;
    }

    .section-heading {
        margin-bottom: 1.5rem;
    }

    .hero-actions,
    .cta-actions {
        flex-direction: column;
    }

    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-dark,
    .btn-outline-dark {
        width: 100%;
    }
}

@media (min-width: 1400px) {
    :root {
        --content-width: min(1280px, calc(100vw - 4rem));
    }

    .hero {
        padding-top: 7rem;
    }

    .service-card {
        min-height: 240px;
    }
}
