/* SPACE Pass /business — single design system (aligned with pass.elsspace.ru) */

:root {
  /* Brand */
  --ink-900: #1b1b21;
  --ink-800: #31303e;
  --ink-700: #303030;
  --ink-600: #555555;
  --ink-400: #8c8484;
  --ink-300: #7a859c;
  --grey-200: #d9d9d9;
  --grey-100: #ededef;
  --grey-50: #f5f5f5;
  --white: #ffffff;
  --lime-500: #a6ff31;
  --lime-600: #93e62a;
  --lime-50: #f2ffe0;
  --violet-500: #9747ff;
  --violet-app: #cc00ff;
  --green-500: #1bd391;
  --red-500: #e42320;
  --seg-food: #ec671c;
  --seg-sport: #29a951;
  --seg-beauty: #e42320;
  --seg-leisure: #3b73b9;
  --seg-edu: #9d43ad;

  /* Aliases used in markup */
  --ink: var(--ink-900);
  --lime: var(--lime-500);
  --violet: var(--violet-500);
  --green: var(--green-500);
  --red: var(--red-500);

  /* Radii */
  --radius-10: 10px;
  --radius-20: 20px;
  --radius-30: 30px;
  --radius-100: 100px;
  --r10: var(--radius-10);
  --r20: var(--radius-20);
  --r30: var(--radius-30);

  /* Space */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-56: 56px;
  --space-64: 64px;
  --space-72: 72px;
  --space-80: 80px;
  --space-96: 96px;
  --space-120: 120px;
  --space-160: 160px;

  /* Layout */
  --content: 1200px;
  --container: var(--content);
  --pad-m: 20px;
  --shell-pad: clamp(20px, 4.5vw, 80px);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-700);
  background: var(--ink-900);
  overflow-x: hidden;
  max-width: 100%;
}

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

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

a:hover {
  text-decoration: underline;
}

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

h2 {
  margin: 0 0 var(--space-24);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink-900);
}

h3 {
  margin: 0 0 var(--space-12);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-900);
}

.t-h3 { font-size: 22px; font-weight: 700; margin: 0; color: inherit; }
.t-h4 { font-size: 18px; font-weight: 700; margin: 0 0 var(--space-16); color: inherit; }
.t-h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; margin: 0 0 var(--space-12); }
.t-body-l { font-size: 18px; line-height: 1.45; margin: 0; }
.t-small { font-size: 14px; margin: 0; }
.t-caption { font-size: 13px; color: var(--ink-400); }
.t-label { font-size: 14px; font-weight: 600; }
.t-quote { font-size: 16px; font-weight: 600; font-style: italic; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Layout ——— */
.page {
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}

.top-stack {
  display: flex;
  flex-direction: column;
}

.shell {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--shell-pad);
}

.container {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sheet {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-30) var(--radius-30) 0 0;
  margin-top: -40px;
  padding: var(--space-48) var(--shell-pad) var(--space-64);
  display: flex;
  flex-direction: column;
  gap: var(--space-64);
}

.sheet > section {
  padding: 0;
  margin: 0;
  min-width: 0;
}

@media (min-width: 768px) {
  .sheet {
    padding: var(--space-96) var(--shell-pad) var(--space-120);
    gap: var(--space-120);
  }
}

.section-lead {
  margin: 0 0 var(--space-32);
  font-size: 18px;
  color: var(--ink-600);
  max-width: 640px;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-10);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--lime-500);
  color: var(--ink-900);
}

.btn--primary:hover {
  background: var(--violet-500);
  color: var(--white);
  text-decoration: none;
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}

.btn--ghost:hover {
  border-color: var(--lime-500);
  color: var(--lime-500);
  text-decoration: none;
}

.btn--dark {
  background: var(--ink-900);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--violet-500);
  text-decoration: none;
}

.btn--text {
  background: transparent;
  color: var(--violet-500);
  padding: 10px 0;
}

.btn--text:hover {
  text-decoration: underline;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ——— Header ——— */
.site-header {
  position: relative;
  z-index: 2;
  background: transparent;
  border: 0;
  margin-bottom: var(--space-40);
}

@media (min-width: 768px) {
  .site-header {
    margin-bottom: var(--space-80);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-16) 0;
}

.site-header__logo img {
  height: 36px;
  width: auto;
}

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(16px, 2.5vw, 40px);
}

.site-nav a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--lime-500);
  text-decoration: none;
}

.site-header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__cta .btn {
  padding: 10px 18px;
  font-size: 14px;
}

.btn--header-short {
  display: inline-flex;
}

.btn--header-full {
  display: none;
}

.burger {
  display: flex;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 3px 0;
  border-radius: 1px;
}

/* Match Tilda header breakpoint (1200): keep burger on tablet 1024. */
@media (min-width: 1200px) {
  .site-nav {
    display: flex;
  }

  .burger {
    display: none;
  }

  .btn--header-full {
    display: inline-flex;
  }

  .btn--header-short {
    display: none;
  }
}

.nav-backdrop {
  display: none;
}

@media (max-width: 1199px) {
  .site-header {
    position: relative;
    z-index: 40;
  }

  .burger {
    position: relative;
    z-index: 50;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--ink-900);
    z-index: 30;
  }

  .nav-backdrop[hidden] {
    display: none;
  }

  .site-nav.is-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(72px + var(--space-16)) var(--shell-pad) var(--space-32);
    background: var(--ink-900);
    z-index: 35;
  }

  .site-nav.is-open a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 17px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ——— Hero ——— */
.dark-zone {
  background: var(--ink-900);
  color: var(--white);
  position: relative;
}

.hero-wrap {
  position: relative;
  overflow: hidden;
  padding: var(--space-16) 0 var(--space-72);
}

@media (min-width: 768px) {
  .hero-wrap {
    padding: var(--space-24) 0 var(--space-120);
  }
}

.hero-glow {
  position: absolute;
  border-radius: var(--radius-30);
  background: var(--violet-500);
  opacity: 0.32;
  filter: blur(64px);
  -webkit-filter: blur(64px);
  pointer-events: none;
  will-change: filter;
}

.hero-glow--1 {
  width: min(900px, 140vw);
  height: 320px;
  left: -20%;
  top: 80px;
  transform: rotate(28deg);
}

.hero-glow--2 {
  width: min(780px, 120vw);
  height: 280px;
  right: -15%;
  top: 360px;
  transform: rotate(-24deg);
}

.hero-glow--3 {
  width: min(520px, 90vw);
  height: 280px;
  right: -10%;
  top: -160px;
  transform: rotate(18deg);
}

@media (max-width: 767px) {
  .hero-glow {
    filter: blur(36px);
    -webkit-filter: blur(36px);
  }

  .hero-glow--1 {
    width: 360px;
    height: 220px;
    left: -120px;
    top: 40px;
  }

  .hero-glow--2 {
    width: 320px;
    height: 180px;
    right: -80px;
    top: 420px;
  }

  .hero-glow--3 {
    display: none;
  }
}

.hero {
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    gap: var(--space-48);
  }
}

.hero__title {
  margin: 0 0 var(--space-20);
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
  max-width: 18ch;
}

.hero__title-line {
  display: block;
}

.hero__title-line--second {
  display: block;
}

@media (max-width: 390px) {
  .hero__title-part {
    display: block;
  }

  .hero__title-nowrap {
    white-space: nowrap;
  }
}

.hero__lead {
  margin: 0 0 var(--space-16);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  max-width: 36em;
}

.hero__note {
  margin: 0 0 var(--space-32);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 496px;
  margin-inline: auto;
  aspect-ratio: 496 / 560;
  max-height: min(560px, 92vw);
}

@media (min-width: 768px) {
  .hero__visual {
    max-height: min(560px, 70vw);
  }
}

@media (min-width: 900px) {
  .hero__visual {
    margin-inline: 0;
    margin-left: auto;
  }
}

.hero__visual > picture:not(.hero__pass) {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: var(--radius-20);
  aspect-ratio: auto;
}

.hero__pass {
  position: absolute;
  z-index: 2;
  left: 2%;
  bottom: 3%;
  width: min(48%, 178px);
  height: auto;
  display: block;
  border-radius: var(--radius-20);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.hero__pass img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-20);
}

/* Keep the Pass card on the sweater / phone band, clear of the face. */
@media (min-width: 480px) {
  .hero__pass {
    left: 3%;
    bottom: 5%;
    width: min(52%, 220px);
  }
}

@media (min-width: 768px) {
  .hero__photo {
    object-position: 50% 20%;
  }

  .hero__pass {
    left: 4%;
    bottom: 6%;
    width: min(54%, 280px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  }
}

@media (min-width: 900px) {
  .hero__photo {
    object-position: 52% 16%;
  }

  .hero__pass {
    left: -8%;
    bottom: 8%;
    width: min(58%, 300px);
  }
}

@media (min-width: 1280px) {
  .hero__pass {
    left: -10%;
    bottom: 9%;
    width: min(56%, 292px);
  }
}

@media (min-width: 1440px) {
  .hero__pass {
    left: -12%;
    bottom: 10%;
    width: min(54%, 286px);
  }
}

/* ——— Club / members ——— */
.club-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

@media (min-width: 768px) {
  .club-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-48);
    align-items: center;
  }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
  margin: var(--space-32) 0 0;
}

.stat strong {
  display: block;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat span {
  font-size: 14px;
  color: var(--ink-600);
}

@media (max-width: 600px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

.club-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  min-width: 0;
}

.club-grid__main {
  grid-column: 1 / -1;
  border-radius: var(--radius-20);
  overflow: hidden;
  height: 220px;
}

.club-grid__side {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}

.club-grid__main picture,
.club-grid__side picture {
  display: block;
  width: 100%;
  height: 100%;
}

.club-grid__main img,
.club-grid__side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-20);
}

.club-grid__main img {
  object-position: 50% 50%;
}

.club-grid__side img {
  height: 140px;
}

@media (min-width: 768px) {
  .club-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 240px);
    gap: var(--space-16);
  }

  .club-grid__main {
    grid-column: auto;
    height: 456px;
    min-height: 0;
  }

  .club-grid__side {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    height: 456px;
    gap: var(--space-16);
  }

  .club-grid__side img {
    height: 100%;
  }
}

/* ——— Benefits ——— */
.panel-grey {
  background: var(--grey-100);
  border-radius: var(--radius-20);
  padding: var(--space-24);
}

@media (min-width: 768px) {
  .panel-grey {
    padding: var(--space-56);
  }
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  align-items: stretch;
}

@media (min-width: 900px) {
  .benefits-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: var(--space-56);
  }
}

.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-20);
}

.benefits-list li {
  display: flex;
  gap: var(--space-16);
  align-items: flex-start;
}

.benefits-list .num {
  flex-shrink: 0;
  color: var(--violet-500);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.venue-mock {
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius-20);
  padding: var(--space-16);
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
  min-height: 100%;
}

.venue-mock__img {
  height: 180px;
  margin: 0;
  border-radius: var(--radius-10);
  background: var(--ink-800) url("assets/photos/venue-desktop-656x360.webp") center / cover no-repeat;
  overflow: hidden;
}

.venue-mock__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.venue-mock__addr {
  font-size: 14px;
  color: var(--ink-300);
  margin: 0;
}

.venue-mock__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: var(--space-4) 0;
}

.venue-mock__hint {
  color: var(--ink-300);
  margin: 0;
}

.venue-mock__offer {
  color: var(--white);
  font-weight: 600;
  margin: 0;
}

.venue-mock__caption {
  margin-top: var(--space-16);
  color: var(--ink-400);
}

/* ——— How steps ——— */
.steps-three {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-20);
  margin: var(--space-24) 0;
}

@media (min-width: 768px) {
  .steps-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-24);
  }
}

.step-card {
  padding-top: var(--space-24);
  border-top: 2px solid var(--ink-900);
  min-width: 0;
}

.step-card p {
  margin: 0;
}

.step-num,
.circle-num {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-100);
  background: var(--lime-500);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-16);
}

.how-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
  margin-top: var(--space-24);
}

@media (min-width: 768px) {
  .how-notes {
    grid-template-columns: 1fr 1fr;
  }
}

.note-box {
  background: var(--grey-100);
  border-radius: var(--radius-20);
  padding: var(--space-20) var(--space-24);
  font-size: 15px;
}

.note-box--lime {
  background: var(--lime-50);
}

.how-cta {
  margin: var(--space-32) 0 0;
}

/* ——— Card showcase ——— */
.card-showcase-wrap {
  margin: 0;
  overflow: hidden;
}

.card-showcase {
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius-30);
  padding: var(--space-24);
  margin: 0;
}

@media (min-width: 768px) {
  .card-showcase {
    padding: var(--space-72);
  }
}

.card-showcase h2 {
  color: var(--white);
}

.card-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-32);
  align-items: center;
}

@media (min-width: 900px) {
  .card-showcase__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 375px);
    gap: var(--space-64);
  }
}

.card-showcase__muted {
  color: var(--ink-300);
  font-size: 16px;
  margin: var(--space-24) 0 0;
}

.callout-list {
  list-style: none;
  margin: var(--space-24) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.callout-list li {
  display: flex;
  gap: var(--space-16);
  align-items: center;
}

.callout-num {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-100);
  background: var(--lime-500);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone-mock {
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  border: 6px solid #0f0f14;
  border-radius: 44px;
  background: #0f0f14;
  padding: 0;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.phone-mock__screen {
  background: var(--ink-900);
  border-radius: 38px;
  overflow: hidden;
  min-height: 480px;
}

.phone-mock__head {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-mock__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.phone-pass {
  border-radius: var(--radius-20);
  overflow: hidden;
}

.phone-pass img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-20);
}

.phone__pass-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-300);
  min-width: 0;
}

.badge-active {
  background: rgba(27, 211, 145, 0.22);
  color: var(--green-500);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-100);
  white-space: nowrap;
  flex-shrink: 0;
}

.phone__holder {
  display: flex;
  gap: var(--space-12);
  align-items: center;
}

.phone__avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-100);
  background: var(--ink-800);
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.phone__avatar svg {
  display: block;
}

.phone__holder-name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.phone__holder-role {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--ink-300);
}

.phone__venue {
  background: var(--ink-800);
  border-radius: var(--radius-20);
  padding: var(--space-16);
}

.phone__venue-label {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--ink-300);
}

.phone__venue-offer {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.phone__hint {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--ink-300);
}

@media (max-width: 767px) {
  .phone-mock {
    max-width: 302px;
  }

  .phone-mock__screen {
    min-height: 440px;
  }

  .phone__avatar {
    width: 44px;
    height: 44px;
    font-size: 12px;
  }

  .phone__holder-name {
    font-size: 16px;
  }
}

/* ——— Segments ——— */
.segments-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
}

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

@media (min-width: 1100px) {
  .segments-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-24);
  }
}

.segment-card {
  background: var(--grey-100);
  border: none;
  border-radius: var(--radius-20);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
}

.segment-card__media {
  height: 180px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .segment-card__media {
    height: 150px;
  }
}

.segment-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.segment-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.segment-card__body {
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  flex: 1;
}

.segment-card__title {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin: 0 0 var(--space-4);
}

.seg-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.seg-dot--food { background: var(--seg-food); }
.seg-dot--sport { background: var(--seg-sport); }
.seg-dot--beauty { background: var(--seg-beauty); }
.seg-dot--leisure { background: var(--seg-leisure); }
.seg-dot--edu { background: var(--seg-edu); }

.segment-card__ex {
  margin: 0;
  font-size: 14px;
  color: var(--ink-600);
}

.segment-card__offer-label {
  margin: var(--space-8) 0 var(--space-4);
}

.segment-card__offer {
  margin: 0 0 var(--space-8);
}

.segment-card__note {
  margin: 0;
}

.segment-card__spacer {
  flex: 1;
  min-height: 8px;
}

.segment-card__link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  color: var(--violet-500);
  cursor: pointer;
  text-align: left;
}

.segment-card__link:hover {
  text-decoration: underline;
}

.segment-card--other {
  background: var(--ink-900);
  color: var(--white);
}

.segment-card--other .segment-card__ex {
  color: rgba(255, 255, 255, 0.72);
}

.segment-card--other .t-h3 {
  color: var(--white);
}

.segment-card--other .segment-card__link {
  color: var(--lime-500);
}

.segment-card__media--other {
  background: var(--ink-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

.segment-card__plus {
  line-height: 0;
}

.segments-note {
  margin-top: var(--space-40);
  padding: var(--space-20) var(--space-32);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-20);
  font-size: 15px;
  color: var(--ink-600);
}

/* ——— Conditions ——— */
.conditions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-16);
}

@media (min-width: 900px) {
  .conditions-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-20);
  }
}

.condition-panel {
  background: var(--grey-100);
  border-radius: var(--radius-20);
  padding: var(--space-24);
  min-width: 0;
}

.condition-panel--ok {
  background: var(--lime-50);
}

.cond-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cond-list li {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  margin: 0 0 var(--space-12);
}

.cond-list li svg {
  flex-shrink: 0;
}

.cond-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.cond-chip {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: var(--radius-100);
  background: var(--grey-100);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
}

.conditions-footnote {
  margin-top: var(--space-16);
  color: var(--ink-600);
}

/* ——— Cities lime block ——— */
.lime-block {
  background: var(--lime-500);
  border-radius: var(--radius-30);
  padding: var(--space-24);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
  align-items: center;
}

@media (min-width: 900px) {
  .lime-block {
    padding: var(--space-64);
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--space-48);
  }
}

.lime-block h2 {
  color: var(--ink-900);
}

.lime-block p {
  margin: 0 0 var(--space-20);
  color: var(--ink-700);
}

.cities-card {
  background: var(--white);
  border-radius: var(--radius-20);
  padding: var(--space-20);
  min-width: 0;
}

.cities-card__label {
  margin: 0 0 var(--space-16);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-600);
}

.city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-tags span {
  background: var(--ink-900);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-100);
  font-size: 13px;
  font-weight: 600;
}

.city-tags .city-pill-lime {
  background: var(--lime-500);
  color: var(--ink-900);
}

.city-tags .muted {
  border: 1.5px dashed var(--violet-500);
  color: var(--ink-600);
  background: transparent;
}

/* ——— Timeline ——— */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  margin-top: var(--space-32);
}

@media (min-width: 900px) {
  .timeline {
    flex-direction: row;
    gap: var(--space-16);
    align-items: flex-start;
  }
}

.timeline__item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-16);
}

@media (min-width: 900px) {
  .timeline__item {
    flex-direction: column;
  }
}

.timeline__marker {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .timeline__marker {
    width: 100%;
  }
}

.timeline__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.timeline__line {
  display: none;
}

@media (min-width: 900px) {
  .timeline__line {
    display: block;
    flex: 1;
    height: 2px;
    background: var(--grey-100);
    border-radius: 1px;
  }
}

.timeline__item p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-700);
  padding-top: 12px;
}

@media (min-width: 900px) {
  .timeline__item p {
    padding-top: 0;
    font-size: 16px;
  }
}

.timeline-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24);
  margin-top: var(--space-32);
}

.timeline-foot p {
  margin: 0;
  color: var(--ink-600);
}

/* ——— FAQ ——— */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
}

@media (min-width: 768px) {
  .faq-layout {
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    gap: var(--space-64);
  }
}

.faq-side a {
  font-weight: 600;
}

.faq-item {
  border-bottom: 1px solid var(--grey-100);
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-24) 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.faq-item__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.faq-item__question {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink-700);
}

.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.faq-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--violet-500);
}

.faq-item__icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-100);
  background: var(--grey-100);
  color: var(--ink-700);
  position: relative;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  border-radius: 1px;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-item__icon {
  background: var(--violet-500);
  color: var(--white);
}

.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
}

.faq-item__body {
  display: none;
  padding: 0 0 var(--space-24);
  color: var(--ink-600);
  font-size: 15px;
  line-height: 1.5;
  max-width: 52em;
}

.faq-item.is-open .faq-item__body {
  display: block;
}

/* ——— Form ——— */
.form-wrap {
  margin: 0;
}

.form-section {
  background: var(--grey-50);
  border-radius: var(--radius-30);
  padding: var(--space-20);
}

@media (min-width: 768px) {
  .form-section {
    padding: var(--space-56);
  }
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-24);
}

@media (min-width: 900px) {
  .form-layout {
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: var(--space-64);
  }
}

.form-intro__contact {
  margin-top: var(--space-24);
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-20);
  padding: var(--space-20);
  min-width: 0;
}

@media (min-width: 768px) {
  .form-panel {
    padding: var(--space-40);
  }
}

.form-thanks {
  display: none;
  text-align: left;
}

.form-wrap.is-thanks .form-thanks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-20);
  padding: var(--space-8);
}

.form-wrap.is-thanks #application-form,
.form-wrap.is-thanks .form-banner,
.form-wrap.is-thanks .form-summary,
.form-wrap.is-thanks .stepper {
  display: none;
}

.thanks-ok {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-100);
  background: var(--green-500);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thanks-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.form-banner {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-10);
  background: #fff2f2;
  margin-bottom: var(--space-16);
}

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

.form-banner__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--red-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.form-banner__title {
  margin: 0;
  font-weight: 700;
}

.form-banner__text {
  margin: 4px 0 0;
  font-size: 14px;
}

.form-summary {
  display: none;
  margin-bottom: var(--space-16);
  color: var(--red-500);
  font-size: 14px;
}

.form-summary.is-visible {
  display: block;
}

.stepper {
  display: block;
  margin-bottom: var(--space-24);
}

.stepper__title {
  margin: 0 0 var(--space-12);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}

.stepper__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8);
}

.stepper__step {
  min-width: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  text-align: left;
  color: var(--ink-400);
  font-size: 12px;
  font-weight: 500;
}

.stepper__bar {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--grey-100);
  margin-bottom: var(--space-8);
}

.stepper__step.is-active .stepper__bar,
.stepper__step.is-done .stepper__bar {
  background: var(--violet-500);
}

.stepper__label {
  display: block;
  line-height: 1.3;
}

.stepper__step.is-active .stepper__label,
.stepper__step.is-done .stepper__label {
  color: var(--ink-700);
  font-weight: 600;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.field {
  margin-bottom: var(--space-20);
}

.field--hidden {
  display: none;
}

.form-details {
  margin-bottom: var(--space-20);
  border: 1px solid var(--line-200);
  border-radius: 12px;
  padding: 0 16px;
  background: var(--surface-50);
}

.form-details summary {
  cursor: pointer;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  list-style: none;
}

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

.form-details__body {
  padding-bottom: 4px;
}

.field label,
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
}

.req {
  color: var(--violet-500);
}

.opt {
  color: var(--ink-400);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-10);
  background: var(--white);
  color: var(--ink-700);
  appearance: none;
  -webkit-appearance: none;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet-500);
  border-width: 2px;
}

.field-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink-400);
}

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 13px;
  color: var(--red-500);
}

.field.is-error .field-error,
.field.is-invalid .field-error {
  display: block;
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea,
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--red-500);
}

.chips.is-error {
  outline: 1.5px solid var(--red-500);
  outline-offset: 4px;
  border-radius: var(--radius-10);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border-radius: var(--radius-100);
  border: 1.5px solid var(--grey-200);
  background: var(--grey-50);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--ink-700);
}

.chip.is-selected {
  background: var(--violet-500);
  border-color: var(--violet-500);
  color: var(--white);
}

.city-suggest {
  position: relative;
}

.city-suggest input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%23303030' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.city-suggest__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 4px);
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-10);
  max-height: 220px;
  overflow: auto;
  z-index: 10;
  display: none;
}

.city-suggest__list.is-open {
  display: block;
}

.city-suggest__list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 16px;
  border: 0;
  background: none;
  cursor: pointer;
}

.city-suggest__list button:hover {
  background: var(--grey-50);
}

.offer-warn {
  display: none;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-10);
  background: #fff2f2;
  color: var(--red-500);
  font-size: 13px;
}

.offer-warn.is-visible {
  display: block;
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ink-600);
}

.consent__box {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}

.field input.consent__box {
  width: 20px;
  min-height: 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  appearance: auto;
  -webkit-appearance: checkbox;
  accent-color: var(--violet-500);
  cursor: pointer;
}

.field input.consent__box:focus {
  border: none;
  outline: 2px solid var(--violet-500);
  outline-offset: 2px;
}

.field.is-error input.consent__box {
  outline: 2px solid var(--red-500);
  outline-offset: 2px;
}

.consent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: var(--space-24);
}

.form-actions__meta {
  font-size: 13px;
  color: var(--ink-400);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.ph-tag {
  display: inline-flex;
  padding: 8px 16px;
  border: 1.5px dashed var(--violet-500);
  border-radius: var(--radius-10);
  font-size: 14px;
  color: var(--ink-600);
}

.ph-tag--on-dark {
  border-color: rgba(151, 71, 255, 0.65);
  color: rgba(255, 255, 255, 0.72);
}

/* ——— Footer ——— */
.page-footer {
  background: var(--ink-900);
  color: var(--white);
  padding: var(--space-64) var(--shell-pad) var(--space-48);
}

@media (min-width: 768px) {
  .page-footer {
    padding: var(--space-96) var(--shell-pad) var(--space-48);
  }
}

.page-footer__shell {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.team-strip {
  background: transparent;
  color: var(--white);
  padding: 0;
  margin: 0;
}

.team-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-24);
}

@media (min-width: 900px) {
  .team-block {
    align-items: center;
  }
}

.team-strip h2 {
  color: var(--white);
  margin: 0 0 var(--space-12);
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 16em;
}

.team-strip p {
  margin: 0;
  max-width: 36em;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.team-block__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
}

@media (min-width: 900px) {
  .team-block__actions {
    align-items: flex-end;
    flex-shrink: 0;
  }
}

.page-footer__rule {
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
  margin: var(--space-48) 0 var(--space-32);
}

.site-footer {
  background: transparent;
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-24) var(--space-32);
  margin-bottom: var(--space-24);
}

.site-footer__logo img {
  height: 30px;
  width: auto;
  opacity: 0.95;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-24);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-bottom: var(--space-24);
}

.site-footer__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}


/* ——— Shared site footer (partials/site-footer.html) ——— */
.site-footer__tagline {
  margin: 0 0 var(--space-16);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-20);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__legal p {
  margin: 0;
}

.site-footer__legal a,
.site-footer__apps a,
.team-block__phones a,
.form-intro__phones a,
.thanks-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer__legal a:hover,
.site-footer__apps a:hover,
.team-block__phones a:hover {
  color: var(--lime-500);
  text-decoration: none;
}

.form-intro__phones a,
.thanks-contact a {
  color: var(--violet-500);
}

.form-intro__phones a:hover,
.thanks-contact a:hover {
  color: var(--ink-900);
}

.site-footer__apps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-16) var(--space-24);
  margin-bottom: var(--space-24);
  font-size: 13px;
  font-weight: 600;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--lime-500);
  text-decoration: none;
}

.team-block__phones,
.form-intro__phones {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.form-intro__phones {
  margin-top: 8px;
  color: var(--ink-700);
}

.thanks-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.form-banner--error {
  background: #fff2f2;
}

.faq-item__body a {
  color: var(--violet-500);
  font-weight: 600;
}
