:root {
    --ink: #161a1d;
    --charcoal: #1d242b;
    --charcoal-2: #27333d;
    --paper: #ffffff;
    --soft: #f2f4f6;
    --line: #d4d9de;
    --accent: #d10f14;
    --accent-dark: #a9090d;
    --bronze: #4d7090;
    --navy: #2d4f6f;
    --navy-dark: #17324a;
    --muted: #666b6d;
    --max: 1200px;
    --radius: 16px;
    --shadow: 0 16px 40px rgba(0, 0, 0, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a { color: inherit; }

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

.container {
    width: min(calc(100% - 36px), var(--max));
    margin-inline: auto;
}

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

.utility-bar {
    background: #111;
    color: #e9e6df;
    font-size: .82rem;
}

.utility-inner {
    min-height: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.utility-inner a {
    color: #fff;
    text-decoration: none;
}

.header-main {
    min-height: 92px;
    display: grid;
    grid-template-columns: 300px 1fr auto;
    align-items: center;
    gap: 28px;
}

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

.brand-logo img {
    width: 270px;
    max-height: 76px;
    object-fit: contain;
    object-position: left center;
}

.header-search {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.header-search input,
.hero-search input {
    width: 100%;
    border: 0;
    outline: 0;
    padding: 15px 18px;
    font-size: 1rem;
    background: transparent;
}

.header-search button,
.hero-search button {
    border: 0;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 0 22px;
    cursor: pointer;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 11px 15px;
    border-radius: 8px;
    font-weight: 700;
}

.primary-nav {
    background: linear-gradient(90deg, var(--navy-dark), var(--navy));
    color: #fff;
}

.nav-inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-inner a {
    color: #fff;
    text-decoration: none;
    font-size: .92rem;
    font-weight: 700;
}

.nav-inner a:hover { color: #e6c49b; }

.hero {
    padding: 84px 0;
    color: #fff;
}

.hero-branded {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(10,18,25,.94) 0%, rgba(10,18,25,.82) 44%, rgba(10,18,25,.52) 100%),
        url('/assets/images/arguns-range-hero.png') center/cover no-repeat;
}

.hero-branded::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 72%, rgba(0,0,0,.42));
}

.hero-logo {
    width: min(520px, 92%);
    max-height: 240px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 20px;
    filter: drop-shadow(0 12px 26px rgba(0,0,0,.4));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 56px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--bronze);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    line-height: .98;
    letter-spacing: -.05em;
}

.hero-lead {
    max-width: 730px;
    margin: 24px 0 30px;
    color: #d8d9d9;
    font-size: 1.17rem;
}

.hero-search {
    max-width: 700px;
    display: flex;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}

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

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
}

.button-primary { background: var(--accent); color: #fff; }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { border: 1px solid rgba(255,255,255,.38); color: #fff; }
.button-light { background: #fff; color: var(--ink); }

.hero-panel {
    padding: 34px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
}

.panel-kicker {
    color: #e3be8e;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .72rem;
}

.hero-panel h2 { margin: 12px 0; font-size: 2rem; }
.hero-panel p { color: #d8d9d9; }

.check-list { list-style: none; padding: 0; margin: 24px 0 0; }
.check-list li { margin: 10px 0; padding-left: 25px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: #e3be8e; font-weight: 900; }

.section { padding: 78px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--charcoal); color: #fff; }

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 30px;
}

.section-heading h2,
.split-feature h2,
.empty-state h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.3rem);
    letter-spacing: -.035em;
    line-height: 1.05;
}

.text-link {
    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.interest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.interest-card {
    min-height: 260px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    text-decoration: none;
    background: #fff;
    transition: .2s ease;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #b8b3a9;
}

.interest-number {
    color: var(--accent);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.interest-card h3 { margin: 34px 0 8px; font-size: 1.45rem; }
.interest-card p { color: var(--muted); }
.interest-card > span:last-child { margin-top: auto; font-weight: 800; color: var(--accent); }

.split-feature {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 60px;
    align-items: center;
}

.split-feature p { color: #d0d2d2; max-width: 680px; }

.quote-card {
    padding: 36px;
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
}

.quote-mark {
    display: block;
    color: var(--accent);
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: .7;
}

.quote-card p { color: var(--ink); font-size: 1.15rem; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.product-image-placeholder {
    min-height: 220px;
    display: grid;
    place-items: center;
    background: var(--soft);
    color: #8a8d8e;
    font-weight: 700;
}

.product-card-body { padding: 20px; }
.product-brand { color: var(--accent); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.product-card h3 { margin: 8px 0; }
.product-card p { color: var(--muted); font-size: .92rem; }
.product-card a { color: var(--accent); font-weight: 800; text-decoration: none; }

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.trust-title { display: block; font-weight: 900; font-size: 1.1rem; }
.trust-grid p { color: var(--muted); }

.page-hero {
    padding: 70px 0;
    background: var(--charcoal);
    color: #fff;
}

.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); }
.page-hero p { color: #cfd1d1; font-size: 1.1rem; }

.catalog-status {
    margin-bottom: 24px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.empty-state {
    max-width: 760px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.site-footer {
    background: #121314;
    color: #d7d8d8;
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr .9fr;
    gap: 50px;
}

.footer-grid h3 { color: #fff; margin-top: 0; }
.footer-grid a { display: block; color: #d7d8d8; text-decoration: none; margin: 8px 0; }
.footer-brand { color: #fff; font-size: 1.3rem; font-weight: 900; }
.footer-cta { color: #e3be8e !important; font-weight: 800; }

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #2d3031;
    font-size: .8rem;
    color: #999d9f;
}

@media (max-width: 900px) {
    .header-main { grid-template-columns: 1fr auto; min-height: 80px; }
    .header-search { display: none; }
    .menu-toggle { display: block; }
    .primary-nav { display: none; }
    .primary-nav.is-open { display: block; }
    .nav-inner { padding: 14px 0; align-items: stretch; flex-direction: column; gap: 0; }
    .nav-inner a { padding: 12px 0; border-bottom: 1px solid #3b3e3f; }
    .hero-grid,
    .split-feature { grid-template-columns: 1fr; }
    .interest-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid,
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .utility-inner { min-height: 42px; justify-content: center; text-align: center; }
    .utility-inner span { display: none; }
    .brand-mark { width: 46px; height: 46px; }
    .hero { padding: 58px 0; }
    .hero h1 { font-size: 3.25rem; }
    .hero-search { display: grid; border-radius: 8px; }
    .hero-search button { min-height: 48px; }
    .section { padding: 58px 0; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .interest-grid,
    .product-grid { grid-template-columns: 1fr; }
    .interest-card { min-height: 230px; }
    .footer-bottom { flex-direction: column; }
}


.interest-card {
    border-top: 4px solid var(--navy);
}

.interest-card:hover {
    border-top-color: var(--accent);
}

.site-footer {
    border-top: 4px solid var(--accent);
}

@media (max-width: 900px) {
    .brand-logo img {
        width: 220px;
        max-height: 64px;
    }
}

@media (max-width: 600px) {
    .brand-logo img {
        width: 185px;
        max-height: 58px;
    }

    .hero-logo {
        width: 100%;
        max-height: 190px;
        margin-inline: auto;
    }

    .hero-branded {
        background-position: 60% center;
    }
}
