:root {
  --ink: #071727;
  --navy: #06213b;
  --navy-2: #0b3359;
  --blue: #126bdc;
  --cyan: #68d8f3;
  --ice: #eef6fb;
  --mist: #f7fafc;
  --line: #d9e5ed;
  --muted: #617586;
  --paper: #ffffff;
  --steel: #e7eef4;
  --amber: #f0b240;
  --green: #1d9366;
  --radius: 8px;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 60;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(7, 23, 39, 0.16);
  transition: transform 240ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid rgba(104, 216, 243, 0.42);
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

body.is-dialog-open {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(104, 216, 243, 0.42);
  outline-offset: 3px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 18px 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 48px));
  min-height: 70px;
  margin-inline: auto;
  padding: 10px 14px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 54px rgba(7, 23, 39, 0.14);
  backdrop-filter: blur(18px);
  color: var(--ink);
  transition: transform 700ms var(--ease), background 700ms var(--ease), box-shadow 700ms var(--ease);
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 44px rgba(7, 23, 39, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand-logo {
  width: 176px;
  height: 48px;
  object-fit: contain;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  padding: 5px;
  border: 1px solid rgba(7, 23, 39, 0.08);
  border-radius: var(--radius);
  background: rgba(238, 246, 251, 0.78);
}

.top-nav a,
.header-telegram {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  color: #16324a;
  transition: background 500ms var(--ease), color 500ms var(--ease), transform 500ms var(--ease);
}

.top-nav a:hover {
  background: #fff;
}

.header-telegram {
  color: #fff;
  background: var(--navy);
  white-space: nowrap;
}

.header-telegram:hover,
.btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 126px 0 60px;
  color: #fff;
  background: var(--navy);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("/assets/hero-main.webp") center / cover no-repeat;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 17, 31, 0.94) 0%, rgba(4, 17, 31, 0.82) 34%, rgba(4, 17, 31, 0.35) 64%, rgba(4, 17, 31, 0.06) 100%),
    linear-gradient(0deg, rgba(4, 17, 31, 0.82) 0%, rgba(4, 17, 31, 0.08) 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 14px;
  padding: 7px 10px;
  border: 1px solid rgba(104, 216, 243, 0.45);
  border-radius: var(--radius);
  background: rgba(8, 31, 54, 0.72);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

h1,
.hero-lead {
  word-break: break-word;
}

h1,
h2 {
  font-family: Manrope, "Segoe UI", sans-serif;
  font-weight: 900;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 62px;
  line-height: 1.02;
}

h2 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 900;
}

.hero-lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  font-weight: 650;
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 600ms var(--ease), background 600ms var(--ease), box-shadow 600ms var(--ease), border-color 600ms var(--ease);
}

.btn:disabled,
.btn.is-sent {
  cursor: default;
  transform: none;
  opacity: 0.78;
  box-shadow: none;
}

.btn.is-sent {
  color: #fff;
  background: var(--green);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #0b4fbd);
  box-shadow: 0 18px 42px rgba(18, 107, 220, 0.32);
}

.btn-secondary {
  color: var(--navy);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.58);
}

.btn-light {
  color: var(--ink);
  background: var(--mist);
  border-color: var(--line);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.hero-points li {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.section {
  scroll-margin-top: 108px;
  padding: 96px 0;
  background: #fff;
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, #f7fafc, #edf5fa);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow),
.two-column > div > p,
.lead-layout > div > p {
  color: var(--muted);
  font-size: 18px;
}

.calculator-section {
  position: relative;
}

.calculator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 24px;
  align-items: start;
}

.calculator-shell > *,
.two-column > *,
.lead-layout > * {
  min-width: 0;
}

.calculator-form,
.lead-form,
.quote-card,
.service-card,
.benefit-grid article,
.media-panel {
  border: 1px solid rgba(7, 23, 39, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 90px rgba(7, 23, 39, 0.08);
}

.calculator-form {
  padding: 24px;
}

.form-block {
  border: 0;
  padding: 0 0 24px;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--line);
}

.form-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

legend {
  padding: 0;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

label span {
  font-size: 14px;
}

small,
.form-note {
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8d7e2;
  border-radius: var(--radius);
  background: #fff;
  padding: 12px 13px;
  color: var(--ink);
  font-weight: 650;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(104, 216, 243, 0.32);
  border-color: var(--blue);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.delivery-points,
.calculator-form > fieldset:first-child {
  display: grid;
  gap: 14px;
}

.link-button,
.copy-contact {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.quote-card {
  position: sticky;
  top: 112px;
  padding: 22px;
  background: #fff;
  color: var(--ink);
}

.quote-label {
  margin: 0;
  color: var(--muted);
  font-weight: 900;
}

.quote-total {
  display: block;
  margin: 6px 0 12px;
  color: var(--navy);
  font-size: 44px;
  line-height: 1.04;
  font-weight: 900;
}

.quote-disclaimer {
  margin-top: 0;
  color: var(--muted);
  font-size: 14px;
}

.quote-breakdown {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ice);
  font-size: 14px;
}

.quote-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(7, 23, 39, 0.08);
}

.quote-breakdown div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.route-link-card {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(18, 107, 220, 0.18);
  border-radius: var(--radius);
  background: #fff;
}

.route-link-card[hidden] {
  display: none;
}

.route-link-card p {
  margin: 0;
  color: var(--navy);
  font-weight: 900;
}

.route-link-card input {
  font-size: 12px;
  color: var(--muted);
}

.route-link-card .btn {
  width: 100%;
  min-height: 44px;
}

.quote-actions {
  margin-top: 18px;
}

.quote-actions .btn {
  width: 100%;
}

.request-preview {
  min-height: 210px;
  margin-top: 12px;
  margin-bottom: 0;
  resize: vertical;
  font-size: 13px;
}

.request-details {
  margin-top: 16px;
}

.request-details summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 900;
}

.form-status {
  min-height: 24px;
  color: var(--green);
  font-weight: 900;
}

.quote-card .form-status {
  color: var(--green);
}

.form-status.is-error {
  color: #b3261e;
}

.service-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.service-card h3 {
  margin-top: 18px;
}

.service-card p {
  margin-bottom: 20px;
  color: var(--muted);
}

.service-main {
  box-shadow: inset 0 0 0 2px rgba(18, 107, 220, 0.14), 0 28px 90px rgba(7, 23, 39, 0.08);
}

.process-section {
  background: #fff;
  color: var(--ink);
}

.process-section .section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.step-grid {
  display: grid;
  gap: 12px;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-grid div {
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  font-weight: 900;
}

.step-grid div {
  display: grid;
  gap: 10px;
}

.step-grid strong {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--cyan);
  color: var(--navy);
}

.two-column,
.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 38px;
  align-items: start;
}

.table-wrap,
.mini-tables {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 560px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: var(--radius);
  background: #fff;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--navy);
  color: #fff;
  font-size: 14px;
}

td:last-child,
th:last-child {
  text-align: right;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

.media-panel {
  padding: 10px;
  background: #fff;
}

.media-panel img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
}

.mini-tables {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-grid article {
  padding: 22px;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
}

.cargo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cargo-grid span {
  display: grid;
  min-height: 60px;
  place-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 900;
  text-align: center;
}

.lead-section {
  background: linear-gradient(180deg, #f7fafc, #edf5fa);
  color: var(--ink);
}

.lead-section .section-heading p,
.lead-layout > div > p {
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-list a,
.contact-list button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  width: fit-content;
  color: var(--navy);
  font-weight: 900;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  color: var(--ink);
}

.lead-form .full {
  grid-column: 1 / -1;
}

.consent {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.consent a {
  color: var(--blue);
  font-weight: 900;
}

.site-footer {
  padding: 0 0 92px;
  background: #061a2e;
  color: rgba(255, 255, 255, 0.76);
}

.footer-contact,
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-contact {
  padding: 54px 0 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-label {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-contact h2 {
  margin: 0;
  color: #fff;
  font-size: 40px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.footer-links a,
.footer-links button,
.footer-bottom a {
  border: 0;
  background: transparent;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.footer-bottom {
  padding: 28px 0;
}

.footer-logo {
  width: 190px;
  height: 58px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #fff;
  padding: 6px 10px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.legal-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(620px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 24px 70px rgba(7, 23, 39, 0.18);
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cookie-banner a {
  color: var(--blue);
  font-weight: 900;
}

.cookie-banner[hidden] {
  display: none;
}

.success-dialog {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 17, 31, 0.68);
  backdrop-filter: blur(10px);
}

.success-dialog[hidden] {
  display: none;
}

.success-dialog__panel {
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 34px 100px rgba(7, 23, 39, 0.24);
  text-align: center;
}

.success-dialog__mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(29, 147, 102, 0.12);
}

.success-dialog__mark::before {
  content: "";
  width: 24px;
  height: 12px;
  border-bottom: 4px solid var(--green);
  border-left: 4px solid var(--green);
  transform: translateY(-2px) rotate(-45deg);
}

.success-dialog h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.1;
}

.success-dialog p {
  margin: 0 0 22px;
  color: var(--muted);
}

.success-dialog .btn {
  width: 100%;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(104, 216, 243, 0.18), transparent 34rem),
    linear-gradient(180deg, #f7fafc 0%, #edf5fa 100%);
}

.legal-header {
  position: sticky;
  top: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(980px, calc(100% - 48px));
  margin: 18px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(7, 23, 39, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 54px rgba(7, 23, 39, 0.1);
  backdrop-filter: blur(18px);
}

.legal-header img {
  width: 172px;
  height: 46px;
  object-fit: contain;
}

.legal-header a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

.legal-header > a:last-child {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ice);
}

.legal-main {
  width: min(980px, calc(100% - 48px));
  margin: 42px auto 84px;
  padding: 44px;
  border: 1px solid rgba(7, 23, 39, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 34px 100px rgba(7, 23, 39, 0.1);
}

.legal-main h1 {
  max-width: 820px;
  color: var(--navy);
  font-size: 42px;
}

.legal-main h2 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 24px;
}

.legal-main .eyebrow {
  border-color: var(--line);
  background: var(--ice);
  color: var(--blue);
}

.legal-main p {
  max-width: 76ch;
  margin: 0;
  color: var(--muted);
}

.legal-lead {
  margin-top: 18px;
  font-size: 18px;
}

.legal-main section {
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.legal-requisites {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 10px 18px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.legal-requisites dt {
  color: var(--muted);
  font-weight: 900;
}

.legal-requisites dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.mobile-bar {
  display: none;
}

@media (max-width: 1040px) {
  .top-nav {
    display: none;
  }

  .header-telegram {
    margin-left: auto;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  .calculator-shell,
  .two-column,
  .lead-layout {
    grid-template-columns: 1fr;
  }

  .quote-card {
    position: static;
  }

  .field-grid,
  .service-grid,
  .benefit-grid,
  .cargo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 58px;
  }

  .container,
  .site-header {
    width: calc(100% - 28px);
  }

  .site-header {
    inset: 12px 0 auto;
    min-height: 58px;
    padding: 8px 10px;
  }

  .brand-logo {
    width: 148px;
    height: 40px;
  }

  .header-telegram {
    display: none;
  }

  .hero {
    min-height: 86svh;
    padding: 96px 0 96px;
    align-items: end;
  }

  .hero-bg {
    background-position: 62% center;
    transform: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 17, 31, 0.94) 0%, rgba(4, 17, 31, 0.82) 62%, rgba(4, 17, 31, 0.3) 100%),
      linear-gradient(0deg, rgba(4, 17, 31, 0.88) 0%, rgba(4, 17, 31, 0.08) 48%);
  }

  .eyebrow {
    font-size: 10px;
  }

  h1 {
    max-width: 348px;
    font-size: 30px;
    line-height: 1.08;
  }

  h2 {
    font-size: 32px;
  }

  .hero-lead {
    max-width: 348px;
    font-size: 16px;
  }

  .hero-actions .btn,
  .quote-actions .btn {
    width: 100%;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 22px;
  }

  .hero-points li {
    min-height: 46px;
  }

  .section {
    scroll-margin-top: 86px;
    padding: 62px 0;
  }

  .calculator-form,
  .lead-form {
    padding: 16px;
  }

  .field-grid,
  .service-grid,
  .benefit-grid,
  .cargo-grid,
  .step-grid,
  .lead-form {
    grid-template-columns: 1fr;
  }

  .table-wrap,
  .mini-tables {
    overflow-x: visible;
  }

  table {
    display: block;
    min-width: 0;
    border: 0;
    background: transparent;
  }

  thead {
    display: none;
  }

  tbody {
    display: grid;
    gap: 8px;
  }

  tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(92px, 42%);
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
  }

  td {
    min-width: 0;
    padding: 0;
    border: 0;
    font-size: 14px;
    line-height: 1.35;
  }

  td:first-child {
    color: var(--ink);
    font-weight: 800;
  }

  td:last-child {
    color: var(--navy);
    font-weight: 900;
    text-align: right;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .media-panel img {
    min-height: 320px;
  }

  .site-footer {
    padding-bottom: 84px;
  }

  .footer-contact,
  .footer-bottom,
  .footer-links,
  .footer-bottom nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-contact h2 {
    font-size: 30px;
  }

  .cookie-banner {
    right: 14px;
    bottom: 72px;
    grid-template-columns: 1fr;
  }

  .success-dialog {
    align-items: end;
    padding: 14px 14px 78px;
  }

  .success-dialog__panel {
    padding: 24px 18px 18px;
  }

  .success-dialog h2 {
    font-size: 26px;
  }

  .legal-header {
    top: 12px;
    width: calc(100% - 28px);
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-header img {
    width: 148px;
    height: 40px;
  }

  .legal-main {
    width: calc(100% - 28px);
    margin: 28px auto 56px;
    padding: 24px 18px;
  }

  .legal-main h1 {
    font-size: 32px;
    line-height: 1.08;
  }

  .legal-main h2 {
    font-size: 24px;
  }

  .legal-requisites {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  .legal-requisites dd + dt {
    margin-top: 12px;
  }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 32px rgba(8, 24, 39, 0.14);
  }

  .mobile-bar a {
    display: grid;
    min-height: 58px;
    place-items: center;
    padding: 8px 4px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
  }

  .mobile-bar a:last-child {
    background: var(--blue);
    color: #fff;
  }
}
