/* ============================================
   CSS Reset / Normalize
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { box-sizing: border-box; }

body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, dl, dd,
ol, ul, li, figure, figcaption,
fieldset, legend, button, input,
textarea, select, table, th, td {
    margin: 0;
    padding: 0;
}

ol, ul { list-style: none; }

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border: none;
    background: none;
    outline: none;
    appearance: none;
    cursor: pointer;
}

button:focus,
input:focus,
select:focus,
textarea:focus { outline: none; }

button { cursor: pointer; border: none; background: none; padding: 0; }

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea, select { font: inherit; }

table { border-collapse: collapse; border-spacing: 0; }

blockquote, q { quotes: none; }
blockquote::before, blockquote::after,
q::before, q::after { content: ''; content: none; }

address { font-style: normal; }

body {
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background: #EDE8DC;
}

details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }

meter, progress { appearance: none; }

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    appearance: none;
    margin: 0;
}
input[type="number"] { -moz-appearance: textfield; }

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* ============================================
   Военная палитра
   ============================================ */
:root {
    --olive: #4B5320;          /* основной оливковый */
    --olive-dark: #3A4019;     /* тёмный олива */
    --olive-deep: #2B2F14;     /* почти чёрный зелёный */
    --khaki: #8A8B5C;          /* хаки */
    --sand: #C2B280;           /* песочный */
    --sand-light: #E3DCC4;     /* светлый песок */
    --cream: #F2EEDF;          /* кремовый фон карточек */
    --khaki-bg: #EDE8DC;       /* фон страницы */
    --graphite: #23241C;       /* графит, почти чёрный */
    --graphite-soft: #34362A;  /* мягкий графит */
    --ink: #2B2C22;            /* основной текст */
    --muted: #6E6F56;          /* приглушённый текст */
    --line: #C9C3AA;           /* линии/бордеры */
    --line-dark: #4B5320;
    --accent: #6B7A3A;         /* акцент (олива-светлая) */
    --accent-hover: #55632C;
    --alert: #A63A2A;          /* ржаво-красный для ошибок */
}

/* ============================================
   Header — «штабной» вид
   ============================================ */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 3px solid var(--olive);
    background: var(--graphite);
    z-index: 100;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(75, 83, 32, 0.08) 0 8px,
            transparent 8px 16px
        );
}
header img { height: 40px; filter: brightness(0) invert(1); }
header a {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 8px;
    color: var(--sand-light);
    transition: color .2s;
}
header a:hover {
    color: var(--sand);
    border-bottom: 2px solid var(--sand);
}

main {
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 80px;
}
footer {
    margin: 0 auto;
    max-width: 1200px;
}

/* ============================================
   Кнопки — угловатые, как армейские таблички
   ============================================ */
.blue_button_sm {
    background: var(--olive);
    padding: 14px 14px;
    color: var(--sand-light);
    border-radius: 4px;
    border: 1px solid var(--sand);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    transition: background .2s, transform .15s;
}
.blue_button_sm:hover {
    background: var(--olive-dark);
    transform: translateY(-1px);
}

.blue_button_lg {
    font-family: 'Inter';
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--olive);
    padding: 16px 28px;
    color: var(--sand-light);
    border-radius: 4px;
    border: 2px solid var(--olive);
    text-align: center;
    position: relative;
    transition: background .2s, transform .15s, border-color .2s;
}
.blue_button_lg:hover {
    background: var(--olive-dark);
    border-color: var(--sand);
    transform: translateY(-1px);
}

.blue_button_lg_10 {
    font-family: 'Inter';
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--olive);
    padding: 16px 28px;
    color: var(--sand-light);
    border-radius: 4px;
    border: 2px solid var(--olive);
    width: 100%;
    text-align: center;
    transition: background .2s, border-color .2s;
}
.blue_button_lg_10:hover {
    background: var(--olive-dark);
    border-color: var(--sand);
}

.black_button_lg {
    font-family: 'Inter';
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--graphite);
    padding: 16px 28px;
    color: var(--sand-light);
    border-radius: 4px;
    border: 2px solid var(--graphite);
    text-align: center;
    transition: background .2s, border-color .2s, transform .15s;
}
.black_button_lg:hover {
    background: var(--graphite-soft);
    border-color: var(--sand);
    transform: translateY(-1px);
}

/* ============================================
   Типографика
   ============================================ */
.header_text {
    font-family: 'Inter Display', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.15;
    color: var(--graphite);
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 14px;
}
/* декоративная «лента» под заголовком */
.header_text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    background: var(--olive);
    box-shadow: 0 6px 0 -2px var(--sand);
}

.header_text_med {
    font-family: 'Inter';
    font-size: 22px;
    font-weight: 700;
    margin: 0 5px;
    color: var(--graphite);
    letter-spacing: 0.01em;
}

.regular_text {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 500;
    margin: 0 5px;
    line-height: 26px;
    color: var(--ink);
}
.red_text { color: var(--alert); }
.black_text { color: #000; }
.white_text { color: var(--sand-light); }

.regular_text_med {
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 500;
    margin: 0 5px;
    color: var(--muted);
    line-height: 1.55;
}
.regular_text_med_black {
    font-family: 'Inter';
    font-size: 17px;
    font-weight: 500;
    margin: 0 5px;
    color: var(--ink);
    line-height: 26px;
}
.notification_text {
    font-family: 'Inter';
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin: 0 5px;
    color: var(--muted);
}

/* «Метка» подписи — моноширинный технический вид */
.field-label {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--khaki);
}

/* ============================================
   Иконки-боксы — квадратные, как жетоны
   ============================================ */
.blue_box {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    background: var(--olive);
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 700;
    padding: 12px 7px;
    border-radius: 4px;
    color: var(--sand-light);
    border: 1px solid var(--olive-dark);
    flex-shrink: 0;
}
.blue_box_check {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: var(--sand-light);
    font-family: 'Inter';
    font-size: 18px;
    font-weight: 700;
    padding: 12px 7px;
    border-radius: 4px;
    color: var(--olive);
    border: 2px solid var(--olive);
    flex-shrink: 0;
}

/* ============================================
   Секции
   ============================================ */
.content_block { margin: 25px 0; }

.row_block {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    border-radius: 6px;
}
.row_block_col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

/* --- Баннер --- */
.banner {
    margin: 32px 0 25px 0;
    background: var(--cream);
    border-radius: 6px;
    flex-wrap: nowrap;
    height: 450px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 5px var(--line);
}
.banner_left {
    width: 49%;
    padding: 32px 28px;
    justify-content: space-between;
    height: 100%;
}
.banner_buttons {
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}
.banner_right {
    width: 60%;
    height: 100%;
    align-content: flex-end;
    position: relative;
}
.banner_right::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(43,44,20,.35), transparent 40%);
    pointer-events: none;
}
.banner_right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 6px 6px 0;
    filter: sepia(0.25) contrast(1.05) saturate(0.85);
}

/* --- Плашки --- */
.plate_block {
    display: flex;
    background: var(--cream);
    padding: 32px 32px 16px 32px;
    border-radius: 6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--line);
    box-shadow: inset 0 0 0 4px var(--cream), inset 0 0 0 5px rgba(201,195,170,.4);
}
.plates {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 24px;
}
.plate {
    width: 32%;
    display: flex;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
    gap: 12px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    background: #F8F5EA;
    position: relative;
}
.plate::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--olive);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.plate:hover::before { transform: scaleX(1); }
.plate:hover {
    border-color: var(--olive);
    box-shadow: 0 8px 24px rgba(75, 83, 32, .15);
    transform: translateY(-2px);
}
.plate_row {
    width: 49%;
    display: flex;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 16px;
    gap: 12px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    background: #F8F5EA;
    transition: border-color .2s, box-shadow .2s;
}
.plate_row:hover {
    border-color: var(--olive);
    box-shadow: 0 8px 24px rgba(75, 83, 32, .12);
}
.plate_text { width: 75%; }

/* ============================================
   Форма — «полевой бланк»
   ============================================ */
.form_row {
    background-color: var(--graphite);
    background-image:
        radial-gradient(circle at 15% 30%, rgba(75,83,32,.45) 0 22%, transparent 23%),
        radial-gradient(circle at 80% 20%, rgba(138,139,92,.35) 0 18%, transparent 19%),
        radial-gradient(circle at 65% 80%, rgba(75,83,32,.35) 0 20%, transparent 21%),
        radial-gradient(circle at 25% 85%, rgba(138,139,92,.25) 0 16%, transparent 17%),
        repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 12px, transparent 12px 24px);
    border-radius: 6px;
    border: 2px solid var(--olive);
    padding: 32px;
    display: flex;
    gap: 25px;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.form_row::before {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(107,122,58,.35) 0%, transparent 70%);
    pointer-events: none;
}
.top_form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.med_form {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 16px;
}
.input_box {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.input_box input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 4px;
    border: 1px solid var(--khaki);
    background: rgba(35, 36, 28, .6);
    color: var(--sand-light);
    transition: border-color .2s, background .2s;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.03em;
}
.input_box input::placeholder { color: #8A8B5C; }
.input_box input:focus {
    border-color: var(--sand);
    background: rgba(35, 36, 28, .85);
}
.number_input {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.phone_input {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
}
.region {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid var(--khaki);
    border-radius: 4px 0 0 4px;
    padding: 12px 16px;
    background: rgba(35, 36, 28, .6);
    gap: 6px;
}
.region p { line-height: 21px; }
.region img { width: 20px; height: 20px; }
.phone_input input {
    margin: 0;
    width: 84%;
    padding: 14px 16px;
    border-radius: 0 4px 4px 0;
    border: 1px solid var(--khaki);
    border-left-width: 0;
    background: rgba(35, 36, 28, .6);
    color: var(--sand-light);
    font-family: 'Courier New', monospace;
    letter-spacing: 0.03em;
}
.phone_input input::placeholder { color: #8A8B5C; }
.phone_input input:focus { border-color: var(--sand); }

.form_col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 37%;
}
.input_box_col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.input_box_col input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 4px;
    border: 1px solid var(--line);
    margin: 0;
    background: #FFFDF6;
    transition: border-color .2s;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.03em;
}
.input_box_col input:focus { border-color: var(--olive); }
.input_box_col_phone {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.input_box_col_phone .region { background: #FFFDF6; border-color: var(--line); }
.input_box_col_phone .phone_input input { background: #FFFDF6; color: var(--ink); border-color: var(--line); }

.image_block_col { width: 60%; }
.image_block_col img {
    border-radius: 6px;
    filter: sepia(0.2) contrast(1.05) saturate(0.9);
    border: 1px solid var(--line);
}
.left_form { justify-content: space-between; }
.c2_col { width: 48%; }
.c2_col img {
    border-radius: 6px;
    filter: sepia(0.2) contrast(1.05) saturate(0.9);
    border: 1px solid var(--line);
}

.marked_text_row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    flex-wrap: nowrap;
    gap: 10px;
}
.marked_text_row span { min-width: 48px; }
.col_block {
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 45px;
}

/* ============================================
   Галерея
   ============================================ */
.gallery {
    width: 100%;
    height: 500px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.gal {
    width: 90%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
    border-radius: 6px;
    transition: opacity 0.5s ease;
    background-color: var(--graphite);
    border: 2px solid var(--olive);
}
.gal::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.gal.active { opacity: 0; }
.gal.active::before { opacity: 1; }

.gal_counter {
    position: absolute;
    left: 16px;
    bottom: 12px;
    background: var(--olive);
    color: var(--sand-light);
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    border-radius: 2px;
    border: 1px solid var(--sand);
    z-index: 2;
}

.arrow {
    height: 100%;
    background: var(--olive);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    border-radius: 4px;
    color: var(--sand-light);
    font-size: 20px;
    transition: background .2s, color .2s;
    user-select: none;
    border: 2px solid var(--olive-dark);
}
.arrow:hover {
    background: var(--sand);
    color: var(--graphite);
    border-color: var(--olive);
}
.arrow.disabled { opacity: .4; pointer-events: none; }

.gal_list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
}
.gal_img {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 150px;
    height: 110px;
    border: 2px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
    transition: border-color .2s, transform .2s;
    background: var(--graphite);
}
.gal_img::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}
.gal_img.active {
    border-color: var(--olive);
    transform: translateY(-2px);
    box-shadow: 0 0 0 2px var(--sand);
}
.gal_img.active::after { background: rgba(75, 83, 32, .25); }
.gal_img:hover::after { background: rgba(35, 36, 28, .35); }
.gal_img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: sepia(0.15) contrast(1.03);
}

.gal_dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
}
.gal_dot {
    width: 12px;
    height: 4px;
    border-radius: 0;
    background: var(--line);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.gal_dot.active {
    background: var(--olive);
    transform: scaleY(2);
}

/* ============================================
   Вопрос-ответ
   ============================================ */
.qNa_list {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}
.qNa { align-content: flex-start; transition: background .2s, color .2s; }
.qNa:hover { background: var(--sand); color: var(--graphite); }
.qNa_icon { transition: transform 0.3s ease; }
.qNa_icon.rotated { transform: rotate(45deg); }
.text_block { width: 90%; line-height: 24px; }
.qNa_row {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 14px;
    border-radius: 4px;
    transition: background .2s;
    border-left: 3px solid transparent;
}
.qNa_row:hover {
    background: #F8F5EA;
    border-left-color: var(--olive);
}

/* ============================================
   Новые блоки
   ============================================ */
.split_block {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    width: 100%;
    margin-top: 16px;
}
.split_block.reverse { flex-direction: row-reverse; }
.split_text {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.split_text .header_text { font-size: 28px; }
.split_image {
    width: 50%;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--olive);
}
.split_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: transform .4s;
    filter: sepia(0.2) contrast(1.05) saturate(0.9);
}
.split_image:hover img { transform: scale(1.04); }

.split_text .blue_button_lg,
.split_text .black_button_lg { align-self: flex-start; }

.big_text_block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 860px;
}
.big_text_block .header_text { font-size: 32px; }
.big_text_block p { line-height: 1.7; }

/* Сетка картинок */
.image_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
    margin-top: 16px;
}
.image_grid .grid_item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    border: 1px solid var(--line);
    background: var(--graphite);
}
.image_grid .grid_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
    filter: sepia(0.15) contrast(1.05);
}
.image_grid .grid_item:hover img { transform: scale(1.08); }
.image_grid .grid_item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(43,44,20,.65) 100%);
    opacity: 0;
    transition: opacity .3s;
}
.image_grid .grid_item:hover::after { opacity: 1; }

/* Статистика — «табло» */
.stats_row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.stat_card {
    flex: 1 1 180px;
    background: var(--graphite);
    border: 2px solid var(--olive);
    border-radius: 4px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
    background-image:
        repeating-linear-gradient(45deg,
            rgba(75,83,32,.12) 0 6px,
            transparent 6px 12px);
}
.stat_card:hover {
    border-color: var(--sand);
    box-shadow: 0 0 0 1px var(--sand), 0 8px 24px rgba(75,83,32,.25);
}
.stat_value {
    font-family: 'Courier New', monospace;
    font-size: 42px;
    font-weight: 700;
    color: var(--sand);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat_label {
    font-family: 'Inter';
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--khaki);
    line-height: 1.4;
}

/* Цитата — «приказ» */
.quote_block {
    background: #F8F5EA;
    border-left: 6px solid var(--olive);
    border-radius: 2px;
    padding: 24px 28px;
    margin-top: 16px;
    width: 100%;
    position: relative;
}
.quote_block::before {
    content: '★';
    position: absolute;
    top: 12px;
    right: 16px;
    color: var(--olive);
    opacity: .25;
    font-size: 32px;
}
.quote_block p {
    font-family: 'Inter';
    font-size: 19px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.55;
    color: var(--graphite);
}
.quote_block .quote_author {
    margin-top: 12px;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--olive);
}

/* ============================================
   Мобильное меню, футер, лоадер
   ============================================ */
.mob_nav {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--sand-light);
}
.header_contacts {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.header_contacts a:not(.blue_button_sm) {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.06em;
}
.mob_menu {
    display: none;
    background: var(--graphite);
    position: fixed;
    top: 80px;
    left: 0;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 100%;
    height: 100%;
    z-index: 99;
    border-top: 2px solid var(--olive);
}
.mob_menu a {
    font-family: 'Inter';
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sand-light);
    padding-bottom: 4px;
}
.mob_menu a:hover { text-decoration: underline; color: var(--sand); }

.loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: rgba(35, 36, 28, 0.9);
    cursor: pointer;
    flex-direction: column;
}
.loader i {
    margin: 0 auto;
    margin-bottom: 12px;
    font-size: 50px;
    color: var(--sand);
    animation: spinSpring 1.5s ease-in-out infinite;
}
.hidden { display: none; }

@keyframes spinSpring {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(90deg); }
    50% { transform: rotate(180deg); }
    75% { transform: rotate(270deg); }
}

footer {
    background: var(--graphite);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    padding: 32px 32px 16px 32px;
    margin-top: 32px;
    margin-bottom: 32px;
    border: 2px solid var(--olive);
    background-image:
        repeating-linear-gradient(45deg,
            rgba(75,83,32,.1) 0 8px,
            transparent 8px 16px);
}
.footer_row {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}
.footer_col {
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.footer_col span {
    color: var(--sand-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 14px;
}
.footer_col a { color: var(--khaki); }
.footer_col a:hover { text-decoration: underline; color: var(--sand); }
.footer_logo { width: 10%; }
.footer_logo img { width: 100%; filter: brightness(0) invert(1); opacity: .9; }
.footer_social {
    width: 10%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.social {
    width: 52px;
    height: 52px;
    background: var(--olive);
    border-radius: 4px;
    color: var(--sand-light);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: background .2s, color .2s;
    border: 1px solid var(--olive-dark);
}
.social:hover { background: var(--sand); color: var(--graphite); }
footer .notification_text { color: var(--khaki); }

/* ============================================
   Чекбокс — «штамп»
   ============================================ */
.checkbox-container { margin: 20px 0; }
.styled-checkbox { display: none; }
.styled-label {
    display: flex;
    align-items: center;
    user-select: none;
    position: relative;
    padding-left: 35px;
}
.styled-label a { text-decoration: underline; color: var(--sand); }
.styled-label a:hover { text-decoration: none; }
.checkmark {
    position: absolute;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #F8F5EA;
    border-radius: 3px;
    border: 2px solid var(--khaki);
    transition: all 0.3s;
}
.styled-label:hover .checkmark { border-color: var(--olive); }
.styled-checkbox:checked + .styled-label .checkmark {
    background-color: var(--olive);
    border-color: var(--olive);
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid var(--sand-light);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.styled-checkbox:checked + .styled-label .checkmark:after { display: block; }

/* ============================================
   Адаптив
   ============================================ */
@media (max-width: 1200px) {
    main { width: 100%; padding: 80px 12px 0; }
    footer { margin-left: 12px; margin-right: 12px; }
}
@media (max-width: 999px) {
    .banner_right { width: 50%; }
    .input_box { width: 30%; }
    .image_grid { grid-template-columns: repeat(3, 1fr); }
    .split_block { gap: 24px; }
}
@media (max-width: 767px) {
    header { padding: 16px 20px; }
    .footer_row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .footer_logo { width: 20%; }
    .footer_col { width: 100%; align-items: center; }
    .footer_social { width: 50%; }
    .social { width: 32px; height: 32px; font-size: 14px; }
    .qNa_list { gap: 24px; }
    .banner { height: auto; flex-direction: column; align-items: center; }
    .banner_left { width: 100%; padding: 24px; gap: 12px; }
    .banner_right { width: 100%; }
    .banner_buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
    .banner_right img { border-radius: 0 0 6px 6px; }
    .blue_button_lg, .black_button_lg { width: 100%; }
    .desc_nav { display: none; }
    .mob_nav { display: block; }
    .header_contacts .blue_button_sm { display: none; }
    .plate { width: 100%; }
    .plate_row { flex-direction: column; width: 100%; }
    .med_form { flex-direction: column; align-items: stretch; }
    .input_box, .number_input { width: 100%; }
    .form_row { padding: 24px; }
    .phone_input input { width: 100%; margin-bottom: 12px; }
    .input_box input { margin: 0 0 12px 0; }
    .row_block { flex-direction: column; gap: 12px; }
    .col_block, .c2_col, .form_col, .image_block_col { width: 100%; }
    .gallery { height: 300px; gap: 6px; }
    .arrow { padding: 0 10px; }
    .gal_img { width: 31%; }
    .gal_list { justify-content: space-between; }
    .split_block, .split_block.reverse {
        flex-direction: column;
        gap: 20px;
    }
    .split_text, .split_image { width: 100%; }
    .image_grid { grid-template-columns: repeat(2, 1fr); }
    .stat_card { flex: 1 1 45%; padding: 20px 16px; }
    .stat_value { font-size: 30px; }
    .header_text { font-size: 28px; }
    .big_text_block .header_text { font-size: 24px; }
    .split_text .header_text { font-size: 22px; }
}