:root {
  /* Тёплая премиальная тёмная тема: уютный «кофейный» фон + изумрудный акцент */
  --bg: #1b1815;
  --bg-subtle: #242019;
  --fg: #f4eee6;
  --muted: #a89d91;
  --accent: #34d399;
  --accent-light: #5eead4;
  --accent-deep: #059669;
  --accent-ink: #064e3b;
  --sun: #e8b86d;
  --sun-soft: rgba(232, 184, 109, 0.38);
  --card: #26221d;
  --card-hover: #2e2924;
  --input-bg: #1a1714;
  --border: rgba(244, 238, 230, 0.1);
  --radius: 18px;
  --shadow: 0 20px 56px rgba(0, 0, 0, 0.38);
  --wrap-max: 1120px;
  --wrap-pad: clamp(0.65rem, 2.6vw + 0.25rem, 2rem);
  --section-pad-y: clamp(2rem, 3.4vw + 1rem, 3.65rem);
}

@media (min-width: 1440px) {
  :root {
    --wrap-max: 1180px;
  }
}

@media (min-width: 1920px) {
  :root {
    --wrap-max: 1280px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: #161412;
  /* Узор + градиент закреплены к viewport — при скролле не «уезжают» и не обрезаются */
  background-image:
    url("../images/hero-bg-pattern.svg?v=5"),
    linear-gradient(172deg, #1d1a17 0%, #1b1815 52%, #201c18 100%);
  background-size: 288px 288px, 100% 100%;
  background-position: 0 0, center;
  background-repeat: repeat, no-repeat;
  background-attachment: fixed, fixed;
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: transparent;
  color: var(--fg);
  line-height: 1.55;
  font-size: clamp(0.9375rem, 0.88rem + 0.22vw, 1.09rem);
  position: relative;
  overflow-x: hidden;
}

::selection {
  background: rgba(52, 211, 153, 0.35);
  color: var(--fg);
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* ─── фон страницы: мягкие «ореолы» + градиент (без фото, лёгкий паралласкролл) ─── */
.parallax-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.parallax-bg__layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.parallax-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Тёплый «винтажный» виньет + лёгкий изумрудный ореол */
  background: linear-gradient(
    185deg,
    rgba(52, 211, 153, 0.04) 0%,
    rgba(27, 24, 20, 0.48) 42%,
    rgba(8, 6, 5, 0.72) 100%
  );
}

body > *:not(.parallax-bg) {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-bg__layer {
    transform: none !important;
  }
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  box-sizing: border-box;
  max-width: var(--wrap-max);
  width: 100%;
  margin-inline: auto;
  padding-left: max(var(--wrap-pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--wrap-pad), env(safe-area-inset-right, 0px));
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(27, 24, 21, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-top: env(safe-area-inset-top, 0px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(0.55rem, 1.2vw, 0.85rem) 0;
  gap: clamp(0.5rem, 1.5vw, 1rem);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1), box-shadow 0.38s ease;
}

.logo:hover .logo-mark {
  transform: rotate(-10deg) scale(1.08);
  box-shadow: 0 10px 24px rgba(52, 211, 153, 0.4);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.35rem clamp(0.6rem, 1.8vw, 1.15rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a:not(.btn) {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.nav-desktop a:not(.btn):hover {
  color: var(--fg);
}

.nav-desktop a.is-active {
  color: var(--accent);
}

.nav-mobile {
  display: block;
}

@media (min-width: 960px) {
  .nav-mobile {
    display: none;
  }
}

.menu-drawer {
  position: relative;
}

.menu-drawer summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--card);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.35, 0.64, 1),
    border-color 0.28s ease,
    box-shadow 0.32s ease,
    background-color 0.25s ease;
}

.menu-drawer summary:hover {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 12px 28px rgba(52, 211, 153, 0.14);
  transform: translateY(-2px);
}

.menu-drawer summary::-webkit-details-marker {
  display: none;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 60;
}

.menu-panel a:not(.btn) {
  color: var(--fg);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.35, 0.64, 1), background-color 0.22s ease, color 0.2s ease;
}

.menu-panel a:not(.btn):hover {
  background: var(--bg-subtle);
  text-decoration: none;
  transform: translateX(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.35, 0.64, 1),
    box-shadow 0.35s ease,
    background-color 0.28s ease,
    border-color 0.28s ease,
    color 0.22s ease,
    filter 0.28s ease;
}

.btn:active {
  transition-duration: 0.12s;
}

a.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
}

button.btn-primary:hover {
  transform: translateY(-2px);
}

a.btn-primary:active {
  transform: translateY(0) scale(0.97);
}

button.btn-primary:active {
  transform: translateY(1px) scale(0.96);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(52, 211, 153, 0.28);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 34%,
    rgba(255, 255, 255, 0.22) 47%,
    rgba(255, 255, 255, 0.08) 53%,
    transparent 66%
  );
  transform: translateX(-140%) skewX(-14deg);
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(52, 211, 153, 0.45);
  filter: brightness(1.05);
}

.btn-primary:hover::after {
  transform: translateX(140%) skewX(-14deg);
}

.btn-ghost {
  overflow: hidden;
  background: transparent;
  color: var(--fg);
  border: 2px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.btn-ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1);
  background: radial-gradient(circle at 30% 30%, rgba(52, 211, 153, 0.18), transparent 55%);
  pointer-events: none;
  transform: scale(0.85);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(52, 211, 153, 0.08);
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(52, 211, 153, 0.18);
}

a.btn-ghost:hover,
button.btn-ghost:hover {
  transform: translateY(-3px);
}

.btn-ghost:hover::after {
  opacity: 1;
  transform: scale(1);
}

a.btn-ghost:active,
button.btn-ghost:active {
  transform: translateY(0) scale(0.97);
}

main {
  min-height: clamp(240px, 46vh, 720px);
}

.hero {
  padding: clamp(2.15rem, 5.5vw, 3.75rem) 0 clamp(2.5rem, 6vw, 4.35rem);
  position: relative;
  overflow: visible;
}

.page-hero {
  padding: clamp(1.75rem, 3.6vw, 2.65rem) 0 clamp(1.55rem, 3vw, 2.35rem);
}

.page-hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 2.2vw + 1.1rem, 2.85rem);
  line-height: 1.12;
  margin-bottom: 0.65rem;
}

.page-hero .lead {
  color: var(--muted);
  max-width: min(60ch, 100%);
  font-size: clamp(0.98rem, 0.92rem + 0.25vw, 1.08rem);
  text-wrap: pretty;
}

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.hero-grid {
  display: grid;
  gap: clamp(1.6rem, 4.2vw, 2.85rem);
  align-items: center;
  grid-template-columns: 1fr;
}

/* Планшет и ноутбук: две колонки героя чуть раньше, чем «широкий десктоп» */
@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(1.85rem, 3.5vw, 3.15rem);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232, 184, 109, 0.22), rgba(232, 184, 109, 0.12));
  border: 1px solid rgba(232, 184, 109, 0.28);
  color: #f8ecd8;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.78rem, 2.4vw + 1.05rem, 3.65rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-lead {
  color: var(--muted);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.15rem);
  max-width: min(52ch, 100%);
  margin-bottom: clamp(1.25rem, 3vw, 1.85rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.55rem, 1.5vw, 0.85rem);
  margin-bottom: clamp(1.25rem, 3vw, 1.85rem);
}

.hero-teaser {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
}

.hero-teaser a {
  font-weight: 700;
}

/* Важное предупреждение по зоне охвата (главная) */
.hero-teaser.hero-area-alert {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-top: none;
  border: 1px solid rgba(232, 184, 109, 0.45);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(232, 184, 109, 0.14) 0%, rgba(52, 211, 153, 0.06) 100%);
  color: var(--fg);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.hero-teaser.hero-area-alert a {
  color: var(--accent);
}

.faq-note-muted {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.35rem 0 0.6rem;
  line-height: 1.45;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.trust-row .trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-wrap: balance;
}

.trust-check-img {
  flex-shrink: 0;
  display: block;
  width: 15px;
  height: 15px;
}

.hero-footnote {
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0.85rem 0 0;
  line-height: 1.45;
}

.hero-footnote a {
  color: var(--accent);
  font-weight: 600;
}

.hero-card {
  background: var(--card);
  border-radius: calc(var(--radius) + 6px);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.hero-card.hero-card--mascot {
  overflow: visible;
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.12);
  border-color: rgba(52, 211, 153, 0.2);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto 30%;
  height: 60%;
  background: radial-gradient(
    circle,
    rgba(52, 211, 153, 0.1) 0%,
    rgba(94, 234, 212, 0.05) 38%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-card-inner {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 2.8vw, 1.65rem);
}

.hero-card__mascot {
  position: absolute;
  left: 50%;
  right: auto;
  top: calc(clamp(0.15rem, 1.5vw, 0.65rem) - 118px);
  width: min(340px, 92%);
  max-width: 430px;
  height: auto;
  transform: translateX(calc(-50% - 18px));
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}

/* Тело + слой хвоста: мягкое покачивание только хвоста */
.hero-card__mascot-stack {
  position: relative;
  width: 100%;
  line-height: 0;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35));
}

.hero-card__mascot-base {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(clamp(4px, 1.2vw, 14px));
  clip-path: inset(0 27% 0 0);
  -webkit-clip-path: inset(0 27% 0 0);
}

.hero-card__mascot-tail {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  pointer-events: none;
  clip-path: inset(4% 0 0 70%);
  -webkit-clip-path: inset(4% 0 0 70%);
  transform-origin: 73% 31%;
  animation: hero-mascot-tail-wag 3.2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  will-change: transform;
}

.hero-card__mascot-tail img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  transform: translateY(clamp(4px, 1.2vw, 14px));
}

@keyframes hero-mascot-tail-wag {
  0%,
  100% {
    transform: rotate(-1.65deg);
  }
  50% {
    transform: rotate(2.05deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card__mascot-tail {
    animation: none !important;
    will-change: auto;
  }
}

.hero-dog {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.16));
}

.hero-dog--sm {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.14));
}

.walk-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-card--mascot .walk-stats {
  margin-bottom: 0.85rem;
}

.stat {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0.85rem;
  text-align: center;
  border: 1px solid var(--border);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    border-color 0.32s ease,
    background-color 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 14px 32px rgba(52, 211, 153, 0.18);
  background: var(--card-hover);
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 800;
}

.stat span {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.mock-phone {
  border-radius: 22px;
  background: linear-gradient(160deg, #2a2520, #171412);
  color: #ede6dc;
  padding: 1rem 1.1rem 1.15rem;
  font-size: 0.85rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.35, 0.64, 1), box-shadow 0.45s ease;
}

.hero-card:hover .mock-phone {
  transform: scale(1.02) rotate(-1deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.mock-phone .bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  opacity: 0.85;
  font-size: 0.72rem;
}

.msg {
  background: rgba(244, 238, 230, 0.06);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(244, 238, 230, 0.1);
}

.msg small {
  display: block;
  opacity: 0.65;
  font-size: 0.68rem;
  margin-bottom: 0.25rem;
}

section {
  padding: var(--section-pad-y) 0;
}

.section-title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.55rem, 2vw + 1rem, 2.55rem);
  font-weight: 400;
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

.section-sub {
  color: var(--muted);
  max-width: min(52ch, 100%);
  margin-bottom: clamp(1.35rem, 3vw, 2.1rem);
  text-wrap: pretty;
}

.trust-points .section-title {
  margin-bottom: 0.35rem;
}

.trust-points__intro {
  margin-bottom: clamp(0.85rem, 2vw, 1.35rem);
}

.trust-points__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.trust-points__item {
  padding: clamp(1.15rem, 2.2vw, 1.5rem) 0;
  border-top: 1px solid var(--border);
}

.trust-points__item:first-child {
  border-top: 0;
  padding-top: 0.15rem;
}

.trust-points__item-title {
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(1.02rem, 0.96rem + 0.22vw, 1.14rem);
  font-weight: 800;
  color: #f0b27a;
  margin: 0 0 0.45rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.trust-points__item-text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 0.9rem + 0.08vw, 0.98rem);
  line-height: 1.58;
  max-width: min(68ch, 100%);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: clamp(0.5rem, 1.5vw, 0.85rem);
  margin-bottom: clamp(1.35rem, 3vw, 2.1rem);
}

.section-head .section-sub {
  margin-bottom: 0;
}

.cards {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.35rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.cards-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.2vw, 1.55rem);
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(52, 211, 153, 0.22);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(52, 211, 153, 0.06);
}

.card:focus-within {
  border-color: rgba(52, 211, 153, 0.28);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.12);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: transform 0.45s cubic-bezier(0.34, 1.35, 0.64, 1), box-shadow 0.35s ease;
}

.card:hover .card-icon {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 10px 20px rgba(52, 211, 153, 0.2);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonials {
  /* без отдельной заливки — иначе стык с #trust даёт заметную «линию» поверх общего фона */
  background: transparent;
}

.quote {
  font-size: 0.98rem;
  color: var(--fg);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.quote-author {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.quote-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.district-grid {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.15rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  position: relative;
}

.district {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  overflow: visible;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    border-color 0.32s ease;
}

.district:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.25);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.09);
}

.district h3 {
  font-size: 0.98rem;
  margin-bottom: 0.65rem;
  color: var(--accent);
}

.district ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.district li::before {
  content: "· ";
}

.map-wrap {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  margin-top: clamp(1rem, 2.5vw, 1.6rem);
  aspect-ratio: 16 / 9;
  max-height: min(420px, 52vh);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.map-wrap:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.25);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.12);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 280px;
}

.pricing {
  /* Без локальной заливки — иначе чёткий стык с соседними секциями на общем фоне */
  background: transparent;
}

/* Абонементы (синхронизируйте цифры с dog-walk-app/constants/subscriptions.ts) */
.sub-pass-section {
  margin: 0 0 2.35rem;
}

.sub-pass-kicker {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  margin: 0 0 0.4rem;
}

.sub-pass-heading {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.45rem, 2.2vw + 0.85rem, 1.85rem);
  font-weight: 400;
  color: var(--fg);
  margin: 0 0 0.35rem;
}

.sub-pass-lead {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 52rem;
  margin: 0 0 1.25rem;
}

.sub-pass-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 278px), 1fr));
  align-items: stretch;
}

.sub-pass-card {
  background: var(--card);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.6rem 1.45rem 1.5rem;
  border: 1px solid var(--border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.sub-pass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.sub-pass-card--best {
  border: 2px solid var(--accent);
  padding: 1.85rem 1.55rem 1.65rem;
  box-shadow: 0 20px 48px rgba(52, 211, 153, 0.22);
  background: linear-gradient(
    165deg,
    rgba(46, 42, 38, 0.98) 0%,
    rgba(52, 211, 153, 0.08) 100%
  );
}

@media (min-width: 768px) {
  .sub-pass-card--best {
    transform: scale(1.02);
    z-index: 1;
  }

  .sub-pass-card--best:hover {
    transform: scale(1.02) translateY(-4px);
  }
}

.sub-pass-card__badge {
  position: absolute;
  top: -11px;
  right: 1rem;
  background: linear-gradient(135deg, #f0d19a, #e8b86d);
  color: #1a1613;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.sub-pass-card__title {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0 0 0.2rem;
  padding-right: 6.5rem;
}

.sub-pass-card--best .sub-pass-card__title {
  font-size: 1.18rem;
}

.sub-pass-card__meta {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.sub-pass-card__price {
  font-size: clamp(1.65rem, 3vw + 0.9rem, 2.15rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0.15rem 0 0.35rem;
}

.sub-pass-card__economy {
  margin-bottom: 0.85rem;
}

.sub-pass-card__per {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0 0 0.45rem;
}

.sub-pass-card__strike-context {
  font-weight: 600;
}

.sub-pass-save {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: #f4eee6;
  background: rgba(232, 184, 109, 0.28);
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  margin: 0;
}

.sub-pass-save--approx {
  background: rgba(52, 211, 153, 0.18);
  color: #c8f5e4;
}

.sub-pass-benefits {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--muted);
  flex: 1;
}

.sub-pass-benefits li {
  padding: 0.32rem 0 0.32rem 1.35rem;
  position: relative;
}

.sub-pass-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.72rem;
  height: 0.72rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2334d399' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 1 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.sub-pass-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: auto;
}

.pricing-subtitle {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.35rem, 2vw + 0.8rem, 1.65rem);
  font-weight: 400;
  color: var(--fg);
  margin: 0.5rem 0 1rem;
}

.price-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 268px), 1fr));
}

.price {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  position: relative;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.price:hover {
  transform: translateY(-10px);
  border-color: rgba(52, 211, 153, 0.28);
  box-shadow:
    0 24px 52px rgba(0, 0, 0, 0.11),
    0 0 0 1px rgba(52, 211, 153, 0.06);
}

.price.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.price.featured:hover {
  border-color: var(--accent-light);
  box-shadow: 0 28px 60px rgba(52, 211, 153, 0.24);
}

.price.featured .tag {
  transition: transform 0.35s cubic-bezier(0.34, 1.35, 0.64, 1);
}

.price.featured:hover .tag {
  transform: scale(1.06);
}

.price .tag {
  position: absolute;
  top: -12px;
  right: 1rem;
  background: linear-gradient(135deg, #f0d19a, var(--sun));
  color: #1a1613;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 22, 19, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.price h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.price .price__rates {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 0.45rem 0 0.15rem;
}

.price .price__rate-cell {
  flex: 1 1 100px;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.08rem 0.35rem;
  min-width: 0;
}

.price .price__rate-divider {
  width: 1px;
  flex: 0 0 1px;
  align-self: stretch;
  min-height: 2.4rem;
  background: linear-gradient(180deg, transparent, var(--border) 14%, var(--border) 86%, transparent);
}

.price .price__sum {
  font-size: clamp(1.35rem, 2.6vw + 0.65rem, 1.85rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.12;
  /* Не даём flex-сжатию разорвать «350» и «руб.» на две строки (симметрия с колонкой «/ час»). */
  white-space: nowrap;
  min-width: max-content;
  flex-shrink: 0;
}

.price__sum .price__cur {
  font-weight: 800;
  margin-left: 0.12em;
  font-size: 0.62em;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.price .price__dur {
  font-size: clamp(0.82rem, 1.2vw + 0.72rem, 0.92rem);
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
  white-space: nowrap;
}

.price .amount {
  font-size: clamp(1.55rem, 3vw + 0.85rem, 2.05rem);
  font-weight: 800;
  color: var(--accent);
  margin: 0.5rem 0;
}

.price .amount small {
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
}

.price ul {
  list-style: none;
  margin: 1rem 0 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.price li {
  padding: 0.35rem 0;
  padding-left: 1.35rem;
  position: relative;
}

/* Маркер списка в тарифах — SVG, без зависимости от глифов шрифта */
.price li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.72rem;
  height: 0.72rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2334d399' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 1 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.steps {
  display: grid;
  gap: clamp(0.85rem, 2vw, 1.05rem);
  counter-reset: step;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 142px), 1fr));
}

.step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 1px solid var(--border);
  position: relative;
  padding-top: 2.5rem;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    border-color 0.35s ease;
}

.step:hover {
  transform: translateY(-8px);
  border-color: rgba(52, 211, 153, 0.22);
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.09),
    0 0 0 1px rgba(52, 211, 153, 0.05);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1rem;
  left: 1.35rem;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.35, 0.64, 1), box-shadow 0.35s ease, background-color 0.3s ease;
}

.step:hover::before {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 8px 18px rgba(52, 211, 153, 0.45);
  background: var(--accent-light);
}

.step h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--muted);
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 0.65rem;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s ease,
    border-color 0.32s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.2);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 1.15rem;
  list-style: none;
  transition: background-color 0.25s ease, color 0.2s ease;
}

.faq-item:hover summary {
  color: var(--accent);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-item .faq-body {
  padding: 0.85rem 1.15rem 1.1rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-item .faq-body ul {
  margin: 0.45rem 0 0.85rem;
  padding-left: 1.2rem;
}

.faq-item .faq-body li {
  margin-bottom: 0.35rem;
}

.faq-item .faq-body li:last-child {
  margin-bottom: 0;
}

.cta-section {
  margin: clamp(1.35rem, 3.5vw, 2.15rem) 0 clamp(0.85rem, 2vw, 1.15rem);
}

.cta-box {
  background: linear-gradient(
    135deg,
    #059669 0%,
    #0d4d42 48%,
    #151210 100%
  );
  color: #faf8f5;
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(1.5rem, 3.5vw, 2.45rem) clamp(1.25rem, 3vw, 2.15rem);
  display: grid;
  gap: clamp(1.1rem, 2.5vw, 1.55rem);
  align-items: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(52, 211, 153, 0.22);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.cta-box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(52, 211, 153, 0.18);
}

@media (min-width: 720px) {
  .cta-box {
    grid-template-columns: 1fr auto;
    padding: clamp(1.85rem, 3vw, 2.55rem) clamp(1.65rem, 2.8vw, 2.35rem);
  }
}

.cta-box h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.cta-box p {
  opacity: 0.9;
  max-width: 44ch;
  font-size: 0.98rem;
}

.cta-box .btn-primary {
  background: #f4eee6;
  color: var(--accent-ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.cta-box .btn-primary::after {
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(52, 211, 153, 0.18) 48%,
    rgba(232, 184, 109, 0.28) 52%,
    transparent 68%
  );
}

.cta-box .btn-primary:hover {
  background: #fffefc;
  color: var(--accent-ink);
  box-shadow: 0 18px 44px rgba(52, 211, 153, 0.28);
  filter: brightness(1.02);
}

.contact-layout {
  margin-top: clamp(1.35rem, 3.5vw, 2.35rem);
  display: grid;
  gap: clamp(1.35rem, 3.5vw, 2.1rem);
  align-items: start;
}

@media (min-width: 840px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-aside .card + .card {
  margin-top: 1rem;
}

.contact-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.form {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 1.85rem);
  border: 1px solid var(--border);
  transition: border-color 0.35s ease, box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1), transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.form:hover {
  border-color: rgba(52, 211, 153, 0.22);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(52, 211, 153, 0.06);
}

.form:focus-within {
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow:
    0 20px 48px rgba(52, 211, 153, 0.12),
    0 0 0 2px rgba(52, 211, 153, 0.12);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.form label {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
  color: var(--fg);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg);
  color: var(--fg);
  font: inherit;
  margin-bottom: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(168, 157, 145, 0.85);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.12);
}

.form textarea {
  min-height: 100px;
  resize: vertical;
}

.form-feedback {
  display: none;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-feedback.visible {
  display: block;
}

.form-feedback.success {
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
  border: 1px solid rgba(52, 211, 153, 0.22);
}

.form-feedback.error {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.22);
}

.form-feedback.share {
  background: rgba(232, 184, 109, 0.16);
  color: #fdeccd;
  font-weight: 600;
  border: 1px solid rgba(232, 184, 109, 0.25);
}

.prose {
  max-width: min(68ch, 100%);
}

.prose h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 1.5vw + 0.95rem, 1.75rem);
  margin: 2rem 0 0.75rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.prose ul {
  margin: 0 0 1rem 1.25rem;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.35rem;
}

.split-highlight {
  display: grid;
  gap: clamp(1.05rem, 2.5vw, 1.35rem);
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .split-highlight {
    grid-template-columns: 1fr 1fr;
  }
}

.note-box {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.2);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  font-size: 0.92rem;
  color: var(--fg);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    border-color 0.32s ease,
    background-color 0.3s ease;
}

.note-box:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.11);
  box-shadow: 0 16px 38px rgba(52, 211, 153, 0.12);
}

.note-box.service-area-notice {
  background: linear-gradient(
    135deg,
    rgba(233, 196, 106, 0.22) 0%,
    rgba(52, 211, 153, 0.09) 100%
  );
  border-color: rgba(52, 211, 153, 0.28);
  margin-bottom: 1.35rem;
}

footer {
  border-top: 1px solid var(--border);
  padding: clamp(2rem, 4vw, 2.85rem) 0 max(2rem, calc(1.1rem + env(safe-area-inset-bottom, 0px)));
  color: var(--muted);
  font-size: clamp(0.82rem, 0.78rem + 0.15vw, 0.9rem);
  background: transparent;
}

.footer-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.85rem);
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: minmax(200px, 1.2fr) repeat(3, minmax(0, 1fr));
  }
}

.footer-brand p {
  margin-top: 0.65rem;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg);
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.messengers a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  transition:
    transform 0.38s cubic-bezier(0.34, 1.35, 0.64, 1),
    box-shadow 0.35s ease,
    border-color 0.28s ease,
    color 0.22s ease;
}

.messengers a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(52, 211, 153, 0.16);
}

.messengers a:active {
  transform: translateY(0) scale(0.97);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.skip-link:focus {
  outline: none;
}

.skip-link:focus-visible {
  top: 0.75rem;
  box-shadow: 0 0 0 3px var(--sun), var(--shadow);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 10px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .btn::after,
  .hero-card,
  .hero-card:hover .mock-phone,
  .mock-phone,
  .stat,
  .card,
  .card-icon,
  .district,
  .price,
  .price.featured .tag,
  .step,
  .step::before,
  .faq-item,
  .map-wrap,
  .form,
  .form input,
  .form textarea,
  .form select,
  .note-box,
  .cta-box,
  .logo-mark,
  .menu-drawer summary,
  .menu-panel a,
  .messengers a {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
  }

  .btn-primary::after {
    opacity: 0 !important;
  }

  a.btn-primary:hover,
  button.btn-primary:hover,
  a.btn-primary:active,
  button.btn-primary:active,
  a.btn-ghost:hover,
  button.btn-ghost:hover,
  a.btn-ghost:active,
  button.btn-ghost:active,
  .hero-card:hover,
  .hero-card:hover .mock-phone,
  .stat:hover,
  .card:hover,
  .card:hover .card-icon,
  .district:hover,
  .price:hover,
  .price.featured:hover .tag,
  .step:hover,
  .step:hover::before,
  .faq-item:hover,
  .map-wrap:hover,
  .logo:hover .logo-mark,
  .messengers a:hover,
  .messengers a:active,
  .cta-box:hover,
  .menu-drawer summary:hover,
  .menu-panel a:not(.btn):hover,
  .form:hover {
    transform: none !important;
    filter: none !important;
  }

  .btn-primary:hover::after,
  .btn-ghost:hover::after {
    transform: none !important;
  }

  .btn-ghost:hover::after {
    opacity: 0 !important;
  }
}

.hp-wrap {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  pointer-events: none;
}

.hp-wrap label {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
}

.form-consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: -0.25rem 0 1rem;
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.38;
}

.form-consent input {
  flex-shrink: 0;
  margin-top: 0.3rem;
  width: auto;
}

.form-consent a {
  font-weight: 700;
}

.form .form-consent label {
  display: inline;
  margin-bottom: 0;
  font-size: inherit;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}

/* ─── планшет и телефон: бургер-меню (до 959px) ─── */
@media (max-width: 959px) {
  .logo {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(70vw, 360px);
    -webkit-tap-highlight-color: transparent;
  }

  .menu-drawer summary {
    min-height: 44px;
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-panel {
    position: fixed;
    right: max(0.5rem, env(safe-area-inset-right, 0px));
    left: max(0.5rem, env(safe-area-inset-left, 0px));
    top: auto;
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    width: auto;
    min-width: unset;
    max-height: min(72vh, 520px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow:
      0 -4px 32px rgba(0, 0, 0, 0.12),
      0 24px 56px rgba(0, 0, 0, 0.18);
    z-index: 80;
    padding: 0.85rem;
  }

  .menu-panel a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0.65rem 0.75rem;
  }

  .menu-panel .btn {
    min-height: 48px;
    justify-content: center;
  }
}

/* ─── телефон: плотная вёрстка ─── */
@media (max-width: 719px) {
  .logo {
    font-size: 1rem;
    max-width: min(58vw, 220px);
  }

  .logo-mark {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  section {
    --section-pad-y: clamp(1.85rem, 5vw, 2.35rem);
  }

  .hero {
    padding: 2rem 0 2.5rem;
  }

  .page-hero {
    padding: 1.65rem 0 1.5rem;
  }

  .hero-grid {
    gap: 1.75rem;
  }

  .hero h1 {
    font-size: clamp(1.78rem, 7vw, 2.5rem);
    margin-bottom: 0.85rem;
  }

  .hero-lead {
    font-size: 1.02rem;
    max-width: none;
    margin-bottom: 1.35rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.84rem;
  }

  .hero-card-inner {
    padding: 1.2rem;
  }

  .walk-stats {
    gap: 0.5rem;
  }

  .stat {
    padding: 0.65rem 0.45rem;
  }

  .stat strong {
    font-size: 1.12rem;
  }

  .stat span {
    font-size: 0.68rem;
  }

  .map-wrap {
    aspect-ratio: 4 / 3;
    max-height: 56vh;
    min-height: 220px;
    margin-top: 1rem;
  }

  .contact-layout {
    margin-top: 1.25rem;
    gap: 1.5rem;
  }

  .form {
    padding: 1.2rem 1.1rem;
  }

  .form input,
  .form textarea,
  .form select {
    font-size: 16px;
    min-height: 48px;
  }

  .form textarea {
    min-height: 120px;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .btn {
    min-height: 44px;
  }

  .faq-item summary {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 1rem 1rem;
  }

  .cta-box {
    padding: 1.6rem 1.25rem;
    gap: 1.1rem;
    text-align: center;
  }

  .cta-box p {
    margin-left: auto;
    margin-right: auto;
  }

  .cta-box .btn-primary {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .messengers a {
    min-height: 44px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    -webkit-tap-highlight-color: transparent;
  }

  .price {
    padding: 1.35rem 1.2rem;
  }
}

/* Узкие телефоны: два тарифа в карточке столбиком, без горизонтального сжатия */
@media (max-width: 440px) {
  .price .price__rates {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .price .price__rate-divider {
    display: none;
  }

  .price .price__rate-cell {
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border);
  }

  .price .price__rate-cell:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* Сенсорные экраны: комфортная зона нажатия (телефоны / планшеты) */
@media (pointer: coarse) {
  .btn {
    min-height: 44px;
  }

  .menu-drawer summary {
    min-height: 44px;
  }

  .faq-item summary {
    min-height: 48px;
  }

  .section-head .btn {
    min-height: 44px;
  }
}

/* ─── низкий экран / альбом (телефон в landscape) ─── */
@media (max-height: 520px) and (orientation: landscape) {
  section {
    --section-pad-y: clamp(1.15rem, 4vh, 1.85rem);
  }

  .hero {
    padding: 1rem 0 1.35rem;
  }

  .page-hero {
    padding: 1rem 0 0.85rem;
  }

  .menu-panel {
    max-height: min(85vh, 420px);
  }
}

@media (max-width: 719px) {
  .hero-card--mascot {
    margin-top: clamp(1.5rem, 7vw, 2.75rem);
  }

  .hero-card__mascot {
    top: calc(clamp(0.1rem, 1.8vw, 0.55rem) - 115px);
    left: 50%;
    right: auto;
    width: min(310px, 94vw);
    transform: translateX(calc(-50% - 18px));
  }

  .hero-card__mascot-base,
  .hero-card__mascot-tail img {
    transform: translateY(clamp(4px, 2.2vw, 16px));
  }
}

@media (max-width: 380px) {
  :root {
    --wrap-pad: clamp(0.55rem, 1.8vw + 0.4rem, 1rem);
  }

  .walk-stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .stat {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1rem;
    text-align: center;
  }

  .stat strong {
    font-size: 1.22rem;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Планшет (портрет): чуть уже сетка карточек, читаемее строка */
@media (min-width: 600px) and (max-width: 859px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* Ноутбук: комфортная ширина колонок, без «растянутых» карточек */
@media (min-width: 900px) and (max-width: 1199px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  }
}

@media print {
  :root {
    --bg: #fff;
    --bg-subtle: #f6f4f1;
    --fg: #1a1613;
    --muted: #4a4540;
    --accent: #047857;
    --accent-light: #059669;
    --accent-ink: #064e3b;
    --sun: #b45309;
    --card: #fff;
    --card-hover: #faf8f5;
    --input-bg: #fff;
    --border: rgba(26, 22, 19, 0.12);
    --shadow: none;
  }

  header,
  .nav-mobile,
  .messengers,
  .skip-link,
  .hero-card__mascot {
    display: none !important;
  }

  body {
    background: #fff;
    font-size: 11pt;
  }

  a {
    color: inherit;
    text-decoration: underline;
  }

  .cta-box {
    border: 1px solid var(--border);
    background: none;
    color: var(--fg);
  }
}

/* ——— Синхронизация с приложением (герой, тарифы, отзывы, абонементы) ——— */
.hero h1.hero-title-duo {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.85rem, 3.5vw + 0.55rem, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  max-width: 20ch;
  text-wrap: balance;
}

.hero-title-duo .hero-title-line {
  display: block;
  color: var(--fg);
}

.hero-title-duo .hero-title-line + .hero-title-line {
  margin-top: 0.06em;
}

.hero-title-duo .hero-title-accent {
  display: block;
  color: var(--accent);
  margin-top: 0.14em;
}

.hero-lead .hero-lead__nowrap {
  white-space: nowrap;
}

@media (max-width: 520px) {
  .hero-lead .hero-lead__nowrap {
    white-space: normal;
  }
}

.hero-lead .hero-lead__br {
  display: block;
  margin-bottom: 0.45em;
}

.hero-telegram-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.35rem 0 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  text-align: center;
  max-width: min(22rem, 100%);
  margin-left: auto;
  margin-right: auto;
}

.hero-telegram-note__row {
  display: block;
}

.sub-pass-footnote {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--muted);
  margin: 0.75rem 0 0;
  font-weight: 600;
}

.single-walk-rates {
  margin-top: 0.25rem;
  margin-bottom: 2rem;
  max-width: min(100%, 52rem);
}

.walk-day-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.3rem;
  background: rgba(244, 238, 230, 0.04);
  border-radius: 14px;
  margin-bottom: 1.1rem;
}

.walk-day-seg__btn {
  flex: 1 1 140px;
  min-height: 3.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--fg);
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.walk-day-seg__btn:hover {
  border-color: rgba(52, 211, 153, 0.35);
}

.walk-day-seg__btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.walk-day-seg__btn.is-active .walk-day-seg__sub {
  color: rgba(255, 255, 255, 0.88);
}

.walk-day-seg__sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.walk-rate-panel.is-hidden {
  display: none !important;
}

.walk-rate-bullets.is-hidden {
  display: none !important;
}

.walk-rate-table-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

.walk-rates-hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 0.65rem;
  line-height: 1.45;
}

.walk-rate-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.walk-rate-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  background: var(--card);
  cursor: pointer;
  font: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.walk-rate-row:hover {
  border-color: rgba(52, 211, 153, 0.38);
  background: var(--card-hover);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.walk-rate-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.walk-rate-row--featured {
  border-width: 2px;
  border-color: rgba(52, 211, 153, 0.38);
  background: rgba(52, 211, 153, 0.09);
}

.walk-rate-row.is-selected {
  border-color: var(--accent);
  border-width: 2px;
  background: rgba(52, 211, 153, 0.13);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.12);
}

.walk-rate-row__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.walk-rate-row__label {
  font-weight: 800;
  font-size: 1rem;
  color: var(--fg);
}

.walk-rate-row__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(240, 209, 154, 0.45), rgba(232, 184, 109, 0.35));
  color: #1a1613;
  border: 1px solid rgba(232, 184, 109, 0.35);
}

.walk-rate-row__note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 600;
}

.walk-rate-row__price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent);
  flex-shrink: 0;
  white-space: nowrap;
}

.walk-rate-bullets {
  list-style: none;
  margin: 1.25rem 0 1.1rem;
  padding: 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.walk-rate-bullets li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.4rem;
}

.walk-rate-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.72rem;
  height: 0.72rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%2334d399' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.75.75 0 1 1 1.06-1.06L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.walk-book-cta {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: 0.25rem;
}

.testimonial-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(52, 211, 153, 0.22);
  flex-shrink: 0;
}

.testimonial-card .quote-author {
  margin: 0;
}

.testimonial-card .quote-meta {
  margin: 0.2rem 0 0;
}

.testimonials .cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
