/* ==========================================================================
   ПОУ «Спортивно-стрелковый тир» ДОСААФ России — собственный файл стилей
   Палитра: графит + тёмно-красный ДОСААФ + синий акцент.
   Шрифты: Russo One (заголовки) + PT Sans Narrow (текст).
   ========================================================================== */

:root {
    --dark: #2b2f36;
    --dark-2: #353a43;
    --red: #8f1519;
    --red-2: #b31b20;
    --blue: #1f4e8c;
    --paper: #f3f4f6;
    --line: #d5d8dd;
    --muted: #71767f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0; background: #fff; color: #262a30;
    font-family: 'PT Sans Narrow', 'Arial Narrow', Arial, sans-serif;
    font-size: 18px; line-height: 1.5;
}

.inner { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.sec { padding: 76px 0; }

h1, h2, h3 { font-family: 'Russo One', Impact, sans-serif; font-weight: 400; margin: 0 0 14px; line-height: 1.15; }
.h { display: flex; align-items: center; gap: 16px; font-size: clamp(20px, 2.3vw, 27px); margin-bottom: 30px; text-transform: uppercase; letter-spacing: .02em; }
.h span { white-space: nowrap; }
.h::after { content: ""; flex: 1; height: 4px; background: linear-gradient(90deg, var(--red), transparent); }
.h--light { color: #fff; }
.h--light::after { background: linear-gradient(90deg, #fff, transparent); }

/* ---------------------------- ГЛАВНОЕ МЕНЮ -------------------------- */
.top { background: var(--dark); border-bottom: 4px solid var(--red); position: sticky; top: 0; z-index: 60; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; }
.top__brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.top__shield {
    width: 40px; height: 44px; flex: 0 0 40px; display: grid; place-items: center;
    background: var(--red); color: #fff; font-size: 18px;
    clip-path: polygon(50% 0%, 100% 18%, 100% 62%, 50% 100%, 0% 62%, 0% 18%);
}
.top__title { display: flex; flex-direction: column; line-height: 1.1; }
.top__title b { font-family: 'Russo One', sans-serif; color: #fff; font-size: 19px; letter-spacing: .02em; }
.top__title i { font-style: normal; color: #a3a9b4; font-size: 14px; letter-spacing: .06em; }
.top__nav { display: flex; gap: 24px; }
.top__nav a {
    color: #c9ced7; text-decoration: none; font-size: 17px; text-transform: uppercase;
    letter-spacing: .04em; padding: 6px 0; border-bottom: 3px solid transparent; transition: .2s;
}
.top__nav a:hover { color: #fff; border-bottom-color: var(--red-2); }
.top__burger { display: none; }

/* ------------------------------- HERO ------------------------------- */
.hero { background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.hero__row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; padding-top: 66px; padding-bottom: 84px; }
.hero__badge {
    display: inline-block; background: var(--red); color: #fff; font-size: 15px;
    letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; margin: 0 0 20px;
}
.hero h1 { font-size: clamp(26px, 3.6vw, 44px); text-transform: uppercase; }
.hero h1 span { color: #9fb5d6; font-size: .72em; display: block; margin-top: 8px; }
.hero__txt { color: #b8bec9; max-width: 540px; margin: 0 0 22px; }
.hero__list { list-style: none; margin: 0; padding: 0; }
.hero__list li { position: relative; padding-left: 26px; margin-bottom: 8px; color: #d2d7df; font-size: 17px; }
.hero__list li::before {
    content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 8px;
    background: var(--red-2); clip-path: polygon(0 45%, 40% 100%, 100% 0, 82% 0, 40% 62%, 18% 34%);
}
.hero__right { position: relative; }
.hero__right img { width: 100%; height: 430px; object-fit: cover; display: block; border-bottom: 6px solid var(--red); }
.hero__city {
    position: absolute; left: 0; bottom: 0; background: var(--blue); color: #fff;
    font-size: 16px; text-transform: uppercase; letter-spacing: .06em; padding: 10px 18px; line-height: 1.3;
}
.hero__band { height: 14px; background: repeating-linear-gradient(135deg, var(--blue) 0 22px, var(--dark-2) 22px 44px); }

/* ------------------------------- ABOUT ------------------------------ */
.about__grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 46px; }
.about p { margin: 0 0 16px; color: #3b4149; }
.about__card { background: var(--paper); border-top: 5px solid var(--blue); padding: 24px 22px; }
.about__card h3 { font-size: 19px; text-transform: uppercase; }
.about__card .row { border-bottom: 1px solid var(--line); padding: 12px 0; }
.about__card .row:last-child { border-bottom: 0; }
.about__card b { display: block; font-family: 'Russo One', sans-serif; font-size: 20px; color: var(--red); }
.about__card span { color: var(--muted); font-size: 16px; }

/* ----------------------------- PROGRAMS ----------------------------- */
.programs { background: var(--dark); color: #c3c8d1; }
.prog { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.prog__card {
    background: var(--dark-2); border-left: 6px solid var(--red); padding: 26px 24px 26px 78px;
    position: relative; transition: .25s;
}
.prog__card:hover { background: #3c424c; border-left-color: var(--blue); }
.prog__no {
    position: absolute; left: 22px; top: 24px; font-family: 'Russo One', sans-serif;
    font-size: 24px; color: #6b7280;
}
.prog__card h3 { color: #fff; font-size: 20px; text-transform: uppercase; }
.prog__card p { margin: 0; color: #adb4c0; font-size: 17px; }
.programs__wide { width: 100%; height: 320px; object-fit: cover; display: block; margin-top: 22px; }

/* ------------------------------- FACTS ------------------------------ */
.facts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.facts__row { border-left: 5px solid var(--blue); padding-left: 16px; }
.facts__row b { display: block; font-family: 'Russo One', sans-serif; font-size: 24px; color: var(--dark); }
.facts__row span { color: var(--muted); font-size: 16px; }
.req { width: 100%; border-collapse: collapse; border: 1px solid var(--line); }
.req th, .req td { padding: 13px 18px; text-align: left; font-size: 17px; border-bottom: 1px solid var(--line); }
.req th { width: 30%; background: var(--paper); font-weight: 400; color: var(--dark); text-transform: uppercase; font-size: 15px; letter-spacing: .04em; }
.req tr:last-child th, .req tr:last-child td { border-bottom: 0; }

/* ------------------------------ CONTACTS ---------------------------- */
.contacts { background: var(--blue); color: #e2e9f3; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.contacts p { color: #cfdcee; margin: 0; }
.contacts__panel { background: rgba(0,0,0,.16); border: 1px solid rgba(255,255,255,.25); }
.cline { padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,.18); }
.cline:last-child { border-bottom: 0; }
.cline span { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: #a9c2e4; }
.cline b { color: #fff; font-weight: 400; font-size: 18px; }

/* -------------------------------- FOOT ------------------------------ */
.foot { background: #1e2126; color: #8b9099; padding: 20px 0; font-size: 15px; border-top: 4px solid var(--red); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot p { margin: 0; }

/* ------------------------------- АДАПТИВ ---------------------------- */
@media (max-width: 1000px) {
    .hero__row { grid-template-columns: 1fr; padding-top: 46px; padding-bottom: 60px; }
    .hero__right img { height: 320px; }
    .about__grid, .contacts__grid { grid-template-columns: 1fr; gap: 28px; }
    .prog { grid-template-columns: 1fr; }
    .facts__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .top { position: relative; }
    .top__row { position: relative; }
    .top__burger {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 40px; padding: 0 10px; cursor: pointer; border: 1px solid #545a64;
    }
    .top__burger span { display: block; height: 2px; background: #fff; }
    .top__nav {
        position: absolute; left: 0; right: 0; top: 100%; background: var(--dark-2);
        flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height .3s;
    }
    .top__check:checked ~ .top__nav { max-height: 320px; }
    .top__nav a { padding: 15px 22px; border-bottom: 1px solid #454b55; }

    .sec { padding: 50px 0; }
    body { font-size: 17px; }
    .req th { width: 42%; font-size: 14px; }
    .req th, .req td { padding: 11px 13px; font-size: 16px; }
    .prog__card { padding: 22px 18px 22px 62px; }
    .programs__wide { height: 220px; }
    .top__title b { font-size: 16px; }
}
