/* gazeta.zanmedia.kz — приём объявлений
   Визуальный язык: газетная полоса. Серифный заголовочный шрифт,
   тонкие линейки, тёплая бумага, красный акцент как у печатной шапки. */

:root {
    --ink:        #121D2B;
    --ink-2:      #35485C;
    --muted:      #6E7F8E;
    --paper:      #FBF8F2;
    --paper-2:    #F3EEE3;
    --surface:    #FFFFFF;
    --line:       #DED7C8;
    --line-soft:  #ECE6D9;
    --accent:     #A8191B;
    --accent-ink: #7E1214;
    --accent-bg:  #FBEFEE;
    --ok:         #1B6B4A;
    --ok-bg:      #EAF5F0;

    --radius:     4px;
    --radius-lg:  8px;
    --shadow:     0 1px 2px rgba(18, 29, 43, .06), 0 8px 24px -12px rgba(18, 29, 43, .18);
    --shadow-lg:  0 2px 4px rgba(18, 29, 43, .05), 0 24px 56px -20px rgba(18, 29, 43, .28);

    --serif: "PT Serif", Georgia, "Times New Roman", serif;
    --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --gutter: 16px;
    --maxw:   1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
    text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #F4F1EA; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--accent);
    flex: none;
}
.section--ink .eyebrow { color: #E4A3A3; }
.section--ink .eyebrow::before { background: #E4A3A3; }

.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(27px, 3.6vw, 40px); }
.section-head p { color: var(--ink-2); font-size: 17px; }
.section--ink .section-head p { color: #C3CDD6; }

/* ───────── Шапка ───────── */

.masthead {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 248, 242, .94);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.masthead__bar {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 68px;
}
.brand { display: flex; align-items: baseline; gap: 9px; text-decoration: none; flex: none; }
.brand__name {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: .02em;
}
.brand__sub {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    border-left: 1px solid var(--line);
    padding-left: 9px;
}
.nav { display: flex; gap: 22px; margin-inline: auto; }
.nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.masthead__side { display: flex; align-items: center; gap: 12px; flex: none; }
.lang {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: var(--ink-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 6px 11px;
    background: var(--surface);
    transition: border-color .15s, color .15s;
}
.lang:hover { border-color: var(--ink); color: var(--ink); }
.tel {
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}
.burger {
    display: none;
    width: 42px; height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after {
    content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }

/* ───────── Кнопки ───────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--sans);
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.2;
    padding: 14px 24px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .08s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #1D2E42; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); }
.btn--lg { padding: 17px 32px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ───────── Первый экран ───────── */

.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 56px;
    align-items: start;
}
.hero h1 { font-size: clamp(32px, 5vw, 54px); margin-bottom: .45em; }
.hero__lead { font-size: 18px; color: var(--ink-2); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__note {
    margin-top: 18px;
    font-size: 14px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Макет газетной полосы */
.clipping {
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 26px 28px 28px;
    position: relative;
}
.clipping::after {
    content: "";
    position: absolute;
    inset: 8px -8px -8px 8px;
    border: 1px solid var(--line-soft);
    z-index: -1;
}
.clipping__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid var(--ink);
    padding-bottom: 8px;
    margin-bottom: 4px;
}
.clipping__title { font-family: var(--serif); font-size: 19px; font-weight: 700; }
.clipping__meta { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.clipping__rule { height: 1px; background: var(--ink); margin-bottom: 18px; }
.clipping__kicker {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}
.clipping__body {
    font-family: var(--serif);
    font-size: 15px;
    line-height: 1.62;
    color: #1B2A3A;
    columns: 2;
    column-gap: 22px;
    column-rule: 1px solid var(--line-soft);
    text-align: justify;
    hyphens: auto;
}
.clipping__body p + p { margin-top: .8em; }
.clipping__foot {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

/* ───────── Факты ───────── */

.facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.fact { padding: 32px 28px 32px 0; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; padding-right: 0; }
.fact:not(:first-child) { padding-left: 28px; }
.fact h3 { font-size: 17.5px; margin-bottom: .35em; }
.fact p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* ───────── Издания ───────── */

.papers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.paper {
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--ink);
    padding: 28px;
}
.paper--kk { border-top-color: var(--accent); }
.paper h3 { font-size: 25px; margin-bottom: .3em; }
.paper p { color: var(--ink-2); font-size: 15.5px; }
.paper__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0 32px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}
.paper__spec dt { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.paper__spec dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }

/* ───────── Типы объявлений ───────── */

.type-group + .type-group { margin-top: 40px; }
.type-group__title {
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 20px;
}
.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.type {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s, transform .12s;
}
.type:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.type h3 { font-size: 18px; margin: 0; }
.type p { font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; flex: 1; }
.type__docs { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line-soft); padding-top: 10px; }
.type__docs b { color: var(--ink-2); font-weight: 600; display: block; margin-bottom: 3px; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; }
.type__go { font-size: 13.5px; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 6px; }
.type__go::after { content: "→"; transition: transform .15s; }
.type:hover .type__go::after { transform: translateX(3px); }

/* ───────── Шаги ───────── */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.step__num {
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    width: 44px;
    padding-top: 2px;
    border-top: 2px solid var(--accent);
}
.step h3 { font-size: 17.5px; margin-bottom: .3em; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.section--ink .step p { color: #B9C5D0; }
.section--ink .step__num { color: #E4A3A3; border-top-color: #E4A3A3; }

/* ───────── График ───────── */

.schedule { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sched {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 26px 28px;
}
.sched--urgent { border-color: var(--accent); background: var(--accent-bg); }
.sched h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.sched ul { list-style: none; margin: 16px 0 0; padding: 0; }
.sched li {
    padding: 12px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 15.5px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.sched li::before { content: "—"; color: var(--accent); flex: none; }
.sched--urgent li { border-top-color: #EBD6D5; }

/* ───────── Форма ───────── */

.form-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 3px solid var(--ink);
    box-shadow: var(--shadow-lg);
}
.form-shell__head { padding: 32px 36px 0; }
.fieldset { padding: 28px 36px; border-top: 1px solid var(--line-soft); }
.fieldset:first-of-type { border-top: 0; }
.fieldset__legend {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--sans);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 22px;
}
.fieldset__legend span {
    width: 24px; height: 24px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0;
    flex: none;
}

.grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--1 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label, .field__label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
}
.field__req { color: var(--accent); }
.field__hint { font-size: 12.5px; color: var(--muted); line-height: 1.45; }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"], select, textarea {
    width: 100%;
    font-family: var(--sans);
    font-size: 15.5px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 11px 13px;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2335485C' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 36px;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(18, 29, 43, .09);
}
input::placeholder, textarea::placeholder { color: #A5B0BA; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--accent); }
.field__error { font-size: 12.5px; color: var(--accent); font-weight: 500; }

/* Второе значение поля — на другом языке публикации */
.field__alt {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
    padding-left: 12px;
    border-left: 2px solid var(--line);
}
.field__alt label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted);
}
.field__alt input, .field__alt textarea { font-size: 14.5px; padding: 9px 11px; }

/* Сегментированный переключатель */
.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
    flex: 1 1 auto;
    min-width: fit-content;
    text-align: center;
    font-size: 14.5px;
    font-weight: 500;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
    white-space: nowrap;
}
.segmented label:hover { border-color: var(--ink-2); }
.segmented input:checked + label {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    font-weight: 600;
}
.segmented input:focus-visible + label { box-shadow: 0 0 0 3px rgba(18, 29, 43, .15); }

/* Чекбокс */
.check { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start; cursor: pointer; }
.check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.check span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }

/* Предпросмотр текста */
.preview {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.preview__bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 13px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-2);
    font-size: 12.5px;
    color: var(--muted);
}
.preview__bar .spacer { margin-inline-start: auto; }
.preview__act {
    font: inherit;
    font-weight: 600;
    color: var(--ink-2);
    background: none;
    border: 0;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 3px;
}
.preview__act:hover { background: rgba(18, 29, 43, .07); color: var(--ink); }
.preview textarea {
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: var(--serif);
    font-size: 15.5px;
    line-height: 1.65;
    min-height: 150px;
}
.preview textarea:focus { box-shadow: none; }

/* Файлы */
.dropzone {
    border: 1.5px dashed var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 26px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--ink); background: var(--paper-2); }
.dropzone input { display: none; }
.dropzone__label { font-weight: 600; font-size: 15px; }
.dropzone__hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.filelist { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.filelist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 8px 11px;
}
.filelist .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filelist .size { color: var(--muted); font-size: 12.5px; margin-inline-start: auto; flex: none; }
.filelist button {
    border: 0; background: none; cursor: pointer; color: var(--muted);
    font-size: 18px; line-height: 1; padding: 0 2px; flex: none;
}
.filelist button:hover { color: var(--accent); }

.form-foot { padding: 24px 36px 32px; border-top: 1px solid var(--line-soft); background: var(--paper); }
.form-foot__row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.form-foot__note { font-size: 13px; color: var(--muted); flex: 1 1 240px; }

.form-alert {
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: var(--radius);
    font-size: 14.5px;
    background: var(--accent-bg);
    color: var(--accent-ink);
    border: 1px solid #EBD6D5;
}

.form-success { padding: 56px 36px; text-align: center; }
.form-success__mark {
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--ok-bg);
    color: var(--ok);
    display: grid; place-items: center;
    font-size: 28px;
}
.form-success h3 { font-size: 27px; }
.form-success p { color: var(--ink-2); max-width: 46ch; margin-inline: auto; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ───────── FAQ ───────── */

.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 44px 20px 0;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 700;
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--sans);
    font-size: 22px;
    font-weight: 400;
    color: var(--accent);
    transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent-ink); }
.faq__a { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 15.5px; }

/* ───────── Контакты и подвал ───────── */

.contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.contact__label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #8FA0B0; margin-bottom: 8px; }
.contact a { font-family: var(--serif); font-size: 21px; text-decoration: none; display: block; }
.contact a:hover { color: #E4A3A3; }
.contact p { font-size: 15.5px; color: #C3CDD6; margin: 0; }

.footer { background: var(--ink); color: #90A0AF; border-top: 1px solid rgba(255,255,255,.1); padding: 32px 0; font-size: 14px; }
.footer__row { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.footer a { color: #C3CDD6; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; line-height: 1.6; }

/* Плавающая кнопка WhatsApp */
.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
    text-decoration: none;
    transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }

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

/* ───────── Адаптив ───────── */

@media (max-width: 1040px) {
    .nav { display: none; }
    .burger { display: flex; }
    .masthead__bar { justify-content: space-between; }
    .nav.is-open {
        display: flex;
        position: absolute;
        inset: 68px 0 auto;
        flex-direction: column;
        gap: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 8px var(--gutter) 16px;
        margin: 0;
    }
    .nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
    .hero__grid { grid-template-columns: 1fr; gap: 44px; }
    .facts { grid-template-columns: repeat(2, 1fr); }
    .fact { padding: 26px 24px 26px 0; }
    .fact:nth-child(2n) { border-right: 0; padding-right: 0; }
    .fact:nth-child(2n+1) { padding-left: 0; }
    .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
    .types { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .contacts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .section { padding: 52px 0; }
    .hero { padding: 40px 0 52px; }
    .tel { display: none; }
    .facts { grid-template-columns: 1fr; }
    .fact { border-right: 0; padding: 22px 0; border-top: 1px solid var(--line); }
    .fact:first-child { border-top: 0; }
    .fact:not(:first-child) { padding-left: 0; }
    .papers, .types, .steps, .schedule, .contacts { grid-template-columns: 1fr; }
    .grid, .grid--3 { grid-template-columns: 1fr; }
    .col-span-2 { grid-column: auto; }
    .clipping { padding: 20px; }
    .clipping__body { columns: 1; }
    .form-shell__head, .fieldset, .form-foot { padding-inline: 20px; }
    .form-success { padding: 44px 20px; }
    .hero__cta .btn { width: 100%; }
    .step__num { font-size: 28px; width: 36px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
    .masthead, .wa-float, .hero__cta, .form-shell { display: none; }
}
