/* ==================================================================
   manipulyators.ru — style.css
   1. Токены, сброс, типографика, контейнер, кнопки, формы
   ================================================================== */

:root {
  --bg:        #FFFFFF;
  --ink:       #0B0B0B;
  --ink-2:     #5C5C5C;
  --rule:      #111111;
  --rule-soft: #DCDAD5;
  --stone:     #EFEEEA;
  --accent:    #D6402C;

  --font-display: "Manrope","Golos Text","Arial",sans-serif;
  --font-sans:    'Golos Text', 'Helvetica Neue', Arial, sans-serif;

  --wrap:   1360px;
  --pad:    40px;
  --gutter: 24px;
  --rhythm: 96px;
  --measure: 66ch;
}

/* ---------- сброс ---------- */

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd {
  margin: 0;
}

ul, ol { padding: 0; list-style: none; }

img, svg, iframe, video {
  display: block;
  max-width: 100%;
}

img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
}

a:hover { text-decoration: underline; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

input, select, textarea {
  font: inherit;
  color: inherit;
  border-radius: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

::selection {
  background: var(--ink);
  color: #FFFFFF;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 20px;
  font-size: 15px;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- типографика ---------- */

.display,
.h1, h1 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.01em;
}

h1, .h1 {
  /* нижняя граница 38px: на 375px длинные заголовки («Политика конфиденциальности»,
     «Монтаж металлоконструкций и навесов») при 44px не влезали в контейнер 335px */
  font-size: clamp(38px, 7vw, 104px);
}

.display--xl {
  font-size: clamp(32px, 5vw, 72px);
}

.display--l {
  font-size: clamp(28px, 4vw, 56px);
}

h2, .h2 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}

p { line-height: 1.6; }

.lead {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
}

.meta,
.caption {
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.muted { color: var(--ink-2); }

.accent { color: var(--accent); }

.measure {
  max-width: var(--measure);
}

.text-narrow {
  max-width: 680px;
}

.text-narrow p + p { margin-top: 1em; }

.ic {
  flex: 0 0 auto;
  vertical-align: middle;
}

/* ---------- контейнер и вертикальный ритм ---------- */

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: var(--rhythm);
  border-top: 1px solid var(--rule);
}

.section--tight { padding-block: 56px; }

.section:first-of-type { border-top: 0; }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section__intro {
  max-width: 680px;
  margin-top: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

/* ---------- ярлык на линейке ---------- */

.slabel {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}

.slabel__text {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.slabel__right {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.slabel__right a { text-decoration: none; }
.slabel__right a:hover { text-decoration: underline; }

/* ---------- кнопки: rule-link ---------- */

.rule-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  border-top: 1px solid var(--rule);
  padding: 16px 0;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  color: var(--ink);
  background: none;
  text-decoration: none;
}

.rule-link__arrow {
  display: inline-flex;
  transition: transform 0.2s ease, color 0.2s ease;
}

.rule-link:hover .rule-link__text { text-decoration: underline; }

.rule-link:hover .rule-link__arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.rule-link--inline {
  display: inline-flex;
  width: auto;
  gap: 12px;
}

.rule-link--bare {
  border-top: 0;
  padding: 0;
}

/* ---------- кнопки: solid ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 32px;
  background: var(--ink);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid var(--ink);
  border-radius: 0;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
}

.btn:disabled,
.btn[disabled] {
  /* белым по #DCDAD5 надпись «Отправляем…» была нечитаема (контраст 1.4:1) */
  background: var(--rule-soft);
  border-color: var(--rule-soft);
  color: #3A3934;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.btn--block { width: 100%; }

/* ---------- формы ---------- */

.form {
  display: block;
}

.field {
  display: block;
  margin-bottom: 20px;
}

.field__label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.field__input,
.field__select,
.field__textarea {
  display: block;
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  font-size: 17px;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.field__textarea {
  min-height: 96px;
  resize: vertical;
}

.field__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 6px center, right 1px center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 20px;
  cursor: pointer;
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--ink-2);
  opacity: 1;
}

.field__input:hover,
.field__select:hover,
.field__textarea:hover {
  border-bottom-color: var(--accent);
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field__input:focus-visible,
.field__select:focus-visible,
.field__textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.consent {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 16px;
  max-width: 52ch;
}

.consent a {
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent a:hover { color: var(--accent); }

.form__success {
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--accent);
  color: var(--accent);
  font-size: 17px;
}

.radio,
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule-soft);
  cursor: pointer;
  font-size: 17px;
}

.radio:hover,
.checkbox:hover { color: var(--accent); }

.radio input,
.checkbox input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 4px 0 0;
  accent-color: var(--accent);
}

/* ==================================================================
   2. Шапка, навигация, бургер, мобильное меню, подвал
   ================================================================== */

.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.hdr__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
}

.hdr__logo:hover { text-decoration: none; }
.hdr__logo:hover .hdr__logo-word { text-decoration: underline; }

.hdr__logo-reg {
  font-size: 11px;
  line-height: 1;
  margin-top: 2px;
}

.hdr__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hdr__nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
}

.hdr__nav-item { flex: 0 0 auto; }

.hdr__nav-link {
  display: inline-block;
  font-size: 17px;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
}

.hdr__nav-link:hover {
  text-decoration: none;
  border-bottom-color: var(--ink);
}

.hdr__nav-link.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hdr__right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.hdr__phone-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.hdr__phone {
  font-size: 17px;
  white-space: nowrap;
  text-decoration: none;
}

.hdr__phone:hover { text-decoration: underline; }

.hdr__hours {
  font-size: 12px;
  color: var(--ink-2);
  white-space: nowrap;
  margin-top: 2px;
}

.hdr__cta {
  width: auto;
  border-top: 0;
  padding: 0;
  gap: 10px;
  white-space: nowrap;
}

/* ---------- бургер ---------- */

.burger {
  display: none;
  align-items: center;
  gap: 10px;
}

.burger__lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 15px;
}

.burger__lines i {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger__word {
  font-size: 15px;
  line-height: 1;
}

.burger[aria-expanded="true"] .burger__lines i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__lines i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- полноэкранное меню ---------- */

.navover {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--bg);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.navover__inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding-block: 20px 40px;
}

.navover__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}

.navover__label {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.navover__close {
  display: inline-flex;
  padding: 6px;
  margin-right: -6px;
}

.navover__close:hover { color: var(--accent); }

.navover__nav {
  display: block;
  flex: 1 1 auto;
}

.navover__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.navover__link:last-child { border-bottom: 1px solid var(--rule); }

.navover__link:hover { text-decoration: none; }
.navover__link:hover span { text-decoration: underline; }
.navover__link:hover .ic { color: var(--accent); }

.navover__link.is-active { color: var(--accent); }

.navover__foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.navover__contact {
  font-size: 20px;
  text-decoration: none;
}

.navover__contact:hover { text-decoration: underline; }

.navover__hours {
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- подвал ---------- */

.ftr {
  border-top: 1px solid var(--rule);
  padding: 80px 0 40px;
  background: var(--bg);
}

.ftr__grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 3fr;
  gap: var(--gutter);
}

.ftr__col { min-width: 0; }

.ftr__label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}

.ftr__about {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 42ch;
}

.ftr__links li {
  font-size: 17px;
  line-height: 1.9;
}

.ftr__links a { text-decoration: none; }
.ftr__links a:hover { text-decoration: underline; }

.ftr__links--contacts a { white-space: nowrap; }

.ftr__plain { color: var(--ink-2); }

.ftr__req {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}

.ftr__cta {
  margin-top: 20px;
}

.ftr__type {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.ftr__type-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.ftr__type-line a { text-decoration: none; }
.ftr__type-line a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

.ftr__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  color: var(--ink-2);
}

/* ==================================================================
   3. Секции
   ================================================================== */

/* ---------- hero главной ---------- */

.hero {
  padding-top: 40px;
}

.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--stone);
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__title {
  margin-top: 32px;
  max-width: 16ch;
}

.hero__sub {
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.4;
  max-width: 60ch;
}

/* ---------- page-hero ---------- */

.phero {
  padding-block: 56px 40px;
  border-bottom: 1px solid var(--rule);
}

.phero__label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-bottom: 20px;
}

.phero__title {
  max-width: 18ch;
  hyphens: auto;
  overflow-wrap: break-word;
}

.phero__lead {
  margin-top: 24px;
  max-width: 680px;
  font-size: 20px;
  line-height: 1.45;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 16px;
}

.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- quick-calc ---------- */

.qcalc__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 20px;
  align-items: end;
}

.qcalc .field { margin-bottom: 0; }

.qcalc__submit { align-self: end; }

.qcalc__submit .btn { white-space: nowrap; }

/* ---------- строчный реестр (фирменный приём) ---------- */

.registry {
  border-bottom: 1px solid var(--rule);
}

.reg-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 220px 40px;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}

.reg-row:hover { text-decoration: none; }

.reg-row__meta {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.reg-row__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.reg-row__price {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-align: right;
}

.reg-row__arrow {
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.reg-row:hover .reg-row__arrow,
.reg-row:focus-visible .reg-row__arrow {
  opacity: 1;
  color: var(--accent);
  transform: translateX(4px);
}

.reg-row:hover .reg-row__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* компактный вариант реестра (перелинковка, 404, «читайте также») */

.reg-row--sm {
  grid-template-columns: minmax(0, 1fr) auto 40px;
}

.reg-row--sm .reg-row__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}

.reg-row--sm .reg-row__arrow { opacity: 1; }

/* ---------- карточки ---------- */

.cards {
  display: grid;
  gap: 40px var(--gutter);
}

.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  display: block;
  text-decoration: none;
  min-width: 0;
}

.card:hover { text-decoration: none; }

.card__media {
  display: block;
  width: 100%;
  background: var(--stone);
  overflow: hidden;
}

.card__media--43 { aspect-ratio: 4 / 3; }
.card__media--32 { aspect-ratio: 3 / 2; }

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__media--contain img {
  object-fit: contain;
  padding: 8%;
}

.card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.card__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
}

.card:hover .card__title { text-decoration: underline; }

.card__price {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--accent);
  white-space: nowrap;
}

.card__meta {
  /* в разметке это <span>: без display:block margin-top не применяется и строка
     характеристик слипается с названием карточки */
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-2);
}

/* лента статей */

.feed { border-bottom: 1px solid var(--rule); }

.feed__item {
  display: grid;
  grid-template-columns: 4fr 6fr 40px;
  gap: var(--gutter);
  align-items: start;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}

.feed__item:hover { text-decoration: none; }

.feed__media {
  aspect-ratio: 3 / 2;
  background: var(--stone);
  overflow: hidden;
}

.feed__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed__date {
  /* <span> внутри ленты: без display:block дата втекает в заголовок одной строкой */
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.feed__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}

.feed__item:hover .feed__title { text-decoration: underline; }

.feed__lead {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed__arrow {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.feed__item:hover .feed__arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* ---------- преимущества ---------- */

.advs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 var(--gutter);
}

.adv {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

.adv__icon { display: block; margin-bottom: 16px; }

.adv__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.adv__text {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.5;
  max-width: 40ch;
}

/* ---------- цифры ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stat {
  padding: 40px 24px 40px 0;
  border-left: 1px solid var(--rule-soft);
  padding-left: 24px;
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

.stat__label {
  /* оба <span> инлайновые: без display:block подпись прилипала к цифре сбоку
     («68городов и районов области»), а margin-top и max-width не работали */
  display: block;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  max-width: 22ch;
}

/* ---------- таблицы ---------- */

.tablewrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ptable {
  min-width: 640px;
  font-size: 17px;
}

.ptable th,
.ptable td {
  text-align: left;
  padding: 16px 20px 16px 0;
  border-bottom: 1px solid var(--rule-soft);
  vertical-align: top;
}

.ptable thead th {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 10px;
}

.ptable tbody tr:last-child td { border-bottom: 1px solid var(--rule); }

.ptable th:first-child,
.ptable td:first-child {
  position: sticky;
  left: 0;
  background: var(--bg);
  padding-right: 24px;
  min-width: 220px;
}

.ptable td.is-price {
  white-space: nowrap;
  color: var(--accent);
}

.ptable__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-2);
  max-width: 60ch;
}

/* ---------- включено / оплачивается отдельно ---------- */

.inex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.inex__col {
  padding-right: 40px;
}

.inex__col + .inex__col {
  border-left: 1px solid var(--rule-soft);
  padding-left: 40px;
  padding-right: 0;
}

.inex__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  margin-bottom: 20px;
}

.inex__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 17px;
  line-height: 1.45;
}

.inex__list li .ic { margin-top: 3px; }

.inex__list--yes .ic { color: var(--ink); }
.inex__list--no .ic { color: var(--accent); }

/* ---------- шаги / порядок работы ---------- */

.steps { border-bottom: 1px solid var(--rule); }

.step {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}

.step__num {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  color: var(--ink-2);
}

.step__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}

.step__text {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
}

/* ---------- квиз ---------- */

.quiz {
  max-width: 680px;
}

.quiz__bar {
  height: 1px;
  background: var(--rule-soft);
  margin-bottom: 14px;
}

.quiz__bar-fill {
  display: block;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.quiz__counter {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.quiz__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.quiz__options { margin-bottom: 24px; }

.quiz__options .radio:last-child { border-bottom: 1px solid var(--rule-soft); }

.quiz__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.quiz__back {
  font-size: 15px;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.quiz__back:hover { color: var(--accent); }

.quiz__done {
  border-top: 1px solid var(--accent);
  padding-top: 24px;
}

/* ---------- отзывы / слайдеры ---------- */

.slider { position: relative; }

.slider__track { min-height: 1px; }

.slider__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
}

.slider__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--rule);
}

.slider__btn:hover {
  background: var(--ink);
  color: #FFFFFF;
}

.slider__dots {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}

.slider__dot {
  width: 24px;
  height: 1px;
  background: var(--rule-soft);
}

.slider__dot.is-active { background: var(--accent); }

.review {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: var(--gutter);
  align-items: start;
}

.review__who {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}

.review__role,
.review__date {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 6px;
}

.review__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.gallery__slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--stone);
}

.gallery__cap {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- оплата ---------- */

.pay {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px var(--gutter);
  align-items: start;
}

.pay__list { border-bottom: 1px solid var(--rule-soft); }

.pay__btn {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 18px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 20px;
  line-height: 1.3;
}

.pay__btn:hover { color: var(--accent); }

.pay__btn[aria-selected="true"] { color: var(--accent); }

.pay__btn-num {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--ink-2);
}

.pay__panel {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}

.pay__panel-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.pay__panel-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 52ch;
}

/* ---------- seo-текст ---------- */

.seo { max-width: 680px; }

.seo__title { margin-bottom: 24px; }

.seo p + p { margin-top: 1em; }

.seo__more { margin-top: 24px; }

/* ---------- call-cta ---------- */

.cta {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--gutter);
  align-items: end;
}

.cta__kicker {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 16px;
}

.cta__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.cta__phone:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}

.cta__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- форма заявки ---------- */

.order {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px var(--gutter);
  align-items: start;
}

.order__aside p {
  margin-top: 16px;
  color: var(--ink-2);
  max-width: 36ch;
}

.order__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--gutter);
}

.order__fields .field--wide { grid-column: 1 / -1; }

/* ---------- инверсный блок ---------- */

.invert {
  background: var(--ink);
  color: #FFFFFF;
  padding-block: var(--rhythm);
}

.invert .slabel,
.invert .rule-link,
.invert .reg-row,
.invert .stats,
.invert .stat { border-color: rgba(255, 255, 255, 0.35); }

.invert .slabel__text,
.invert .stat__label,
.invert .muted { color: rgba(255, 255, 255, 0.65); }

/* ---------- двухколонник фото + текст ---------- */

.split {
  display: grid;
  grid-template-columns: 5fr 1fr 6fr;
  gap: var(--gutter);
  align-items: start;
}

.split__media {
  aspect-ratio: 4 / 5;
  background: var(--stone);
  overflow: hidden;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__text { max-width: 62ch; }

.split__text p + p { margin-top: 1em; }

/* ---------- карта ---------- */

.map {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--stone);
  border: 1px solid var(--rule-soft);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map__link { margin-top: 16px; }

/* ---------- строки-реквизиты ---------- */

.deflist { border-bottom: 1px solid var(--rule); }

.deflist__row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}

.deflist__key {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.deflist__val {
  font-size: 17px;
  line-height: 1.5;
}

.deflist__val a { text-decoration: none; }
.deflist__val a:hover { text-decoration: underline; }

/* ---------- алфавитный список зон ---------- */

.zones {
  columns: 4;
  column-gap: var(--gutter);
}

.zones__group {
  break-inside: avoid;
  margin-bottom: 32px;
}

.zones__letter {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 12px;
}

.zones__list li {
  font-size: 17px;
  line-height: 1.8;
}

.zones__list a { text-decoration: none; }
.zones__list a:hover { text-decoration: underline; color: var(--accent); }

/* ---------- фильтр рубрик ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 8px;
}

.filters a {
  font-size: 17px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.filters a:hover { border-bottom-color: var(--ink); }

.filters a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- пагинация ---------- */

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  margin-top: 48px;
  font-size: 17px;
}

.pager__nums {
  display: flex;
  gap: 16px;
}

.pager__nums a,
.pager__nums span { text-decoration: none; }

.pager__nums .is-active { color: var(--accent); }

.pager a:hover { text-decoration: underline; }

/* #DCDAD5 по белому давал контраст 1.4:1 — неактивная стрелка была не видна */
.pager__off { color: #6E6C67; }

/* ---------- тело статьи ---------- */

.article__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--stone);
}

.article__cover-cap {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-2);
}

.prose {
  max-width: 66ch;
  font-size: 17px;
  line-height: 1.6;
}

.prose > * + * { margin-top: 1.2em; }

.prose h2 {
  margin-top: 2em;
  font-size: clamp(24px, 2.4vw, 34px);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 20px;
}

.prose ul li,
.prose ol li {
  position: relative;
  padding-left: 24px;
  margin-top: 0.5em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 1px;
  background: var(--ink);
}

.prose ol { counter-reset: prose-ol; }

.prose ol li { counter-increment: prose-ol; }

.prose ol li::before {
  content: counter(prose-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.9;
}

.prose blockquote {
  margin-block: 1.6em;
  padding-left: 28px;
  border-left: 1px solid var(--rule);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.prose figure img {
  width: 100%;
  background: var(--stone);
}

.prose figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-2);
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover { color: var(--accent); }

/* ---------- аккордеон FAQ ---------- */

.acc { border-bottom: 1px solid var(--rule); }

.acc__item { border-top: 1px solid var(--rule); }

.acc__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
}

.acc__btn:hover { color: var(--accent); }

.acc__ico { transition: transform 0.2s ease; }

.acc__btn[aria-expanded="true"] .acc__ico { transform: rotate(45deg); }

.acc__panel {
  padding-bottom: 24px;
  max-width: 66ch;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}

/* ---------- модалка ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, 0.55);
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg);
  padding: 40px;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  padding: 8px;
}

.modal__close:hover { color: var(--accent); }

.modal__label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 20px;
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.modal__lead {
  color: var(--ink-2);
  margin-bottom: 28px;
  max-width: 42ch;
}

/* ---------- 404 ---------- */

.nf__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(120px, 30vw, 380px);
  /* у Cormorant Garamond цифра «4» имеет длинный выносной элемент вниз: при
     line-height 0.8 он выходил из бокса и наезжал на абзац под цифрами */
  line-height: 1;
  letter-spacing: -0.02em;
}

.nf__text {
  margin-top: 24px;
  font-size: 20px;
}

/* ---------- карта сайта ---------- */

.smap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px var(--gutter);
}

.smap__group { min-width: 0; }

.smap__list li {
  font-size: 17px;
  line-height: 1.8;
}

.smap__list a { text-decoration: none; }
.smap__list a:hover { text-decoration: underline; color: var(--accent); }

/* ---------- появление при скролле ---------- */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ==================================================================
   4. Доступность, медиазапросы, печать
   ================================================================== */

/* ---------- фокус ---------- */

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.invert :focus-visible,
.hero :focus-visible { outline-color: var(--ink); }

.reg-row:focus-visible,
.feed__item:focus-visible,
.card:focus-visible,
.rule-link:focus-visible,
.navover__link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

/* ---------- 1200px и ниже: ослабляем сетки ---------- */

@media (max-width: 1200px) {
  :root { --rhythm: 80px; }

  .reg-row { grid-template-columns: 150px minmax(0, 1fr) 190px 32px; }

  .cards--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .zones { columns: 3; }

  .split { grid-template-columns: 5fr 1fr 6fr; }
}

/* ---------- 1260px и ниже: прячем подпись под телефоном ---------- */

@media (max-width: 1260px) {
  .hdr__hours { display: none; }
  .hdr__nav-list { gap: 20px; }
  .hdr__right { gap: 18px; }
  .hdr__nav-link { font-size: 16px; }
}

/* ---------- 1180px и ниже: меню перестаёт помещаться рядом с кнопкой ---------- */

@media (max-width: 1180px) {
  .hdr__cta { display: none; }
  .hdr__inner { gap: 16px; }
  .hdr__nav-list { gap: 16px; }
  .hdr__nav-link { font-size: 15px; }
  .hdr__right { gap: 16px; }
}

/* ---------- 1000px и ниже ---------- */

@media (max-width: 1000px) {
  :root { --pad: 24px; }

  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 48px var(--gutter); }

  .qcalc__row { grid-template-columns: 1fr 1fr; }
  .qcalc__submit { grid-column: 1 / -1; }
  .qcalc__submit .btn { width: 100%; }

  .advs { grid-template-columns: 1fr 1fr; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--rule-soft); }

  .pay { grid-template-columns: 1fr; }

  .order { grid-template-columns: 1fr; }

  .cta { grid-template-columns: 1fr; align-items: start; gap: 32px; }

  .smap { grid-template-columns: 1fr 1fr; }

  .cards--3, .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .review { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- меньше 900px: бургер вместо меню ---------- */

@media (max-width: 899px) {
  .hdr__nav { display: none; }

  .burger { display: inline-flex; }

  .hdr__cta { display: none; }

  .hdr__inner { height: 60px; }

  .hdr__logo { font-size: 17px; }

  .hdr__phone { font-size: 16px; }

  .split { grid-template-columns: 1fr; }
  .split__media { aspect-ratio: 3 / 2; }

  .feed__item { grid-template-columns: 1fr; gap: 16px; }
  .feed__media { order: -1; }
  .feed__arrow { justify-content: flex-start; }

  .step { grid-template-columns: 48px minmax(0, 1fr); }
  .step__text { grid-column: 2; }
  .step__num { font-size: 28px; }

  .inex { grid-template-columns: 1fr; }
  .inex__col { padding-right: 0; }
  .inex__col + .inex__col {
    border-left: 0;
    padding-left: 0;
    margin-top: 40px;
    border-top: 1px solid var(--rule-soft);
    padding-top: 32px;
  }

  .zones { columns: 2; }
}

/* ---------- 720px и ниже: мобильная раскладка ---------- */

@media (max-width: 720px) {
  :root {
    --pad: 20px;
    --rhythm: 56px;
    --gutter: 16px;
  }

  body { font-size: 17px; }

  .hero { padding-top: 24px; }
  .hero__media { aspect-ratio: 4 / 3; }
  .hero__sub { font-size: 18px; }

  .phero { padding-block: 40px 32px; }
  .phero__lead { font-size: 18px; }

  .lead { font-size: 18px; }

  .qcalc__row { grid-template-columns: 1fr; gap: 16px; }

  .reg-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    padding: 16px 0;
  }
  .reg-row__meta { order: 1; grid-column: 1 / -1; }
  .reg-row__title { order: 2; grid-column: 1 / -1; }
  .reg-row__price { order: 3; text-align: left; }
  .reg-row__arrow { order: 4; opacity: 1; }

  .reg-row--sm { grid-template-columns: minmax(0, 1fr) auto; }
  .reg-row--sm .reg-row__title { grid-column: 1; order: 0; }
  .reg-row--sm .reg-row__arrow { order: 1; }

  .cards--3, .cards--4 { grid-template-columns: 1fr; gap: 32px; }

  .advs { grid-template-columns: 1fr; }
  .adv { padding: 22px 0; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px 24px 0; }

  .ftr { padding: 56px 0 32px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 40px; }
  .ftr__type { margin-top: 48px; }
  .ftr__bottom { margin-top: 32px; }

  .smap { grid-template-columns: 1fr; }

  .zones { columns: 1; }

  .deflist__row { grid-template-columns: 1fr; gap: 6px; }

  .modal__panel { padding: 28px 20px; }

  .order__fields { grid-template-columns: 1fr; }

  .pager { flex-wrap: wrap; }

  .prose blockquote { padding-left: 20px; }

  .navover__inner { padding-block: 12px 32px; }
}

/* ---------- 440px и ниже: шапка перестаёт помещаться в одну строку ---------- */

@media (max-width: 440px) {
  .hdr__phone { font-size: 15px; }
  .hdr__logo { font-size: 16px; }
  .burger__word { display: none; }
}

/* ---------- 380px и ниже ---------- */

@media (max-width: 380px) {
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule-soft); }
  .stat:first-child { border-top: 0; }
  .btn { padding: 16px 24px; width: 100%; }
}

/* ---------- уменьшенная анимация ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- печать ---------- */

@media print {
  .hdr,
  .navover,
  .burger,
  .modal,
  .slider__nav,
  .skip-link,
  .qcalc,
  .order,
  .quiz,
  .map { display: none !important; }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .container { max-width: none; padding-inline: 0; }

  .section { padding-block: 18pt; break-inside: avoid; }

  h1, h2, h3 { break-after: avoid; }

  .reveal { opacity: 1; transform: none; }

  a { text-decoration: underline; }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #444;
  }

  .ftr { border-top: 1pt solid #000; padding-top: 18pt; }

  img { max-width: 100% !important; }
}

/* ==================================================================
   5. Дополнения секций и страниц
   ================================================================== */

fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }

.hero { padding-bottom: 56px; }

.seo > div > p { margin-top: 1em; }

.reviews__more { margin-top: 32px; }

.review__who-box { min-width: 0; }

.card__meta--top { display: block; margin-top: 14px; margin-bottom: 4px; }

.card__title--art { font-size: 20px; line-height: 1.3; }

.card__arrow {
  flex: 0 0 auto;
  display: inline-flex;
  transition: transform 0.2s ease, color 0.2s ease;
}

.card:hover .card__arrow { transform: translateX(4px); color: var(--accent); }

.card__meta--top + .card__row { margin-top: 0; }

.feed__body { display: block; min-width: 0; }

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 17px;
  line-height: 1.45;
}

.ticks li:last-child { border-bottom: 1px solid var(--rule-soft); }

.ticks li .ic { margin-top: 4px; color: var(--ink-2); }

.ticks + .rule-link { margin-top: 28px; }

.pager a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.zones__list a.is-active {
  color: var(--accent);
  text-decoration: underline;
}

.bigaddr__line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.bigaddr__line a { text-decoration: none; }
.bigaddr__line a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

.nf__hint { margin-top: 40px; }

.quiz fieldset { margin-bottom: 0; }

.quiz__done .cta__note { margin-top: 18px; }

.acc__btn > span:first-child { min-width: 0; }

.split__text > .h2 + p,
.split__text > .h3 + ul { margin-top: 20px; }

.split__text > h2 { margin-bottom: 20px; }

.deflist + .rule-link { margin-top: 32px; }

@media (max-width: 899px) {
  .split__text + div + .split__text { margin-top: 40px; }
}
