/* ==========================================================================
   ЭК «МАСТЕР-ДОМ» — компоненты
   ========================================================================== */

/* ---------- Карточки ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 32px);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card--hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: var(--brand-200);
}
.card--soft { background: var(--surface-2); border-color: transparent; }
.card--flat { box-shadow: none; }
.card--dark {
  background: var(--grad-dark); border-color: rgba(255, 255, 255, .1); color: #a9bed2;
}
.card--dark h3, .card--dark h4 { color: #fff; }
.card--accent {
  background: linear-gradient(150deg, var(--brand-800) 0%, var(--brand-700) 100%);
  border: 0; color: #bdd2e6;
}
.card--accent h3, .card--accent h4 { color: #fff; }
.card__ico {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--brand-100); color: var(--brand-600);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.card__ico svg { width: 27px; height: 27px; }
.card--hover:hover .card__ico { background: var(--brand-700); color: #fff; transform: scale(1.06) rotate(-3deg); }
.card__ico--accent { background: var(--accent-100); color: var(--accent-600); }
.card--hover:hover .card__ico--accent { background: var(--accent); color: #fff; }
.card__ico--teal { background: var(--teal-100); color: var(--teal-600); }
.card--hover:hover .card__ico--teal { background: var(--teal); color: #fff; }
.card__ico--dark { background: rgba(255, 255, 255, .1); color: #fff; }
.card h3 { margin-bottom: 10px; }
.card__num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  color: var(--brand-100); line-height: 1; position: absolute; top: 20px; right: 24px;
  transition: color .3s var(--ease);
}
.card--hover:hover .card__num { color: var(--accent-100); }

/* Плоская «фича» */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__ico {
  width: 44px; height: 44px; border-radius: 13px; flex: none;
  display: grid; place-items: center;
  background: var(--accent-100); color: var(--accent-600);
}
.feature__ico svg { width: 21px; height: 21px; }
.feature__ico--brand { background: var(--brand-100); color: var(--brand-600); }
.feature__ico--teal { background: var(--teal-100); color: var(--teal-600); }
.feature h4 { margin-bottom: 5px; }
.feature p { font-size: .9rem; color: var(--muted); }

/* Список с галочками */
.ticks { display: grid; gap: 12px; }
.ticks li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .95rem; line-height: 1.55;
}
.ticks li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e9384' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.ticks--accent li::before {
  background-color: var(--accent-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d14a05' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.ticks--light li { color: #b9cbdb; }
.ticks--light li::before {
  background-color: rgba(18, 179, 160, .2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2339d6c2' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* Список «минусы/плюсы» */
.dots { display: grid; gap: 10px; }
.dots li { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.dots li::before {
  content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px;
  border-radius: 50%; background: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-dark);
  color: #b7cadc;
  padding-block: clamp(56px, 7vw, 108px) clamp(64px, 7vw, 116px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(60% 55% at 78% 12%, rgba(74, 85, 160, .62) 0%, transparent 62%),
    radial-gradient(46% 46% at 8% 88%, rgba(254, 204, 0, .22) 0%, transparent 66%),
    radial-gradient(40% 40% at 50% 120%, rgba(18, 179, 160, .2) 0%, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M64 0H0v64' fill='none' stroke='rgba(255,255,255,.05)' stroke-width='1'/%3E%3C/svg%3E");
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 20ch; }
.hero h1 em { font-style: normal; color: var(--accent-400); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 68px); align-items: center;
}
.hero__lead { margin-top: 22px; font-size: clamp(1rem, .96rem + .3vw, 1.16rem); color: #a9bed2; max-width: 56ch; }
.hero .btn-row { margin-top: 34px; }
.hero__note { margin-top: 22px; font-size: .84rem; color: #7f97ae; }
.hero__facts {
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px;
}
.hero__fact b {
  display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  color: #fff; line-height: 1; letter-spacing: -.03em;
}
.hero__fact span { display: block; font-size: .8rem; color: #8ba1b7; margin-top: 7px; line-height: 1.4; }

.hero--short { padding-block: clamp(40px, 4.5vw, 72px) clamp(44px, 5vw, 78px); }
.hero--short h1 { font-size: clamp(1.8rem, 1.4rem + 1.9vw, 2.9rem); }

/* Панель быстрого заказа в hero */
.quote-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-xl);
  padding: clamp(22px, 2.5vw, 32px);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-lg);
}
.quote-card h3 { color: #fff; font-size: 1.22rem; margin-bottom: 6px; }
.quote-card > p { font-size: .87rem; color: #9fb6cb; margin-bottom: 20px; }
.quote-card .field label { color: #cfe0ee; }
.quote-card .field input, .quote-card .field select, .quote-card .field textarea {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  color: #fff;
}
.quote-card .field input::placeholder, .quote-card .field textarea::placeholder { color: #7f97ae; }
.quote-card .field input:focus, .quote-card .field select:focus, .quote-card .field textarea:focus {
  border-color: var(--accent); background: rgba(255, 255, 255, .13);
}
.quote-card .field select option { color: var(--ink); }
.quote-card .check span { color: #9fb6cb; }

/* Плавающая карточка поверх hero */
.hero__panel {
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--sh-xl); padding: clamp(24px, 2.6vw, 34px);
}
.hero__panel h3 { margin-bottom: 18px; }
.hero__panel .grid { gap: 14px; }

/* ---------- Хлебные крошки ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .82rem; }
.crumbs a { color: #8ba1b7; }
.crumbs a:hover { color: var(--accent-400); }
.crumbs span { color: #5f7288; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, .25); }
.crumbs--dark a { color: #b9cbdb; }
.crumbs--dark a:hover { color: var(--accent-400); }
.crumbs--dark span { color: #8ba1b7; }
.crumbs--dark li + li::before { color: rgba(255, 255, 255, .3); }

/* Отключаем анимации появления, если JS выключен */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Бегущая строка ---------- */
.ticker {
  background: var(--brand-900); color: #9fb6cb; overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, .08); padding-block: 15px;
}
.ticker__track { display: flex; gap: 46px; width: max-content; animation: ticker 38s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 650; font-size: .88rem; white-space: nowrap;
}
.ticker__item svg { width: 17px; height: 17px; color: var(--accent-400); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Услуги: аккордеон-категории ---------- */
.svc {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; overflow: hidden; margin-bottom: 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.svc.is-open { border-color: var(--brand-200); box-shadow: var(--sh-md); }
.svc__head {
  width: 100%; display: flex; align-items: center; gap: 20px;
  padding: clamp(18px, 2vw, 26px); text-align: left;
}
.svc__ico {
  width: 54px; height: 54px; border-radius: var(--r-md); flex: none;
  display: grid; place-items: center; background: var(--brand-100); color: var(--brand-600);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.svc__ico svg { width: 26px; height: 26px; }
.svc.is-open .svc__ico, .svc__head:hover .svc__ico { background: var(--brand-700); color: #fff; }
.svc__title { flex: 1; min-width: 0; }
.svc__title h3 { font-size: clamp(1.05rem, 1rem + .4vw, 1.32rem); }
.svc__title p { font-size: .88rem; color: var(--muted); margin-top: 5px; }
.svc__toggle {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--surface-2); color: var(--brand-700);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.svc__toggle svg { width: 18px; height: 18px; }
.svc.is-open .svc__toggle { transform: rotate(180deg); background: var(--brand-100); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__inner { overflow: hidden; }
.svc__content { padding: 0 clamp(18px, 2vw, 26px) clamp(22px, 2.4vw, 32px); }
.svc__content > .grid { padding-top: 4px; }

.svc-item {
  display: flex; gap: 14px; padding: 18px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.svc-item:hover { background: #fff; border-color: var(--brand-200); transform: translateY(-3px); box-shadow: var(--sh-sm); }
.svc-item__ico {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: #fff; color: var(--accent-600); box-shadow: var(--sh-xs);
}
.svc-item__ico svg { width: 20px; height: 20px; }
.svc-item h4 { font-size: .98rem; margin-bottom: 5px; }
.svc-item p { font-size: .86rem; color: var(--muted); line-height: 1.55; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.step { position: relative; padding-top: 54px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-700); color: #fff;
  box-shadow: 0 0 0 8px var(--brand-50);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; left: 56px; right: -24px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--brand-200) 0 8px, transparent 8px 16px);
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--muted); }
.steps--light .step::before { background: var(--accent); box-shadow: 0 0 0 8px rgba(254, 204, 0, .18); }
.steps--light .step:not(:last-child)::after {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .3) 0 8px, transparent 8px 16px);
}
.steps--light p { color: #9fb6cb; }

/* ---------- Метрики ---------- */
.stat {
  text-align: center; padding: clamp(22px, 2.4vw, 32px) 18px;
  border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
}
.stat b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); line-height: 1;
  letter-spacing: -.04em; color: var(--brand-700);
}
.stat b em { font-style: normal; color: var(--accent); }
.stat span { display: block; margin-top: 12px; font-size: .87rem; color: var(--muted); }
.stat--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.stat--dark b { color: #fff; }
.stat--dark span { color: #9fb6cb; }

/* ---------- Табы ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--surface-2); border-radius: var(--r-pill); width: fit-content; max-width: 100%; }
.tab {
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  padding: 11px 22px; border-radius: var(--r-pill); color: var(--muted);
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.tab:hover { color: var(--brand-700); }
.tab.is-active { background: #fff; color: var(--brand-700); box-shadow: var(--sh-sm); }
.panel { display: none; animation: fade-in .4s var(--ease); }
.panel.is-active { display: block; }
@keyframes fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Карточки категорий цен ---------- */
.pack {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; padding: clamp(24px, 2.6vw, 34px);
  position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pack:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.pack--pop { border-color: var(--accent); box-shadow: var(--sh-md); }
.pack--pop::before {
  content: "Популярное"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 16px; border-radius: var(--r-pill);
  white-space: nowrap;
}
.pack__name { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--ink); }
.pack__price {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem);
  color: var(--brand-700); letter-spacing: -.03em; margin-top: 14px; line-height: 1.1;
}
.pack__price small { font-size: .8rem; font-weight: 600; color: var(--muted); letter-spacing: 0; display: block; margin-top: 6px; }
.pack .ticks { margin: 22px 0 26px; }
.pack .btn { margin-top: auto; }

/* ---------- Прайс-таблица ---------- */
.price-table-wrap {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: #fff; box-shadow: var(--sh-xs);
}
.price-table-scroll { overflow-x: auto; }
table.price {
  width: 100%; border-collapse: collapse; min-width: 620px;
}
table.price caption {
  text-align: left; padding: 22px 26px 4px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink);
}
table.price th, table.price td {
  padding: 15px 26px; text-align: left; border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
table.price thead th {
  background: var(--surface-2); font-family: var(--font-display);
  font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.price tbody tr { transition: background-color .2s var(--ease); }
table.price tbody tr:hover { background: var(--brand-50); }
table.price tbody tr:last-child td { border-bottom: 0; }
table.price td:first-child { font-weight: 650; color: var(--ink); }
table.price .num { font-family: var(--font-display); font-weight: 800; color: var(--brand-700); white-space: nowrap; text-align: right; }
table.price .unit { color: var(--muted); font-weight: 500; font-size: .85rem; }
.price-note {
  padding: 16px 26px; background: var(--surface-2); font-size: .84rem; color: var(--muted);
  border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: flex-start;
}
.price-note svg { width: 17px; height: 17px; color: var(--brand-400); flex: none; margin-top: 2px; }

/* Простая таблица данных */
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: .93rem;
}
table.data th { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
table.data td:first-child { color: var(--muted); width: 40%; }
table.data td:last-child { font-weight: 650; color: var(--ink); }

/* ---------- Формы ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 44px); box-shadow: var(--sh-md);
}
.field { display: block; margin-bottom: 18px; }
.field > label, .field > .field__label {
  display: block; font-family: var(--font-display); font-weight: 650;
  font-size: .86rem; color: var(--ink); margin-bottom: 8px;
}
.field .req { color: var(--accent); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"],
.field input[type="number"], .field input[type="date"], .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface-2); color: var(--ink);
  font-size: .95rem; transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 124px; resize: vertical; }
.field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f7288' stroke-width='2.4' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; background-size: 17px;
  padding-right: 46px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(74, 85, 160, .14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--danger); }
.field__hint { font-size: .78rem; color: var(--muted-2); margin-top: 7px; }
.field__err { font-size: .78rem; color: var(--danger); margin-top: 7px; display: none; font-weight: 600; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); background: #fff8f8; }
.field.has-error .field__err { display: block; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .field--full { grid-column: 1 / -1; }

.check { display: flex; gap: 11px; align-items: flex-start; font-size: .84rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input {
  appearance: none; width: 20px; height: 20px; flex: none; margin-top: 1px;
  border: 1.5px solid var(--line); border-radius: 6px; background: var(--surface-2);
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer;
}
.check input:checked {
  background: var(--brand-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
  border-color: var(--brand-700);
}
.check a { text-decoration: underline; }

.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.radio-cards label {
  display: flex; gap: 10px; align-items: center;
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 14px 16px; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--ink);
  background: var(--surface-2);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.radio-cards label:hover { border-color: var(--brand-400); }
.radio-cards input { appearance: none; width: 19px; height: 19px; flex: none; border-radius: 50%; border: 2px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.radio-cards input:checked { border-color: var(--brand-700); box-shadow: inset 0 0 0 4px var(--brand-700); }
.radio-cards label:has(input:checked) { border-color: var(--brand-700); background: var(--brand-50); }

.form-ok {
  display: none; gap: 16px; align-items: flex-start;
  background: var(--success-100); border: 1px solid #86efac; color: #14532d;
  border-radius: var(--r-md); padding: 20px 24px; margin-bottom: 22px;
}
.form-ok.is-on { display: flex; }
.form-ok svg { width: 26px; height: 26px; flex: none; color: var(--success); }
.form-ok b { display: block; margin-bottom: 4px; }
.form-ok p { font-size: .88rem; }

/* ---------- Инфо-панели ---------- */
.callout {
  display: flex; gap: 18px; align-items: flex-start;
  border-radius: var(--r-lg); padding: clamp(20px, 2.2vw, 28px);
  background: var(--brand-50); border: 1px solid var(--brand-100);
}
.callout svg { width: 26px; height: 26px; flex: none; color: var(--brand-600); margin-top: 2px; }
.callout h4 { margin-bottom: 6px; }
.callout p { font-size: .9rem; color: var(--muted); }
.callout--warn { background: #fffaf0; border-color: #fde3b0; }
.callout--warn svg { color: var(--warning); }
.callout--danger { background: #fff5f5; border-color: #fecaca; }
.callout--danger svg { color: var(--danger); }
.callout--accent { background: var(--accent-100); border-color: #ffd6bf; }
.callout--accent svg { color: var(--accent-600); }
.callout--light { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); }
.callout--light h4 { color: #fff; }
.callout--light p { color: #9fb6cb; }
.callout--light svg { color: var(--accent-400); }

/* ---------- Аварийный блок ---------- */
.sos-hero {
  background: linear-gradient(150deg, #7f1d1d 0%, #b91c1c 55%, #dc2626 100%);
  color: #fee2e2; position: relative; overflow: hidden;
  padding-block: clamp(48px, 5.5vw, 88px);
}
.sos-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M48 0H0v48' fill='none' stroke='rgba(255,255,255,.18)' stroke-width='1.4'/%3E%3C/svg%3E");
}
.sos-hero > .container { position: relative; z-index: 2; }
.sos-hero h1 { color: #fff; }
.sos-hero .lead { color: #fecaca; }
.sos-hero .eyebrow { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); color: #fff; }
.sos-hero .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .2); }
.sos-phone {
  display: inline-flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3);
  border-radius: var(--r-lg); padding: 18px 26px; margin-top: 30px;
  backdrop-filter: blur(10px);
}
.sos-phone svg { width: 30px; height: 30px; color: #fff; flex: none; }
.sos-phone b { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); color: #fff; line-height: 1.15; }
.sos-phone span { font-size: .82rem; color: #fecaca; }
.sos-phone a { color: #fff; }
.sos-phone a:hover { color: #fff; }

/* ---------- Отзывы ---------- */
.review {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 2.4vw, 30px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review__ava {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff;
  background: var(--grad-brand);
}
.review__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .96rem; }
.review__role { font-size: .8rem; color: var(--muted-2); }
.review__stars { display: flex; gap: 3px; margin-bottom: 12px; }
.review__stars svg { width: 16px; height: 16px; color: var(--warning); }
.review__stars svg.off { color: var(--line); }
.review p { font-size: .92rem; color: var(--ink-2); line-height: 1.65; }
.review__foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  font-size: .8rem; color: var(--muted-2);
}

/* Слайдер */
.slider { position: relative; }
.slider__viewport { overflow: hidden; margin-inline: -8px; padding: 8px; }
.slider__track { display: flex; gap: 24px; transition: transform .5s var(--ease); }
.slider__track > * { flex: 0 0 calc((100% - 48px) / 3); }
.slider__nav { display: flex; gap: 10px; justify-content: center; margin-top: 30px; align-items: center; }
.slider__btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; background: #fff; color: var(--brand-700);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.slider__btn:hover { background: var(--brand-700); color: #fff; border-color: var(--brand-700); }
.slider__btn[disabled] { opacity: .35; cursor: not-allowed; }
.slider__btn svg { width: 18px; height: 18px; }
.slider__dots { display: flex; gap: 7px; }
.slider__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: all .25s var(--ease); }
.slider__dot.is-active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ---------- Аккордеон FAQ ---------- */
.acc { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; display: flex; gap: 18px; align-items: flex-start; justify-content: space-between;
  padding: 22px 4px; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  transition: color .2s var(--ease);
}
.acc__q:hover { color: var(--brand-600); }
.acc__ic {
  width: 28px; height: 28px; flex: none; border-radius: 50%; margin-top: 1px;
  display: grid; place-items: center; background: var(--brand-50); color: var(--brand-600);
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.acc__ic svg { width: 15px; height: 15px; }
.acc.is-open .acc__ic { transform: rotate(45deg); background: var(--accent); color: #fff; }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc.is-open .acc__a { grid-template-rows: 1fr; }
.acc__a > div { overflow: hidden; }
.acc__a p { padding: 0 52px 24px 0; font-size: .93rem; color: var(--muted); }

/* ---------- Статьи ---------- */
.article-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.article-card__cover {
  aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; overflow: hidden;
}
.article-card__cover svg { width: 62px; height: 62px; opacity: .92; }
.article-card__cover--accent { background: var(--grad-accent); }
.article-card__cover--teal { background: linear-gradient(150deg, #0b6b60 0%, var(--teal) 100%); }
.article-card__cover--dark { background: var(--grad-dark); }
.article-card__cover::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M40 0H0v40' fill='none' stroke='rgba(255,255,255,.12)' stroke-width='1'/%3E%3C/svg%3E");
}
.article-card__body { padding: clamp(20px, 2.2vw, 26px); display: flex; flex-direction: column; flex: 1; }
.article-card__meta { display: flex; gap: 14px; font-size: .78rem; color: var(--muted-2); margin-bottom: 12px; flex-wrap: wrap; }
.article-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.article-card p { font-size: .89rem; color: var(--muted); }
.article-card .arrow-link { margin-top: 18px; }

/* Пост */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 44px; margin-bottom: 16px; font-size: clamp(1.35rem, 1.2rem + .8vw, 1.85rem); }
.prose h3 { margin-top: 32px; margin-bottom: 12px; }
.prose p, .prose li { font-size: 1.02rem; line-height: 1.78; color: var(--ink-2); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 16px; }
.prose ul { margin-top: 16px; display: grid; gap: 10px; }
.prose ul li { display: flex; gap: 12px; align-items: flex-start; }
.prose ul li::before {
  content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); margin-top: 10px;
}
.prose ol { margin-top: 16px; counter-reset: p; display: grid; gap: 12px; }
.prose ol li { display: flex; gap: 14px; counter-increment: p; }
.prose ol li::before {
  content: counter(p); flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center; font-family: var(--font-display);
  font-weight: 800; font-size: .8rem; margin-top: 3px;
}
.prose blockquote {
  margin: 28px 0; padding: 22px 26px; border-left: 4px solid var(--accent);
  background: var(--surface-2); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.05rem; color: var(--ink); font-weight: 500;
}
.prose table { margin-top: 24px; }

/* ---------- Документы ---------- */
.doc-row {
  display: flex; align-items: center; gap: 20px;
  padding: 20px clamp(18px, 2vw, 26px);
  border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.doc-row:hover { border-color: var(--brand-200); box-shadow: var(--sh-sm); transform: translateX(3px); }
.doc-row__ic {
  width: 48px; height: 48px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center; background: var(--danger-100); color: var(--danger);
}
.doc-row__ic svg { width: 23px; height: 23px; }
.doc-row__t { flex: 1; min-width: 0; }
.doc-row__t b { display: block; font-family: var(--font-display); color: var(--ink); font-size: .98rem; }
.doc-row__t span { font-size: .82rem; color: var(--muted-2); }
.doc-row__act { flex: none; }
.doc-row__act a {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .87rem;
  color: var(--brand-600); white-space: nowrap;
}
.doc-row__act a:hover { color: var(--accent-600); }
.doc-row__act svg { width: 17px; height: 17px; }

/* ---------- Вакансии ---------- */
.vacancy {
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  padding: clamp(22px, 2.4vw, 30px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.vacancy:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.vacancy__top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.vacancy h3 { font-size: 1.14rem; }
.vacancy__salary {
  font-family: var(--font-display); font-weight: 800; color: var(--brand-700);
  font-size: .96rem; white-space: nowrap;
}
.vacancy .ticks { gap: 9px; }
.vacancy .ticks li { font-size: .88rem; }
.vacancy__foot {
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-2);
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}

/* ---------- Сотрудники / достижения ---------- */
.person {
  text-align: center; padding: clamp(24px, 2.6vw, 34px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.person__ava {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; position: relative;
  background: var(--grad-brand); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.9rem;
  box-shadow: 0 0 0 8px var(--brand-50);
}
.person__ava--accent { background: var(--grad-accent); box-shadow: 0 0 0 8px var(--accent-100); }
.person__ava--teal { background: linear-gradient(150deg, #0b6b60 0%, var(--teal) 100%); box-shadow: 0 0 0 8px var(--teal-100); }
.person h4 { font-size: 1.06rem; }
.person__role { font-size: .84rem; color: var(--muted-2); margin-top: 4px; }
.person__award {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 16px;
  background: #fffaf0; border: 1px solid #fde3b0; color: #92400e;
  font-size: .8rem; font-weight: 700; padding: 6px 14px; border-radius: var(--r-pill);
}
.person__award svg { width: 14px; height: 14px; color: var(--warning); }

/* ---------- Таймлайн истории ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--brand-400), var(--accent));
  border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 5px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand-600);
  box-shadow: 0 0 0 4px rgba(18, 80, 143, .1);
}
.tl-item--accent::before { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 115, 66, .14); }
.tl-item__year {
  font-family: var(--font-display); font-weight: 800; color: var(--accent-600);
  font-size: .84rem; letter-spacing: .08em; margin-bottom: 6px;
}
.tl-item h4 { margin-bottom: 7px; }
.tl-item p { font-size: .92rem; color: var(--muted); }

/* ---------- CTA-полоса ---------- */
.cta-band {
  background: var(--grad-brand); color: #cfe0ee; border-radius: var(--r-xl);
  padding: clamp(30px, 4vw, 58px); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 120% at 92% 10%, rgba(254, 204, 0, .30) 0%, transparent 62%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 14px; max-width: 58ch; }
.cta-band__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Логотип главного заказчика ---------- */
.partner { display: block; }
.partner__label {
  display: block; font-size: .66rem; font-weight: 700; letter-spacing: .11em;
  text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 9px;
}
.partner__chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 14px; padding: 10px 18px;
  box-shadow: var(--sh-sm);
}
.partner__chip img { display: block; height: 26px; width: auto; }
.partner__chip--lg { border-radius: 16px; padding: 14px 22px; }
.partner__chip--lg img { height: 34px; }

/* ---------- Контакты ---------- */
.contact-card {
  display: flex; gap: 18px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  padding: clamp(20px, 2.2vw, 26px);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-card:hover { border-color: var(--brand-200); box-shadow: var(--sh-sm); }
.contact-card__ic {
  width: 48px; height: 48px; border-radius: var(--r-sm); flex: none;
  display: grid; place-items: center; background: var(--brand-100); color: var(--brand-600);
}
.contact-card__ic svg { width: 22px; height: 22px; }
.contact-card__ic--accent { background: var(--accent-100); color: var(--accent-600); }
.contact-card__ic--teal { background: var(--teal-100); color: var(--teal-600); }
.contact-card h4 { margin-bottom: 6px; font-size: .96rem; }
.contact-card b { font-family: var(--font-display); font-size: 1.06rem; color: var(--ink); display: block; }
.contact-card p { font-size: .86rem; color: var(--muted); margin-top: 5px; }

.map-frame {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface-2); min-height: 340px; position: relative;
  display: grid; place-items: center;
}
.map-frame__placeholder { text-align: center; padding: 40px; max-width: 44ch; }
.map-frame__placeholder svg { width: 46px; height: 46px; color: var(--brand-400); margin: 0 auto 16px; }

/* ---------- Модальное окно ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: opacity .28s var(--ease), visibility .28s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__bg { position: absolute; inset: 0; background: rgba(4, 16, 31, .62); backdrop-filter: blur(4px); }
.modal__box {
  position: relative; background: #fff; border-radius: var(--r-xl);
  width: min(560px, 100%); max-height: 90vh; overflow-y: auto;
  padding: clamp(26px, 3vw, 40px); box-shadow: var(--sh-xl);
  transform: translateY(16px) scale(.98); transition: transform .32s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px;
  border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--muted);
}
.modal__close:hover { background: var(--danger-100); color: var(--danger); }
.modal__close svg { width: 17px; height: 17px; }

/* ---------- Переключатель услуг (табы-фильтры каталога) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 30px; }
.filter {
  font-family: var(--font-display); font-weight: 650; font-size: .86rem;
  padding: 10px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  transition: all .22s var(--ease);
}
.filter:hover { border-color: var(--brand-400); color: var(--brand-700); }
.filter.is-active { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }
.is-filtered-out { display: none !important; }

/* ---------- Прочее ---------- */
.ratio-lock { display: grid; gap: 0; }
.note-strip {
  background: var(--accent-100); border-bottom: 1px solid #ffd6bf;
  color: #8a3a05; font-size: .86rem; padding-block: 11px;
}
.note-strip__in { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: center; flex-wrap: wrap; }
.note-strip svg { width: 17px; height: 17px; flex: none; }
.note-strip b { color: #6d2d03; }

.divider { height: 1px; background: var(--line); margin-block: clamp(32px, 4vw, 56px); }

/* ==========================================================================
   Мелкие правки
   ========================================================================== */
.icon-inline {
  display: inline-block; width: 18px; height: 18px;
  vertical-align: -3px; margin-right: 7px;
}

/* Крупный телефон-ссылка */
.h-phone {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
  letter-spacing: -.02em; color: var(--brand-700); line-height: 1.2;
}
.h-phone:hover { color: var(--accent-600); }

/* Аватары отзывов */
.review__ava--accent { background: var(--grad-accent); }
.review__ava--teal { background: linear-gradient(150deg, #0b6b60 0%, var(--teal) 100%); }

/* Сводка рейтинга */
.rating-summary {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
}
.rating-summary__score { text-align: center; }
.rating-summary__score b {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 2rem + 2.6vw, 4rem); line-height: 1;
  letter-spacing: -.05em; color: var(--brand-700);
}
.rating-summary__score .review__stars { justify-content: center; margin: 12px 0 8px; }
.rating-summary__dist { display: grid; gap: 9px; }
.rate-row { display: grid; grid-template-columns: 48px 1fr 40px; gap: 12px; align-items: center; font-size: .82rem; }
.rate-row__mark { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--ink); }
.rate-row__mark svg { width: 13px; height: 13px; color: var(--warning); }
.rate-row__bar { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.rate-row__bar i { display: block; height: 100%; border-radius: 4px; background: var(--grad-accent); }
.rate-row__pct { text-align: right; color: var(--muted); font-weight: 600; }

/* Нумерованный список действий */
.steps-list { counter-reset: sl; display: grid; gap: 18px; }
.steps-list > li {
  display: flex; gap: 16px; counter-increment: sl;
  font-size: .96rem; line-height: 1.65; color: var(--ink-2);
}
.steps-list > li::before {
  content: counter(sl); flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  background: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--accent-100);
  margin-top: 2px;
}

/* Таблицы внутри статей */
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.prose table th, .prose table td {
  padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2);
}
.prose table th {
  background: var(--surface-2); font-family: var(--font-display); font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.prose table td:first-child { font-weight: 600; color: var(--ink); }

.article-card h3 a:hover { color: var(--brand-600); }

.mega__link > span:last-child { display: block; min-width: 0; }
.mega__t { display: block; }
.mega__d { display: block; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 + .hero__lead { margin-top: 20px; }
.section--brand .badge { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #cfe0ee; }
.section--brand .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--brand .card h3 { color: #fff; }
.section--brand .card p { color: #9fb6cb; }
.section--brand .card__ico { background: rgba(254, 204, 0, .18); color: var(--accent); }
.section--brand .card--hover:hover .card__ico { background: var(--accent); color: #fff; }

/* Страница статьи: контент + боковая колонка */
.split--aside { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: start; }

/* ==========================================================================
   Адаптив компонентов
   ========================================================================== */
@media (max-width: 980px) {
  .split--aside { grid-template-columns: 1fr; }
  .split--aside > aside { order: 0; }
}
@media (max-width: 1120px) {
  .mega { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 42px; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .step:nth-child(2)::after { display: none; }
  .slider__track > * { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 860px) {
  .cta-band__grid { grid-template-columns: 1fr; }
  .cta-band__actions { flex-direction: row; flex-wrap: wrap; }
  .cta-band__actions .btn { width: auto; }
  .split, .split[style] { grid-template-columns: 1fr !important; }
  .rating-summary { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .slider__track > * { flex: 0 0 100%; }
  .svc__head { gap: 14px; padding: 18px; }
  .svc__ico { width: 46px; height: 46px; }
  .svc__ico svg { width: 22px; height: 22px; }
  .svc__toggle { width: 34px; height: 34px; }
  .doc-row { flex-wrap: wrap; gap: 14px; }
  .doc-row__act { width: 100%; }
  .doc-row__act a { width: 100%; justify-content: center; background: var(--brand-50); padding: 11px; border-radius: var(--r-sm); }
  .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; }
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .footer__sos { flex-direction: column; align-items: stretch; text-align: center; }
  .acc__a p { padding-right: 0; }
  .review__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .cta-band__actions { flex-direction: column; }
  .cta-band__actions .btn { width: 100%; }
  .pack--pop { margin-top: 14px; }
}
