/* ==========================================================================
   ОФСО «ФСДД ТО» — собственный файл стилей (только для этого лендинга)
   Палитра: песочный светлый фон + оливковый хаки и тёмный, прицельные мотивы.
   Шрифты: Jost (заголовки) + Inter (текст).
   ========================================================================== */

:root {
    --sand: #efeae0;
    --sand-2: #e3ddcf;
    --olive: #4e5a3a;
    --olive-2: #63704a;
    --dark: #23261f;
    --ink: #14170f;
    --line: #cfc7b4;
    --muted: #6d6a5e;
}

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

body {
    margin: 0; background: var(--sand); color: var(--ink);
    font-family: 'Inter', Arial, sans-serif; font-size: 16px; line-height: 1.66;
}

.band { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.sec { padding: 82px 0; }

h1, h2, h3 { font-family: 'Jost', 'Trebuchet MS', sans-serif; font-weight: 500; margin: 0 0 14px; color: var(--ink); }

.h-line { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.h-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.h-line span { white-space: nowrap; }
.h-line--light { color: #f0efe6; }
.h-line--light::after { background: rgba(255,255,255,.22); }

/* --------------------------- ГЛАВНОЕ МЕНЮ --------------------------- */
.head { background: rgba(239,234,224,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; backdrop-filter: blur(6px); }
.head__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; }
.head__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.head__ring {
    width: 34px; height: 34px; border-radius: 50%; flex: 0 0 34px;
    border: 2px solid var(--olive); position: relative;
}
.head__ring::before {
    content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 2px solid var(--olive);
}
.head__ring::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px;
    background: var(--olive); border-radius: 50%; transform: translate(-50%,-50%);
}
.head__name {
    display: flex; flex-direction: column; font-family: 'Jost', sans-serif;
    font-size: 22px; font-weight: 600; letter-spacing: .1em; color: var(--ink); line-height: 1;
}
.head__name em {
    font-family: 'Inter', sans-serif; font-style: normal; font-size: 10px; font-weight: 500;
    letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px;
}
.head__nav { display: flex; gap: 26px; }
.head__nav a { color: #2f3427; text-decoration: none; font-size: 15px; font-weight: 500; position: relative; }
.head__nav a::after {
    content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px;
    background: var(--olive); transition: width .25s;
}
.head__nav a:hover::after { width: 100%; }
.head__burger { display: none; }

/* ------------------------------- HERO ------------------------------- */
.hero { border-bottom: 1px solid var(--line); }
.hero__row {
    display: grid; grid-template-columns: 56px 1.15fr .95fr; gap: 34px;
    align-items: center; padding-top: 64px; padding-bottom: 64px;
}
.hero__aside { display: flex; justify-content: center; height: 100%; }
.hero__vertical {
    writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.hero__kicker {
    font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
    color: var(--olive); font-weight: 600; margin: 0 0 18px;
}
.hero h1 {
    font-size: clamp(38px, 6vw, 76px); line-height: .98; font-weight: 400;
    letter-spacing: -.01em; margin-bottom: 20px;
}
.hero__lead { max-width: 560px; color: #3e4232; margin: 0 0 26px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 34px; }
.hero__meta b { display: block; font-family: 'Jost', sans-serif; font-size: 22px; color: var(--olive); }
.hero__meta span { font-size: 13px; color: var(--muted); }

.hero__media { position: relative; }
.hero__media img { width: 100%; height: 460px; object-fit: cover; display: block; filter: saturate(.75); }
.target { position: absolute; right: -34px; top: -34px; width: 170px; height: 170px; }
.target span { position: absolute; border: 1px solid rgba(78,90,58,.55); border-radius: 50%; }
.target span:nth-child(1) { inset: 0; }
.target span:nth-child(2) { inset: 34px; }
.target span:nth-child(3) { inset: 68px; background: rgba(78,90,58,.25); }

/* ------------------------------- ABOUT ------------------------------ */
.about__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 46px; }
.about__txt p { margin: 0 0 16px; color: #33372a; }
.about__panel {
    background: var(--olive); color: #ecefe4; padding: 26px 24px; margin-bottom: 20px;
}
.about__panel h3 { color: #fff; font-size: 21px; }
.about__panel p { margin: 0; font-size: 15px; color: #d7dcc9; }
.about__side img { width: 100%; height: 240px; object-fit: cover; display: block; filter: saturate(.7); }

/* --------------------- DIRECTIONS: ТАБЛИЧНАЯ СЕТКА ------------------ */
.directions { background: var(--dark); color: #d7d8cf; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.board__cell { padding: 28px 24px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); transition: background .25s; }
.board__cell:hover { background: rgba(255,255,255,.05); }
.board__n { font-family: 'Jost', sans-serif; font-size: 13px; letter-spacing: .2em; color: #b9c1a2; display: block; margin-bottom: 12px; }
.board__cell h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.board__cell p { margin: 0; font-size: 14.5px; color: #b3b5a8; }

/* ------------------------------- FACTS ------------------------------ */
.facts__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 34px; }
.facts__item { border-left: 2px solid var(--olive); padding-left: 16px; }
.facts__item b { display: block; font-family: 'Jost', sans-serif; font-size: 24px; color: var(--dark); margin-bottom: 4px; }
.facts__item span { font-size: 13.5px; color: var(--muted); }

table { width: 100%; border-collapse: collapse; background: #f7f4ee; }
th, td { padding: 14px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
th { width: 32%; font-weight: 600; color: var(--olive); background: var(--sand-2); }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* ------------------------------ CONTACTS ---------------------------- */
.contacts { background: var(--olive); color: #dfe4d2; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.contacts p { color: #cfd5bd; margin: 0; }
.contacts__blocks { display: grid; gap: 1px; background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.2); }
.cblock { background: var(--olive); padding: 18px 22px; }
.cblock span { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #b8c2a0; margin-bottom: 5px; }
.cblock b { color: #fff; font-weight: 500; font-family: 'Jost', sans-serif; font-size: 18px; }

/* -------------------------------- FOOT ------------------------------ */
.foot { background: #191c15; color: #8d938a; padding: 22px 0; font-size: 14px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.foot p { margin: 0; }

/* ------------------------------- АДАПТИВ ---------------------------- */
@media (max-width: 1020px) {
    .hero__row { grid-template-columns: 1fr; gap: 26px; }
    .hero__aside { display: none; }
    .hero__media img { height: 340px; }
    .target { width: 120px; height: 120px; right: 10px; top: -20px; }
    .target span:nth-child(2) { inset: 24px; }
    .target span:nth-child(3) { inset: 48px; }
    .about__grid, .contacts__grid { grid-template-columns: 1fr; gap: 28px; }
    .board { grid-template-columns: 1fr 1fr; }
    .facts__row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
    .head { position: relative; }
    .head__row { position: relative; }
    .head__burger {
        display: flex; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 40px; padding: 0 10px; cursor: pointer; border: 1px solid var(--line);
    }
    .head__burger i { display: block; height: 2px; background: var(--olive); }
    .head__nav {
        position: absolute; left: 0; right: 0; top: 100%; background: var(--sand);
        flex-direction: column; gap: 0; max-height: 0; overflow: hidden; transition: max-height .3s;
        border-bottom: 1px solid var(--line);
    }
    .head__chk:checked ~ .head__nav { max-height: 320px; }
    .head__nav a { padding: 15px 22px; border-bottom: 1px solid var(--line); }
    .head__nav a::after { display: none; }

    .board { grid-template-columns: 1fr; }
    .facts__row { grid-template-columns: 1fr; }
    .sec { padding: 54px 0; }
    th { width: 42%; }
    table { font-size: 14px; }
    .h-line { font-size: 18px; }
}
