/* Inter — самохостинг (вариативный, ось wght 100–900), без запросов к Google.
   Файлы обновляются скриптом scripts/fetch_inter_fonts.py. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

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

:root {
  --amber: #FFB800;
  --amber-dark: #FF8C00;
  --amber-light: #FFD700;
  
  --bg-primary: #0a0a0f;
  --bg-secondary: #13131a;
  --bg-tertiary: #1a1a24;
  
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-tertiary: #6a6a7a;
  
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-highlight: rgba(255, 255, 255, 0.15);
  
  --blur: 20px;
  --blur-heavy: 40px;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(255, 184, 0, 0.15);
  
  --transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  color-scheme: dark;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

:root {
  --header-height: 64px;
  /* safe-top + высота .header-inner (min-height + вертикальные отступы) */
  --header-safe-top: max(env(safe-area-inset-top, 0px), 12px);
  --header-offset: calc(var(--header-safe-top) + var(--header-height) + 8px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Background Orbs */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float 20s infinite ease-in-out;
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--amber-dark) 0%, transparent 70%);
  bottom: 20%;
  left: -150px;
  animation-delay: -5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--amber-light) 0%, transparent 70%);
  top: 40%;
  right: 10%;
  animation-delay: -10s;
}

.orb-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 70%);
  bottom: -100px;
  left: 40%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Glass Effects */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--glass-highlight);
  border-color: var(--glass-highlight);
  transform: translateY(-2px);
}

.glass-card-sm {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.amber-pill {
  background: rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.3);
  color: var(--amber);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

/* Header — фиксированная шапка (мобильная и десктопная) */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100;
  padding-top: var(--header-safe-top);
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(var(--blur-heavy));
  -webkit-backdrop-filter: blur(var(--blur-heavy));
  border-bottom: 1px solid var(--glass-border);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.header.is-scrolled {
  background: rgba(10, 10, 15, 0.98);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  min-height: var(--header-height);
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent;
}

.footer-brand .logo-img {
  width: 44px;
  height: 44px;
}

.logo-text {
  color: var(--text-primary);
}

.logo-text .accent {
  color: var(--amber);
}

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.nav-desktop a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-desktop a:hover {
  color: var(--amber);
}

.header-cta {
  display: none;
  flex-shrink: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* /work-conditions/ и сервисы: своя шапка .wc-top, не сетка .header-inner */
.wc-top .header-actions {
  grid-column: unset;
  grid-row: unset;
  justify-self: unset;
}

.header-contacts {
  display: none;
  align-items: center;
  gap: 8px;
}

.header-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.header-contact:hover {
  border-color: rgba(255, 184, 0, 0.35);
  background: var(--glass-highlight);
  transform: translateY(-1px);
}

.header-contact img {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.nav-mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--glass-border);
}

.nav-mobile-contacts .contact-btn {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

.nav-mobile > .btn {
  width: 100%;
  margin-top: 8px;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-mobile-backdrop:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile {
  display: flex;
  position: fixed;
  top: var(--header-offset);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1095;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--glass-border);
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(var(--blur-heavy));
  -webkit-backdrop-filter: blur(var(--blur-heavy));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
}

.nav-mobile.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  margin-top: 12px;
  margin-bottom: 4px;
  text-align: center;
}

.nav-mobile a:not(.contact-btn) {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  transition: var(--transition);
}

.nav-mobile a:not(.contact-btn):hover {
  color: var(--amber);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-amber {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #000;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
}

.btn-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 184, 0, 0.4);
}

.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: var(--glass-highlight);
  border-color: var(--glass-highlight);
  transform: translateY(-2px);
}

.btn-rustore {
  background: linear-gradient(135deg, #2b6ff7 0%, #6d5cff 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(45, 111, 247, 0.25);
}

.btn-rustore-logo {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-rustore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 111, 247, 0.35);
  filter: brightness(1.05);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

/* Breadcrumbs */
.breadcrumbs {
  width: 100%;
}

.hero-breadcrumbs {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.hero:has(.hero-breadcrumbs) {
  align-items: flex-start;
  padding-top: calc(16px + var(--header-offset));
  min-height: auto;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs-list li:not(:last-child)::after {
  content: "›";
  opacity: 0.45;
}

.breadcrumbs-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.breadcrumbs-list li[aria-current="page"] {
  color: rgba(255, 255, 255, 0.88);
}

.hero-registration-link-wrap {
  margin-top: 14px;
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-registration-link {
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 215, 4, 0.35);
}

.hero-registration-link:hover {
  opacity: 0.9;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: calc(56px + var(--header-offset)) 0 80px;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.hero-badge {
  margin-bottom: 24px;
  align-self: flex-start;
}

.hero-title {
  font-size: clamp(36px, 8vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-lead {
  /* Между hero-title (36–64px) и hero-subtitle (18px) */
  font-size: clamp(22px, 5vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin: 0 0 16px;
  max-width: 36em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Бренд и устойчивые переносы (R-Taxi, R-Помощник, Яндекс Про) */
.brand-name,
.nowrap-phrase {
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
}

.section-title--brand {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: 0.35em;
  row-gap: 0.12em;
}

.card-heading {
  text-wrap: balance;
  hyphens: none;
  line-height: 1.3;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 36em;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 48px;
  width: 100%;
}

.hero-actions-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

.hero-actions-row .hero-action-btn {
  width: 100%;
  min-height: 52px;
  padding: 14px 12px;
  font-size: clamp(13px, 3.4vw, 16px);
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

@media (max-width: 359px) {
  .hero-actions-row {
    grid-template-columns: 1fr;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 48px;
  row-gap: 20px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 4px;
  min-width: 0;
}

.hero-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--amber);
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
}

.hero-stat-divider {
  display: none;
}

/* Phone Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.phone-mockup {
  position: relative;
  width: 280px;
  z-index: 2;
}

.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9/19.5;
  background: linear-gradient(135deg, #1a1a24 0%, #0a0a0f 100%);
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0f1118;
  border-radius: 28px;
  overflow: hidden;
}

.phone-demo {
  position: relative;
  width: 100%;
  height: 100%;
}

.phone-views {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.phone-demo-nav--hidden {
  display: none;
}

.phone-view {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.phone-view.is-active {
  opacity: 1;
  visibility: visible;
}

.phone-shot {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0f1118;
  isolation: isolate;
}

.phone-shot-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  user-select: none;
  -webkit-user-drag: none;
}

.phone-shot--full .phone-shot-img {
  object-fit: contain;
  object-position: top center;
}

.phone-demo-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: none;
  background: #0f1118;
  padding: 6px 0 8px;
}

.phone-demo-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 4px 8px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.phone-demo-nav-item.is-active {
  color: var(--amber);
}

.phone-demo-nav-item:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -2px;
}

.phone-demo-nav-icon {
  font-size: 16px;
  line-height: 1;
}

.phone-screen-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ps-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}

.ps-orb-1 {
  width: 200px;
  height: 200px;
  background: var(--amber);
  top: -50px;
  right: -50px;
}

.ps-orb-2 {
  width: 150px;
  height: 150px;
  background: var(--amber-dark);
  bottom: 20%;
  left: -30px;
}

.phone-app {
  position: relative;
  z-index: 1;
  padding: 44px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

/* Hero — экран профиля R-Taxi */
.phone-app-profile {
  padding: 42px 12px 0;
  gap: 8px;
  background: #0f1118;
}

.pap-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.pap-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pap-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.pap-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pap-chevron {
  color: var(--text-tertiary);
  font-weight: 400;
}

.pap-add {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  cursor: default;
}

.pap-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
}

.pap-status-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pap-status-icon.busy {
  background: radial-gradient(circle, #ff4444 30%, transparent 32%),
              radial-gradient(circle, transparent 45%, #ff4444 47%, transparent 49%),
              radial-gradient(circle, transparent 62%, #ff4444 64%, transparent 66%);
}

.pap-status-globe {
  margin-left: auto;
  font-size: 14px;
  opacity: 0.8;
}

.pap-toggles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.pap-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pap-switch {
  width: 34px;
  height: 18px;
  border-radius: 100px;
  background: #3a3a48;
  position: relative;
}

.pap-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #888;
  transition: var(--transition);
}

.pap-toggle.on .pap-switch {
  background: rgba(255, 184, 0, 0.35);
}

.pap-toggle.on .pap-switch::after {
  left: 18px;
  background: var(--amber);
}

.pap-reports {
  padding: 4px 0;
}

.pap-report {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pap-report:last-child {
  border-bottom: none;
}

.pap-link {
  color: var(--amber);
  font-weight: 600;
  font-size: 10px;
  white-space: nowrap;
}

.pap-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
}

.pap-card-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.pap-card-body {
  flex: 1;
  min-width: 0;
}

.pap-card-title {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.pap-card-sub {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.pap-card-sub.accent {
  color: var(--amber);
  font-weight: 600;
}

.pap-card-tags {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.pap-card-mask {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.pap-nav {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--glass-border);
  padding: 8px 0 4px;
}

.pap-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.pap-nav-item.active {
  color: var(--amber);
}

.pap-nav-icon {
  font-size: 16px;
}

.pa-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pa-greeting {
  font-size: 16px;
  font-weight: 600;
}

.pa-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.pa-balance-label {
  font-size: 11px;
  color: var(--text-tertiary);
}

.pa-balance-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
}

.pa-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: #22c55e;
  width: fit-content;
}

.pa-status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.pa-order {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pa-order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pa-order-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--amber);
}

.pa-order-badge {
  padding: 4px 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
}

.pa-order-route {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 8px;
}

.pa-order-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.pa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pa-dot-from {
  background: var(--amber);
}

.pa-dot-to {
  background: #22c55e;
}

.pa-order-line {
  width: 1px;
  height: 16px;
  background: var(--glass-border);
  margin-left: 4px;
}

.pa-order-eta {
  font-size: 11px;
  color: var(--text-tertiary);
}

.pa-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pa-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.pa-stat-icon {
  font-size: 20px;
}

.pa-stat-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pa-stat-num {
  font-size: 16px;
  font-weight: 700;
}

.pa-stat-lbl {
  font-size: 11px;
  color: var(--text-tertiary);
}

.pa-withdraw {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.phone-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 184, 0, 0.3) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: glow 4s ease-in-out infinite;
  will-change: transform;
}

@keyframes glow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  z-index: 3;
  margin: 0;
  border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
  animation: float-card 6s ease-in-out infinite;
  transition: opacity 0.35s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.floating-card:hover {
  border-color: rgba(255, 184, 0, 0.35);
}

.floating-card.is-active {
  opacity: 1;
}

.floating-card:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.fc-1 {
  top: 20%;
  left: -40px;
  animation-delay: 0s;
}

.fc-2 {
  bottom: 25%;
  right: -30px;
  animation-delay: -3s;
}

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fc-icon {
  font-size: 24px;
}

.fc-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.fc-sub {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-badge {
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 6.5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-wrap: balance;
  hyphens: none;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* App Section */
.app-section {
  background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 50%, transparent 100%);
}

.app-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(43, 111, 247, 0.15) 0%, rgba(109, 92, 255, 0.12) 100%);
  border: 1px solid rgba(109, 92, 255, 0.35);
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

.section-header .app-download-btn {
  margin-top: 28px;
}

.app-download-btn:hover {
  border-color: rgba(109, 92, 255, 0.55);
  background: linear-gradient(135deg, rgba(43, 111, 247, 0.22) 0%, rgba(109, 92, 255, 0.18) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(45, 111, 247, 0.15);
  color: var(--text-primary);
  text-decoration: none;
}

.app-download-btn svg {
  margin-left: auto;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.app-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  overflow: hidden;
}

.app-download-icon img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.app-download-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.app-download-text strong {
  font-size: 16px;
  font-weight: 700;
}

.app-download-text small {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.app-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.showcase-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.showcase-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 204, 0, 0.12);
}

.showcase-card img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.showcase-card-hint {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 204, 0, 0.35);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.showcase-card:hover .showcase-card-hint,
.showcase-card:focus-visible .showcase-card-hint {
  opacity: 1;
  color: var(--accent);
}

.showcase-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.showcase-lightbox[hidden] {
  display: none !important;
}

.showcase-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.showcase-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 204, 0, 0.2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.showcase-lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.showcase-lightbox-close:hover {
  background: rgba(255, 204, 0, 0.2);
}

.showcase-lightbox-title {
  margin: 0;
  padding-right: 40px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.showcase-lightbox-img-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
}

.showcase-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .showcase-lightbox-panel {
    width: min(100%, 480px);
  }
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.app-phone-col {
  display: flex;
  justify-content: center;
}

.app-phone-wrap {
  position: relative;
}

.phone-mockup-dark .phone-screen-dark {
  background: linear-gradient(180deg, #0a0a0f 0%, #13131a 100%);
}

.ps-orb-d1 {
  width: 180px;
  height: 180px;
  background: var(--amber);
  bottom: -40px;
  right: -40px;
  opacity: 0.3;
}

.ps-orb-d2 {
  width: 140px;
  height: 140px;
  background: var(--amber-dark);
  top: 10%;
  left: -30px;
  opacity: 0.25;
}

.phone-app-dark .pa-period {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.pa-chart {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pa-chart-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  height: 120px;
}

.pa-bar {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  font-size: 10px;
  color: var(--text-tertiary);
  transition: var(--transition);
}

.pa-bar.active {
  background: linear-gradient(180deg, var(--amber) 0%, var(--amber-dark) 100%);
  border-color: var(--amber);
  color: #000;
  font-weight: 600;
}

.pa-chart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--glass-border);
}

.pa-chart-label {
  font-size: 12px;
  color: var(--text-tertiary);
}

.pa-chart-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--amber);
}

.pa-insights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pa-insight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.pa-insight-icon {
  font-size: 24px;
}

.pa-insight-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pa-insight-text {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* Bots Row */
.bots-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.bots-title {
  text-align: center;
}

.bots-title h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.bots-title p {
  font-size: 16px;
  color: var(--text-secondary);
}

.bots-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.bot-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.bot-card:hover {
  border-color: rgba(255, 184, 0, 0.45);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.bot-card:active {
  transform: translateY(0);
}

.bot-card:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

.bot-info {
  flex: 1;
  min-width: 0;
}

.bot-card-action {
  flex-shrink: 0;
  color: var(--amber);
  font-size: 14px;
  font-weight: 600;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.contact-links--equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  align-items: stretch;
}

.contact-links--equal .contact-btn {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

.signup-contacts.contact-links--equal .contact-links-label {
  grid-column: 1 / -1;
  width: 100%;
  margin-right: 0;
}

.adv-card .contact-links--equal {
  margin-top: auto;
}

.contact-links-label {
  width: 100%;
  font-size: 13px;
  color: var(--text-tertiary);
}

.signup-contacts {
  margin-top: 0;
  margin-bottom: 24px;
}

.signup-contacts .contact-links-label {
  width: 100%;
  margin-right: 0;
  text-align: center;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.contact-btn:hover {
  border-color: rgba(255, 184, 0, 0.35);
  background: var(--glass-highlight);
}

.contact-btn img {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}

.fab-stack {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

body.cookie-banner-open .fab-stack {
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body.register-modal-open .fab-stack,
body.nav-open .fab-stack {
  z-index: 850;
}

.support-fab {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fab-btn,
.support-fab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: none;
}

.scroll-top-btn {
  color: var(--amber);
  background: rgba(22, 22, 30, 0.96);
}

.scroll-top-btn[hidden] {
  display: none !important;
}

.fab-btn:hover,
.support-fab-btn:hover {
  border-color: rgba(255, 184, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 184, 0, 0.15);
}

.support-fab-btn img {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

@media (max-width: 1023px) {
  .header > .container {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }

  .header-contacts {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .header-actions {
    display: flex;
    justify-content: center;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    min-width: 0;
    z-index: 1;
  }

  .support-fab {
    display: none;
  }

  .fab-btn:hover,
  .support-fab-btn:hover {
    transform: none;
  }

  .logo-text {
    display: none;
  }

  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px 12px;
    padding: 12px 0;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    z-index: 2;
  }

  .nav-desktop {
    display: none;
  }

  .burger {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    z-index: 2;
    margin-right: 2px;
  }

  .nav-mobile {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }

  .nav-mobile-contacts {
    align-items: stretch;
  }

  .nav-mobile > .btn {
    text-align: center;
  }
}

body.nav-open {
  overflow: hidden;
}

body.showcase-lightbox-open {
  overflow: hidden;
}

.bot-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.bot-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bot-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.bot-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Advantages Section */
.adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

.adv-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  box-sizing: border-box;
}

.adv-grid-3 {
  align-items: stretch;
}

@media (min-width: 900px) {
  .adv-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.adv-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
}

.adv-icon.amber-bg {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  border-color: var(--amber);
  color: #000;
}

.adv-card h3,
.bots-title h3,
.step h3 {
  font-size: 22px;
  font-weight: 700;
  text-wrap: balance;
  hyphens: none;
  line-height: 1.3;
}

.adv-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.adv-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  width: fit-content;
  margin-top: auto;
}

.adv-tag--link {
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.adv-tag--link:hover {
  background: rgba(255, 184, 0, 0.18);
  border-color: rgba(255, 184, 0, 0.5);
}

.adv-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.adv-link-btn:hover {
  border-color: rgba(255, 184, 0, 0.4);
  background: rgba(255, 184, 0, 0.08);
}

.adv-link-btn img {
  flex-shrink: 0;
}

/* Rates Section */
.rates-section {
  background: linear-gradient(180deg, transparent 0%, var(--bg-tertiary) 50%, transparent 100%);
}

.rates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 60px;
}

.rate-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.rate-featured {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
  border-color: rgba(255, 184, 0, 0.3);
  box-shadow: var(--shadow-glow);
}

.rate-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rate-name {
  font-size: 20px;
  font-weight: 700;
}

.rate-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

.rate-badge.popular {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
}

.rate-badge.featured {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #000;
}

.rate-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.rate-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.rate-old {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-tertiary);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 100, 100, 0.7);
}

.rate-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--amber);
}

.rate-currency {
  font-size: 24px;
  font-weight: 700;
  color: var(--amber);
}

.rate-period {
  font-size: 16px;
  color: var(--text-tertiary);
}

.rate-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.rate-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.rate-features li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
}

.rate-btn {
  width: 100%;
}

/* Calculator */
.calc {
  padding: 40px;
}

.calc-header {
  text-align: center;
  margin-bottom: 32px;
}

.calc-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.calc-header p {
  font-size: 15px;
  color: var(--text-secondary);
}

.calc-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.calc-val {
  color: var(--amber);
  font-weight: 700;
}

.calc-field select,
.calc-field input[type="range"] {
  width: 100%;
}

.city-select {
  position: relative;
}

.city-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  transition: var(--transition);
}

.city-select-trigger:hover,
.city-select.is-open .city-select-trigger {
  border-color: rgba(255, 184, 0, 0.35);
  background: var(--glass-highlight);
}

.city-select-trigger svg {
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.2s ease;
}

.city-select.is-open .city-select-trigger svg {
  transform: rotate(180deg);
}

.city-select.is-locked .city-select-trigger {
  cursor: default;
  pointer-events: none;
}

.city-select-trigger--preset {
  cursor: default;
  pointer-events: none;
}

.city-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.city-select-option {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.city-select-option:hover {
  background: var(--glass-highlight);
}

.city-select-option.is-active {
  background: rgba(255, 184, 0, 0.12);
  color: var(--amber);
  font-weight: 600;
}

.calc-field select {
  padding: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  cursor: pointer;
}

.calc-field input[type="range"] {
  height: 6px;
  background: var(--glass-bg);
  border-radius: 100px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.4);
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(255, 184, 0, 0.4);
}

.calc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.calc-result-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calc-result-value {
  font-size: clamp(1.375rem, 4vw + 0.75rem, 3rem);
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 8px;
  white-space: nowrap;
  line-height: 1.1;
  max-width: 100%;
}

.calc-result-sub {
  font-size: 13px;
  color: var(--text-tertiary);
}

/* Steps Section */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.step {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.step-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.3;
  line-height: 1;
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item summary {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}

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

.faq-item summary svg {
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 24px 24px;
}

.faq-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Signup Section */
.signup-section {
  padding-bottom: 120px;
}

.register-section {
  display: none;
}

.register-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.register-modal[hidden] {
  display: none !important;
}

.register-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.register-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 204, 0, 0.2);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.register-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.register-modal-close:hover {
  background: rgba(255, 204, 0, 0.2);
}

.register-modal-header {
  position: relative;
  flex-shrink: 0;
  padding: 24px 48px 12px 24px;
  text-align: left;
}

.register-modal-header .section-title {
  font-size: clamp(24px, 4vw, 32px);
  margin: 12px 0 8px;
}

.register-modal-header .section-subtitle {
  margin: 0;
  font-size: 14px;
}

.register-modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px 20px;
}

.register-modal-body .register-card {
  padding: 20px 16px 24px;
  max-width: none;
  margin: 0;
}

.signup-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

html.register-modal-open,
body.register-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.register-card {
  padding: 32px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.register-fieldset {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.register-fieldset legend {
  font-size: 18px;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 4px;
  padding: 0;
}

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

.register-grid-2 {
  grid-template-columns: 1fr;
}

.register-grid-3 {
  grid-template-columns: 1fr;
}

.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  color-scheme: dark;
  box-sizing: border-box;
}

.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--glass-highlight);
}

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

.register-ip-only {
  display: none;
}

.register-success {
  text-align: center;
  padding: 24px 0;
}

.register-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

/* После успешной отправки: оставляем на странице ТОЛЬКО блок «Анкета принята».
   Прячем шапку/прогресс/форму/навигацию явно (.register-form и .register-wizard-nav
   задают display и перебивают [hidden]). */
.register-modal-dialog.is-register-submitted .register-modal-header,
.register-modal-dialog.is-register-submitted .register-wizard-progress,
.register-modal-dialog.is-register-submitted #registerForm,
.register-modal-dialog.is-register-submitted .register-wizard-nav {
  display: none !important;
}

.register-modal-dialog.is-register-submitted .register-success {
  animation: registerSuccessIn 0.4s ease both;
}

@keyframes registerSuccessIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .register-modal-dialog.is-register-submitted .register-success {
    animation: none;
  }
}

@media (min-width: 640px) {
  .register-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .register-card {
    padding: 40px 36px;
  }
}

.signup-section {
  background: linear-gradient(180deg, transparent 0%, var(--bg-secondary) 50%, transparent 100%);
}

.signup-wrap {
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.signup-card {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.08) 0%, rgba(255, 140, 0, 0.04) 100%);
  border-color: rgba(255, 184, 0, 0.2);
}

.signup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.signup-content .section-badge {
  align-self: center;
  justify-content: center;
  text-align: center;
  max-width: 100%;
  white-space: nowrap;
  font-size: clamp(11px, 3.1vw, 14px);
  padding-inline: clamp(10px, 3vw, 16px);
  flex-shrink: 0;
}

.signup-title {
  font-size: 36px;
  font-weight: 800;
  width: 100%;
  text-align: center;
}

.signup-subtitle {
  font-size: clamp(12px, 2.6vw, 16px);
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: none;
  text-align: center;
  white-space: nowrap;
}

.signup-cta-btn {
  margin-bottom: 20px;
  align-self: stretch;
  max-width: 100%;
}

.signup-cta-btn svg {
  flex-shrink: 0;
}

.signup-subtitle .signup-link {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-subtitle .signup-link:hover {
  color: var(--text-primary);
}

.signup-link-btn:hover {
  color: var(--text-primary);
}

/* Honeypot: скрыто от людей, видно ботам */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.landing-captcha {
  margin: 0 0 12px;
  width: 100%;
  max-width: 100%;
  min-height: 0;
  height: auto;
  flex-shrink: 0;
  display: block;
  color-scheme: dark;
  /* Фон как у формы: обрезаем прямоугольный iframe по скруглению виджета */
  background-color: var(--bg-secondary);
  border: none;
  padding: 0;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: none;
  isolation: isolate;
}

.landing-captcha-placeholder {
  margin: 0;
  padding: 36px 8px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.landing-captcha--ready .landing-captcha-placeholder {
  display: none;
}

.landing-captcha > div,
.landing-captcha iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  border: 0;
  vertical-align: top;
  background-color: var(--bg-secondary);
}

.landing-captcha iframe {
  border-radius: 11px;
}

.signup-form .landing-captcha {
  align-self: stretch;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-margin-top: calc(var(--header-offset) + 12px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.signup-form .form-row--stacked {
  grid-template-columns: 1fr;
}

.signup-form .form-field {
  position: relative;
  z-index: 0;
  min-width: 0;
}

.signup-form .form-field input {
  display: block;
  min-height: 48px;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  color-scheme: dark;
}

.form-field select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--glass-highlight);
}

.form-field input::placeholder {
  color: var(--text-tertiary);
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-hint {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-check a {
  color: var(--amber);
  text-decoration: none;
}

.form-check a:hover {
  text-decoration: underline;
}

.form-error.form-error--success {
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.form-error {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 100, 100, 0.35);
  color: #ffb4b4;
  font-size: 14px;
  line-height: 1.5;
}

.form-success {
  text-align: center;
  padding: 32px;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #000;
  margin: 0 auto 16px;
}

.success-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.success-text {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 0 40px;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 400px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

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

.footer-col--cities {
  gap: 12px;
}

.footer-cities-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.14) 0%, rgba(255, 255, 255, 0.05) 55%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 184, 0, 0.28);
  text-decoration: none;
  transition: var(--transition);
  width: 100%;
}

.footer-cities-cta:hover {
  border-color: rgba(255, 184, 0, 0.5);
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.2) 0%, rgba(255, 255, 255, 0.07) 100%);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.footer-cities-cta__body {
  flex: 1;
  min-width: 0;
}

.footer-cities-cta__title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

.footer-cities-cta__meta {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.footer-cities-cta__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 184, 0, 0.18);
  color: var(--amber);
  margin-left: auto;
}

.footer-home-link {
  font-size: 13px;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer-legal {
  line-height: 1.45;
  max-width: 52rem;
}

.footer--compact {
  margin-top: 48px;
}

/* Sticky-footer для контентных страниц-каркасов (блог / подбор / регистрация):
   на короткой странице (напр. /registration/) футер прижимается к низу экрана,
   а не «висит» посреди с пустотой под ним. Главную/города не затрагивает. */
body.page-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body.page-shell main {
  flex: 1 0 auto;
}
body.page-shell .footer {
  flex-shrink: 0;
}
/* Контента в каркасе обычно немного — лишний нижний воздух секции убираем,
   футер и так прижат к низу за счёт flex. */
body.page-shell main > .section {
  padding-bottom: 32px;
}

.footer--compact .footer-inner {
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer--compact .footer-links {
  margin-bottom: 0;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  width: calc(100% - 24px);
  max-width: 640px;
  z-index: 1200;
  padding: 12px 14px;
  background: rgba(12, 12, 14, 0.96);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.cookie-consent-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie-consent p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-secondary);
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-consent a {
  color: var(--amber);
}

.cookie-consent .btn {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 9px 18px;
  font-size: 14px;
}

@media (max-width: 767px) {
  .hero {
    padding-top: calc(32px + var(--header-offset));
    padding-bottom: 48px;
    min-height: auto;
    align-items: flex-start;
  }

  .hero-inner {
    gap: 40px;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-badge {
    align-self: center;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 40px);
    margin-bottom: 12px;
    width: 100%;
  }

  .hero-lead {
    font-size: clamp(20px, 5.2vw, 26px);
    line-height: 1.3;
    margin-bottom: 14px;
    max-width: none;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 28px;
    max-width: none;
  }

  .hero-actions {
    margin-bottom: 32px;
    width: 100%;
  }

  .hero-actions-row {
    max-width: 520px;
    margin: 0 auto;
    gap: 8px;
  }

  /* Компактные hero-кнопки на мобайле (были слишком крупные, RuStore переносился в 2 строки). */
  .hero-actions-row .hero-action-btn {
    min-height: 44px;
    padding: 8px 10px;
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.15;
    gap: 6px;
  }

  .hero-actions-row .btn-rustore-logo {
    width: 18px;
    height: 18px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 22px 16px;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-stat {
    align-items: center;
    text-align: center;
  }

  .hero-stat-value {
    font-size: 24px;
  }

  .hero-stat-label {
    font-size: 12px;
    line-height: 1.35;
    max-width: 9rem;
  }

  .signup-wrap {
    padding: 28px 20px;
    justify-items: stretch;
  }

  .signup-content {
    align-items: center;
    text-align: center;
  }

  .signup-content .section-badge {
    align-self: center;
  }

  .signup-title,
  .signup-subtitle {
    width: 100%;
    text-align: center;
  }

  .signup-cta-btn,
  .signup-contacts {
    width: 100%;
    max-width: 100%;
  }

  .signup-contacts.contact-links--equal {
    justify-items: stretch;
  }

  .contact-links--equal .contact-btn {
    white-space: normal;
    text-align: center;
    min-height: 44px;
  }

  .form-check {
    text-align: left;
    align-self: stretch;
  }

  .form-row,
  .form-field {
    width: 100%;
    min-width: 0;
  }

  .signup-form .form-row,
  .signup-form .form-row--stacked {
    grid-template-columns: 1fr;
  }

  .signup-content .signup-form {
    align-self: stretch;
  }

  .signup-form .landing-captcha {
    width: 100%;
    margin: 8px 0 12px;
  }

  .section-header {
    padding-inline: 4px;
    margin-bottom: 40px;
  }

  .section-title--brand .brand-name {
    flex: 0 0 100%;
    text-align: center;
  }

  .adv-card {
    padding: 24px 20px;
  }

  .adv-card h3 {
    font-size: clamp(18px, 5vw, 22px);
  }
}

/* Animations */
[data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-anim="fade-up"].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .adv-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bots-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-showcase {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
  
  .section {
    padding: 100px 0;
  }
  
  .hero {
    padding: 140px 0 100px;
  }

  .hero:has(.hero-breadcrumbs) {
    padding-top: calc(20px + var(--header-offset));
    padding-bottom: 100px;
  }
  
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .hero-content {
    align-items: flex-start;
    text-align: left;
  }

  .hero-badge {
    align-self: flex-start;
  }

  .hero-stat:first-child,
  .hero-stat:last-child {
    padding-left: 0;
    padding-right: 0;
  }

  .app-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  
  .calc-body {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
  
  .footer-top {
    grid-template-columns: minmax(200px, 260px) 1fr;
    gap: 48px 72px;
    align-items: start;
  }

  .footer-links {
    gap: 28px 40px;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  /* Десктоп: 4 показателя в один ряд по ширине блока кнопок. */
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 28px;
  }

  .footer-top {
    grid-template-columns: 280px 1fr;
    gap: 56px 96px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr 1.05fr 1.25fr;
    gap: 32px 64px;
    width: 100%;
  }

  .footer-col--cities {
    min-width: 220px;
  }

  :root {
    --header-height: 72px;
  }

  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    min-height: var(--header-height);
  }

  .nav-desktop {
    display: flex;
    justify-self: center;
    gap: 8px;
  }

  .header-cta {
    display: inline-flex;
  }

  .header-contacts {
    display: flex;
  }

  .header-actions {
    justify-self: end;
  }
  
  .burger {
    display: none;
  }
  
  .adv-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .rates-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .phone-mockup {
    width: 320px;
  }
}

@media (min-width: 1280px) {
  .container {
    padding: 0;
  }
}

/* Mobile / touch: static UI without decorative motion (iPhone-like) */
@media (max-width: 1023px), (hover: none) and (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }

  .bg-orbs,
  .orb,
  .phone-glow,
  .floating-card {
    display: none !important;
  }

  .glass-card,
  .glass-pill,
  .glass-card-sm,
  .btn-glass,
  .nav-mobile,
  .nav-mobile-backdrop,
  .cookie-consent,
  .showcase-lightbox-backdrop,
  .register-modal-backdrop,
  .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .glass-card,
  .glass-pill,
  .glass-card-sm,
  .btn-glass {
    background: rgba(22, 22, 30, 0.94);
  }

  .header {
    background: rgba(10, 10, 15, 0.98);
  }

  .nav-mobile {
    background: rgba(10, 10, 15, 0.98);
  }

  .glass-card:hover,
  .btn-glass:hover,
  .btn-amber:hover {
    transform: none;
  }

  .register-wizard-nav .btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
  }

  .register-wizard-nav .btn-amber {
    box-shadow: none;
  }

  [data-anim="fade-up"] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .phone-view,
  .phone-demo-nav-item,
  .glass-card,
  .btn,
  .header,
  .nav-mobile {
    transition: none !important;
  }

  .pulse-dot,
  .pa-status-dot,
  .orb,
  .phone-glow,
  .floating-card {
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
  }
}

@media (max-width: 1023px) {
  :root {
    --header-offset: calc(var(--header-safe-top) + var(--header-height) + 12px);
  }

  html,
  body {
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior: none;
    max-width: 100%;
    width: 100%;
  }

  body {
    touch-action: pan-y pinch-zoom;
    position: relative;
  }

  body.nav-open,
  body.showcase-lightbox-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  html.register-modal-open,
  body.register-modal-open {
    overflow: hidden;
    overscroll-behavior: none;
    height: 100%;
    max-height: 100%;
    touch-action: none;
  }

  body.register-modal-open .register-modal--wizard .register-modal-body,
  body.register-modal-open .register-modal--wizard .register-wizard-nav,
  body.register-modal-open .register-modal--wizard .register-modal-close {
    touch-action: manipulation;
  }

  .header,
  .hero,
  section,
  footer,
  .cookie-consent,
  .signup-section,
  .signup-wrap,
  .signup-card {
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
  }

  .container,
  .header-inner,
  .hero-inner,
  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .signup-subtitle {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  .hero-lead,
  .hero-title,
  .section-title {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .header-cta {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .park-join-chips {
    max-width: 100%;
  }

  .register-modal.register-modal--wizard {
    touch-action: pan-y pinch-zoom;
  }
}

@media (max-width: 767px) {
  .hero-visual {
    min-height: 380px;
    overflow: hidden;
    max-width: 100%;
  }

  .phone-mockup {
    width: 240px;
    max-width: 100%;
  }
}

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

  .orb,
  .phone-glow,
  .floating-card,
  .pulse-dot {
    animation: none !important;
  }

  [data-anim="fade-up"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Park join wizard (mobile) */
.park-join-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 12px;
}

.park-join-chip {
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font: inherit;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.park-join-chip.is-selected {
  background: rgba(255, 204, 0, 0.18);
  border-color: rgba(255, 204, 0, 0.45);
  color: var(--text-primary);
}

.form-label-muted {
  color: var(--text-muted);
  font-weight: normal;
}

.register-wizard-progress {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.register-wizard-hint {
  text-align: center;
  margin-bottom: 12px;
}

.register-wizard-nav [data-wizard-prev] {
  display: none !important;
}

.register-referral-slot {
  margin: 0;
}

.register-referral-add-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
}

.register-referral-add-btn:hover {
  color: var(--amber);
}

.register-referral-field {
  overflow: hidden;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.register-referral-slot:not(.is-expanded) .register-referral-field {
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  max-height: 0;
  margin: 0;
  padding: 0;
}

.register-referral-slot.is-expanded .register-referral-field {
  opacity: 1;
  transform: none;
  max-height: 120px;
}

.register-referral-slot.is-expanded .register-referral-add-btn {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .register-referral-field {
    transition: none;
  }
}

.register-wizard-call-field {
  display: none !important;
  margin-top: 4px;
}

.register-wizard-call-field .register-wizard-call-btn {
  min-height: 44px;
}

.register-wizard-nav [data-wizard-call],
.register-wizard-call-field,
.register-wizard-call-btn {
  display: none !important;
}

.register-wizard-nav [data-wizard-call][hidden],
.register-wizard-nav [data-wizard-back][hidden],
.register-wizard-nav [data-wizard-next][hidden] {
  /* .btn задаёт display:inline-flex и перебивает UA [hidden]{display:none},
     поэтому скрываем кнопки навигации мастера явно (важно для «Далее» на шаге submit). */
  display: none !important;
}

.register-wizard-nav.is-wizard-first-step [data-wizard-call]:not([hidden]) {
  display: inline-flex !important;
  min-width: 140px;
  flex: 1 1 0;
}

.register-modal--wizard .register-wizard-nav.is-wizard-first-step {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  gap: 10px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.register-modal--wizard .register-wizard-nav.is-wizard-first-step [data-wizard-next]:not([hidden]) {
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
}

.register-wizard-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: stretch;
  margin-top: 8px;
  flex-shrink: 0;
  z-index: 2;
  padding: 10px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  background: transparent;
  border-top: 1px solid var(--glass-border);
  box-shadow: none;
}

.register-wizard-nav-btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: 12px 10px;
  font-size: 14px;
  box-shadow: none !important;
  transform: none !important;
}

.register-wizard-nav-next {
  flex: 1.2 1 0;
}

.register-wizard-nav .btn-glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--text-primary);
}

.register-wizard-nav .btn-glass:hover,
.register-wizard-nav .btn-amber:hover {
  transform: none;
  box-shadow: none;
}

.register-wizard-nav .btn-amber {
  box-shadow: none;
  color: #000;
}

.register-form--wizard .register-fieldset[data-wizard-step]:not(.is-active),
.register-form--wizard .register-wizard-submit[data-wizard-step]:not(.is-active) {
  display: none !important;
}

.register-form--wizard .register-fieldset.is-active,
.register-form--wizard .register-wizard-submit.is-active {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.register-desktop-only,
.register-desktop-submit-wrap,
.register-modal-badge,
.register-modal-title--desktop,
.register-modal-subtitle--desktop {
  display: none !important;
}

.register-modal--wizard .register-modal-title--wizard {
  display: block !important;
}

.register-modal--wizard .register-modal-body .register-card {
  border: none;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.register-wizard-legend {
  text-align: center;
  width: 100%;
  margin-bottom: 4px;
}

.register-modal--wizard .register-wizard-nav {
  background: var(--bg-secondary);
  border-top: none;
}

@media (min-width: 1024px) {
  .register-modal--wizard .register-modal-header {
    display: grid;
    grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
    align-items: center;
    gap: 0 12px;
    text-align: center;
    padding: 20px 16px 12px;
  }

  .register-modal--wizard .register-modal-close {
    position: static;
    top: auto;
    right: auto;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    margin: 0;
    z-index: 2;
  }

  .register-modal--wizard .register-modal-title--wizard {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    text-align: center;
    pointer-events: none;
  }

  .register-modal--wizard .register-wizard-nav {
    justify-content: stretch;
    gap: 12px;
    padding: 12px 24px 20px;
  }

  .register-modal--wizard .register-wizard-nav.is-wizard-first-step [data-wizard-call]:not([hidden]) {
    flex: 1 1 0;
    min-width: 0;
  }

  .register-form--wizard [data-wizard-step='employment'].is-active .register-wizard-call-field {
    display: block;
  }

  .register-modal--wizard .register-wizard-nav.is-wizard-first-step > [data-wizard-call] {
    display: none !important;
  }

  .register-modal--wizard .register-wizard-nav-btn:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }

  .register-modal--wizard .register-wizard-nav-next:not([hidden]) {
    flex: 1 1 0;
    max-width: none;
    min-height: 48px;
  }

  .park-join-chips {
    justify-content: center;
  }
}

@media (max-width: 1023px) {
  .register-wizard-call-field {
    display: none !important;
  }

  .register-form--wizard .register-fieldset.is-active,
  .register-form--wizard .register-wizard-submit.is-active {
    gap: 12px;
  }

  .register-modal.register-modal--wizard {
    position: fixed;
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    height: 100dvh;
    height: 100svh;
    min-height: 0;
    max-height: 100dvh;
    max-height: 100svh;
    box-sizing: border-box;
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
    transform: none;
    will-change: auto;
  }

  @supports (-webkit-touch-callout: none) {
    .register-modal.register-modal--wizard:not(.register-modal--vv-fit):not(.register-modal--keyboard) {
      height: -webkit-fill-available;
      max-height: -webkit-fill-available;
    }
  }

  .register-modal.register-modal--wizard.register-modal--vv-fit,
  .register-modal.register-modal--wizard.register-modal--keyboard {
    top: var(--register-vv-offset-top, 0);
    right: 0;
    bottom: auto;
    left: 0;
    height: var(--register-vv-height, 100svh);
    min-height: 0;
    max-height: var(--register-vv-height, 100svh);
    transform: none;
  }

  .register-modal--vv-fit.register-modal--wizard .register-modal-dialog,
  .register-modal--keyboard.register-modal--wizard .register-modal-dialog {
    position: relative;
  }

  .register-modal--vv-fit.register-modal--wizard .register-modal-body,
  .register-modal--keyboard.register-modal--wizard .register-modal-body {
    scroll-padding-bottom: calc(var(--register-nav-height, 72px) + 16px);
    padding-bottom: calc(var(--register-nav-height, 72px) + 12px);
  }

  .register-modal--vv-fit.register-modal--wizard:not(.register-modal--ios-nav-pinned) .register-wizard-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 0;
    flex-shrink: 0;
    z-index: 5;
  }

  .register-wizard-nav--ios-float {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    z-index: 2300;
    box-sizing: border-box;
    touch-action: manipulation;
  }

  .register-modal--ios-nav-pinned.register-modal--wizard .register-modal-body {
    padding-bottom: calc(var(--register-nav-height, 72px) + var(--register-keyboard-gap, 0px) + 20px);
  }

  .register-modal--wizard .register-modal-dialog {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 16px 16px 0 0;
    align-self: stretch;
    margin: 0;
    overflow: hidden;
  }

  .register-modal-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    border-radius: 16px 16px 0 0;
    align-self: stretch;
    margin: 0;
  }

  .register-modal.register-modal--wizard {
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    overflow: hidden;
    overscroll-behavior: none;
  }

  .register-modal-header {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    text-align: center;
  }

  .register-modal--wizard .register-modal-badge {
    display: none !important;
  }

  .register-modal--wizard .register-modal-header {
    display: grid;
    grid-template-columns: minmax(0, 44px) minmax(0, 1fr) minmax(0, 44px);
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 12px calc(16px + env(safe-area-inset-right, 0px)) 8px
      calc(16px + env(safe-area-inset-left, 0px));
    text-align: center;
  }

  .register-modal--wizard .register-modal-close {
    position: static;
    inset: auto;
    top: auto;
    right: auto;
    left: auto;
    z-index: 2;
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    margin: 0;
    width: 36px;
    height: 36px;
    font-size: 1.35rem;
  }

  .register-modal--wizard .register-modal-title--wizard {
    display: block !important;
    grid-column: 1 / -1;
    grid-row: 1;
    z-index: 1;
    justify-self: center;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: clamp(22px, 5.5vw, 28px);
    line-height: 1.2;
    text-align: center;
    pointer-events: none;
  }

  .register-modal--wizard .register-modal-title--desktop {
    display: none !important;
  }

  .register-modal--wizard .register-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-bottom: 8px;
  }

  .register-modal--wizard .register-modal-header {
    flex-shrink: 0;
  }

  .register-modal--wizard .register-modal-body .register-card {
    padding-bottom: 12px;
  }

  .register-modal--wizard .register-wizard-nav {
    position: relative;
    z-index: 2;
    margin-top: auto;
    flex: 0 0 auto;
    flex-shrink: 0;
    width: 100%;
    padding: 10px max(16px, env(safe-area-inset-right, 0px))
      max(10px, env(safe-area-inset-bottom, 0px))
      max(16px, env(safe-area-inset-left, 0px));
    background: var(--bg-secondary);
    border-top: none;
    box-sizing: border-box;
  }

  .register-modal-body {
    overflow-x: hidden;
    overscroll-behavior-x: none;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .register-modal-body .register-card,
  .register-form,
  .register-form--wizard .register-fieldset.is-active,
  .register-form--wizard .register-wizard-submit.is-active,
  .form-field,
  .form-field input,
  .form-field select,
  .register-wizard-nav {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  .park-join-chips {
    max-width: 100%;
    justify-content: center;
  }
}

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

@media (min-width: 600px) {
  .top-cities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .top-cities {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.top-city {
  display: block;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.top-city:hover {
  color: var(--amber);
  border-color: rgba(234, 179, 8, 0.35);
}

/* Блог/статьи: ссылки в тон тёмному дизайну — без дефолтного синего и подчёркивания */
.adv-card[href],
.adv-card[href] .card-heading {
  text-decoration: none;
  color: var(--text-primary);
}
.adv-card[href]:hover .card-heading {
  color: var(--amber);
}
.article-wrap a:not(.btn) {
  color: var(--amber);
  text-decoration: none;
}
.article-wrap a:not(.btn):hover {
  text-decoration: underline;
}

.top-cities-more {
  margin: 28px 0 0;
  text-align: center;
}

/* ===== Подбор тарифа по авто (tariff finder) ===== */
.tf-wrap { max-width: 760px; margin: 0 auto; }
.tf-form { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; }
.tf-field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 260px; position: relative; }
.tf-field--year { flex: 0 1 140px; }
.tf-label { font-size: 13px; color: var(--text-tertiary); }
.tf-input {
  width: 100%; padding: 13px 15px; border-radius: 12px; font-size: 16px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  color: var(--text-primary); outline: none; transition: border-color .15s;
}
.tf-input:focus { border-color: var(--amber, #ffb020); }
.tf-city-select { cursor: pointer; }
.tf-ac-menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin-top: 4px;
  max-height: 280px; overflow-y: auto; border-radius: 12px;
  background: #1b1b20; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 12px 40px rgba(0,0,0,.5);
}
.tf-ac-item { padding: 11px 15px; cursor: pointer; font-size: 15px; }
.tf-ac-item:hover { background: rgba(255,255,255,.08); }
.tf-result { margin-top: 18px; text-align: center; }
.tf-result-head { margin: 0 0 12px; font-size: 16px; }
.tf-row { margin: 0 0 10px; line-height: 1.55; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.tf-row-label { color: var(--text-tertiary); font-size: 14px; }
.tf-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tf-chip { padding: 6px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.tf-chip--ok { background: rgba(52,199,89,.16); color: #6ee787; border: 1px solid rgba(52,199,89,.35); }
.tf-row--warn { color: #ffcf66; font-size: 14px; }
.tf-row--info { color: #8ab4ff; font-size: 14px; }
.tf-row--no { color: var(--text-tertiary); font-size: 13px; }
.tf-cta { margin-top: 16px; }
.tf-note { color: var(--text-tertiary); font-size: 14px; margin: 8px 0; }
@media (max-width: 560px) { .tf-field--year { flex: 1 1 100%; } }
