@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local("Source Sans Pro"), local("MuseoSansCyrl-300"),
       url("/themes/navigatorV2026/fonts/MuseoSansCyrl-300.woff2") format("woff2"),
       url("/themes/navigatorV2026/fonts/MuseoSansCyrl-300.woff") format("woff");
}
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Source Sans Pro"), local("MuseoSansCyrl-500"),
       url("/themes/navigatorV2026/fonts/MuseoSansCyrl-500.woff2") format("woff2"),
       url("/themes/navigatorV2026/fonts/MuseoSansCyrl-500.woff") format("woff");
}
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Source Sans Pro"), local("MuseoSansCyrl-500"),
       url("/themes/navigatorV2026/fonts/MuseoSansCyrl-500.woff2") format("woff2"),
       url("/themes/navigatorV2026/fonts/MuseoSansCyrl-500.woff") format("woff");
}
@font-face {
  font-family: "Source Sans Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Source Sans Pro"), local("MuseoSansCyrl-700"),
       url("/themes/navigatorV2026/fonts/MuseoSansCyrl-700.woff2") format("woff2"),
       url("/themes/navigatorV2026/fonts/MuseoSansCyrl-700.woff") format("woff");
}

:root {
  --p-navy: #003F6A;
  --p-navy-2: #00416c;
  --p-teal: #74BACC;
  --p-teal-2: #007eb9;
  --p-text: #1a1a1a;
  --p-muted: #5c6770;
  --p-line: #d7e0e6;
  --p-bg: #f4f7f8;
  --p-card: #fff;
  --p-danger: #b42318;
  --p-max: 1120px;
  --p-band-tint: #eaf5f7;
  --p-band-soft: #f0f3f5;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.p-body {
  font-family: "Source Sans Pro", Verdana, Geneva, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  color: var(--p-text);
  background: var(--p-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { color: var(--p-navy-2); text-decoration: none; }
a:hover { color: var(--p-navy-2); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.p-header {
  background: #fff;
  border-bottom: 1px solid var(--p-line);
}
.p-header__inner,
.p-main,
.p-hint,
.p-tabs {
  width: min(var(--p-max), calc(100% - 24px));
  margin-left: auto;
  margin-right: auto;
}
.p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  min-height: 64px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.p-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--p-navy);
  min-width: 0;
}
.p-logo:hover { color: var(--p-navy); }
.p-logo__img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(180px, 46vw);
}
.p-header__nav {
  display: flex;
  align-items: center;
  gap: 4px 16px;
  min-width: 0;
}
.p-header__link {
  color: var(--p-navy);
  font-size: 14px;
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.p-header__link:hover { color: var(--p-navy); }
.p-header__user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
}
.p-header__name {
  max-width: 28vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--p-muted);
  font-size: 13px;
}
.p-header__out {
  color: var(--p-navy);
  text-decoration: none;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.p-header__out:hover { color: var(--p-navy); }

.p-hint {
  margin-top: 12px;
  margin-bottom: 0;
  padding: 10px 12px;
  background: #fff4f2;
  color: var(--p-danger);
  border: 1px solid #f0c2bc;
  border-radius: 8px;
}

.p-tabs-wrap {
  background: #fff;
  border-bottom: 1px solid var(--p-line);
}
.p-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.p-tabs__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 48px;
  padding: 10px 14px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--p-muted);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.p-tabs__link:hover {
  color: var(--p-navy);
  border-bottom-color: rgba(116, 186, 204, 0.45);
}
.p-tabs__link.is-active {
  color: var(--p-navy);
  font-weight: 700;
  background: transparent;
  border-bottom-color: var(--p-teal);
}
.p-bang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--p-danger);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.p-main {
  flex: 1 0 auto;
  padding: 16px 0 48px;
  min-width: 0;
  max-width: 100%;
}
.p-body--landing .p-main {
  padding: 0;
}

.p-top {
  position: relative;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding: 40px 0 48px;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 90% 15%, rgba(116, 186, 204, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 8% 90%, rgba(0, 126, 185, 0.26) 0%, transparent 50%),
    linear-gradient(145deg, #003F6A 0%, #00416c 42%, #0a5a7a 72%, #1a7a92 100%);
  overflow: hidden;
}
.p-top__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  width: min(var(--p-max), calc(100% - 24px));
  margin: 0 auto;
}
.p-top__copy { min-width: 0; max-width: 36em; }
.p-top h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
  color: #fff;
  font-weight: 700;
}
.p-lead {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(232, 242, 247, 0.92);
  max-width: 38em;
}
.p-top__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.p-top__points li {
  position: relative;
  padding-left: 28px;
  color: rgba(232, 242, 247, 0.95);
  font-size: 15px;
  line-height: 1.4;
}
.p-top__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.p-top__panel {
  min-width: 0;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 22px 20px 20px;
  background: #fff;
  color: var(--p-text);
  border: 1px solid rgba(0, 63, 106, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 30, 50, 0.28);
}
.p-top__panel-title {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.25;
  color: var(--p-navy);
  font-weight: 700;
}
.p-top__panel-note {
  margin: 14px 0 8px;
  color: var(--p-muted);
  font-size: 13px;
  text-align: center;
}
.p-btn--hero {
  background: #fff;
  color: var(--p-navy);
  font-weight: 700;
}
.p-btn--hero:hover {
  background: var(--p-teal);
  color: #fff;
}
.p-top .p-btn--ghost {
  background: #fff;
  color: var(--p-navy);
  border: 1px solid var(--p-line);
}
.p-top .p-btn--ghost:hover {
  background: #f3fbfd;
  color: var(--p-navy);
  border-color: var(--p-teal);
}

.p-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p-btn, button.p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 0;
  background: var(--p-navy);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.p-btn:hover, button.p-btn:hover { background: var(--p-teal-2); color: #fff; }
.p-btn--ghost {
  background: #fff;
  color: var(--p-navy);
  border: 1px solid var(--p-line);
}
.p-btn--ghost:hover { background: #f3fbfd; color: var(--p-navy); }
.p-btn--on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.p-btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.p-btn--small { min-height: 40px; padding: 6px 12px; }
.p-btn--block { width: 100%; }
.p-btn--danger { background: #fff; color: var(--p-danger); border: 1px solid #f0c2bc; }

.p-add-object {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid rgba(116, 186, 204, 0.55);
  background: linear-gradient(180deg, #f7fcfd 0%, #eef8fa 100%);
  color: var(--p-navy);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 63, 106, 0.08);
}
.p-add-object:hover {
  color: var(--p-navy);
  border-color: var(--p-teal);
  background: linear-gradient(180deg, #fff 0%, #e8f6f9 100%);
}
.p-add-object__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(116, 186, 204, 0.28);
  color: var(--p-navy);
  flex: 0 0 auto;
}
.p-objects-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.p-empty { color: var(--p-muted); margin: 0; }

.p-grid { display: grid; gap: 12px; }
.p-grid--2,
.p-grid--3 { grid-template-columns: 1fr; }
.p-card {
  background: var(--p-card);
  border: 1px solid var(--p-line);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 63, 106, 0.12);
  padding: 18px;
  min-width: 0;
}
.p-card h2, .p-card h3 {
  margin: 0 0 8px;
  color: var(--p-navy);
  font-size: 18px;
}
.p-card p { margin: 0; color: var(--p-text); }
.p-list {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: var(--p-muted);
  font-size: 14px;
}
.p-list li { margin: 0 0 6px; }

.p-band {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding: 44px 0;
  background: #fff;
}
.p-band--tint { background: var(--p-band-tint); }
.p-band--soft { background: var(--p-band-soft); }
.p-band--benefits { background: #f5f5f5; }
.p-band__inner {
  width: min(var(--p-max), calc(100% - 24px));
  margin: 0 auto;
  min-width: 0;
}
.p-band h2,
.p-section h2 {
  color: var(--p-navy);
  font-size: 22px;
  margin: 0 0 8px;
}
.p-section { margin: 36px 0; }
.p-section--tight { margin-top: 24px; }
.p-section__lead {
  margin: 0 0 16px;
  color: var(--p-muted);
  max-width: 40em;
}

.p-features {
  display: grid;
  gap: 20px;
}
.p-feature {
  min-width: 0;
  padding: 0;
}
.p-feature h3 {
  margin: 0 0 6px;
  color: var(--p-navy);
  font-size: 17px;
}
.p-feature p {
  margin: 0;
  color: var(--p-muted);
  font-size: 14px;
}

.p-benefits {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.p-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.p-benefit__icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--p-navy);
  box-shadow: none;
  position: relative;
  box-sizing: border-box;
}
.p-benefit__icon::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 7px;
  height: 12px;
  border-right: 2px solid var(--p-navy);
  border-bottom: 2px solid var(--p-navy);
  transform: rotate(45deg);
}
.p-benefit__body { min-width: 0; flex: 1 1 auto; }
.p-benefit h3 {
  margin: 0 0 4px;
  color: var(--p-navy);
  font-size: 16px;
}
.p-benefit p {
  margin: 0;
  color: var(--p-muted);
  font-size: 14px;
}

.p-steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.p-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.p-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--p-navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
  margin-top: 2px;
}
.p-step__body { min-width: 0; }
.p-step b {
  display: block;
  color: var(--p-navy);
  margin-bottom: 4px;
  font-size: 16px;
}
.p-step p { margin: 0; color: var(--p-muted); font-size: 14px; }

.p-cta {
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding: 32px 0;
  background: var(--p-navy);
  color: #fff;
}
.p-cta__inner {
  width: min(var(--p-max), calc(100% - 24px));
  margin: 0 auto;
  max-width: 40em;
}
.p-cta h2 {
  color: #fff;
  margin: 0 0 8px;
  font-size: 22px;
}
.p-cta p {
  margin: 0 0 18px;
  color: rgba(232, 242, 247, 0.9);
}

.p-faq details {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--p-line);
  border-radius: 0;
  padding: 0;
  margin: 0;
  box-shadow: none;
}
.p-faq details:last-child { border-bottom: 0; }
.p-faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  color: var(--p-navy);
  font-weight: 700;
}
.p-faq summary::-webkit-details-marker { display: none; }
.p-faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--p-navy);
  border-bottom: 2px solid var(--p-navy);
  transform: rotate(45deg);
  margin-top: -4px;
  transition: transform 0.15s ease;
}
.p-faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.p-faq details p {
  margin: 0 0 14px;
  padding-right: 28px;
  color: var(--p-muted);
}

.p-form { display: grid; gap: 12px; max-width: 520px; }
.p-form label, .p-field { display: grid; gap: 4px; }
.p-form input, .p-form select, .p-form textarea,
.p-field input, .p-field select, .p-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid #b4b4b4;
  border-radius: 6px;
  background: #fbfbfb;
  color: #000;
}
.p-form textarea, .p-field textarea { min-height: 96px; }
.p-form input:focus, .p-form select:focus, .p-form textarea:focus,
.p-field input:focus, .p-field select:focus, .p-field textarea:focus {
  outline: none;
  border-color: var(--p-navy);
  box-shadow: 0 0 0 2px rgba(116, 186, 204, 0.35);
}
.p-error { color: var(--p-danger); margin: 0; }
.p-note { color: var(--p-muted); font-size: 13px; }

body.p-modal-open { overflow: hidden; }
.p-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.p-modal[hidden] { display: none !important; }
.p-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 50, 0.55);
}
.p-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 22px 20px 18px;
  background: #fff;
  border: 1px solid rgba(0, 63, 106, 0.08);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 30, 50, 0.28);
  color: var(--p-text);
}
.p-modal__title {
  margin: 0 36px 16px 0;
  font-size: 22px;
  line-height: 1.25;
  color: var(--p-navy);
  font-weight: 700;
}
.p-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--p-navy);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.p-modal__close:hover {
  background: #f3fbfd;
  color: var(--p-navy);
}
.p-modal__close:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(116, 186, 204, 0.35);
}
.p-form--modal {
  max-width: none;
}
.p-form--modal label {
  color: var(--p-navy);
  font-size: 13px;
  font-weight: 500;
}
.p-modal__note {
  margin: 14px 0 0;
  text-align: center;
}

.p-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.p-checks label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: 8px;
  padding: 6px 10px;
}
.p-legal { display: grid; gap: 8px; }
.p-legal__type { display: none; }
.p-legal.is-person .p-legal__person,
.p-legal.is-ip .p-legal__ip,
.p-legal.is-self .p-legal__self,
.p-legal.is-ooo .p-legal__ooo { display: grid; gap: 12px; }

.p-objects { display: grid; gap: 12px; }
.p-object {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--p-line);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 63, 106, 0.12);
  padding: 12px;
  min-width: 0;
}
.p-object__photo {
  width: 96px; height: 72px; object-fit: cover; border-radius: 8px; background: #e8eef2;
}
.p-object__photo--empty { display: block; }
.p-object__name { color: var(--p-navy); font-weight: 700; text-decoration: none; }
.p-object__name:hover { color: var(--p-navy); }
.p-object__city { color: var(--p-muted); font-size: 13px; margin: 2px 0 8px; }
.p-object__bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.p-badge {
  display: inline-flex; align-items: center; min-height: 36px; padding: 4px 10px;
  border-radius: 999px; background: #e7f6f4; color: var(--p-navy); font-size: 13px;
}
.p-icon {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--p-line); background: #fff; color: var(--p-navy); text-decoration: none;
}
.p-icon:hover { border-color: var(--p-teal); color: var(--p-navy); }
.p-icon svg { width: 20px; height: 20px; }

.p-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.p-table { width: 100%; border-collapse: collapse; background: #fff; min-width: 640px; }
.p-table th, .p-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--p-line); vertical-align: top; }
.p-table th { color: var(--p-navy); font-weight: 700; }

.p-stat { display: grid; gap: 8px; }
.p-stat__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--p-line); }
.p-anchor { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.p-anchor a { flex: 0 0 auto; min-height: 40px; display: inline-flex; align-items: center; color: var(--p-navy); }

.p-photos { display: flex; gap: 8px; overflow-x: auto; }
.p-photos label { flex: 0 0 auto; width: 120px; }
.p-photos img { width: 120px; height: 80px; object-fit: cover; border-radius: 8px; display: block; }

.p-months { display: grid; grid-template-columns: repeat(12, minmax(88px, 1fr)); gap: 8px; min-width: 1100px; }
.p-offer {
  white-space: pre-wrap; background: #fff; border: 1px solid var(--p-line); border-radius: 12px; padding: 14px;
}

/* ========== FOOTER ========== */
.p-footer {
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--p-navy);
  color: #e8f2f7;
}
.p-footer a {
  color: #e8f2f7;
  text-decoration: none;
}
.p-footer a:hover,
.p-footer a:focus {
  color: var(--p-teal);
}
.p-footer__main {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px 32px;
  width: min(var(--p-max), calc(100% - 24px));
  margin: 0 auto;
  padding: 32px 0 24px;
}
.p-footer__brand {
  flex: 0 1 220px;
  min-width: 160px;
  max-width: 260px;
}
.p-footer__logo-link {
  display: inline-block;
  line-height: 0;
  padding: 8px 10px;
  background: #fff;
  border-radius: 8px;
}
.p-footer__logo {
  display: block;
  max-width: 160px;
  width: 100%;
  height: auto;
}
.p-footer__tagline {
  margin: 12px 0 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(232, 242, 247, 0.78);
}
.p-footer__menus {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 20px 32px;
  min-width: 0;
}
.p-footer__col,
.p-footer__contacts {
  flex: 0 1 auto;
  min-width: 120px;
}
.p-footer__contacts { flex: 0 1 180px; }
.p-footer__col-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.p-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.p-footer__list li {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.35;
}
.p-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  width: 100%;
  padding: 14px max(12px, calc((100% - var(--p-max)) / 2 + 12px));
  border-top: 1px solid rgba(116, 186, 204, 0.35);
  background: rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}
.p-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 12px;
}
.p-footer__legal a { color: rgba(232, 242, 247, 0.85); }
.p-footer__copy {
  font-size: 12px;
  color: rgba(232, 242, 247, 0.7);
}

@media (min-width: 768px) {
  .p-grid--2 { grid-template-columns: 1fr 1fr; }
  .p-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .p-features { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .p-benefits { grid-template-columns: 1fr 1fr; gap: 32px 200px; }
  .p-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .p-step { flex-direction: column; gap: 10px; }
  .p-top { padding: 56px 0 64px; }
  .p-top__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 380px);
    gap: 40px;
    align-items: center;
  }
  .p-top__panel {
    margin: 0;
    max-width: none;
    padding: 26px 24px 22px;
  }
  .p-top h1 { font-size: 36px; }
  .p-band { padding: 56px 0; }
  .p-object { grid-template-columns: 160px 1fr; }
  .p-object__photo { width: 160px; height: 110px; }
  .p-logo__img { height: 48px; max-width: 220px; }
  .p-tabs__link { padding: 12px 18px; font-size: 15px; }
}
@media (min-width: 992px) {
  .p-top__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 400px);
    gap: 48px;
  }
  .p-top h1 { font-size: 40px; }
}
@media (max-width: 767px) {
  .p-header__nav { display: none; }
  .p-header__name { display: none; }
  .p-top { padding: 28px 0 36px; }
  .p-top h1 { font-size: 24px; }
  .p-top__panel { max-width: none; }
  .p-band { padding: 36px 0; }
  .p-add-object {
    width: 100%;
    min-height: 56px;
  }
  .p-footer__main { padding-top: 28px; }
}
@media (max-width: 479px) {
  .p-header__inner { min-height: 56px; }
  .p-logo__img { height: 34px; max-width: 140px; }
  .p-top__panel { padding: 18px 16px 16px; }
  .p-modal { padding: 10px; align-items: flex-end; }
  .p-modal__dialog {
    width: 100%;
    max-height: min(92vh, 720px);
    border-radius: 12px 12px 8px 8px;
    padding: 18px 16px 16px;
  }
}
