:root {
  --bg: #ffffff;
  --surface: #f7f7f7;
  --text: #1c274c;
  --muted: #6a738f;
  --line: #dde1ea;

  --navy: #1c274c;
  --navy-deep: #121933;
  --gold: #f1d549;
  --gold-soft: #fff6c8;
  --gold-deep: #d4b82a;

  /* Unified buttons (эталон: .btn-header-add) — одно закругление у всех */
  --btn-radius: 999px;
  --btn-gold-bg: var(--gold);
  --btn-gold-bg-hover: var(--gold-deep);
  --btn-gold-fg: var(--navy);
  --btn-gold-fg-hover: var(--navy-deep);
  --btn-gold-radius: var(--btn-radius);
  --btn-gold-weight: 600;
  --btn-gold-shadow: 0 4px 14px rgba(241, 213, 73, 0.28);
  --btn-gold-shadow-hover: 0 8px 20px rgba(241, 213, 73, 0.36);

  --coral: var(--navy);
  --coral-deep: var(--navy-deep);
  --shadow: 0 3px 12px rgba(28, 39, 76, 0.1), 0 1px 2px rgba(28, 39, 76, 0.08);
  --radius-card: 12px;
  --pad: clamp(24px, 5vw, 80px);
  --wrap: min(1440px, 100%);
  --nav-size: 44px;

  /* Global overlay for drawers / menus / popups / fancybox */
  --overlay-bg: rgba(18, 25, 51, 0.58);
  --overlay-blur: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*:focus,
*:focus-visible {
  outline: none !important;
}
::-moz-focus-inner {
  border: 0;
}

html {
  height: 100%;
  overflow-x: clip;
}
body {
  min-height: 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  line-height: 1.15;
}
html.is-locked {
  overflow: hidden;
  overscroll-behavior: none;
}
body.is-locked {
  --lock-y: 0px;
  position: fixed;
  top: calc(-1 * var(--lock-y));
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
main {
  flex: 1 0 auto;
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; background: none; font-weight: 600; }
[type="submit"],
[type="button"] {
  font-weight: 600;
}
ul { list-style: none; }

.wrap {
  width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--pad);
}

:root {
  --header-h: 80px;
  --admin-bar-h: 0px;
}
/*
  WP admin-bar (admin-bar.css / admin-bar.php):
  - default: position:fixed, 32px; html { margin-top:32px }
  - ≤782px: height 46px; html { margin-top:46px }
  - ≤600px: position:absolute — scrolls away with the page
  JS sets --admin-bar-h inline on body (beats these rules) and toggles
  .df-admin-bar-away at ≤600px after scroll.
*/
body.admin-bar {
  --admin-bar-h: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar {
    --admin-bar-h: 46px;
  }
}
/* ≤600px: bar is absolute. After scroll, drop header offset (class from JS). */
@media screen and (max-width: 600px) {
  body.admin-bar.df-admin-bar-away {
    --admin-bar-h: 0px;
  }
}
@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }
}

.header {
  position: fixed;
  top: var(--admin-bar-h);
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: top 0.15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .header { transition: none; }
}
.sp-scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: 3px;
  pointer-events: none;
  overflow: hidden;
}
.sp-scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  transform-origin: left center;
  will-change: width;
}
.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  display: block;
  height: 26px;
  width: auto;
}
.brand-slogan {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
  max-width: 22ch;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  height: 42px;
}
.btn-header-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: var(--btn-gold-radius);
  background: var(--btn-gold-bg);
  color: var(--btn-gold-fg);
  font-size: 14px;
  font-weight: var(--btn-gold-weight);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: var(--btn-gold-shadow);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-header-add__ico {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.btn-header-add__text {
  display: none;
}
.btn-header-add:hover {
  background: var(--btn-gold-bg-hover);
  color: var(--btn-gold-fg-hover);
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover);
}
.menu-pill__text,
.header-cabinet__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  line-height: 0;
  color: var(--text);
}
.icon-btn:hover { background: var(--surface); }
.icon-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}
.icon-btn .icon-search-close { display: none; }
.icon-btn.is-search-open .icon-search { display: none; }
.icon-btn.is-search-open .icon-search-close { display: block; }
.icon-btn.is-search-open { background: var(--surface); color: var(--navy); }
.fav-header-btn { color: var(--navy); }

.fav-header-btn svg { transform: translateY(-1px); }
.fav-header-btn.is-active svg path { fill: var(--navy); stroke: var(--navy); }
.fav-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.fav-count[hidden] { display: none !important; }
.fav-head-count { color: var(--muted); font-weight: 600; }
.fav-empty {
  padding: 24px 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.fav-empty[hidden] { display: none !important; }
.fav-list { display: flex; flex-direction: column; gap: 10px; }
.fav-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--surface);
  transition: background 0.2s ease;
}
.fav-item:hover { background: #eef0f5; }
.fav-item-link {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  color: inherit;
}
.fav-item-link img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #ebebeb;
  box-sizing: border-box;
}
.fav-item-link img.is-placeholder {
  border: 1px solid rgba(28, 39, 76, 0.14);
  background: #f1f6fb;
}
.fav-item-body { min-width: 0; }
.fav-item-body strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  color: var(--navy);
}
.fav-item-cat {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fav-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.2;
}
.fav-item-rating {
  font-weight: 700;
  color: var(--navy);
}
.fav-item-price {
  font-weight: 700;
  color: var(--navy);
}
.fav-item-remove {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.fav-item-remove:hover { background: #fff; color: var(--navy); }

.cookie-bar {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  max-width: 920px;
  margin-inline: auto;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(18, 25, 51, 0.16);
  color: var(--navy);
}
.cookie-bar[hidden] {
  display: none !important;
}
.cookie-bar__text {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}
.cookie-bar__ico {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.3;
}
.cookie-bar__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-bar__text a:hover {
  color: var(--navy-deep);
}
.cookie-bar__btn {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--btn-radius);
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(241, 213, 73, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.cookie-bar__btn:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }
  .cookie-bar__btn {
    width: 100%;
  }
}
@media (max-width: 900px) {
  body:has(.sp-dock.is-visible) .cookie-bar {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
}

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10060;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(340px, calc(100vw - 32px));
  pointer-events: none;
}
.toast {
  --toast-duration: 3.2s;
  --toast-accent: var(--gold, #f1d549);
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--navy);
  color: #fff;
  /* Keep navy fill; ring + shadow so it doesn’t melt into dark footer */
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(241, 213, 73, 0.45),
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 2px 0 rgba(241, 213, 73, 0.35);
  transform: translateY(12px);
  opacity: 0;
  animation: toast-in 0.28s ease forwards;
}
.toast.toast--error {
  --toast-accent: #ef4444;
  background: #7f1d1d;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 0 0 1px rgba(239, 68, 68, 0.55),
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 2px 0 rgba(239, 68, 68, 0.4);
}
.toast.is-out {
  animation: toast-out 0.22s ease forwards;
}
.toast-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--toast-accent);
  transform: scaleX(0);
  transform-origin: left center;
  animation: toast-progress var(--toast-duration) linear forwards;
  pointer-events: none;
}
@keyframes toast-progress {
  to { transform: scaleX(1); }
}
.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--toast-accent);
  color: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}
.toast.toast--error .toast-icon {
  color: #fff;
}
.toast-body { min-width: 0; flex: 1; }
.toast-body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.toast-body p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}
.toast-close {
  color: rgba(255, 255, 255, 0.7);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.toast-close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
@keyframes toast-in {
  to { transform: translateY(0); opacity: 1; }
}
@keyframes toast-out {
  to { transform: translateY(8px); opacity: 0; }
}
.menu-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, width 0.2s ease, padding 0.2s ease;
}
.menu-pill:hover { box-shadow: var(--shadow); }
.menu-pill.is-open {
  border-color: var(--navy);
  background: var(--surface);
}
.menu-burger {
  position: relative;
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  line-height: 0;
}
.menu-burger svg {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  display: block;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.menu-burger__open {
  opacity: 1;
  transform: rotate(0deg);
}
.menu-burger__close {
  opacity: 0;
  transform: rotate(-90deg);
}
.menu-pill.is-open .menu-burger__open {
  opacity: 0;
  transform: rotate(90deg);
}
.menu-pill.is-open .menu-burger__close {
  opacity: 1;
  transform: rotate(0deg);
}
.header-cabinet {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, width 0.2s ease, padding 0.2s ease;
}
.header-cabinet:hover {
  box-shadow: var(--shadow);
}
.header-cabinet__avatar {
  position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
}
.header-cabinet__guest {
  width: 16px;
  height: 16px;
  display: block;
}
.header-cabinet__photo-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #e9e9e9;
  box-sizing: border-box;
}
.header-cabinet__photo-wrap[hidden] {
  display: none !important;
}
.header-cabinet__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
}
.header-cabinet.is-auth .header-cabinet__guest {
  display: none;
}

.header-search {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-top: 1px solid transparent;
  background: #fff;
  padding: 0;
  transition:
    max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    padding 0.35s ease,
    border-color 0.28s ease;
}
.header-search.is-open {
  max-height: 480px;
  opacity: 1;
  padding: 14px 0 18px;
  border-top-color: var(--line);
  overflow: visible;
  box-shadow: 0 12px 28px rgba(28, 39, 76, 0.1);
}
.header-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-search-row > .search-live {
  flex: 1;
  min-width: 0;
}
.header-search-form {
  flex: 1;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow:
    0 0 0 1px rgba(28, 39, 76, 0.04),
    0 6px 18px rgba(28, 39, 76, 0.12),
    0 2px 6px rgba(28, 39, 76, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.header-search-form:focus-within {
  border-color: var(--navy);
  box-shadow:
    0 0 0 4px rgba(28, 39, 76, 0.1),
    0 10px 28px rgba(28, 39, 76, 0.16),
    0 3px 8px rgba(28, 39, 76, 0.1);
}

/* Live AJAX search dropdown */
.search-live {
  position: relative;
  width: 100%;
  z-index: 5;
}
.search-live--hero {
  max-width: 720px;
  margin: 0 auto 32px;
}
.search-live--hero .search-bar {
  margin: 0;
  max-width: none;
}
.search-live--listing {
  z-index: 6;
  margin-bottom: 14px;
}
.search-live--listing .search-bar--listing {
  margin: 0;
}
.search-live--drawer {
  z-index: 6;
}
.drawer-search {
  position: relative;
  z-index: 8;
}
.search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  max-height: min(420px, 60vh);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(28, 39, 76, 0.16);
  -webkit-overflow-scrolling: touch;
  text-align: left; /* override .hero { text-align: center } */
}
.search-suggest__item,
.search-suggest__label {
  text-align: left;
}
.search-suggest__item .search-suggest__text strong,
.search-suggest__item .search-suggest__text span {
  text-align: left;
}
.search-suggest[hidden] {
  display: none !important;
}
.search-suggest__group {
  min-width: 0;
  max-width: 100%;
}
.search-suggest__group + .search-suggest__group {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.search-suggest__label {
  padding: 6px 10px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.search-suggest__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--navy);
  text-decoration: none;
  overflow: hidden;
  transition: background 0.15s ease;
}
.search-suggest__item:hover,
.search-suggest__item:focus-visible {
  background: var(--surface);
  outline: none;
}
.search-suggest__ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.55);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--navy);
}
.search-suggest__ico svg {
  width: 18px;
  height: 18px;
  display: block;
}
.search-suggest__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #ebebeb;
}
.search-suggest__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.search-suggest__text {
  min-width: 0;
  flex: 1 1 auto;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.search-suggest__text strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggest__text span {
  display: block;
  min-width: 0;
  max-width: 100%;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-suggest__item .search-suggest__text {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.search-suggest__item .search-suggest__text strong {
  flex: 1 1 auto;
  min-width: 0;
}
.search-suggest__item--person .search-suggest__text {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
}
.search-suggest__text em {
  flex-shrink: 0;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}
.search-suggest__empty {
  padding: 14px 12px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.search-suggest__all {
  display: block;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.55);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.search-live--drawer .search-suggest {
  /* stay inside drawer padding; avoid bleed + h-scroll */
  width: auto;
  max-width: 100%;
}
.search-suggest__all:hover {
  background: var(--gold);
}
.search-live.is-loading .search-suggest::before {
  content: "";
  display: block;
  height: 2px;
  margin: -8px -8px 8px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%;
  animation: search-suggest-bar 0.9s linear infinite;
}
@keyframes search-suggest-bar {
  to { background-position: -200% 0; }
}
.header-search-form label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  min-width: 0;
}
.header-search-form svg {
  width: 18px;
  height: 18px;
  color: var(--muted);
  flex-shrink: 0;
}
.header-search-form input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}
.header-search-form button[type="submit"] {
  margin: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.header-search-form button[type="submit"]:hover { background: var(--navy-deep); }
.header-search-close {

  display: none !important;
}

.drawer-backdrop {
  position: fixed;
  top: var(--admin-bar-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  background: transparent;
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(var(--overlay-blur));
  -webkit-backdrop-filter: blur(var(--overlay-blur));
  transition: visibility 0s linear 0.32s;
}
.drawer-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.drawer-backdrop.is-open {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s;
}
.drawer-backdrop.is-open::before {
  opacity: 1;
}

/* Body-level overlay for Fancybox (blur cannot live inside .fancybox-container) */
.df-overlay {
  position: fixed;
  top: var(--admin-bar-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 99990;
  background: transparent;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(var(--overlay-blur));
  -webkit-backdrop-filter: blur(var(--overlay-blur));
  transition: visibility 0s linear 0.32s;
}
.df-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.df-overlay.is-open {
  visibility: visible;
  transition: visibility 0s;
}
.df-overlay.is-open::before {
  opacity: 1;
}

.drawer {
  position: fixed;
  top: var(--admin-bar-h);
  right: 0;
  height: calc(100% - var(--admin-bar-h));
  height: calc(100dvh - var(--admin-bar-h));
  width: min(380px, 92vw);
  background: #fff;
  z-index: 90;

  transform: translateX(calc(100% + 48px));
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  overflow: hidden;
}
.drawer.is-open {
  transform: translateX(0);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.drawer-head-lead {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.drawer-head strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.drawer-search-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: transparent;
  border: 0;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.drawer-search-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}
.drawer-search-toggle:hover,
.drawer-search-toggle.is-active {
  background: var(--gold-soft);
  color: var(--navy-deep);
}
.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.drawer-close:hover { background: var(--surface); }
.drawer-close svg { width: 18px; height: 18px; }
.drawer-search {
  flex-shrink: 0;
  padding: 0 25px;
  border-bottom: 1px solid transparent;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    max-height 0.28s ease,
    opacity 0.22s ease,
    padding 0.28s ease,
    border-color 0.22s ease;
}
.drawer-search.is-open {
  max-height: 96px;
  opacity: 1;
  padding: 15px 25px;
  border-bottom-color: var(--line);
  overflow: visible;
  pointer-events: auto;
}
.drawer-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  background: #fff;
  border: 2px solid var(--gold);
  box-shadow: 0 2px 10px rgba(28, 39, 76, 0.06);
}
.drawer-search-form:focus-within {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(241, 213, 73, 0.28);
}
.drawer-search-form svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--navy);
}
.drawer-search-form input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.drawer-search-form input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.drawer-body {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px 25px 14px;
  flex: 1 1 auto;
  min-height: 0;
}
.drawer-foot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: #fff;
}
.drawer-add {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: var(--btn-gold-radius);
  background: var(--btn-gold-bg);
  color: var(--btn-gold-fg);
  font-size: 14px;
  font-weight: var(--btn-gold-weight);
  line-height: 1;
  text-align: center;
  box-shadow: var(--btn-gold-shadow);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.drawer-add:hover {
  background: var(--btn-gold-bg-hover);
  color: var(--btn-gold-fg-hover);
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover);
}
.drawer-vk-btn {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--btn-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  transition: background 0.2s ease, transform 0.2s ease;
}
.drawer-vk-btn:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}
.drawer-vk-btn svg {
  width: 22px;
  height: 16px;
  display: block;
}
.drawer-group {
  --drawer-trail: 26px;
  --drawer-indent: 14px;
  padding: 8px 0 4px;
}
.drawer-group + .drawer-group {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 10px;
}
.drawer-group h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}
/* Align with .drawer-tree-toggle text; hover bg via ::before so grid doesn't shift */
.drawer-group > a {
  position: relative;
  display: block;
  padding: 9px 0;
  z-index: 0;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  color: var(--navy);
}
.drawer-group > a::before {
  content: "";
  position: absolute;
  inset: 2px -8px;
  border-radius: 10px;
  background: transparent;
  z-index: -1;
  transition: background 0.15s ease;
}
.drawer-group > a:hover {
  color: var(--navy);
  background: transparent;
}
.drawer-group > a:hover::before {
  background: var(--surface);
}
.drawer-tree {
  --drawer-trail: 26px;
  --drawer-indent: 14px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.drawer-tree-item {
  border-bottom: 1px solid var(--line);
}
.drawer-tree-item:last-child {
  border-bottom: 0;
}
.drawer-tree-toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) var(--drawer-trail);
  align-items: center;
  column-gap: 10px;
  padding: 9px 0;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}
.drawer-tree-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(212, 184, 42, 0.28);
}
.drawer-tree-icon svg {
  width: 14px;
  height: 14px;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  transform: none;
}
.drawer-tree-toggle > span:not(.drawer-tree-icon) {
  min-width: 0;
  line-height: 1.3;
}
.drawer-tree-toggle:hover,
.drawer-tree-toggle:focus,
.drawer-tree-toggle:focus-visible,
.drawer-tree-item.is-open > .drawer-tree-toggle {
  color: var(--navy);
  background: transparent;
  outline: none;
  box-shadow: none;
  border: 0;
}

.drawer-tree-toggle > .drawer-tree-chev {
  width: var(--drawer-trail);
  height: var(--drawer-trail);
  padding: 5px;
  box-sizing: border-box;
  justify-self: end;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, border-color 0.2s ease;
}
.drawer-tree-toggle:hover > .drawer-tree-chev {
  background: var(--surface);
}
.drawer-tree-item.is-open > .drawer-tree-toggle > .drawer-tree-chev {
  transform: rotate(180deg);
  background: var(--gold-soft);
  border-color: rgba(241, 213, 73, 0.7);
}
.drawer-tree-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition:
    max-height 0.28s ease,
    opacity 0.2s ease,
    visibility 0.2s;
}
.drawer-tree-item.is-open > .drawer-tree-panel {
  /* Запас под длинные категории (раньше 520px обрезало «Электрику»). */
  max-height: 2400px;
  opacity: 1;
  visibility: visible;
}
.drawer-tree-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin: 2px 0 12px;
  padding: 4px;
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(28, 39, 76, 0.06);
}
.drawer-tree-panel a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--drawer-trail);
  align-items: center;
  column-gap: 10px;
  width: 100%;
  min-height: 36px;
  padding: 4px 6px 4px 10px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(28, 39, 76, 0.82);
  -webkit-tap-highlight-color: transparent;
}
.drawer-tree-panel a:hover,
.drawer-tree-panel a:focus,
.drawer-tree-panel a:focus-visible {
  background: #fff;
  color: var(--navy);
  outline: none;
  box-shadow: none;
}
.drawer-tree-panel a.is-all {
  font-weight: 700;
  color: var(--navy);
}
.drawer-tree-name {
  min-width: 0;
  line-height: 1.35;
}
.drawer-tree-num {
  justify-self: end;
  box-sizing: border-box;
  width: var(--drawer-trail);
  height: var(--drawer-trail);
  min-width: var(--drawer-trail);
  padding: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.55);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.hero {
  position: relative;
  overflow: visible;
  padding: 56px 0 48px;
  border-bottom: 0;
  text-align: center;
  color: var(--navy);
  background: var(--gold);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(24px, 6.8vw, 56px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  max-width: 18ch;
  margin: 0 auto 14px;
  color: var(--navy);
  animation: hero-rise 0.75s ease 0.05s both;
}
.hero-sub {
  font-size: clamp(15px, 2.4vw, 19px);
  font-weight: 500;
  color: rgba(28, 39, 76, 0.72);
  margin: 0 auto 32px;
  max-width: 40ch;  
  animation: hero-rise 0.75s ease 0.1s both;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.search-bar {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 32px;
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 999px;
  box-shadow:
    0 0 0 6px rgba(28, 39, 76, 0.1),
    0 18px 48px rgba(28, 39, 76, 0.22);
  overflow: hidden;
  animation: hero-rise 0.8s ease 0.16s both;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.search-bar:focus-within {
  border-color: var(--navy-deep);
  box-shadow:
    0 0 0 8px rgba(28, 39, 76, 0.14),
    0 22px 56px rgba(28, 39, 76, 0.28);
  transform: translateY(-2px) scale(1.01);
}
.search-bar label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 22px;
  min-width: 0;
}
.search-bar svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--navy);
}
.search-bar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  color: var(--navy);
}
.search-bar input::placeholder {
  color: #5a6480;
  opacity: 1;
  transition: color 0.45s ease, transform 0.45s ease;
}
.search-bar input.placeholder-fade-out::placeholder {
  color: transparent;
  transform: translateY(-5px);
}
.search-bar input.placeholder-fade-in::placeholder {
  color: transparent;
  transform: translateY(5px);
}
.header-search-form input::placeholder {
  color: #5a6480;
  opacity: 1;
  transition: color 0.45s ease, transform 0.45s ease;
}
.header-search-form input.placeholder-fade-out::placeholder {
  color: transparent;
  transform: translateY(-5px);
}
.header-search-form input.placeholder-fade-in::placeholder {
  color: transparent;
  transform: translateY(5px);
}
.search-bar button {
  margin: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  background-color: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.search-bar button:hover,
.search-bar button:focus-visible {
  background-color: var(--navy-deep);
  transform: scale(1.02);
}

.benefits {
  width: 100%;
  margin: 0;
}
.benefits-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.hero .benefits {
  position: relative;
  left: 50%;
  right: auto;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: 0;
}
.benefits-swiper {
  overflow: visible;
  width: 100%;
  box-sizing: border-box;
  padding: 2px 0 6px;
}
.benefits-swiper .swiper-wrapper {
  align-items: stretch;
}
.benefits-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
  width: 74%;
}
.benefits-swiper .benefit {
  height: 100%;
  width: 100%;
  animation: none;
  cursor: grab;
}
.benefits-swiper .benefit:active {
  cursor: grabbing;
}
.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(28, 39, 76, 0.08);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(28, 39, 76, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: hero-rise 0.7s ease both;
}
.benefit:nth-child(1) { animation-delay: 0.2s; }
.benefit:nth-child(2) { animation-delay: 0.28s; }
.benefit:nth-child(3) { animation-delay: 0.36s; }
.benefit:nth-child(4) { animation-delay: 0.44s; }
.benefit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(28, 39, 76, 0.14);
}
.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  border: 0;
  color: var(--gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.benefit-icon svg { width: 20px; height: 20px; display: block; }
.benefit strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}
.benefit span {
  display: block;
  font-size: 13px;
  color: rgba(28, 39, 76, 0.65);
  line-height: 1.25;
}

.section {
  padding: 48px 0 8px;
  overflow: visible;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}
.section-head h2 {
  flex: 1 1 auto;
  min-width: 0;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-head a {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: right;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #e8e8e8;
  flex-shrink: 0;
  overflow: hidden;
}
.card-media .img-shimmer,
.card-media .img-shimmer img {
  width: 100%;
  height: 100%;
}
.card-media img {
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, opacity 0.35s ease;
}
.card:hover .card-media img { transform: scale(1.03); }

.img-shimmer {
  position: relative;
  overflow: hidden;
  background: #e9e9e9;
}
.img-shimmer.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.15s ease-in-out infinite;
  pointer-events: none;
}
.img-shimmer.is-loading img { opacity: 0; }
.img-shimmer:not(.is-loading) img { opacity: 1; }
.img-shimmer--avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}
.img-shimmer--avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.badge-rec {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(18, 25, 51, 0.18);
}
.fav-btn {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(18, 25, 51, 0.18);
  transition: transform 0.15s ease, background 0.15s ease;
}
.fav-btn svg { width: 20px; height: 20px; }
.fav-btn svg path {
  fill: transparent;
  stroke: var(--navy);
  stroke-width: 2;
}
.fav-btn:hover { transform: scale(1.06); }
.fav-btn.is-active {
  background: var(--navy);
  color: var(--gold);
}
.fav-btn.is-active svg path {
  fill: var(--gold);
  stroke: var(--gold);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 14px 14px 16px;
}
.card-tag {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.65);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-person {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}
.card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #ebebeb;
  box-sizing: border-box;
}
.img-shimmer--avatar.is-placeholder::after {
  display: none;
}
.card-avatar.is-placeholder {
  background: #f1f6fb;
  border: 1px solid rgba(28, 39, 76, 0.14);
  object-fit: cover;
}
.img-shimmer--avatar.is-placeholder {
  background: #f1f6fb;
  box-shadow: inset 0 0 0 1px rgba(28, 39, 76, 0.14);
}
.card-person-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.card-score {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 13px;
  line-height: 1;
}
.card-rating {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.card-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
  flex-shrink: 0;
  opacity: 0.75;
}
.card-reviews {
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-reviews--empty {
  opacity: 0.7;
}
.card-cities {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  margin-top: auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.2;
}
.card-pin {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--navy);
  opacity: 0.55;
}
.card-cities span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-price {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.2;
}
@media (max-width: 640px) {
  .card-media,
  .carousel-skel__media {
    aspect-ratio: 16 / 10;
  }
  .card-body {
    gap: 8px;
    padding: 10px 12px 12px;
  }
  .card-person {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 8px;
  }
  .card-avatar,
  .img-shimmer--avatar {
    width: 40px;
    height: 40px;
  }
  .fav-btn {
    width: 36px;
    height: 36px;
    left: 10px;
    top: 10px;
  }
  .fav-btn svg {
    width: 17px;
    height: 17px;
  }
  .badge-rec {
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 11px;
  }
  .card-tag {
    padding: 4px 8px;
    font-size: 11px;
  }
}

.swiper-block {
  overflow: visible;
  margin-inline: 0;
  width: 100%;
  position: relative;
}
[data-carousel-shell] {
  position: relative;
}
/* Пока Swiper не готов — прячем разметку (без огромного min-height). */
[data-carousel-shell]:not(.is-ready) > .swiper-frame,
[data-carousel-shell]:not(.is-ready) > .swiper-pagination,
[data-carousel-shell]:not(.is-ready) > .benefits-swiper,
[data-carousel-shell]:not(.is-ready) > .specialists-swiper {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
[data-carousel-shell]:not(.is-ready) {
  min-height: 0;
}
.carousel-loader {
  display: none;
  position: relative;
  z-index: 4;
  width: 100%;
  pointer-events: none;
}
[data-carousel-shell]:not(.is-ready) > .carousel-loader {
  display: block;
}
[data-carousel-shell].is-ready > .carousel-loader {
  display: none;
}

/* Shimmer-скелетон карусели (тот же @keyframes shimmer, что у img-shimmer). */
.carousel-skel--cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
}
.carousel-skel__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-inline: 6px;
  box-sizing: border-box;
}
.carousel-skel__card > .carousel-skel__media,
.carousel-skel__card > .carousel-skel__body {
  background: var(--surface, #f7f7f7);
}
.carousel-skel__media {
  aspect-ratio: 16 / 11;
  border-radius: 16px 16px 0 0;
}
.carousel-skel__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 14px 16px;
  border-radius: 0 0 16px 16px;
}
.carousel-skel__person {
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-skel__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
.carousel-skel__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.carousel-skel__line {
  display: block;
  height: 12px;
  border-radius: 6px;
  width: 72%;
}
.carousel-skel__line--sm { width: 48%; height: 10px; }
.carousel-skel__line--tag { width: 38%; height: 10px; }
.carousel-skel__line--price { width: 42%; height: 14px; margin-top: 2px; }

.carousel-skel--benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2px 0 6px;
  box-sizing: border-box;
}
.carousel-skel__benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(28, 39, 76, 0.08);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(28, 39, 76, 0.08);
  box-sizing: border-box;
}
.carousel-skel__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}
/* Desktop: benefits уже внутри .wrap — без доп. padding, тянем на всю ширину. */
.hero .carousel-skel--benefits {
  padding-inline: 0;
}
@media (max-width: 1100px) {
  .carousel-skel--cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .carousel-skel--cards .carousel-skel__card:nth-child(n + 4) {
    display: none;
  }
  .carousel-skel--benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (max-width: 900px) {
  .carousel-skel--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .carousel-skel--cards .carousel-skel__card:nth-child(n + 3) {
    display: none;
  }
}
@media (max-width: 640px) {
  /* Mobile: benefits full-bleed 100vw — выравниваем падом как у .wrap. */
  .carousel-skel--benefits,
  .hero .carousel-skel--benefits {
    display: flex;
    gap: 12px;
    overflow: hidden;
    padding-inline: var(--pad, 20px);
  }
  .carousel-skel__benefit {
    flex: 0 0 74%;
    width: auto;
  }
}
@media (max-width: 580px) {
  .carousel-skel--cards {
    display: flex;
    gap: 0;
    overflow: hidden;
  }
  .carousel-skel__card {
    flex: 0 0 85%;
    padding-inline: 6px;
  }
  .carousel-skel--cards .carousel-skel__card:nth-child(n + 3) {
    display: none;
  }
}
.swiper-frame {
  position: relative;
  overflow: visible;
}
.specialists-swiper {
  overflow: hidden;
  width: 100%;
  min-width: 0;
}
@media (max-width: 900px) {
  .swiper-block {
    margin-inline: calc(-1 * var(--pad));
    width: calc(100% + 2 * var(--pad));
  }
  .specialists-swiper {
    padding-inline: calc(var(--pad) - 6px);
    box-sizing: border-box;
    overflow: visible;
  }
  .swiper-pagination-bullets { padding-inline: var(--pad); }
}
@media (min-width: 581px) {
  .specialists-swiper .swiper-slide { padding-inline: 10px; }
}
@media (min-width: 581px) and (max-width: 900px) {
  .specialists-swiper {
    padding-inline: calc(var(--pad) - 10px);
  }
}
@media (min-width: 901px) {
  .specialists-swiper {
    overflow: hidden;
    padding-inline: 0;
  }
}
.specialists-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;

  padding-inline: 6px;
}
.specialists-swiper .swiper-slide > .card {
  width: 100%;
  max-width: 100%;
  height: 100%;
}
.carousel-nav {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: var(--nav-size);
  height: var(--nav-size);
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  place-items: center;
  color: var(--text);
  transition: background 0.2s ease, opacity 0.2s ease;
}
.carousel-nav.prev { left: calc(-1 * (var(--nav-size) + 12px)); }
.carousel-nav.next { right: calc(-1 * (var(--nav-size) + 12px)); }
.carousel-nav:hover { background: var(--surface); }
.carousel-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}
.carousel-nav svg { width: 18px; height: 18px; }
.swiper-pagination-bullets {
  position: static !important;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-inline: var(--pad);
}
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: #d0d0d0;
  opacity: 1;
}
.swiper-pagination-bullet-active { background: var(--navy); }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.catalog-card {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.catalog-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.catalog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: #fff;
  border-color: rgba(241, 213, 73, 0.55);
}
.catalog-top {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none;
}
.catalog-top:focus,
.catalog-top:focus-visible,
.catalog-top:active {
  outline: none;
  box-shadow: none;
}
.catalog-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gold);
  border: 0;
  display: grid;
  place-items: center;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(212, 184, 42, 0.35);
}
.catalog-icon svg { width: 22px; height: 22px; }
.catalog-top h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--navy);
  white-space: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.catalog-top h3 a {
  color: inherit;
  text-decoration: none;
}
.catalog-top h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.catalog-toggle {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 0;
  -webkit-tap-highlight-color: transparent;
}
.catalog-toggle:focus,
.catalog-toggle:focus-visible {
  outline: none;
}
.catalog-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.7);
  border-radius: 999px;
  padding: 6px 10px;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}
.catalog-chev {
  display: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  place-items: center;
  flex-shrink: 0;
  color: var(--navy);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, border-color 0.2s ease;
}
.catalog-chev svg { width: 14px; height: 14px; }
.catalog-card.is-open .catalog-chev {
  transform: rotate(180deg);
  background: var(--gold-soft);
  border-color: rgba(241, 213, 73, 0.7);
}
.catalog-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
}
.catalog-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.catalog-card li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  padding: 4px 0;
}
.catalog-card li a .cat-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.catalog-card li a .cat-name::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.catalog-card li a .cat-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.55);
  border-radius: 999px;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.catalog-card li a:hover { color: var(--text); }
.catalog-card li a:hover .cat-name { text-decoration: underline; text-underline-offset: 3px; }
.catalog-more {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.catalog-more::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.catalog-more:hover { text-decoration: underline; text-underline-offset: 3px; }

#faq .section-head {
  margin-bottom: 40px;
}
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}
.faq-col { min-width: 0; }
.faq-item { border-bottom: 1px solid var(--line); }

.faq-list > .faq-col:first-child > .faq-item:first-child {
  border-top: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 4px;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--navy);
  border: 0;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease;
}
.faq-q::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
  flex-shrink: 0;
}
.faq-q:focus,
.faq-q:focus-visible {
  outline: none;
  box-shadow: none;
}
.faq-q:hover,
.faq-item.is-open .faq-q { color: var(--navy); }
.faq-q:hover::before,
.faq-item.is-open .faq-q::before {
  background: var(--gold-deep);
}
.faq-q .chev {
  width: 28px;
  height: 28px;
  margin-left: auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, border-color 0.2s ease;
}
.faq-item.is-open .faq-q .chev {
  transform: rotate(180deg);
  background: var(--gold-soft);
  border-color: rgba(241, 213, 73, 0.7);
}
.faq-q .chev svg { width: 12px; height: 12px; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  transition:
    max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    padding 0.35s ease;
}
.faq-a p + p {
  margin-top: 0.85em;
}
.faq-item.is-open .faq-a {
  max-height: 720px;
  opacity: 1;
  padding-bottom: 20px;
}

.host-cta {
  margin: 48px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px 40px;
  padding: 40px 48px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 42%, #243056 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(241, 213, 73, 0.28);
  box-shadow:
    0 18px 48px rgba(18, 25, 51, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.host-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 40%, transparent 85%);
  pointer-events: none;
}
.host-cta::after {
  content: "";
  position: absolute;
  inset: auto -12% -45% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 213, 73, 0.38), transparent 68%);
  pointer-events: none;
}
.host-cta-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.host-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(241, 213, 73, 0.14);
  border: 1px solid rgba(241, 213, 73, 0.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.host-cta-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(241, 213, 73, 0.25);
}
.host-cta h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 12px;
  max-width: 18ch;
}
.host-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.55;
}
.btn-coral {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: var(--btn-gold-radius);
  background: var(--btn-gold-bg);
  color: var(--btn-gold-fg);
  font-weight: var(--btn-gold-weight);
  font-size: 14px;
  line-height: 1;
  box-shadow: var(--btn-gold-shadow);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-coral:hover {
  background: var(--btn-gold-bg-hover);
  color: var(--btn-gold-fg-hover);
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover);
}

footer {
  margin-top: 40px;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  padding: 40px 0 28px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}
.footer-brand .logo img {
  height: 26px;
  width: auto;
}
.footer-tag {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.3;
  max-width: 24ch;
}
.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.footer-vk {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--btn-radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.footer-vk svg {
  width: 22px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}
.footer-vk:hover {
  background: rgba(241, 213, 73, 0.16);
  border-color: rgba(241, 213, 73, 0.45);
  color: var(--gold);
}
.footer-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 0 18px;
  border-radius: var(--btn-gold-radius);
  background: var(--btn-gold-bg);
  color: var(--btn-gold-fg);
  font-size: 14px;
  font-weight: var(--btn-gold-weight);
  line-height: 1;
  box-shadow: var(--btn-gold-shadow);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.footer-add:hover {
  background: var(--btn-gold-bg-hover);
  color: var(--btn-gold-fg-hover);
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-cols {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  margin: 0;
}
.footer-cols > div {
  padding: 0;
  margin: 0;
}
.footer-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  padding: 12px 0;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.footer-toggle .chev {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: none;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, border-color 0.2s ease;
}
.footer-toggle .chev svg { width: 12px; height: 12px; }
.footer-group.is-open .footer-toggle .chev {
  transform: rotate(180deg);
  background: rgba(241, 213, 73, 0.2);
  border-color: rgba(241, 213, 73, 0.55);
}
.footer-panel {
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    padding 0.35s ease;
}
.footer-cols a,
.footer-panel a {
  display: block;
  font-size: 14px;
  color: #b0b0b0;
  margin: 0;
  padding: 8px 0;
}
.footer-cols a:hover,
.footer-panel a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-bottom {
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 13px;
  color: #8a8a8a;
  max-width: 64ch;
  line-height: 1.5;
}
.footer-pay {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.footer-pay-label {
  font-size: 13px;
  font-weight: 500;
  color: #8a8a8a;
  white-space: nowrap;
  margin-right: 2px;
}
.footer-pay-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-pay-icon {
  display: inline-flex;
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
}
.footer-pay-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

body:has(.status-page--success) main,
body:has(.status-page--error) main,
body:has(.status-page--404) main {
  display: flex;
  flex-direction: column;
}
body:has(.status-page--success) footer,
body:has(.status-page--error) footer,
body:has(.status-page--404) footer,
body:has(.text-section) footer,
body:has(.pricing-section) footer,
body:has(.about-page) footer,
body:has(.specialist-page) footer,
body:has(.df-cabinet) footer,
body:has(.df-auth) footer {
  margin-top: 0;
}

body:has(.pricing-section) main {
  background: var(--gold);
  display: flex;
  flex-direction: column;
}
body:has(.pricing-section) .pricing-section {
  flex: 1 0 auto;
}
.status-page {
  padding: 56px 0;
  flex: 1;
  display: flex;
  align-items: center;
}
.status-page .wrap {
  width: 100%;
}
.status-page--success {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(46, 160, 90, 0.18), transparent 70%),
    linear-gradient(180deg, #e8f6ee 0%, #d8efdf 45%, #eef7f1 100%);
}
.status-page--error {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 60, 60, 0.16), transparent 70%),
    linear-gradient(180deg, #f8e9e9 0%, #f3dfe0 45%, #faf0f0 100%);
}
.status-page--404 {
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(241, 213, 73, 0.42), transparent 72%),
    linear-gradient(180deg, #fff8d6 0%, #f7f7f7 48%, #ffffff 100%);
}
.status-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 28px 36px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(28, 39, 76, 0.08);
}
.status-page--success .status-card {
  border-color: rgba(46, 160, 90, 0.18);
}
.status-page--error .status-card {
  border-color: rgba(196, 60, 60, 0.2);
}
.status-page--404 .status-card {
  border-color: rgba(241, 213, 73, 0.55);
}
.status-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.status-page--success .status-icon {
  background: #2ea05a;
  box-shadow: 0 8px 24px rgba(46, 160, 90, 0.35);
}
.status-page--error .status-icon {
  background: #c43c3c;
  box-shadow: 0 8px 24px rgba(196, 60, 60, 0.35);
}
.status-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}
.status-code {
  margin: 0 0 10px;
  font-size: clamp(64px, 14vw, 92px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95;
  color: var(--navy);
}
.status-card h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--navy);
  line-height: 1.15;
}
.status-lead {
  margin: 0 auto 28px;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}
.status-page--404 .status-lead {
  max-width: 46ch;
}
.status-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-hero--text {
  padding: 28px 0 32px;
}
.page-hero--text h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(28px, 4.5vw, 42px);
}
.page-hero--text .page-hero-row {
  align-items: flex-start;
}
.text-section {
  padding: 36px 0 48px;
}
.text-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.text-content {
  min-width: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}
.text-sidebar {
  display: grid;
  gap: 16px;
}
.text-nav {
  padding: 16px 14px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.text-nav-title {
  display: block;
  margin: 0 0 10px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.text-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.text-nav a:hover {
  background: #fff;
  color: var(--navy);
}
.text-nav a.is-active {
  background: var(--navy);
  color: #fff;
}
.text-aside-cta {
  position: relative;
  overflow: hidden;
  padding: 22px 20px 20px;
  border-radius: 20px;
  background:
    linear-gradient(160deg, #1a2344 0%, var(--navy) 48%, #16203d 100%);
  color: #fff;
  border: 1px solid rgba(241, 213, 73, 0.28);
  box-shadow:
    0 14px 36px rgba(28, 39, 76, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.text-aside-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep), transparent);
}
.text-aside-cta::after {
  content: "";
  position: absolute;
  inset: auto -28% -45% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 213, 73, 0.4), transparent 68%);
  pointer-events: none;
}
.text-aside-cta__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.text-aside-cta__badge svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.text-aside-cta h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.text-aside-cta p {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}
.text-aside-cta__perks {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.text-aside-cta__perks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}
.text-aside-cta__perks li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold);
}
.text-aside-cta .btn-coral {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 13px 16px;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(241, 213, 73, 0.28);
}
.text-content > *:first-child { margin-top: 0; }
.text-content p {
  margin: 0 0 16px;
}
.text-content a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-content a:hover { color: var(--gold-deep); }
.text-content h2,
.text-content h3,
.text-content h4 {
  margin: 32px 0 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.3;
}
.text-content h2 { font-size: clamp(20px, 2.4vw, 24px); }
.text-content h3 { font-size: 18px; }
.text-content h4 { font-size: 17px; }
.text-content ul,
.text-content ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
  list-style: disc;
}
.text-content ol { list-style: decimal; }
.text-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}
.text-content li::marker { color: var(--navy); }
.text-content strong { font-weight: 700; color: var(--navy); }
.text-meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.text-meta p { margin: 0 0 6px; }

.page-hero--about {
  padding-bottom: 40px;
}
.page-hero--about h1 {
  max-width: 16ch;
}
.page-hero--about .about-lead,
.page-hero--about .page-hero-row + .about-lead {
  margin: 14px 0 0;
  max-width: 54ch;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.55;
  color: rgba(28, 39, 76, 0.78);
  font-weight: 500;
}
.about-benefits {
  margin-top: 22px;
}
.page-hero--about .benefits {
  position: relative;
  left: 50%;
  right: auto;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
  margin-right: 0;
}
.about-benefits .benefit {
  animation: none;
}
.about-page {
  background: #fff;
}
.about-intro-sec {
  padding-top: 28px;
  padding-bottom: 8px;
}
.about-intro {
  margin: 0 auto;
  max-width: 48rem;
  text-align: center;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.65;
  color: var(--muted);
}
.about-intro--left {
  margin: 0 0 20px;
  text-align: left;
  max-width: 46rem;
}
.about-landing__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  padding: 32px 28px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(241, 213, 73, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(28, 39, 76, 0.05), transparent 50%),
    var(--surface);
  border: 1px solid rgba(28, 39, 76, 0.08);
  box-shadow: 0 16px 40px rgba(28, 39, 76, 0.08);
}
.about-landing__grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 40%, transparent 85%);
  pointer-events: none;
}
.about-landing__copy {
  position: relative;
  z-index: 1;
}
.about-landing__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.about-landing__copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.about-landing__media {
  position: relative;
  z-index: 1;
  margin: 0;
  min-width: 0;
}
.about-landing__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}
.about-feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.about-feat {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  text-align: left;
  padding: 22px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(28, 39, 76, 0.08);
  box-shadow: 0 8px 22px rgba(28, 39, 76, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.about-feat:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 213, 73, 0.55);
  box-shadow: 0 12px 28px rgba(28, 39, 76, 0.1);
}
.about-feat .about-feat__icon,
.about-feat .benefit-icon {
  grid-area: icon;
  width: 48px;
  height: 48px;
  margin-top: 2px;
}
.about-feat .about-feat__icon svg,
.about-feat .benefit-icon svg {
  width: 22px;
  height: 22px;
}
.about-feat h3 {
  grid-area: title;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.about-feat p {
  grid-area: text;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  max-width: none;
}
.about-join .about-join__panel {
  margin: 0 0 22px;
}
.about-join__copy h2 {
  max-width: 16ch;
}
.about-include-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.about-include-item {
  position: relative;
  display: grid;
  justify-items: start;
  text-align: left;
  gap: 10px;
  padding: 22px 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(28, 39, 76, 0.08);
  box-shadow: 0 8px 22px rgba(28, 39, 76, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.about-include-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 55%, transparent 100%);
}
.about-include-item:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 213, 73, 0.55);
  box-shadow: 0 14px 32px rgba(28, 39, 76, 0.1);
}
.about-include-item__num {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(28, 39, 76, 0.08);
  pointer-events: none;
}
.about-include-item__icon.benefit-icon {
  width: 44px;
  height: 44px;
}
.about-include-item__icon.benefit-icon svg {
  width: 20px;
  height: 20px;
}
.about-include-item h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.about-include-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.about-reviews {
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(48px, 6vw, 72px);
  background: #fff;
}
.about-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 22px;
}
.about-reviews-head .section-head {
  margin-bottom: 8px;
}
.about-reviews-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.about-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.55);
  font-size: 13px;
  flex-shrink: 0;
}
.about-rating-pill .card-rating {
  font-size: 15px;
}
.about-rating-pill .card-reviews {
  font-size: 13px;
  font-weight: 600;
}

.about-review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.about-review-grid .about-review-card[hidden] {
  display: none !important;
}
.about-review-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 22px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(28, 39, 76, 0.08);
  box-shadow: 0 8px 24px rgba(28, 39, 76, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.about-review-card:hover,
[data-reveal].is-revealed.about-review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 213, 73, 0.45);
  box-shadow: 0 12px 28px rgba(28, 39, 76, 0.1);
}
.about-review-empty {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 28px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px dashed rgba(28, 39, 76, 0.16);
  box-shadow: 0 8px 24px rgba(28, 39, 76, 0.05);
}
.about-review-empty[hidden] {
  display: none !important;
}
.about-review-empty__title {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.about-review-empty__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}

.sp-reviews__empty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 0;
  padding: clamp(36px, 5vw, 52px) clamp(20px, 4vw, 40px);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(241, 213, 73, 0.14), rgba(241, 213, 73, 0.04) 42%, #fff 100%);
  border: 1px solid rgba(28, 39, 76, 0.1);
  box-shadow: 0 10px 28px rgba(28, 39, 76, 0.05);
}
.sp-reviews__empty[hidden] {
  display: none !important;
}
/* Mobile: empty-state card already says «нет отзывов» — hide the duplicate pill */
@media (max-width: 900px) {
  .sp-reviews:has(.sp-reviews__empty:not([hidden])) .about-rating-pill {
    display: none !important;
  }
}
.sp-reviews__empty-ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold);
  box-shadow: 0 8px 18px rgba(241, 213, 73, 0.45);
}
.sp-reviews__empty-title {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--navy);
}
.sp-reviews__empty-text {
  margin: 0;
  max-width: 34rem;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.sp-reviews__empty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.sp-reviews__empty-cta:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}
.about-review-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.about-review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  box-shadow:
    0 0 0 2px #fff,
    0 0 0 3px rgba(241, 213, 73, 0.65);
}
.about-review-card__avatar.img-shimmer {
  background: #e4e7ef;
}
.about-review-card__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}
.about-review-card__who {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 6px;
}
.about-review-card__name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}
.about-review-card__name-row strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}
.about-review-card__name-row .card-rating {
  font-size: 13px;
}
.about-review-card__top time {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
  margin-top: 2px;
}
.about-review__badge {
  display: inline-flex;
  width: fit-content;
  font-size: 11px;
  font-weight: 600;
  color: #1f7a45;
  background: rgba(31, 122, 69, 0.1);
  border-radius: 999px;
  padding: 3px 8px;
}
.about-review-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.about-review-form {
  position: relative;
  margin-top: 24px;
  padding: 28px 24px 24px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  gap: 18px;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(241, 213, 73, 0.14), transparent 55%),
    #fff;
  border: 0;
  box-shadow: 0 10px 28px rgba(28, 39, 76, 0.07);
}
.about-review-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 42%, transparent 88%);
  pointer-events: none;
}
.about-review-form__head {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2px;
}
.about-review-form__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.5);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.about-review-form__eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-deep);
}
.about-review-form__head h3 {
  margin: 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.about-review-form__head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}
.about-review-form__field {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 0;
}
.about-review-form__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.about-review-form__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
}
.about-review-form__label em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  color: #c62828;
  background: rgba(198, 40, 40, 0.08);
  border-radius: 999px;
  padding: 2px 6px;
}

.about-review-form__ok,
.df-field-ok {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #1f7a45;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.18s ease, transform 0.18s ease;
  flex-shrink: 0;
}
.about-review-form__field.is-valid > .about-review-form__label-row > .about-review-form__ok,
.about-review-form__field.is-valid .about-review-form__ok--in,
.df-field.is-valid .df-field-ok {
  opacity: 1;
}
.about-review-form__ok--in,
.df-field__control > .df-field-ok {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%) scale(0.7);
  pointer-events: none;
  z-index: 2;
}
.about-review-form__field.is-valid .about-review-form__ok--in,
.df-field.is-valid .df-field__control > .df-field-ok {
  transform: translateY(-50%) scale(1);
}
.df-field.is-valid input:not([type="hidden"]),
.df-field.is-valid textarea {
  background: rgba(31, 122, 69, 0.06);
  border-color: rgba(31, 122, 69, 0.35);
}
.about-review-form__control {
  position: relative;
  min-width: 0;
}
.about-review-form__emojis {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1px;
  width: fit-content;
  max-width: calc(100% - 90px);
  padding: 3px 5px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(28, 39, 76, 0.08);
  box-sizing: border-box;
  overflow-x: auto;
  scrollbar-width: none;
}
.about-review-form__emojis::-webkit-scrollbar {
  display: none;
}
.about-review-form__emoji {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 0;
  outline: none;
  border-radius: 6px;
  background: transparent;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.about-review-form__emoji:hover,
.about-review-form__emoji:focus-visible {
  transform: scale(1.12);
  background: var(--surface);
}
.about-review-form.is-invalid .about-review-form__field--rating:not(.is-valid) .about-review-form__rating {
  background: rgba(198, 40, 40, 0.06);
}
.about-review-form textarea,
.about-review-form input[type="text"],
.about-review-form input[type="email"] {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 14px 42px 14px 16px;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  transition: background 0.15s ease;
}
.about-review-form input[type="text"],
.about-review-form input[type="email"] {
  height: 48px;
  padding-top: 0;
  padding-bottom: 0;
}
.about-review-form textarea {
  display: block;
  min-height: 110px;
  height: 110px;
  resize: none;
  overflow-y: hidden;
  padding: 14px 16px 42px;
  box-sizing: border-box;
}
.about-review-form textarea:focus,
.about-review-form input[type="text"]:focus,
.about-review-form input[type="email"]:focus {
  background: #eef1f6;
}
.about-review-form__field.is-valid textarea,
.about-review-form__field.is-valid input {
  background: rgba(31, 122, 69, 0.06);
}
.about-review-form__counter {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  max-width: 72px;
  padding-right: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  pointer-events: none;
}
.about-review-form__control > .about-review-form__ok--in {
  top: 50%;
  right: 10px;
  bottom: auto;
  transform: translateY(-50%) scale(0.7);
}
.about-review-form__field.is-valid .about-review-form__control > .about-review-form__ok--in {
  transform: translateY(-50%) scale(1);
}
.about-review-form__control:has(textarea) > .about-review-form__ok--in {
  top: 10px;
  transform: scale(0.7);
}
.about-review-form__field.is-valid .about-review-form__control:has(textarea) > .about-review-form__ok--in {
  transform: scale(1);
}
.about-review-form__row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.about-review-form__row--actions {
  align-items: end;
}
.about-review-form__submit-wrap {
  display: flex;
  align-items: flex-end;
  min-width: 0;
}
.about-review-form__submit {
  display: inline-flex;
  width: 100%;
  height: 48px;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  font-size: 15px;
  line-height: 1;
  border-radius: var(--btn-radius);
  white-space: nowrap;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(212, 184, 42, 0.28);
}
.about-review-form__submit:disabled {
  cursor: wait;
  opacity: 0.92;
  box-shadow: none;
}
.about-review-form__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: start;
}
.about-review-form__field--rating {
  gap: 8px;
}
.about-review-form__rating {
  --rating-accent: #43a047;
  --rating-glow: rgba(67, 160, 71, 0.35);
  --rating-soft: rgba(67, 160, 71, 0.22);
  --rating-shadow: rgba(67, 160, 71, 0.14);
  --rating-bg-a: #eef8ee;
  --rating-bg-b: #e3f3e4;
  --rating-bg-c: #d8edd9;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 110px;
  padding: 18px 14px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, var(--rating-soft), transparent 60%),
    linear-gradient(165deg, var(--rating-bg-a) 0%, var(--rating-bg-b) 48%, var(--rating-bg-c) 100%);
  border: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 10px 24px var(--rating-shadow);
  transition: background 0.22s ease, box-shadow 0.22s ease;
}
.about-review-form__rating::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rating-accent), color-mix(in srgb, var(--rating-accent) 55%, #fff), transparent);
  pointer-events: none;
  transition: background 0.22s ease;
}

.about-review-form__rating[data-tone="1"] {
  --rating-accent: #e53935;
  --rating-glow: rgba(229, 57, 53, 0.4);
  --rating-soft: rgba(229, 57, 53, 0.28);
  --rating-shadow: rgba(229, 57, 53, 0.2);
  --rating-bg-a: #ffe8e6;
  --rating-bg-b: #ffd4d0;
  --rating-bg-c: #ffc5bf;
}
.about-review-form__rating[data-tone="2"] {
  --rating-accent: #ef6c00;
  --rating-glow: rgba(239, 108, 0, 0.4);
  --rating-soft: rgba(239, 108, 0, 0.26);
  --rating-shadow: rgba(239, 108, 0, 0.18);
  --rating-bg-a: #ffe9d6;
  --rating-bg-b: #ffd8b5;
  --rating-bg-c: #ffc999;
}
.about-review-form__rating[data-tone="3"] {
  --rating-accent: #f9a825;
  --rating-glow: rgba(249, 168, 37, 0.42);
  --rating-soft: rgba(249, 168, 37, 0.3);
  --rating-shadow: rgba(249, 168, 37, 0.18);
  --rating-bg-a: #fff3d6;
  --rating-bg-b: #ffe7b0;
  --rating-bg-c: #ffdb8a;
}
.about-review-form__rating[data-tone="4"] {
  --rating-accent: #7cb342;
  --rating-glow: rgba(124, 179, 66, 0.4);
  --rating-soft: rgba(124, 179, 66, 0.28);
  --rating-shadow: rgba(124, 179, 66, 0.18);
  --rating-bg-a: #eef7e3;
  --rating-bg-b: #e0efc8;
  --rating-bg-c: #d2e7b0;
}
.about-review-form__rating[data-tone="5"] {
  --rating-accent: #43a047;
  --rating-glow: rgba(67, 160, 71, 0.42);
  --rating-soft: rgba(67, 160, 71, 0.32);
  --rating-shadow: rgba(67, 160, 71, 0.2);
  --rating-bg-a: #e6f6e7;
  --rating-bg-b: #d4efd6;
  --rating-bg-c: #c2e8c5;
}
.about-review-form__rating > .about-review-form__ok--in {
  top: 10px;
  right: 10px;
  transform: scale(0.7);
}
.about-review-form__field--rating.is-valid .about-review-form__rating > .about-review-form__ok--in {
  transform: scale(1);
}
.about-review-form__field--rating.is-valid .about-review-form__ok--in {
  transform: scale(1);
}
.about-review-form__stars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  width: auto;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 14px rgba(28, 39, 76, 0.08);
}
.about-review-form__star {
  flex: 0 0 auto;
  border: 0;
  outline: none;
  background: transparent;
  border-radius: 8px;
  padding: 2px 3px;
  font-size: 26px;
  line-height: 1;
  color: rgba(28, 39, 76, 0.18);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease, text-shadow 0.15s ease;
}
.about-review-form__star.is-on,
.about-review-form__star.is-preview {
  color: var(--rating-accent, #43a047);
  text-shadow: 0 2px 8px var(--rating-glow, rgba(67, 160, 71, 0.42));
}
.about-review-form__star.is-preview-active {
  transform: scale(1.14) translateY(-1px);
}
.about-review-form__rating-value {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-align: center;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 2px 8px rgba(28, 39, 76, 0.06);
}
.about-review-form__field--rating.is-valid .about-review-form__rating-value {
  color: var(--navy);
  background: #fff;
}

@media (max-width: 900px) {
  .page-hero--about {
    padding-bottom: 28px;
  }
  .page-hero--about h1 {
    max-width: none;
  }
  .about-landing__grid {
    padding: 28px 22px;
    gap: 20px;
    border-radius: 18px;
  }
  .about-landing__copy h2 {
    font-size: clamp(20px, 5.5vw, 26px);
  }
  .about-feat {
    padding: 18px 16px;
    column-gap: 12px;
  }
  .about-feat .about-feat__icon,
  .about-feat .benefit-icon {
    width: 42px;
    height: 42px;
  }
  .about-feat h3 {
    font-size: 16px;
  }
  .about-feat p {
    font-size: 13px;
  }
  .about-join .about-join__panel {
    margin-bottom: 16px;
  }
  .about-reviews-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .about-review-card {
    padding: 16px 14px;
  }
  .about-review-form__main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .about-review-form__main > .about-review-form__field {
    width: 100%;
  }
  .about-review-form__field--rating {
    order: -1;
  }
  .about-review-form__rating {
    width: 100%;
    min-height: 0;
    padding: 14px 14px 12px;
    gap: 8px;
  }
  .about-review-form__stars {
    width: 100%;
    justify-content: space-evenly;
  }
}

@media (max-width: 640px) {
  .about-benefits {
    margin-top: 16px;
  }
  .about-intro-sec {
    padding-top: 20px;
  }
  .about-intro {
    text-align: left;
    font-size: 15px;
  }
  .about-landing__grid {
    padding: 24px 18px 22px;
    gap: 18px;
    border-radius: 16px;
  }
  .about-landing__media {
    margin: 0;
  }
  .about-landing__media img {
    border-radius: 10px;
  }
  .about-feat-grid {
    gap: 10px;
  }
  .about-include-row {
    gap: 10px;
  }
  .about-include-item {
    padding: 18px 14px 16px;
  }
  .about-include-item__num {
    font-size: 18px;
    top: 12px;
    right: 12px;
  }
  .about-reviews {
    padding-top: 28px;
  }
  .about-reviews-lead {
    font-size: 14px;
  }
  .about-rating-pill {
    width: 100%;
    justify-content: center;
  }
  .about-review-form {
    padding: 20px 16px 16px;
    gap: 14px;
    border-radius: 14px;
  }
  .about-review-form__head h3 {
    font-size: 20px;
  }
  .about-review-form__main {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .about-review-form__main > .about-review-form__field {
    width: 100%;
  }
  .about-review-form__field--rating {
    order: -1;
  }
  .about-review-form__rating {
    width: 100%;
    min-height: 0;
    padding: 12px 12px 10px;
    gap: 8px;
    border-radius: 14px;
  }
  .about-review-form__stars {
    width: 100%;
    justify-content: space-evenly;
    padding: 6px 6px;
    gap: 0;
  }
  .about-review-form__star {
    font-size: 22px;
    padding: 2px 4px;
  }
  .about-review-form__rating-value {
    font-size: 12px;
    padding: 4px 10px;
  }
  body:has(.about-page) .about-reviews {
    padding-bottom: 48px;
  }
}

@media (max-width: 400px) {
  .about-review-card__top {
    flex-wrap: wrap;
  }
  .about-review-card__top time {
    width: 100%;
    margin-left: 56px;
    margin-top: -4px;
  }
  .about-review-form__stars {
    gap: 0;
  }
  .about-review-form__star {
    font-size: 20px;
    padding: 2px;
  }
}

.page-hero--search .page-hero-row > h1 {
  max-width: 28ch;
}
.page-hero--search .page-count {
  margin-top: 16px;
}
.page-hero--search .page-count [data-search-query] {
  font-weight: 700;
  color: var(--navy);
}
.search-bar--listing {
  width: 100%;
  max-width: none;
  margin: 0 0 18px;
  margin-inline: 0;
  animation: none;
  box-shadow:
    0 0 0 4px rgba(28, 39, 76, 0.06),
    0 10px 28px rgba(28, 39, 76, 0.1);
}
.search-bar--listing:focus-within {
  transform: none;
  box-shadow:
    0 0 0 5px rgba(28, 39, 76, 0.1),
    0 12px 32px rgba(28, 39, 76, 0.14);
}
.listing-toolbar-actions:has(> :only-child) {
  grid-template-columns: 1fr;
  max-width: none;
  margin-left: 0;
  width: 100%;
}

.pricing-section {
  padding: 0 0 56px;
  background: var(--gold);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(28, 39, 76, 0.08);
  box-shadow: 0 8px 24px rgba(28, 39, 76, 0.1);
}
.price-card--popular {
  border-color: var(--navy);
  box-shadow:
    0 12px 32px rgba(28, 39, 76, 0.16),
    0 0 0 2px var(--navy);
}
.price-card__flags {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.price-card__popular {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.price-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.price-card__flags .price-card__badge {
  position: static;
}
.price-card__title {
  margin: 0 0 6px;
  padding-right: 56px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.price-card--popular .price-card__title,
.price-card--popular .price-card__term {
  padding-right: 108px;
}
.price-card__term {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--muted);
}
.price-card__price {
  margin: 0 0 18px;
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--navy);
  line-height: 1.1;
}
.price-card__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  flex: 1;
}
.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
}
.price-card__list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--navy);
}
.price-card__cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: auto;
}
.price-card--popular .price-card__cta {
  background: var(--navy);
  color: var(--gold);
}
.price-card--popular .price-card__cta:hover {
  background: var(--navy-deep);
  color: var(--gold);
}

.page-hero {
  background: var(--gold);
  padding: 36px 0 44px;
  color: var(--navy);
}

.page-hero > .wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.page-hero > .wrap > .breadcrumbs {
  margin-bottom: 16px;
}
.page-hero-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}
.page-hero-row > h1,
.page-hero-main {
  width: 100%;
  min-width: 0;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.page-hero-row > .share-bar {
  display: none;
  margin: 0;
}
.breadcrumbs {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(28, 39, 76, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: rgba(28, 39, 76, 0.7);
}
.breadcrumbs-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(28, 39, 76, 0.08);
}
.breadcrumbs-home svg { width: 16px; height: 16px; flex-shrink: 0; }
.breadcrumbs-home:hover { background: var(--navy); color: var(--gold); }
.breadcrumbs-sep {
  display: inline-flex;
  flex-shrink: 0;
  color: rgba(28, 39, 76, 0.4);
}
.breadcrumbs-sep svg { width: 14px; height: 14px; }
.breadcrumbs-link {
  flex-shrink: 0;
  padding: 0 4px;
  white-space: nowrap;
  color: inherit;
  text-decoration: none;
}
.breadcrumbs-link:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumbs-current {
  flex: 0 1 auto;
  min-width: 0;
  padding: 0 6px 0 2px;
  color: var(--navy);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.share-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(28, 39, 76, 0.1);
  box-shadow: 0 2px 10px rgba(28, 39, 76, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.share-btn svg { width: 18px; height: 18px; display: block; }
.share-btn--vk svg {
  width: 20px;
  height: 14px;
}
.share-btn:hover {
  transform: translateY(-1px);
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
}
.page-hero h1 {
  font-size: clamp(28px, 5.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 14px;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.page-hero .page-hero-row > h1 {
  margin-bottom: 0;
}
.page-hero-row + .page-lead {
  margin-top: 14px;
}
.page-lead {
  margin: 0;
  max-width: 64ch;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
  color: rgba(28, 39, 76, 0.78);
  font-weight: 500;
}
.page-count {
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(28, 39, 76, 0.7);
}
.page-count strong {
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
}

.listing-section { padding-top: 28px; }

.subcat-row {
  display: none;
}
.subcat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.subcat-chip em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
}
.subcat-chip:hover {
  background: #fff;
  border-color: rgba(241, 213, 73, 0.8);
  transform: translateY(-1px);
}
.subcat-chip[hidden] {
  display: none !important;
}

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.listing-toolbar-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.btn-filter {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid var(--navy);
}
.btn-filter svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-filter:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-filter--ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: 0 1px 4px rgba(28, 39, 76, 0.06);
}
.btn-filter--ghost:hover {
  background: var(--surface);
  border-color: rgba(28, 39, 76, 0.2);
}
.btn-filter-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}
.btn-reset {
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.btn-reset:hover { color: var(--navy); background: var(--surface); }

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.active-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.7);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
}
.active-chip svg { width: 14px; height: 14px; }
.active-chip:hover { background: var(--gold); }
.active-chip--clear {
  background: #fff;
  border-color: var(--line);
  color: var(--muted);
}
.active-chip--clear:hover { color: var(--navy); border-color: var(--navy); }

.listing-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
.listing-main { min-width: 0; }
.listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.listing-grid[hidden] {
  display: none !important;
}
.listing-grid > .listing-card-wrap,
.listing-grid > .card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.listing-card-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}
.listing-card-wrap > .card {
  width: 100%;
  max-width: 100%;
  height: 100%;
}
.listing-grid .card { position: relative; }
.listing-grid .card[hidden] { display: none !important; }
.listing-skel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}
.listing-skel[hidden] {
  display: none !important;
}
.listing-skel__card {
  padding-inline: 0;
}
.listing-skel__card > .carousel-skel__media,
.listing-skel__card > .carousel-skel__body {
  background: var(--surface, #f7f7f7);
}
.card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.listing-grid .fav-btn { z-index: 2; }
.listing-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 40px 28px;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(241, 213, 73, 0.22), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--muted);
  font-size: 15px;
}
.listing-empty[hidden] {
  display: none !important;
}
.listing-empty__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid rgba(241, 213, 73, 0.55);
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(28, 39, 76, 0.08);
}
.listing-empty__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.listing-empty__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.3;
}
.listing-empty__text {
  margin: 0;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.listing-empty__btn {
  margin-top: 8px;
}
.listing-grid[hidden] + .listing-empty {
  margin-top: 0;
}
.filter-check[hidden] {
  display: none !important;
}

.listing-more {
  display: block;
  width: 100%;
  margin-top: 28px;
}
.listing-more[hidden] {
  display: none !important;
}
.btn-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 28px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.btn-load-more:hover:not(:disabled) {
  background: var(--surface);
  border-color: rgba(241, 213, 73, 0.7);
}
.btn-load-more:disabled,
.btn-load-more.is-loading {
  cursor: wait;
  opacity: 0.85;
  background: var(--surface);
}
.btn-load-more__spin {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(28, 39, 76, 0.18);
  border-top-color: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
  animation: load-more-spin 0.7s linear infinite;
}
.btn-load-more.is-loading .btn-load-more__spin { display: block; }
@keyframes load-more-spin {
  to { transform: rotate(360deg); }
}
.pagination {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 2px; /* borders of edge arrows stay inside overflow clip */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.pagination::-webkit-scrollbar {
  display: none;
}
.pagination[hidden] {
  display: none !important;
}
.listing-more[hidden] + .pagination { margin-top: 28px; }
.page-btn {
  flex: 0 0 auto;
  box-sizing: border-box;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.page-btn:hover:not(:disabled):not(.is-active) {
  background: var(--surface);
  border-color: rgba(241, 213, 73, 0.7);
}
.page-btn.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.page-btn--nav { min-width: 44px; }
.page-btn--gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: default;
  pointer-events: none;
  font-weight: 600;
}
@media (max-width: 560px) {
  .pagination {
    gap: 4px;
    padding: 2px 1px;
  }
  .page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    font-size: 13px;
    border-radius: var(--btn-radius);
  }
  .page-btn--nav { min-width: 36px; }
  .page-btn--gap { min-width: 18px; padding: 0 2px; }
}

.filters {
  position: fixed;
  top: var(--admin-bar-h);
  left: 0;
  bottom: 0;
  width: min(340px, 92vw);
  /* Fill viewport via top/bottom — avoids 100dvh jumps on mobile focus/URL bar. */
  height: auto;
  max-height: none;
  z-index: 85;
  background: #fff;
  box-shadow: 8px 0 40px rgba(28, 39, 76, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(-105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.3s;
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}
.filters.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}
.filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-shrink: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.filters-head strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}
.filters-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 6px 12px 12px;
}
.filters-foot {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-shrink: 0;
  gap: 8px;
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: #fff;
}
.cats-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px 0 8px;
}
.cats-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.cats-list-item:hover,
.cats-list-item:focus-visible {
  background: rgba(28, 39, 76, 0.05);
}
.cats-list-item em {
  flex-shrink: 0;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy);
}
.filters-foot .btn-coral,
.filters-foot .btn-reset {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  justify-content: center;
  text-align: center;
}
.filters-foot .btn-coral {
  padding: 12px 14px;
  border-radius: 999px;
}
.filters-foot .btn-reset {
  height: auto;
  min-height: 44px;
  background: #fff;
}
.filter-group {
  padding: 4px 0 6px;
  border-bottom: 1px solid var(--line);
}
.filter-group:last-child { border-bottom: 0; }
.filter-group.is-collapsed .filter-group-body { display: none; }
.filter-group.is-collapsed .filter-group-toggle svg { transform: rotate(-90deg); }
.filter-group-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.filter-group-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.filter-group-body { display: flex; flex-direction: column; gap: 0; }
.filter-group[data-facet="towns"] .filter-group-body,
.filter-group[data-facet="cats"] .filter-group-body {
  max-height: min(220px, 36vh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 2px;
  margin-bottom: 2px;
  scrollbar-gutter: stable;
}

/* Compact scrollbars inside filters */
.filters-body,
.filter-group[data-facet="towns"] .filter-group-body,
.filter-group[data-facet="cats"] .filter-group-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(28, 39, 76, 0.28) transparent;
}
.filters-body::-webkit-scrollbar,
.filter-group[data-facet="towns"] .filter-group-body::-webkit-scrollbar,
.filter-group[data-facet="cats"] .filter-group-body::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.filters-body::-webkit-scrollbar-track,
.filter-group[data-facet="towns"] .filter-group-body::-webkit-scrollbar-track,
.filter-group[data-facet="cats"] .filter-group-body::-webkit-scrollbar-track {
  background: transparent;
}
.filters-body::-webkit-scrollbar-thumb,
.filter-group[data-facet="towns"] .filter-group-body::-webkit-scrollbar-thumb,
.filter-group[data-facet="cats"] .filter-group-body::-webkit-scrollbar-thumb {
  background: rgba(28, 39, 76, 0.28);
  border-radius: 999px;
}
.filters-body::-webkit-scrollbar-thumb:hover,
.filter-group[data-facet="towns"] .filter-group-body::-webkit-scrollbar-thumb:hover,
.filter-group[data-facet="cats"] .filter-group-body::-webkit-scrollbar-thumb:hover {
  background: rgba(28, 39, 76, 0.42);
}

.filter-check,
.filter-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 4px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.filter-check:hover,
.filter-switch:hover { background: rgba(28, 39, 76, 0.04); }
.filter-check:has(input:checked),
.filter-switch:has(input:checked) {
  background: rgba(28, 39, 76, 0.06);
}
.filter-check input {
  /* Cover the row — focus scroll stays on the tapped label, no panel jump. */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.filter-check::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1.5px solid #c5ccd9;
  background: #fff;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}
.filter-check:hover::before {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(28, 39, 76, 0.08);
}
.filter-check:has(input:checked)::before {
  border-color: var(--navy);
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f1d549' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  box-shadow: 0 2px 6px rgba(28, 39, 76, 0.2);
}
.filter-check--radio::before {
  border-radius: 50%;
}
.filter-check--radio:has(input:checked)::before {
  background-image: none;
  box-shadow:
    inset 0 0 0 4px #fff,
    0 2px 6px rgba(28, 39, 76, 0.2);
}
.filter-check-text { min-width: 0; flex: 1; line-height: 1.25; }
.filter-count {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.55);
  border-radius: 999px;
  min-width: 28px;
  height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.filter-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.filter-switch-ui {
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #d5dae6;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.filter-switch-ui::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(28, 39, 76, 0.2);
  transition: transform 0.2s ease;
}
.filter-switch input:checked + .filter-switch-ui {
  background: var(--navy);
}
.filter-switch input:checked + .filter-switch-ui::after {
  transform: translateX(14px);
}

.catalog-grid { grid-template-columns: 1fr; }
.listing-grid { grid-template-columns: 1fr; }
.brand-slogan { display: none; }

@media (max-width: 900px) {
  body { padding-top: 64px; }
  .header { height: var(--header-h); }
  .header-bar { gap: 10px; }
  .header .logo img { height: 22px; }
  .header-actions {
    gap: 2px;
    height: 36px;
  }
  .btn-header-add,
  .icon-btn,
  .menu-pill,
  .header-cabinet {
    width: 36px;
    height: 36px;
  }
  .btn-header-add__ico {
    width: 18px;
    height: 18px;
  }
  .icon-btn svg {
    width: 18px;
    height: 18px;
  }
  .menu-burger,
  .menu-burger svg {
    width: 18px;
    height: 18px;
  }
  .header-cabinet {
    padding: 3px;
  }
  .header-cabinet__avatar {
    width: 28px;
    height: 28px;
  }
  .header-cabinet__guest {
    width: 14px;
    height: 14px;
  }
  .fav-count {
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 16px;
  }
}

.search-bar {
  border-radius: 999px;
  flex-direction: row;
}
.search-bar label {
  justify-content: flex-start;
  padding: 8px 4px 8px 16px;
  gap: 10px;
}
.search-bar input { text-align: left; font-size: 15px; }
.search-bar button,
.header-search-form button[type="submit"] {
  width: 42px;
  height: 42px;
  margin: 5px;
  padding: 0;
  border-radius: 50%;
  font-size: 0;
  line-height: 0;
  color: transparent;
  background-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}
.search-bar button:hover,
.search-bar button:focus-visible,
.header-search-form button[type="submit"]:hover,
.header-search-form button[type="submit"]:focus-visible {
  background-color: var(--navy-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
  transform: none;
}
.header-search-form {
  border-radius: 999px;
  flex-direction: row;
}
.header-search-form label {
  padding: 6px 4px 6px 14px;
  gap: 10px;
}
.host-cta {
  flex-direction: column;
  align-items: stretch;
  padding: 28px 24px;
  gap: 22px;
}
.host-cta .btn-coral {
  width: 100%;
  text-align: center;
}
.section { padding: 36px 0 8px; }
.toast-stack { right: 12px; bottom: 12px; }

.catalog-toggle { display: grid; }
.catalog-chev { display: grid; }
.catalog-card { gap: 0; }

.catalog-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "icon title chev"
    "icon count chev";
  column-gap: 14px;
  row-gap: 4px;
  align-items: center;
}
.catalog-icon { grid-area: icon; }
.catalog-top h3 {
  grid-area: title;
  flex: unset;
  align-self: end;
}
.catalog-count {
  grid-area: count;
  display: block;
  align-self: start;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
}
.catalog-toggle {
  grid-area: chev;
  align-self: center;
}
.catalog-panel {
  flex: 0 0 auto;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  margin-top: 0;
  transition:
    max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    padding-top 0.35s ease;
}
.catalog-card.is-open .catalog-panel {
  max-height: 360px;
  opacity: 1;
  padding-top: 14px;
}
.footer-group {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-toggle .chev { display: grid; }
.footer-group.is-open .footer-panel {
  max-height: 480px;
  opacity: 1;
  padding: 0 0 8px;
}

.footer-bar .footer-actions .footer-vk {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
}
.footer-bar {
  position: relative;
  padding-top: 0;
}
.footer-bar .footer-actions .footer-vk span { display: none; }
.footer-bar .footer-brand {
  padding-right: 52px;
}
.footer-bar .footer-tag {
  width: 100%;
  color: #b0b0b0;
  font-weight: 500;
}

@media (min-width: 641px) {
  .logo img,
  .footer-brand .logo img { height: 32px; }
  .hero { padding: 48px 0 44px; }
  .page-hero { padding: 44px 0 52px; }
  .hero .benefits {
    left: auto;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .benefits-swiper {
    overflow: visible;
    padding: 0;
  }
  .benefits-swiper .swiper-slide {
    width: auto;
  }
  .benefits-swiper .benefit {
    animation: hero-rise 0.7s ease both;
    cursor: default;
  }
  .benefits-track { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .page-hero--about .benefits {
    left: auto;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  .about-feat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-include-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-landing__grid {
    padding: 36px 32px;
    gap: 24px;
  }
  .about-review-form__row--actions {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .about-review-form__row--actions .about-review-form__submit-wrap {
    grid-column: 1 / -1;
  }
  .about-review-form {
    padding: 26px 24px 22px;
  }
  .search-bar label {
    justify-content: flex-start;
    padding: 10px 10px 10px 22px;
    gap: 12px;
  }
  .search-bar input { text-align: left; font-size: 16px; }
  .search-bar button,
  .header-search-form button[type="submit"] {
    width: auto;
    height: auto;
    margin: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1.2;
    color: #fff;
    background-image: none;
    background-color: var(--navy);
  }
  .search-bar button:hover,
  .search-bar button:focus-visible,
  .header-search-form button[type="submit"]:hover,
  .header-search-form button[type="submit"]:focus-visible {
    background-image: none;
    background-color: var(--navy-deep);
    transform: scale(1.02);
  }
  .header-search-form button[type="submit"] {
    margin: 6px;
    padding: 12px 22px;
    font-size: 14px;
  }
  .header-search-form { flex-direction: row; border-radius: 999px; }
  .header-search-form label {
    padding: 8px 8px 8px 18px;
    gap: 12px;
  }
  .page-hero-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px 28px;
  }
  .page-hero-row > h1,
  .page-hero-main {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: 18ch;
  }
  .page-hero--text .page-hero-row > h1 {
    max-width: min(28ch, calc(100% - 160px));
  }
  .page-hero-row > .share-bar {
    display: inline-flex;
    flex: 0 0 auto;
    margin-left: auto;
  }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-toggle,
  .catalog-chev { display: none; }
  .catalog-card { gap: 14px; }
  .catalog-top {
    display: flex;
    gap: 12px;
    grid-template-areas: none;
  }
  .catalog-icon,
  .catalog-top h3,
  .catalog-count,
  .catalog-toggle,
  .catalog-chev { grid-area: auto; align-self: auto; }
  .catalog-top h3 { flex: 1; }
  .catalog-count {
    display: inline-flex;
    background: var(--gold-soft);
    border: 1px solid rgba(241, 213, 73, 0.7);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
  }
  .catalog-panel,
  .catalog-card.is-open .catalog-panel {
    display: flex;
    flex: 1;
    max-height: none;
    overflow: visible;
    opacity: 1;
    padding-top: 0;
    transition: none;
  }
  .footer-top { padding-bottom: 28px; }
  .footer-bottom { padding-top: 24px; }
  .listing-grid,
  .listing-skel { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: static;
    padding-bottom: 28px;
  }
  .footer-bar .footer-brand {
    padding-right: 0;
    flex-wrap: nowrap;
  }
  .footer-bar .footer-tag {
    width: auto;
    color: var(--gold);
    font-weight: 600;
  }
  .footer-actions {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 12px;
  }
  .footer-bar .footer-actions .footer-vk {
    position: static;
    width: auto;
    height: auto;
    min-height: 42px;
    padding: 0 18px;
    border-radius: var(--btn-radius);
  }
  .footer-bar .footer-actions .footer-vk span { display: inline; }
  .footer-add {
    width: auto;
    display: inline-flex;
  }
  .footer-nav {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px 40px;
    padding-top: 28px;
  }
  .footer-group { border-top: 0; }
  .footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 32px;
  }
  .footer-toggle {
    pointer-events: none;
    cursor: default;
    padding: 0;
    margin-bottom: 12px;
  }
  .footer-toggle .chev { display: none; }
  .footer-panel,
  .footer-group.is-open .footer-panel {
    display: block;
    max-height: none;
    overflow: visible;
    opacity: 1;
    padding: 0;
    transition: none;
  }
  .host-cta {
    padding: 40px;
    align-items: flex-start;
  }
  .host-cta .btn-coral { width: auto; }
  .section { padding: 48px 0 8px; }
  .status-page { padding: 64px 0; }
  .status-card { padding: 52px 40px 44px; }
}

@media (min-width: 901px) {

  :root {
    --pad: clamp(60px, 5vw, 80px);
  }
  .btn-header-add {
    width: auto;
    padding: 0 18px;
  }
  .btn-header-add__ico { display: none; }
  .btn-header-add__text { display: inline; }
  .menu-pill {
    width: auto;
    padding: 0 14px 0 12px;
  }
  .header-cabinet {
    width: auto;
    padding: 5px 14px 5px 5px;
  }
  .menu-pill__text,
  .header-cabinet__text {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
  }
  .carousel-nav { display: grid; }

  .faq-list { grid-template-columns: 1fr 1fr; gap: 0 56px; }
  .faq-col .faq-item:first-child { border-top: 1px solid var(--line); }
  .faq-q { padding: 22px 6px; font-size: 16px; }
  #faq .section-head { margin-bottom: 48px; }
  .faq-item.is-open .faq-a { padding-bottom: 24px; }
  .footer-nav { gap: 36px 48px; }
  .host-cta {
    flex-direction: row;
    align-items: center;
    padding: 48px 56px;
  }
  .pricing-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .page-hero--about {
    padding-bottom: 48px;
  }
  .page-hero--about h1 {
    max-width: 16ch;
  }
  .about-landing__grid {
    grid-template-columns: 3fr 7fr;
    gap: 40px;
    padding: 44px 48px;
    border-radius: 24px;
  }
  .about-landing__media {
    margin: 0;
  }
  .about-feat-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .about-feat { padding: 24px 22px; }
  .about-include-row { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .about-include-item { padding: 24px 18px 22px; }
  .about-reviews-head {
    flex-direction: row;
    align-items: flex-end;
  }
  .about-rating-pill {
    width: auto;
  }
  .about-review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .about-review-grid .about-review-card {
    height: 100%;
  }
  .about-review-grid > .about-review-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  .about-review-form {
    padding: 32px 36px 28px;
    gap: 18px;
  }
  .about-review-form__row--actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 14px;
    align-items: end;
  }
  .about-review-form__row--actions .about-review-form__submit-wrap {
    grid-column: auto;
  }
  .about-review-form__submit {
    width: auto;
    height: 48px;
  }
  .about-review-form__main {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 22%);
    gap: 14px;
    align-items: stretch;
  }
  .about-review-form__field--rating {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    min-height: 100%;
  }
  .about-review-form__rating {
    min-height: 0;
    height: 100%;
  }
  .about-reviews { padding-bottom: 96px; }
  .text-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
  }
  .text-sidebar {
    position: sticky;
    top: 96px;
  }
  .listing-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
  }
  .listing-toolbar { display: none; }
  .filters--cats { display: none !important; }
  .filters {
    position: sticky;
    top: calc(96px + var(--admin-bar-h, 0px));
    left: auto;
    bottom: auto;
    width: auto;
    height: auto;
    max-height: calc(100dvh - 112px - var(--admin-bar-h, 0px));
    transform: none;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    box-shadow: none;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .filters-head .drawer-close,
  .filters-apply,
  .btn-filter { display: none; }
  .filters-foot {
    display: flex;
    flex-shrink: 0;
    border-top: 1px solid var(--line);
    background: transparent;
    border-radius: 0 0 16px 16px;
  }
  .filters-head { padding: 12px 14px 4px; border-bottom: 0; flex-shrink: 0; }
  .filters-body {
    padding: 0 12px 8px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
  }
  .filter-group[data-facet="towns"] .filter-group-body {
    max-height: min(240px, 32vh);
  }
  .filter-group[data-facet="cats"] .filter-group-body {
    max-height: min(200px, 28vh);
  }
  .subcat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow: visible;
    padding-bottom: 0;
    margin-bottom: 22px;
  }
}

@media (min-width: 1101px) {

  .specialists-swiper {
    margin-inline: -12px;
    width: calc(100% + 24px);
  }
  .specialists-swiper .swiper-slide { padding-inline: 12px; }
  .benefits-track { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-grid,
  .listing-skel { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .listing-grid.listing-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .pricing-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .brand-slogan { display: block; }
  .faq-list { gap: 0 64px; }
  .footer-nav {
    grid-template-columns: 1.6fr 1fr;
    gap: 40px 56px;
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .hero-sub,
  .search-bar,
  .benefit,
  .toast {
    animation: none !important;
  }
  .header-search,
  .faq-a,
  .catalog-panel,
  .footer-panel,
  .drawer,
  .drawer-backdrop,
  .search-bar input::placeholder,
  .header-search-form input::placeholder,
  [data-reveal] {
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.specialist-page {
  background: #fff;
}
.sp-brands {
  position: relative;
  background: var(--surface);
  padding: clamp(56px, 7vw, 96px) 0;
}
.specialist-page > .sp-brands::before {
  box-shadow:
    0 0 0 7px var(--surface),
    0 8px 20px rgba(241, 213, 73, 0.42);
}
.sp-brands__head {
  max-width: min(56rem, 100%);
  margin: 0 auto clamp(28px, 4vw, 40px);
  text-align: center;
}
.sp-brands__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-brands__eyebrow::after {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.sp-brands__head h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  text-wrap: balance;
}
.sp-brands__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.sp-brands__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 64px;
  padding: 10px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(28, 39, 76, 0.04);
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.sp-brands__item:hover {
  border-color: rgba(241, 213, 73, 0.75);
  box-shadow: 0 12px 28px rgba(28, 39, 76, 0.08);
  transform: translateY(-2px);
}
.sp-brands__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 78px;
  height: 34px;
  margin: 0 auto;
  border-radius: 6px;
  background: transparent;
}
.sp-brands__logo.is-loading {
  background: #eef0f5;
}
.sp-brands__logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.15);
  transition: opacity 0.25s ease;
}
.sp-brands__item--logo .sp-brands__name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sp-brands__item--text .sp-brands__name,
.sp-brands__name {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}
.sp-brands__item--logo {
  position: relative;
}
/* Mobile: denser brands block */
@media (max-width: 640px) {
  .sp-brands {
    padding: 40px 0;
  }
  .sp-brands__head {
    margin-bottom: 18px;
  }
  .sp-brands__eyebrow {
    margin-bottom: 10px;
    gap: 8px;
    font-size: 11px;
  }
  .sp-brands__head h2 {
    font-size: 20px;
  }
}
@media (min-width: 641px) {
  .sp-brands__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  .sp-brands__item {
    gap: 10px;
    min-height: 108px;
    padding: 20px 16px;
    border-radius: 14px;
  }
  .sp-brands__logo {
    max-width: 118px;
    height: 52px;
  }
  .sp-brands__item--text .sp-brands__name,
  .sp-brands__name {
    font-size: 14px;
  }
}
@media (min-width: 1101px) {
  .sp-brands__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
  .sp-brands__item {
    min-height: 120px;
  }
  .sp-brands__logo {
    max-width: 132px;
    height: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-brands__item,
  .sp-brands__item:hover {
    transition: none;
    transform: none;
  }
}
.sp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: min(92vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.sp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}
.sp-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 18, 40, 0.58) 0%, rgba(12, 18, 40, 0.38) 52%, rgba(12, 18, 40, 0.22) 100%),
    linear-gradient(180deg, rgba(12, 18, 40, 0.22) 0%, rgba(12, 18, 40, 0.4) 100%);
}
.wrap.sp-hero__inner {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  flex: 0 1 auto;
  width: var(--wrap);
  max-width: 100%;
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding-block: 28px 36px;
}
.sp-hero__copy { min-width: 0; }

.sp-hero .breadcrumbs.sp-hero__crumbs {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  min-width: 0;
  margin: 0 0 28px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  -webkit-user-select: none;
  user-select: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}
.sp-hero .breadcrumbs.sp-hero__crumbs::-webkit-scrollbar { display: none; }
.sp-hero .breadcrumbs-home {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.sp-hero .breadcrumbs-home:hover {
  background: var(--gold);
  color: var(--navy);
}
.sp-hero .breadcrumbs-sep { color: rgba(255, 255, 255, 0.55); }
.sp-hero .breadcrumbs-link {
  flex-shrink: 0;
  padding: 0 4px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}
.sp-hero .breadcrumbs-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sp-hero .breadcrumbs-current {
  flex: 0 0 auto;
  min-width: auto;
  max-width: none;
  overflow: visible;
  text-overflow: unset;
  color: #fff;
  font-weight: 600;
}
.sp-hero h1 {
  margin: 0;
  font-size: clamp(28px, 5.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--gold);
  text-wrap: balance;
}
.sp-hero__price {
  margin: 22px 0 0;
  color: var(--gold);
  font-size: clamp(18px, 2.2vw, 22px);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}
.sp-hero__lead {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.sp-hero__geo {
  position: relative;
  align-self: flex-start;
  width: max-content;
  max-width: 100%;
  margin: 32px 0 0;
  box-sizing: border-box;
  /* Clip only — drag scroll via JS (native overflow fights touch on mobile). */
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  border-radius: 999px;
  background: rgba(18, 25, 51, 0.42);
  border: 1px solid rgba(241, 213, 73, 0.55);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  cursor: grab;
  isolation: isolate;
}
.sp-hero__geo.is-dragging {
  cursor: grabbing;
}
.sp-hero__geo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.1);
  pointer-events: none;
  z-index: 0;
}
.sp-hero__geo-scroll {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 46px;
  padding: 8px 14px 8px 8px;
  box-sizing: border-box;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}
.sp-hero__pin {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(241, 213, 73, 0.45);
}
.sp-hero__pin svg { width: 15px; height: 15px; }
.sp-hero__geo-text {
  display: block;
  flex: 0 0 auto;
  white-space: nowrap;
}

.sp-hero__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  padding: 52px 26px 26px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 90% 55% at 50% 0%, rgba(241, 213, 73, 0.22), transparent 58%),
    linear-gradient(180deg, #fffef8 0%, #fff 42%, #fff 100%);
  color: var(--navy);
  text-align: center;
  overflow: visible;
  box-sizing: border-box;
  border: 1px solid rgba(241, 213, 73, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    0 12px 28px rgba(241, 213, 73, 0.28),
    0 28px 56px rgba(12, 18, 40, 0.28);
}
.sp-hero__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-deep), var(--gold), transparent);
  pointer-events: none;
}
.sp-hero__card .fav-btn {
  left: 12px;
  top: 12px;
  box-shadow: 0 6px 18px rgba(18, 25, 51, 0.14);
}
.sp-hero__card .badge-rec {
  top: 12px;
  right: 12px;
  left: auto;
  box-shadow: 0 4px 14px rgba(212, 184, 42, 0.35);
}
.sp-hero__avatar {
  width: 72px;
  height: 72px;
  margin: 4px auto 14px;
  border-radius: 50%;
  border: 3px solid #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--navy);
  background:
    linear-gradient(145deg, var(--gold-soft), #fff 55%);
  box-shadow:
    0 0 0 2px rgba(241, 213, 73, 0.75),
    0 8px 20px rgba(28, 39, 76, 0.1);
}
.sp-hero__avatar svg { width: 36px; height: 36px; }
.sp-hero__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sp-hero__avatar.is-placeholder img {
  object-fit: cover;
  background: transparent;
}
.sp-hero__name {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--navy);
}
.sp-hero__rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  line-height: 1;
}
.sp-hero__rating .card-rating {
  color: var(--navy);
  font-weight: 700;
}
.sp-hero__rating .card-reviews {
  color: var(--muted);
  font-weight: 600;
}
.sp-hero__rating .card-reviews--link {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}
.sp-hero__rating .card-reviews--link:hover,
.sp-hero__rating .card-reviews--link:focus-visible {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  outline: none;
}
.sp-hero__phone {
  display: block;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: var(--btn-radius);
  background: var(--gold-soft);
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--navy);
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(241, 213, 73, 0.45);
  transition: background 0.2s ease, transform 0.2s ease;
}
.sp-hero__phone:hover {
  background: #fff3b0;
  color: var(--navy-deep);
  transform: translateY(-1px);
}
.sp-hero__free {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.12);
  color: #1b5e20;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.sp-hero__hours {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.sp-hero__hours svg {
  width: 16px;
  height: 16px;
  color: var(--gold-deep);
  flex-shrink: 0;
}
.sp-hero__tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: var(--btn-radius);
  background: var(--gold);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(212, 184, 42, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}
.sp-hero__tg svg { width: 18px; height: 18px; }
.sp-hero__tg:hover {
  background: #ffe36a;
  transform: translateY(-1px);
}
.sp-hero__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  padding: 0 16px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.sp-hero__save svg { width: 16px; height: 16px; }
.sp-hero__save:hover {
  background: var(--surface);
  border-color: rgba(28, 39, 76, 0.2);
}
.sp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  width: 100%;
  margin: 14px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
}
.sp-hero__meta-sep {
  color: rgba(106, 115, 143, 0.55);
}

html.sp-modal-open { overflow: hidden; }
.sp-modal[hidden] { display: none !important; }

.specialist-page > section + section {
  position: relative;
  border-top: 1px solid rgba(28, 39, 76, 0.08);
}
.specialist-page > section + section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  width: min(148px, 38vw);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow:
    0 0 0 7px #fff,
    0 8px 20px rgba(241, 213, 73, 0.42);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.specialist-page > section + section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  z-index: 2;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(241, 213, 73, 0.55) 18%,
    rgba(241, 213, 73, 0.55) 82%,
    transparent 100%
  );
  transform: translateY(-50%);
  pointer-events: none;
}

.specialist-page-body {
  scroll-behavior: smooth;
}
.sp-nav {
  position: relative;
  z-index: 2;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.sp-nav__track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.sp-nav__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px 0 8px;
  border: 0;
  border-radius: 999px;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.sp-nav__ico {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--surface);
  color: var(--navy);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.sp-nav__link svg {
  width: 15px;
  height: 15px;
  display: block;
}
.sp-nav__link:hover,
.sp-nav__link:focus-visible {
  color: var(--navy);
  background: var(--surface);
  outline: none;
  box-shadow: none;
}
.sp-nav__link:hover .sp-nav__ico,
.sp-nav__link:focus-visible .sp-nav__ico {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(241, 213, 73, 0.35);
}
.sp-nav__link.is-active {
  color: var(--navy);
  background: var(--gold);
  outline: none;
  box-shadow: none;
}
.sp-nav__link.is-active .sp-nav__ico {
  background: var(--navy);
  color: var(--gold);
  box-shadow: none;
}
.specialist-page > section[id] {
  scroll-margin-top: calc(var(--header-h) + var(--admin-bar-h) + 12px);
}
@media (min-width: 1024px) {
  .sp-nav {
    position: sticky;
    top: calc(var(--header-h) + var(--admin-bar-h));
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(28, 39, 76, 0.05);
    transition:
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease,
      box-shadow 0.22s ease;
  }
  .sp-nav.is-scroll-hidden {
    transform: translateY(calc(-100% - 4px));
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
  }
  .sp-nav.is-lock-pinned {
    position: fixed;
    top: calc(var(--header-h) + var(--admin-bar-h));
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 8px 24px rgba(28, 39, 76, 0.05);
  }
  .specialist-page > section[id] {
    scroll-margin-top: calc(var(--header-h) + var(--admin-bar-h) + 66px + 12px);
  }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .sp-nav {
    transition: none;
  }
}
@media (max-width: 900px) {
  .sp-nav {
    padding: 10px 0;
    overflow: hidden;
  }
  .sp-nav > .wrap {
    max-width: 100%;
    padding-inline: 0;
    overflow: hidden;
  }
  .sp-nav__track {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-left: var(--pad);
    padding-right: var(--pad);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }
  .sp-nav__track::-webkit-scrollbar {
    display: none;
  }
  .sp-nav__link {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 4px 12px 4px 6px;
    border-radius: 14px;
    font-size: 12px;
    gap: 8px;
  }
  .sp-nav__ico {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }
  .sp-nav__link svg {
    width: 13px;
    height: 13px;
  }
}

.sp-price {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(241, 213, 73, 0.22), transparent 55%),
    radial-gradient(700px 380px at 88% 100%, rgba(28, 39, 76, 0.06), transparent 50%),
    linear-gradient(180deg, #fcfbf8 0%, #f3f1ea 100%);
  padding: clamp(64px, 8vw, 104px) 0;
  box-shadow: inset 0 24px 40px -34px rgba(28, 39, 76, 0.1);
}
.specialist-page > .sp-price::before {
  box-shadow:
    0 0 0 7px #fcfbf8,
    0 8px 20px rgba(241, 213, 73, 0.42);
}
.sp-price__head {
  max-width: min(56rem, 100%);
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}
.sp-price__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-price__eyebrow::after {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.sp-price__head h2 {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.18;
  color: var(--navy);
  text-wrap: balance;
}
.sp-price__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}
.sp-price__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 32px 28px 28px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(28, 39, 76, 0.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 14px 36px rgba(28, 39, 76, 0.07);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.sp-price__card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 100%);
}
.sp-price__card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 213, 73, 0.16) 0%, transparent 70%);
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.7;
}
.sp-price__card:hover {
  transform: translateY(-4px);
  border-color: rgba(241, 213, 73, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 48px rgba(28, 39, 76, 0.12);
}
.sp-price__card:hover::after {
  opacity: 1;
  transform: scale(1.12);
}
.sp-price__dot {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(241, 213, 73, 0.22);
  animation: sp-price-dot 2.8s ease-in-out infinite;
}
/* Align with card content padding (28px), same grid as price badge + button */
.sp-price__card > .sp-price__dot {
  top: auto;
  right: 28px;
  bottom: 28px;
}
@keyframes sp-price-dot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(241, 213, 73, 0.22); }
  50% { box-shadow: 0 0 0 8px rgba(241, 213, 73, 0.12); }
}
.sp-price__card-head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 0 0 22px 0;
}
.sp-price__card-title {
  margin: 0;
  /* Keep a readable title column; if price is long, wrap to own row. */
  flex: 1 1 11rem;
  min-width: min(100%, 11rem);
  font-size: clamp(17px, 1.7vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.sp-price__amount {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  flex: 0 1 auto;
  max-width: 100%;
  align-self: flex-start;
  gap: 5px;
  margin: 0;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(241, 213, 73, 0.55);
  line-height: 1.25;
  white-space: normal;
  overflow-wrap: anywhere;
}
.sp-price__amount:empty {
  display: none;
}
.sp-price__from {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.sp-price__value {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.sp-price__currency {
  font-size: 12px;
  font-weight: 700;
  color: rgba(28, 39, 76, 0.55);
}
@media (max-width: 520px) {
  .sp-price__card-head {
    margin-right: 0;
  }
  .sp-price__amount {
    gap: 3px;
    padding: 4px 8px;
  }
  .sp-price__from {
    font-size: 10px;
  }
  .sp-price__value {
    font-size: 13px;
  }
  .sp-price__currency {
    font-size: 10px;
  }
}
.sp-price__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
  align-content: start;
  flex: 0 1 auto;
}
.sp-price__list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(28, 39, 76, 0.78);
}
.sp-price__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid var(--gold-deep);
  background: radial-gradient(circle at center, var(--gold) 0 38%, transparent 39%);
}
.sp-price__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: auto;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--btn-radius);
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(241, 213, 73, 0.38);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-price__btn:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(212, 184, 42, 0.42);
}
.sp-price__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 28px;
}
.sp-price__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 34px 18px;
  border-radius: 22px;
  background:
    linear-gradient(145deg, #fff4b8 0%, var(--gold) 45%, var(--gold-deep) 160%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 16px 36px rgba(241, 213, 73, 0.3);
}
.sp-price__trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 10px 16px;
  transition: transform 0.25s ease;
}
.sp-price__trust-item:hover {
  transform: translateY(-2px);
}
.sp-price__trust-item + .sp-price__trust-item {
  border-left: 1px solid rgba(28, 39, 76, 0.1);
}
.sp-price__trust-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold);
  box-shadow:
    0 10px 22px rgba(18, 25, 51, 0.24),
    0 0 0 6px rgba(28, 39, 76, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-price__trust-item:hover .sp-price__trust-icon {
  transform: scale(1.06);
  box-shadow:
    0 14px 28px rgba(18, 25, 51, 0.28),
    0 0 0 8px rgba(28, 39, 76, 0.08);
}
.sp-price__trust-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.sp-price__trust-icon--rub {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.sp-price__trust-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(1.3em * 2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.sp-price__cta {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 240px;
  padding: 36px 28px;
  border-radius: 22px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(155deg, rgba(18, 25, 51, 0.88) 0%, rgba(18, 25, 51, 0.62) 100%),
    var(--sp-price-cta-img) center / cover no-repeat,
    var(--navy-deep);
  box-shadow: 0 18px 40px rgba(18, 25, 51, 0.3);
  border: 1px solid rgba(241, 213, 73, 0.28);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.sp-price__cta::before,
.sp-about__media::before,
.sp-services__media::before,
.sp-gallery__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 38%,
    rgba(241, 213, 73, 0.16) 50%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.sp-about__media::before,
.sp-services__media::before,
.sp-gallery__item::before {
  z-index: 2;
}
.sp-price__cta:hover::before,
.sp-about__media:hover::before,
.sp-services__card:hover .sp-services__media::before,
.sp-gallery__item:hover::before,
.sp-gallery__item:focus-visible::before {
  transform: translateX(120%);
}
.sp-price__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(18, 25, 51, 0.36);
}
.sp-price__cta .sp-price__dot {
  box-shadow: 0 0 0 5px rgba(241, 213, 73, 0.28);
}
.sp-price__cta-logo {
  position: relative;
  z-index: 1;
  display: block;
  height: 30px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}
.sp-price__cta-text {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 14ch;
  font-size: clamp(22px, 2.5vw, 26px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.sp-price__cta .sp-price__btn {
  align-self: center;
}

@media (max-width: 900px) {
  .sp-price__list {
    margin-bottom: 22px;
    gap: 8px;
  }
  .sp-price__list li {
    padding-left: 24px;
    font-size: 14px;
    line-height: 1.4;
  }
  .sp-price__card .sp-price__btn {
    align-self: flex-start;
    width: auto;
    max-width: calc(100% - 44px);
  }
  .sp-price__bottom {
    gap: 16px;
    margin-top: 22px;
  }
  .sp-price__trust {
    padding: 12px 6px;
    border-radius: 16px;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.45) inset,
      0 10px 24px rgba(241, 213, 73, 0.28);
  }
  .sp-price__trust-item {
    gap: 8px;
    padding: 8px 4px;
  }
  .sp-price__trust-icon {
    width: 40px;
    height: 40px;
    box-shadow:
      0 6px 14px rgba(18, 25, 51, 0.2),
      0 0 0 4px rgba(28, 39, 76, 0.06);
  }
  .sp-price__trust-icon svg {
    width: 18px;
    height: 18px;
  }
  .sp-price__trust-icon--rub {
    font-size: 17px;
  }
  .sp-price__trust-label {
    min-height: 0;
    font-size: 12px;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }
}

@media (min-width: 701px) {
  .sp-price__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (min-width: 901px) {
  .sp-price__bottom {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.95fr);
    gap: 24px;
    margin-top: 32px;
    align-items: stretch;
  }
  .sp-price__cta { min-height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-price__dot { animation: none; }
  .sp-price__card,
  .sp-price__cta,
  .sp-price__trust-item,
  .sp-price__trust-icon,
  .sp-price__btn {
    transition: none;
  }
  .sp-price__card:hover,
  .sp-price__cta:hover,
  .sp-price__trust-item:hover,
  .sp-price__btn:hover {
    transform: none;
  }
  .sp-price__cta:hover::before { transform: none; }
}

.sp-about {
  position: relative;
  background: #fff;
  padding: clamp(56px, 7vw, 96px) 0;
}
.sp-about__head {
  max-width: min(56rem, 100%);
  margin: 0 auto clamp(36px, 5vw, 52px);
  text-align: center;
}
.sp-about__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-about__eyebrow::after {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.sp-about__head h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  text-wrap: balance;
}
.sp-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.sp-about__grid > * {
  align-self: center;
}
.sp-about__media {
  position: relative;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 18px 40px rgba(28, 39, 76, 0.1);
  border: 1px solid rgba(28, 39, 76, 0.06);
}
.sp-about__media .sp-price__dot {
  z-index: 3;
  bottom: auto;
}
.sp-about__media .img-shimmer {
  width: 100%;
  border-radius: 0;
  background: #e4e7ef;
}
.sp-about__media .img-shimmer img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  transition: transform 0.45s ease, opacity 0.35s ease;
}
.sp-about__media:hover .img-shimmer:not(.is-loading) img {
  transform: scale(1.02);
}
.sp-about__copy {
  display: grid;
  gap: 16px;
  align-content: start;
}
.sp-about__copy p {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 500;
  line-height: 1.65;
  color: rgba(28, 39, 76, 0.78);
}
.sp-about__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 8px;
  padding-top: 8px;
}
.sp-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--btn-radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.sp-about__btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.sp-about__btn--call {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(241, 213, 73, 0.38);
}
.sp-about__btn--call:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(212, 184, 42, 0.42);
}
.sp-about__btn--tg {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 25, 51, 0.22);
}
.sp-about__btn--tg:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 25, 51, 0.28);
}

@media (min-width: 901px) {
  .sp-about__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
  }
}
@media (max-width: 900px) {
  .sp-about__copy {
    gap: 12px;
  }
  .sp-about__copy p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.55;
  }
  .sp-about__actions {
    justify-content: stretch;
  }
  .sp-about__btn {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-about__media .img-shimmer img,
  .sp-about__btn {
    transition: none;
  }
  .sp-about__media:hover .img-shimmer img,
  .sp-about__btn:hover {
    transform: none;
  }
}

.sp-services {
  position: relative;
  background:
    radial-gradient(900px 380px at 50% 0%, rgba(241, 213, 73, 0.14), transparent 55%),
    linear-gradient(180deg, #fcfbf8 0%, #f4f2eb 100%);
  padding: clamp(56px, 7vw, 96px) 0;
}
.specialist-page > .sp-services::before {
  box-shadow:
    0 0 0 7px #fcfbf8,
    0 8px 20px rgba(241, 213, 73, 0.42);
}
.sp-services__head {
  max-width: min(56rem, 100%);
  margin: 0 auto clamp(36px, 5vw, 52px);
  text-align: center;
}
.sp-services__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-services__eyebrow::after {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.sp-services__head h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  text-wrap: balance;
}
.sp-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.sp-services__card {
  min-width: 0;
}
.sp-services__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: 0 16px 36px rgba(28, 39, 76, 0.1);
  border: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.sp-services__card:hover .sp-services__media {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(28, 39, 76, 0.16);
}
.sp-services__media .sp-price__dot {
  z-index: 3;
  top: 16px;
  right: 16px;
  bottom: auto;
}
.sp-services__media .img-shimmer {
  width: 100%;
  aspect-ratio: 5 / 4;
  background: #dfe3ec;
}
.sp-services__media .img-shimmer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.35s ease;
}
.sp-services__card:hover .img-shimmer:not(.is-loading) img {
  transform: scale(1.05);
}
.sp-services__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(18, 25, 51, 0.08) 0%,
      transparent 28%,
      transparent 48%,
      rgba(18, 25, 51, 0.45) 72%,
      rgba(18, 25, 51, 0.72) 100%
    );
  pointer-events: none;
}
.sp-services__overlay {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: grid;
  gap: 14px;
  justify-items: stretch;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(
    165deg,
    rgba(28, 39, 76, 0.42) 0%,
    rgba(18, 25, 51, 0.62) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 12px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.sp-services__name {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}
.sp-services__name::after {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  box-shadow: 0 2px 8px rgba(241, 213, 73, 0.35);
}
.sp-services__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--btn-radius);
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 8px 18px rgba(241, 213, 73, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-services__btn:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 12px 24px rgba(212, 184, 42, 0.42);
}

@media (min-width: 701px) {
  .sp-services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-services__media,
  .sp-services__media .img-shimmer img,
  .sp-services__btn {
    transition: none;
  }
  .sp-services__card:hover .sp-services__media,
  .sp-services__card:hover .img-shimmer img,
  .sp-services__btn:hover {
    transform: none;
  }
}

.sp-action {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(22px, 3vw, 28px) clamp(22px, 3.5vw, 32px);
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(28, 39, 76, 0.06);
  overflow: hidden;
}
.sp-action::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 45%, transparent 90%);
  pointer-events: none;
}
.sp-action__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 28rem;
}
.sp-action__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-action__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(241, 213, 73, 0.28);
}
.sp-action__title {
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--navy);
}
.sp-action__btns {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .sp-action {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .sp-action__copy {
    max-width: none;
  }
  .sp-action__eyebrow {
    justify-content: center;
  }
  .sp-action__btns {
    justify-content: stretch;
    gap: 10px;
  }
  .sp-action__btns .sp-about__btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    gap: 6px;
    min-height: 46px;
    padding: 0 12px;
    font-size: 13px;
  }
  .sp-action__btns .sp-about__btn svg {
    width: 16px;
    height: 16px;
  }
}

.sp-gallery {
  position: relative;
  background: var(--surface);
  padding: clamp(56px, 7vw, 96px) 0;
}
.specialist-page > .sp-gallery::before {
  box-shadow:
    0 0 0 7px var(--surface),
    0 8px 20px rgba(241, 213, 73, 0.42);
}
.sp-gallery__head {
  max-width: min(56rem, 100%);
  margin: 0 auto clamp(28px, 4vw, 40px);
  text-align: center;
}
.sp-gallery__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-gallery__eyebrow::after {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.sp-gallery__head h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  text-wrap: balance;
}
.sp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sp-gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sp-gallery__item:hover,
.sp-gallery__item:focus-visible {
  border-color: rgba(241, 213, 73, 0.75);
  box-shadow: 0 12px 28px rgba(28, 39, 76, 0.1);
}
.sp-gallery__item .img-shimmer {
  aspect-ratio: 3 / 2;
  width: 100%;
}
.sp-gallery__item .img-shimmer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.sp-gallery__item:hover .img-shimmer:not(.is-loading) img,
.sp-gallery__item:focus-visible .img-shimmer:not(.is-loading) img {
  transform: scale(1.04);
}
.sp-gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, rgba(18, 25, 51, 0.28) 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.sp-gallery__item:hover::after,
.sp-gallery__item:focus-visible::after {
  opacity: 1;
}
@media (min-width: 701px) {
  .sp-gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}
@media (min-width: 1101px) {
  .sp-gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-gallery__item,
  .sp-gallery__item .img-shimmer img,
  .sp-gallery__item::after,
  .sp-price__cta::before,
  .sp-about__media::before,
  .sp-services__media::before,
  .sp-gallery__item::before {
    transition: none;
  }
  .sp-gallery__item:hover .img-shimmer img,
  .sp-gallery__item:focus-visible .img-shimmer img {
    transform: none;
  }
  .sp-price__cta:hover::before,
  .sp-about__media:hover::before,
  .sp-services__card:hover .sp-services__media::before,
  .sp-gallery__item:hover::before,
  .sp-gallery__item:focus-visible::before {
    transform: none;
  }
}

.sp-order {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 100px) 0;
  color: #fff;
  background:
    linear-gradient(125deg, rgba(18, 25, 51, 0.88) 0%, rgba(28, 39, 76, 0.78) 45%, rgba(18, 25, 51, 0.86) 100%),
    url("../assets/specialist/contact_bg.png") center / cover no-repeat,
    var(--navy-deep);
}
.specialist-page > .sp-order::before {

  box-shadow:
    0 0 0 7px #fff,
    0 8px 20px rgba(241, 213, 73, 0.42);
}
.sp-order > .wrap {
  position: relative;
  z-index: 1;
}
.sp-order__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;

  background: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  color: inherit;
}
.sp-order__copy,
.sp-order__form {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.sp-order__copy {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .sp-order {
    background:
      linear-gradient(160deg, rgba(18, 25, 51, 0.9) 0%, rgba(28, 39, 76, 0.82) 55%, rgba(18, 25, 51, 0.9) 100%),
      url("../assets/specialist/contact_bg_mobile.jpg") center / cover no-repeat,
      var(--navy-deep);
  }
}
.sp-order__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(241, 213, 73, 0.14);
  border: 1px solid rgba(241, 213, 73, 0.4);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sp-order__eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(241, 213, 73, 0.25);
}
.sp-order__copy h2 {
  margin: 0 0 14px;
  max-width: 16ch;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--gold);
  text-wrap: balance;
}
.sp-order__lead {
  margin: 0 0 20px;
  max-width: 34ch;
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.sp-order__perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sp-order__perks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.sp-order__perks li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(241, 213, 73, 0.22);
  flex-shrink: 0;
}
.sp-order__form {
  display: grid;
  gap: 0;
}
.sp-order__card {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.sp-order__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.sp-order__field {
  display: grid;
  gap: 8px;
  margin: 0;
}
.sp-order__label {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.9);
}
.sp-order__label abbr {
  text-decoration: none;
  color: var(--gold);
}
.sp-order__control {
  position: relative;
  display: block;
}
.sp-order__control svg {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  width: 20px;
  height: 20px;
  color: var(--navy);
  opacity: 0.78;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.sp-order__control input {
  width: 100%;
  min-height: 52px;
  padding: 0 44px 0 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.sp-order__control input::placeholder {
  color: rgba(28, 39, 76, 0.42);
}
.sp-order__control:hover input {
  background: #fff;
}
.sp-order__control:focus-within svg {
  color: var(--gold-deep);
  opacity: 1;
}
.sp-order__control input:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(241, 213, 73, 0.28),
    0 10px 24px rgba(0, 0, 0, 0.12);
}
/* df-field.is-valid uses translucent green — on dark order panel it looks see-through */
.sp-order__field.is-valid .sp-order__control input {
  background: #fff;
  border-color: rgba(31, 122, 69, 0.45);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.sp-order__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--btn-radius);
  background: var(--btn-gold-bg);
  color: var(--btn-gold-fg);
  font: inherit;
  font-size: 15px;
  font-weight: var(--btn-gold-weight);
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--btn-gold-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.sp-order__submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.sp-order__submit:hover {
  background: var(--btn-gold-bg-hover);
  color: var(--btn-gold-fg-hover);
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover);
}
.sp-order__submit:hover svg {
  transform: translateX(3px);
}
.sp-order__submit:active {
  transform: translateY(0);
}
.sp-order__submit:disabled {
  cursor: wait;
  opacity: 0.92;
  transform: none;
  filter: none;
  box-shadow: none;
}
.sp-order__note {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}
.sp-order__note a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sp-order__note a:hover {
  color: #fff;
}
.sp-order__ok {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 0;
  padding: clamp(28px, 4vw, 40px) 24px;
  border-radius: 24px;
  text-align: center;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.16) 0%, rgba(241, 213, 73, 0.14) 100%);
  border: 1px solid rgba(241, 213, 73, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.sp-order__ok-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(241, 213, 73, 0.35);
}
.sp-order__ok-icon svg {
  width: 26px;
  height: 26px;
}
.sp-order__ok-title {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.sp-order__ok-text {
  margin: 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.sp-order__ok[hidden] { display: none !important; }
.sp-order__form.is-sent .sp-order__card {
  display: none;
}

@media (max-width: 900px) {
  .sp-order__copy {
    text-align: center;
    align-items: center;
  }
  .sp-order__eyebrow {
    margin-bottom: 12px;
    padding: 5px 11px;
    font-size: 11px;
  }
  .sp-order__copy h2 {
    margin-bottom: 10px;
    max-width: 18ch;
    font-size: clamp(22px, 5.6vw, 32px);
  }
  .sp-order__lead {
    margin-bottom: 16px;
    max-width: 32ch;
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.5;
  }
  .sp-order__perks {
    flex-wrap: nowrap;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    gap: 6px;
  }
  .sp-order__perks li {
    flex: 0 1 auto;
    justify-content: center;
    width: auto;
    max-width: none;
    padding: 7px 10px;
    font-size: 11px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .sp-order__perks li::before {
    width: 5px;
    height: 5px;
    box-shadow: 0 0 0 2px rgba(241, 213, 73, 0.22);
  }
}

@media (min-width: 901px) {
  .sp-order__panel {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
    gap: 48px;
  }
  .sp-order__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .sp-order__control input {
    min-height: 56px;
  }
  .sp-order__submit {
    min-height: 58px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-order__control input,
  .sp-order__control svg,
  .sp-order__submit,
  .sp-order__submit svg {
    transition: none;
  }
  .sp-order__submit:hover,
  .sp-order__submit:hover svg {
    transform: none;
  }
}

.sp-reviews {
  position: relative;
  background: #fff;
  padding: clamp(56px, 7vw, 96px) 0;
}
.specialist-page > .sp-reviews::before {
  box-shadow:
    0 0 0 7px #fff,
    0 8px 20px rgba(241, 213, 73, 0.42);
}
.sp-reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 28px;
  margin-bottom: clamp(28px, 4vw, 36px);
}
.sp-reviews__intro {
  min-width: 0;
  max-width: min(56rem, 100%);
}
.sp-reviews__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-reviews__eyebrow::after {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.sp-reviews__head h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  text-wrap: balance;
}
.sp-reviews__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.sp-reviews__more {
  margin-top: 22px;
}
.sp-reviews__more[hidden] {
  display: none !important;
}
.sp-reviews__pager {
  margin-top: 16px;
}
.sp-reviews__more[hidden] + .sp-reviews__pager {
  margin-top: 22px;
}
.sp-reviews__pager[hidden] {
  display: none !important;
}
.sp-reviews__form {
  margin-top: clamp(28px, 4vw, 40px);
}
.sp-reviews:has(.sp-reviews__empty:not([hidden])) .sp-reviews__form {
  margin-top: 28px;
}
.sp-reviews__form-ok {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--btn-radius);
  background: rgba(241, 213, 73, 0.16);
  border: 1px solid rgba(241, 213, 73, 0.4);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.sp-reviews__form-ok[hidden] {
  display: none !important;
}
.sp-reviews__form.is-sent .about-review-form__main,
.sp-reviews__form.is-sent .about-review-form__row--actions,
.sp-reviews__form.is-sent .about-review-form__head p {
  display: none;
}

.sp-faq {
  position: relative;
  background: var(--surface);
  padding: clamp(56px, 7vw, 96px) 0;
}
.specialist-page > .sp-faq::before {
  box-shadow:
    0 0 0 7px var(--surface),
    0 8px 20px rgba(241, 213, 73, 0.42);
}
.sp-faq__head {
  max-width: min(56rem, 100%);
  margin: 0 auto clamp(28px, 4vw, 40px);
  text-align: center;
}
.sp-faq__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-faq__eyebrow::after {
  content: "";
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
}
.sp-faq__head h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--navy);
  text-wrap: balance;
}
.sp-faq .faq-list {
  margin-top: 0;
}
.sp-faq .faq-item {
  background: transparent;
}
.sp-faq .faq-q {
  color: var(--navy);
}

.sp-points {
  position: relative;
  background: var(--surface);
  padding: clamp(48px, 6vw, 72px) 0;
}
.specialist-page > .sp-points::before {
  box-shadow:
    0 0 0 7px var(--surface),
    0 8px 20px rgba(241, 213, 73, 0.42);
}
.sp-about + .sp-points {
  background: var(--surface);
}
.sp-points + .sp-points,
.sp-faq + .sp-points {
  background: #fff;
}
.specialist-page > .sp-points + .sp-points::before,
.specialist-page > .sp-faq + .sp-points::before {
  box-shadow:
    0 0 0 7px #fff,
    0 8px 20px rgba(241, 213, 73, 0.42);
}

.specialist-page > .sp-hero + section {
  border-top: 0;
}
.specialist-page > .sp-hero + section::before,
.specialist-page > .sp-hero + section::after {
  content: none;
  display: none;
}
.sp-points__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.sp-points__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 26px;
  min-width: 0;
  padding: 22px 20px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(28, 39, 76, 0.06);
  box-shadow: 0 6px 22px rgba(28, 39, 76, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.sp-points + .sp-points .sp-points__item {
  background: var(--surface);
}
.sp-about + .sp-points .sp-points__item {
  background: #fff;
}
.specialist-page > .sp-about::before {
  box-shadow:
    0 0 0 7px #fff,
    0 8px 20px rgba(241, 213, 73, 0.42);
}
.sp-points__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  opacity: 0;
  transform: scaleY(0.6);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.sp-points__item:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 213, 73, 0.55);
  box-shadow: 0 14px 32px rgba(28, 39, 76, 0.1);
}
.sp-points__item:hover::before {
  opacity: 1;
  transform: scaleY(1);
}
.sp-points__num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(28, 39, 76, 0.18);
  transition: color 0.25s ease;
}
.sp-points__item:hover .sp-points__num {
  color: var(--gold-deep);
}
.sp-points__icon {
  position: relative;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy);
  box-shadow:
    0 10px 22px rgba(241, 213, 73, 0.38),
    3px 3px 0 rgba(28, 39, 76, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-points__icon::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 18px;
  border: 1.5px solid rgba(241, 213, 73, 0.55);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.sp-points__item:hover .sp-points__icon {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow:
    0 14px 28px rgba(241, 213, 73, 0.48),
    4px 4px 0 rgba(28, 39, 76, 0.12);
}
.sp-points__item:hover .sp-points__icon::after {
  opacity: 1;
  transform: scale(1);
}
.sp-points__icon svg {
  width: 24px;
  height: 24px;
  display: block;
}
.sp-points__body {
  min-width: 0;
  padding-right: 28px;
}
.sp-points__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--navy);
}
.sp-points__title::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0.55);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.sp-points__item:hover .sp-points__title::after {
  transform: scaleX(1);
}
.sp-points__text {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--muted);
}

@media (max-width: 900px) {
  .sp-points__item {
    gap: 18px;
    padding: 16px 16px 14px;
  }
  .sp-points__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .sp-points__icon::after {
    border-radius: 15px;
  }
  .sp-points__icon svg {
    width: 20px;
    height: 20px;
  }
  .sp-points__title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
  }
  .sp-points__title::after {
    width: 24px;
    margin-top: 6px;
  }
  .sp-points__text {
    margin-top: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
  }
}

@media (min-width: 901px) {
  .sp-points__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-points__item,
  .sp-points__item::before,
  .sp-points__icon,
  .sp-points__icon::after,
  .sp-points__title::after,
  .sp-points__num {
    transition: none;
  }
  .sp-points__item:hover,
  .sp-points__item:hover .sp-points__icon {
    transform: none;
  }
}

.sp-shell {
  position: relative;
}
.sp-dock {
  display: none;
}
@media (max-width: 900px) {
  .sp-shell:has(.sp-dock.is-visible) .specialist-page {
    padding-bottom: 68px;
  }
  .sp-dock {
    --sp-dock-inset: 10px;
    position: fixed;
    left: var(--sp-dock-inset);
    right: var(--sp-dock-inset);
    bottom: calc(var(--sp-dock-inset) + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
    min-height: 0;
    padding: 6px 4px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(221, 225, 234, 0.95);
    box-shadow:
      0 10px 28px rgba(18, 25, 51, 0.14),
      0 1px 0 rgba(255, 255, 255, 0.8) inset;
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    overflow: hidden;
    transform: translateY(calc(100% + 24px));
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
      transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease,
      visibility 0.22s ease;
  }
  .sp-dock.is-stopped {
    position: absolute;
    bottom: var(--sp-dock-inset);
    left: var(--sp-dock-inset);
    right: var(--sp-dock-inset);
  }
  .sp-dock::before {
    content: "";
    position: absolute;
    top: 0;
    left: 14%;
    right: 14%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-deep) 50%, var(--gold) 80%, transparent);
    pointer-events: none;
  }
  .sp-dock.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .sp-dock__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 46px;
    margin: 0;
    padding: 5px 2px 4px;
    border: 0;
    background: transparent;
    color: var(--navy);
    font: inherit;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.1;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    border-radius: var(--btn-radius);
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  }
  .sp-dock__item + .sp-dock__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
    pointer-events: none;
  }
  .sp-dock__item span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
  }
  .sp-dock__item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--navy);
  }
  .sp-dock__item:active {
    background: var(--gold-soft);
    transform: scale(0.97);
  }
  .sp-dock__item:active span,
  .sp-dock__item:active svg {
    color: var(--navy);
  }
  html.sp-modal-open .sp-dock {
    visibility: hidden;
    pointer-events: none;
  }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .sp-dock,
  .sp-dock__item {
    transition: none;
  }
  .sp-dock__item:active {
    transform: none;
  }
}

.sp-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}
.sp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: blur(var(--overlay-blur));
  -webkit-backdrop-filter: blur(var(--overlay-blur));
}
.sp-modal__backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  opacity: 0;
  transition: opacity 0.32s ease;
}
.sp-modal.is-open .sp-modal__backdrop::before {
  opacity: 1;
}
.sp-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  padding: 0;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(241, 213, 73, 0.35),
    0 24px 56px rgba(8, 12, 28, 0.4);
  transform: scale(0.92);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
  will-change: transform, opacity;
}
.sp-modal.is-open .sp-modal__panel {
  transform: scale(1);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .sp-modal__backdrop::before,
  .sp-modal__panel {
    transition: none;
  }
  .sp-modal.is-open .sp-modal__backdrop::before {
    opacity: 1;
  }
  .sp-modal__panel {
    transform: none;
    opacity: 1;
  }
}
.sp-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease, color 0.2s ease;
}
.sp-modal__close:hover {
  background: var(--gold);
  color: var(--navy);
}
.sp-modal__close svg { width: 16px; height: 16px; }
.sp-modal__hero {
  position: relative;
  z-index: 1;
  padding: 20px 22px 16px;
  padding-right: 48px;
  text-align: left;
  color: #fff;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(241, 213, 73, 0.22), transparent 55%),
    linear-gradient(155deg, #1c274c 0%, #121933 62%, #0d1328 100%);
  isolation: isolate;
}
.sp-modal__hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 40%, transparent 85%);
  pointer-events: none;
}
.sp-modal__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgba(241, 213, 73, 0.14);
  border: 1px solid rgba(241, 213, 73, 0.35);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.sp-modal__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(241, 213, 73, 0.28);
}
.sp-modal__hero h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
}
.sp-modal__name {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.sp-modal__sub {
  position: relative;
  z-index: 1;
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.68);
}
.sp-modal__body {
  padding: 16px 20px 18px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(241, 213, 73, 0.08), transparent 60%),
    #fff;
}
.sp-modal__qr {
  margin: 0 auto;
  width: 176px;
  height: 176px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(28, 39, 76, 0.1);
  box-sizing: border-box;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.sp-modal__qr.img-shimmer {
  background: #fff;
}
.sp-modal__qr.img-shimmer.is-loading {
  background: #e4e7ef;
}
.sp-modal__qr-code {
  width: 160px;
  height: 160px;
  display: grid;
  place-items: center;
}
.sp-modal__qr-code img,
.sp-modal__qr-code canvas,
.sp-modal__qr-code table {
  display: block;
  width: 160px !important;
  height: 160px !important;
  max-width: 100%;
  object-fit: contain;
}
.sp-modal__qr.img-shimmer.is-loading img {
  opacity: 0;
}
.sp-modal__qr-fallback {
  margin: 0;
  padding: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
}
.sp-modal__hint {
  margin: 10px auto 0;
  max-width: 28ch;
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.sp-modal__vcard {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--btn-radius);
  background: var(--btn-gold-bg);
  color: var(--btn-gold-fg);
  font: inherit;
  font-size: 14px;
  font-weight: var(--btn-gold-weight);
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--btn-gold-shadow);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.sp-modal__vcard:hover {
  background: var(--btn-gold-bg-hover);
  color: var(--btn-gold-fg-hover);
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover);
}
.sp-modal__vcard svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.sp-modal__vcard:active {
  transform: translateY(0);
}
.sp-modal__share {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.sp-modal__share-title {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.sp-modal__share-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sp-modal__share-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--btn-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  background: var(--gold-soft);
  border: 1px solid rgba(212, 184, 42, 0.45);
  box-shadow: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.sp-modal__share-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}
.sp-modal__share-btn[data-share="vk"] svg {
  width: 18px;
  height: 12px;
}
.sp-modal__share-btn:hover {
  transform: translateY(-1px);
  background: var(--gold);
  border-color: transparent;
}
.sp-modal__share-btn:active {
  transform: translateY(0);
}

/* Scrim/blur come from body-level .df-overlay — Fancybox bg stays invisible */
.fancybox-bg {
  background: transparent !important;
  opacity: 0 !important;
}
.sp-order-fancy .fancybox-content {
  padding: 0 !important;
  background: transparent !important;
  max-width: min(100%, 460px);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: none !important;
  transform: scale(0.92);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease !important;
  will-change: transform, opacity;
}
.sp-order-fancy.fancybox-is-open .fancybox-content {
  transform: scale(1);
  opacity: 1;
}
.sp-order-fancy.fancybox-is-closing .fancybox-content {
  transform: scale(0.92);
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .sp-order-fancy .fancybox-content {
    transform: none;
    opacity: 1;
    transition: none !important;
  }
}
.sp-order-fancy .fancybox-close-small {
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  opacity: 1;
  display: grid;
  place-items: center;
}
.sp-order-fancy .fancybox-close-small:hover {
  background: var(--gold);
  color: var(--navy);
  opacity: 1;
}
.sp-order-fancy .fancybox-close-small svg {
  width: 16px;
  height: 16px;
}

.sp-order-modal {
  display: block;
  width: min(100vw - 32px, 460px);
  background: transparent;
}
.sp-order-modal__card {
  position: relative;
  display: grid;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 0;
  box-shadow: 0 28px 64px rgba(8, 12, 28, 0.42);
}
.sp-order-modal__hero {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  justify-items: start;
  padding: 18px 22px 16px;
  padding-right: 48px;
  color: #fff;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(241, 213, 73, 0.22), transparent 55%),
    linear-gradient(155deg, #1c274c 0%, #121933 62%, #0d1328 100%);
  overflow: hidden;
  isolation: isolate;
}
.sp-order-modal__hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-deep) 40%, transparent 85%);
  pointer-events: none;
  z-index: 1;
}
.sp-order-modal__eyebrow {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgba(241, 213, 73, 0.14);
  border: 1px solid rgba(241, 213, 73, 0.35);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.sp-order-modal__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(241, 213, 73, 0.28);
}
.sp-order-modal__hero h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(20px, 3.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  text-align: left;
  text-wrap: balance;
}
.sp-order-modal__lead {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 38ch;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
}
.sp-order-modal__perks {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.sp-order-modal__perks li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.sp-order-modal__perks li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(241, 213, 73, 0.25);
  flex-shrink: 0;
}

.sp-order-modal__body {
  display: grid;
  gap: 18px;
  padding: 22px 24px 22px;
  background:
    linear-gradient(180deg, #fffdf5 0%, #fff 28%),
    #fff;
}
.sp-order-modal__form {
  display: grid;
  gap: 14px;
}
.sp-order-modal__form.is-sent .sp-order-modal__fields,
.sp-order-modal__form.is-sent .sp-order-modal__submit,
.sp-order-modal__form.is-sent .sp-order-modal__note {
  display: none;
}
.sp-order-modal__fields {
  display: grid;
  gap: 12px;
}
.sp-order-modal__field {
  display: grid;
  gap: 7px;
  margin: 0;
}
.sp-order-modal__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.sp-order-modal__label abbr {
  text-decoration: none;
  color: #d14b4b;
}
.sp-order-modal__control {
  position: relative;
  display: block;
}
.sp-order-modal__control svg {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  width: 18px;
  height: 18px;
  color: var(--navy);
  opacity: 0.5;
  transform: translateY(-50%);
  pointer-events: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.sp-order-modal__control input {
  width: 100%;
  min-height: 54px;
  padding: 0 44px 0 44px;
  border: 1px solid rgba(28, 39, 76, 0.1);
  border-radius: 16px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 20px rgba(28, 39, 76, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.sp-order-modal__control input::placeholder {
  color: rgba(28, 39, 76, 0.38);
}
.sp-order-modal__control:hover input {
  border-color: rgba(241, 213, 73, 0.55);
}
.sp-order-modal__control:focus-within svg {
  color: var(--gold-deep);
  opacity: 1;
}
.sp-order-modal__control input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow:
    0 0 0 4px rgba(241, 213, 73, 0.28),
    0 10px 24px rgba(241, 213, 73, 0.16);
}
.sp-order-modal__field.is-valid .sp-order-modal__control input {
  background: #fff;
  border-color: rgba(31, 122, 69, 0.45);
}
.sp-order-modal__submit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--btn-radius);
  background: var(--btn-gold-bg);
  color: var(--btn-gold-fg);
  font: inherit;
  font-size: 16px;
  font-weight: var(--btn-gold-weight);
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--btn-gold-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease, background 0.2s ease, color 0.2s ease;
}
.sp-order-modal__submit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.sp-order-modal__submit > * {
  position: relative;
  z-index: 1;
}
.sp-order-modal__submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.sp-order-modal__submit:hover {
  background: var(--btn-gold-bg-hover);
  color: var(--btn-gold-fg-hover);
  transform: translateY(-1px);
  box-shadow: var(--btn-gold-shadow-hover);
}
.sp-order-modal__submit:hover::before {
  transform: translateX(120%);
}
.sp-order-modal__submit:hover svg {
  transform: translateX(3px);
}
.sp-order-modal__submit:active {
  transform: translateY(0);
}
.sp-order-modal__submit:disabled {
  cursor: wait;
  opacity: 0.92;
  transform: none;
  filter: none;
  box-shadow: none;
}
.sp-order-modal__submit:disabled::before {
  display: none;
}
.sp-order-modal__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.sp-order-modal__note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sp-order-modal__note a:hover {
  color: var(--gold-deep);
}
.sp-order-modal__ok {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin: 0;
  padding: 28px 18px;
  border-radius: 18px;
  text-align: center;
  background:
    linear-gradient(165deg, rgba(241, 213, 73, 0.18), rgba(241, 213, 73, 0.06));
  border: 1px solid rgba(241, 213, 73, 0.42);
}
.sp-order-modal__ok-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(241, 213, 73, 0.3);
}
.sp-order-modal__ok-icon svg {
  width: 24px;
  height: 24px;
}
.sp-order-modal__ok-title {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
.sp-order-modal__ok-text {
  margin: 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}
.sp-order-modal__ok[hidden] { display: none !important; }
.sp-order-modal__form.is-sent .sp-order-modal__quick {
  display: none;
}

.sp-order-modal__quick {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(28, 39, 76, 0.04), rgba(28, 39, 76, 0.02));
  border: 1px solid rgba(28, 39, 76, 0.08);
}
.sp-order-modal__quick-title {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.sp-order-modal__quick-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sp-order-modal__qbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.sp-order-modal__qbtn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.sp-order-modal__qbtn--call {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 10px 22px rgba(241, 213, 73, 0.35);
}
.sp-order-modal__qbtn--call:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(212, 184, 42, 0.4);
}
.sp-order-modal__qbtn--tg {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 22px rgba(18, 25, 51, 0.22);
}
.sp-order-modal__qbtn--tg:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 25, 51, 0.3);
}

@media (max-width: 480px) {
  .sp-order-modal__card {
    border-radius: 22px;
  }
  .sp-order-modal__hero {
    padding: 16px 16px 14px;
    padding-right: 48px;
    gap: 5px;
  }
  .sp-order-modal__hero h3 {
    font-size: 20px;
  }
  .sp-order-modal__body {
    padding: 18px 16px 16px;
    gap: 14px;
  }
  .sp-order-modal__perks {
    gap: 5px;
  }
  .sp-order-modal__perks li {
    padding: 4px 8px;
    font-size: 10px;
  }
  .sp-order-modal__quick-btns {
    gap: 8px;
  }
  .sp-order-modal__qbtn {
    gap: 6px;
    min-height: 44px;
    padding: 0 10px;
    font-size: 13px;
  }
  .sp-order-modal__qbtn svg {
    width: 15px;
    height: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-order-modal__submit,
  .sp-order-modal__submit::before,
  .sp-order-modal__qbtn,
  .sp-order-modal__control svg,
  .sp-order-modal__control input {
    transition: none;
  }
  .sp-order-modal__submit:hover,
  .sp-order-modal__submit:hover svg,
  .sp-order-modal__submit:hover::before,
  .sp-order-modal__qbtn:hover {
    transform: none;
  }
}

@media (min-width: 901px) {
  .sp-hero {
    min-height: min(88vh, 760px);
  }
  .wrap.sp-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 380px);
    gap: 60px;
    padding-block: 40px 48px;
    align-items: center;
  }
  .sp-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
  }
  .sp-hero__card {
    margin-inline: 0;
    justify-self: stretch;
    align-self: center;
    height: auto;
    max-width: none;
    width: 100%;
  }
  .sp-hero__lead { max-width: 48ch; }
  .sp-hero__bg {
    background-position: 62% center;
  }
}

/* Стек: крошки и города по центру, ширина как есть (по контенту) */
@media (max-width: 900px) {
  .sp-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .sp-hero h1,
  .sp-hero__price,
  .sp-hero__lead {
    text-align: center;
    width: 100%;
  }
  .sp-hero__lead {
    margin-inline: auto;
  }
  .sp-hero .breadcrumbs.sp-hero__crumbs,
  .sp-hero__geo {
    align-self: center;
  }
}

@media (max-width: 640px) {
  .sp-hero { min-height: 0; }
  .wrap.sp-hero__inner { padding-block: 20px 28px; gap: 22px; }
  .sp-hero h1 {
    font-size: clamp(22px, 5.8vw, 26px);
    line-height: 1.2;
    letter-spacing: -0.03em;
  }
  .sp-hero__price {
    margin-top: 14px;
    font-size: 17px;
  }
  .sp-hero__lead {
    margin-top: 10px;
    max-width: 36ch;
    font-size: 14px;
    line-height: 1.45;
  }
  .sp-hero .breadcrumbs.sp-hero__crumbs { margin-bottom: 20px; }
  .sp-hero__geo { margin-top: 22px; }
  .sp-hero__card { padding: 24px 18px 18px; }
  .sp-hero__avatar {
    width: 56px;
    height: 56px;
  }
  .sp-hero__name { font-size: 18px; }
  .sp-hero__phone {
    font-size: 18px;
    padding: 7px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-hero__tg,
  .sp-hero__save { transition: none; }
}
