:root {
    --page: #040609;
    --page-alt: #080d12;
    --panel: #0a1016;
    --panel-2: #0d141b;
    --line: #22313b;
    --line-soft: rgba(87, 157, 190, .22);
    --text: #edf6f8;
    --muted: #a7b8c1;
    --cyan: #31c8ff;
    --orange: #ff5a00;
    --green: #18ee58;
    --yellow: #ffe817;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 78% 8%, rgba(49, 200, 255, .07), transparent 25rem),
        repeating-radial-gradient(circle at 78% 8%, transparent 0 23px, rgba(49, 200, 255, .026) 24px 25px),
        var(--page);
    font: 16px/1.65 Arial, Helvetica, sans-serif;
}

img { max-width: 100%; height: auto; }
a { color: var(--cyan); }
a:hover, a:focus { color: #fff; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; padding: 10px 14px; background: #fff; color: #000; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(4, 6, 9, .94);
    border-bottom: 1px solid var(--line-soft);
    backdrop-filter: blur(8px);
}
.header-row {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 250px;
    color: #fff;
    text-decoration: none;
}
.brand img { width: 46px; height: 46px; object-fit: cover; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px 20px; }
nav a { color: #cbd7dd; text-decoration: none; font-size: 12px; font-weight: bold; letter-spacing: .07em; text-transform: uppercase; }
nav a:hover, nav a:focus { color: var(--cyan); }

.hero {
    min-height: 650px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: center;
    gap: 64px;
    padding: 66px 0;
}
.hero-logo { position: relative; display: grid; place-items: center; }
.hero-logo::before,
.hero-logo::after {
    content: "";
    position: absolute;
    width: 102%;
    aspect-ratio: 1;
    border: 1px solid rgba(49, 200, 255, .08);
    border-radius: 50%;
}
.hero-logo::after { width: 122%; border-color: rgba(24, 238, 88, .04); }
.hero-logo img { position: relative; display: block; width: min(100%, 500px); }

.eyebrow {
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: bold;
    letter-spacing: .17em;
    text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(48px, 7vw, 82px); letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(32px, 4.5vw, 53px); letter-spacing: -.03em; }
h3 { margin-bottom: 10px; font-size: 21px; }
p { margin-top: 0; }
.lead { max-width: 750px; color: #ccd8de; font-size: clamp(18px, 2vw, 22px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.button {
    display: inline-block;
    min-height: 44px;
    padding: 9px 15px;
    border: 1px solid #3c5361;
    background: #0a1117;
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}
.button.primary { border-color: var(--cyan); background: #082435; }
.button:hover, .button:focus { border-color: #fff; background: #fff; color: #05070a; }
.text-link { font-weight: bold; text-underline-offset: 4px; }

.social-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.social-link {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 6px;
    border: 1px solid var(--line);
    background: rgba(7, 12, 17, .78);
    color: #dce7eb;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}
.social-link:hover, .social-link:focus { border-color: var(--cyan); color: #fff; }
.social-link.pending { color: #76848c; cursor: default; }
.social-link small { margin-left: 3px; color: #6d7a81; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.social-icon {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    background: #111922;
    color: #fff;
    font: bold 16px/1 Arial, sans-serif;
}
.social-icon.ebay { color: var(--yellow); }
.social-icon.facebook { color: var(--cyan); font-size: 20px; }
.social-icon.x { color: #fff; font-size: 15px; }
.social-icon.youtube { color: #ff4b36; font-size: 12px; }
.social-icon.instagram { color: #cf79ff; font-size: 21px; }
.social-icon.tiktok { color: var(--green); font-size: 19px; }

.section { padding: 86px 0; border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 860px; margin-bottom: 38px; }
.section-head.compact { margin-bottom: 20px; }
.section-head > p:last-child { color: var(--muted); max-width: 790px; font-size: 18px; }

.offer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.offer-grid article {
    min-height: 220px;
    padding: 24px;
    background: rgba(10, 16, 22, .78);
    border: 1px solid var(--line);
}
.offer-grid article::before {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-bottom: 30px;
    background: var(--cyan);
}
.offer-grid article:nth-child(2)::before { background: var(--orange); }
.offer-grid article:nth-child(3)::before { background: var(--green); }
.offer-grid article:nth-child(4)::before { background: var(--yellow); }
.offer-grid p { color: var(--muted); }

.pox-section { background: rgba(6, 12, 17, .65); }
.media-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
    align-items: center;
    gap: 54px;
}
.feature-image {
    display: block;
    padding: 7px;
    border: 1px solid #2b4856;
    background: #020405;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .32);
}
.feature-image:hover, .feature-image:focus { border-color: var(--cyan); }
.feature-image img { display: block; width: 100%; }
.media-feature p { color: #c6d3d9; }

.company-section { background: linear-gradient(90deg, rgba(49, 200, 255, .025), transparent 45%); }
.company-grid {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}
.company-logo-wrap {
    display: grid;
    place-items: center;
    min-height: 210px;
    border: 1px solid var(--line);
    background: #070b10;
}
.company-logo-wrap img { width: 160px; }
.channel-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 28px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.channel-grid a, .channel-grid > div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(8, 13, 18, .55);
    text-decoration: none;
}
.channel-grid span { color: var(--muted); text-align: right; }
.service-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 24px;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
}
.service-note h3 { margin-bottom: 5px; font-size: 18px; }
.service-note p { margin-bottom: 0; color: var(--muted); }
.service-note .text-link { white-space: nowrap; }

.history-copy { max-width: 980px; color: #ced9de; font-size: 18px; }
.history-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.history-gallery figure { margin: 0; background: var(--panel); border: 1px solid var(--line); }
.history-gallery a { display: block; overflow: hidden; }
.history-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s ease; }
.history-gallery a:hover img, .history-gallery a:focus img { transform: scale(1.015); }
.history-gallery figcaption { padding: 11px 13px 13px; color: var(--muted); font-size: 13px; }

.events-section { background: rgba(8, 13, 18, .62); }
.events-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 62px;
}
.event-list { border-top: 1px solid var(--line); }
.event-list article {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.event-list strong { font-size: 18px; }
.event-list span { color: var(--muted); }

.contact-section { background: #06090d; }
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(430px, 1.15fr);
    gap: 64px;
    align-items: start;
}
.fine { color: var(--muted); font-size: 13px; }
form { padding: 27px; border: 1px solid var(--line); background: var(--panel); }
form label { display: block; margin: 15px 0 6px; font-size: 13px; font-weight: bold; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #334651;
    border-radius: 0;
    background: #05090c;
    color: #fff;
    font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 1px solid var(--cyan); border-color: var(--cyan); }
textarea { resize: vertical; }
form .button { margin-top: 20px; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
.form-message { padding: 12px 15px; border-left: 2px solid; background: var(--panel); }
.form-message.success { border-color: var(--green); }
.form-message.error { border-color: var(--orange); }
.trap { position: absolute; left: -9999px; }

footer { padding: 32px 0 25px; background: #020305; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.footer-brand img { width: 38px; height: 38px; object-fit: cover; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #c4d0d6; font-size: 13px; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus { color: var(--cyan); }
.legal { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-soft); color: #7c8b94; font-size: 12px; }

@media (max-width: 980px) {
    .header-row { display: block; padding: 10px 0 13px; }
    .brand { margin-bottom: 8px; }
    nav { justify-content: flex-start; }
    .hero { min-height: 0; }
    .hero-grid { grid-template-columns: 1fr 340px; gap: 34px; }
    .offer-grid { grid-template-columns: repeat(2, 1fr); }
    .media-feature { grid-template-columns: 1fr; }
    .feature-image { max-width: 800px; }
}

@media (max-width: 760px) {
    .shell { width: min(100% - 28px, var(--max)); }
    .site-header { position: static; }
    nav { gap: 8px 15px; }
    .hero-grid, .company-grid, .events-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero-grid { padding: 44px 0 56px; }
    .hero-logo { order: -1; }
    .hero-logo img { width: min(75vw, 350px); }
    .section { padding: 62px 0; }
    .offer-grid, .history-gallery, .channel-grid { grid-template-columns: 1fr; }
    .offer-grid article { min-height: 0; }
    .company-logo-wrap { min-height: 180px; }
    .service-note { display: block; }
    .service-note .text-link { display: inline-block; margin-top: 12px; white-space: normal; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .footer-row { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .history-gallery img { transition: none; }
}
