/* Home landing — tokens from prototype; accents overridden by palette <style> */

@font-face {
  font-family: "Comfortaa";
  src: url("../event/fonts/comfortaa-cyrillic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Comfortaa";
  src: url("../event/fonts/comfortaa-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ph-primary: rgb(19, 19, 32);
  --ph-muted: rgb(157, 193, 198);
  --ph-line: rgb(239, 242, 247);
  --ph-accent: var(--primary, #6b7280);
  --ph-white: rgb(255, 255, 255);
  --ph-accent-deep: var(--gradient-end, #4b5563);
  --ph-accent-tint-1: #f3f4f6;
  --ph-accent-tint-2: #f9fafb;
  --ph-accent-tint-3: #f3f4f6;
  --ph-accent-soft: rgb(177, 199, 203);
  --ph-ink-2: rgb(38, 42, 45);
  --ph-grey-1: rgb(194, 194, 194);
  --ph-grey-3: rgb(238, 238, 238);
  --ph-lavender-4: rgb(141, 141, 173);
  --ph-success: rgb(0, 211, 78);
  --ph-gradient-accent: linear-gradient(108.818deg, var(--ph-accent) -1.01%, var(--ph-accent-deep) 101.01%);
  --ph-gradient-tint: linear-gradient(145.741deg, var(--ph-accent-tint-1) 4.74%, var(--ph-accent-tint-2) 93.92%);
  --ph-hero-overlay: linear-gradient(105deg, rgba(25, 95, 115, 0.94) 0%, rgba(30, 110, 130, 0.82) 42%, rgba(46, 140, 160, 0.35) 72%, rgba(30, 110, 130, 0.55) 100%);
  --ph-hero-overlay-bottom: linear-gradient(rgba(19, 19, 32, 0) 55%, rgba(25, 95, 115, 0.7) 100%);

  --font-display: "Comfortaa", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --type-display-m: 700 38px/1.1 var(--font-display);
  --type-title: 500 22px/1.1 var(--font-body);
  --type-body: 500 14px/1.2 var(--font-body);
  --type-caption: 500 12px/1.2 var(--font-body);
  --type-caption-strong: 600 12px/1.2 var(--font-body);
  --type-micro: 500 10px/1 var(--font-body);
  --type-micro-strong: 600 10px/1.2 var(--font-body);

  --radius-chip: 12px;
  --radius-button: 16px;
  --radius-button-lg: 24px;
  --radius-tile: 26px;
  --radius-card: 40px;
  --radius-card-md: 30px;
  --stroke-card-site: inset 0 0 0 1px var(--ph-grey-3);
  --hm-bp: 1024px;
}

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

html { -webkit-text-size-adjust: 100%; }

html,
body.hm-body {
  margin: 0;
  background: var(--ph-white);
  color: var(--ph-primary);
  font-family: var(--font-body);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.hm-page {
  min-width: 320px;
  overflow-x: clip;
}

.hm-shell {
  max-width: 1362px;
  margin: 0 auto;
  padding: 0 20px;
}

.hm-main { padding-bottom: 40px; }

a { color: var(--ph-accent); }
a:hover { color: var(--ph-accent-deep); }

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius-button);
  border: 0;
  font: 600 14px/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  color: var(--ph-primary);
  background: transparent;
}

.hm-btn--accent {
  background: var(--ph-gradient-accent);
  color: var(--ph-white);
}

.hm-btn--accent:hover { color: var(--ph-white); filter: brightness(0.97); }

.hm-btn--ghost {
  box-shadow: var(--stroke-card-site);
  background: var(--ph-white);
}

.hm-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 10px;
  font: var(--type-micro-strong);
  background: rgba(255, 255, 255, 0.16);
  color: var(--ph-white);
  backdrop-filter: blur(8px);
}

.hm-chip--tint {
  background: var(--ph-accent-tint-2);
  color: var(--ph-accent-deep);
}

.hm-section-title {
  margin: 0;
  font: var(--type-display-m);
  letter-spacing: -0.02em;
}

.hm-section-sub {
  margin: 12px 0 0;
  font: var(--type-body);
  color: var(--ph-lavender-4);
}

/* ===== Header ===== */
.hm-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ph-line);
}

.hm-header__inner {
  max-width: 1362px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.hm-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ph-primary);
  flex-shrink: 0;
}

.hm-brand__logo {
  height: 80px;
  width: 96px;
  object-fit: contain;
  display: block;
}

.hm-brand__sep {
  width: 1px;
  height: 40px;
  background: var(--ph-line);
}

.hm-brand__city {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hm-brand__name {
  display: block;
  font: var(--type-micro);
  color: var(--ph-muted);
  margin-top: 5px;
}

.hm-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.hm-nav__link {
  position: relative;
  text-decoration: none;
  color: var(--ph-primary);
  font: 600 14px/1.2 var(--font-body);
  white-space: nowrap;
}

.hm-nav__link:hover { color: var(--ph-accent-deep); }

.hm-nav__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 8px;
  background: var(--ph-accent-tint-1);
  color: var(--ph-accent-deep);
  font: var(--type-micro-strong);
}

.hm-nav__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 6px;
  border-radius: 50%;
  background: var(--ph-success);
  box-shadow: 0 0 0 3px rgba(0, 211, 78, 0.18);
  vertical-align: middle;
}

.hm-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.hm-header__tel {
  color: var(--ph-primary);
  text-decoration: none;
  font: 600 14px/1.2 var(--font-body);
  white-space: nowrap;
}

.hm-header__cta { white-space: nowrap; }

.hm-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--ph-accent-tint-2);
  padding: 0;
  cursor: pointer;
}

.hm-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ph-accent-deep);
  border-radius: 2px;
}

.hm-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--ph-line);
  background: var(--ph-white);
}

.hm-mobile-nav a {
  color: var(--ph-primary);
  text-decoration: none;
  font: 600 16px/1.2 var(--font-body);
}

.hm-header.is-open .hm-mobile-nav {
  display: flex;
}

/* ===== Hero ===== */
.hm-hero { padding-top: 24px; }

.hm-hero__card {
  position: relative;
  min-height: 720px;
  border-radius: 60px;
  overflow: hidden;
  color: var(--ph-white);
  background: var(--ph-gradient-accent);
}

.hm-hero__media { position: relative; min-height: 720px; }

.hm-hero__slide {
  position: absolute;
  inset: 0;
  background-position: center 40%;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.8s;
}

.hm-hero__slide.is-active { opacity: 1; }

.hm-hero__scrim {
  position: absolute;
  inset: 0;
  background: var(--ph-hero-overlay);
  pointer-events: none;
}

.hm-hero__scrim-bottom {
  position: absolute;
  inset: 0;
  background: var(--ph-hero-overlay-bottom);
  pointer-events: none;
}

.hm-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 50px 56px 40px;
  max-width: calc(100% - 480px);
  min-height: 720px;
}

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

.hm-hero__title {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 640px;
}

.hm-hero__lead {
  margin: 18px 0 0;
  max-width: 520px;
  font: 500 16px/1.35 var(--font-body);
  opacity: 0.94;
}

.hm-hero__tiles {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding-top: 40px;
}

.hm-tile {
  border-radius: var(--radius-tile);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(34px);
  padding: 18px 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.hm-tile__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hm-tile__label {
  margin-top: 8px;
  font: var(--type-caption);
  opacity: 0.9;
}

.hm-hero__dots {
  position: absolute;
  left: 56px;
  bottom: 12px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hm-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hm-hero__dot.is-active { background: var(--ph-white); }

.hm-hero__pay {
  position: absolute;
  top: 40px;
  right: 40px;
  bottom: 40px;
  width: 440px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hm-hero__pay .ev-pay {
  border-radius: 26px;
  background: var(--ph-white);
  box-shadow: inset 0 0 0 1px var(--ph-grey-3);
  padding: 24px;
  gap: 12px;
  color: var(--ph-primary);
}

/* ===== Points ===== */
.hm-points { margin-top: 100px; }

.hm-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.hm-points__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.hm-point {
  background: var(--ph-white);
  border-radius: var(--radius-card);
  box-shadow: var(--stroke-card-site);
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.hm-point__media {
  display: block;
  position: relative;
  height: 240px;
  border-radius: var(--radius-card-md);
  overflow: hidden;
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 0 1px var(--ph-line);
}

.hm-point__badges {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 70px);
}

.hm-point__num {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ph-gradient-accent);
  color: var(--ph-white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}

.hm-point__body {
  padding: 22px 16px 10px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hm-point__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ph-primary);
  text-decoration: none;
}

.hm-point__progress { margin-top: 14px; }

.hm-point__progress-row {
  display: flex;
  justify-content: space-between;
  font: var(--type-micro);
  color: var(--ph-muted);
  gap: 8px;
}

.hm-point__bar {
  height: 6px;
  border-radius: 6px;
  background: var(--ph-accent-tint-1);
  overflow: hidden;
  margin-top: 6px;
}

.hm-point__bar > span {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--ph-gradient-accent);
}

.hm-point__tagline,
.hm-point__features {
  margin: 12px 0 0;
  font: var(--type-caption);
  color: var(--ph-lavender-4);
}

.hm-point__meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font: var(--type-caption);
  color: var(--ph-primary);
}

.hm-point__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hm-point__meta-item svg { color: var(--ph-accent); flex-shrink: 0; }

.hm-point__status {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: var(--type-caption-strong);
  color: var(--ph-lavender-4);
}

.hm-point__status.is-open { color: var(--ph-success); }
.hm-point__status svg { color: currentColor; }

.hm-point__actions {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.hm-point__actions .hm-btn { width: 100%; min-height: 46px; }

/* ===== About ===== */
.hm-about { margin-top: 100px; }

.hm-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.hm-about__card {
  border-radius: 50px;
  padding: 48px 52px;
  display: flex;
  flex-direction: column;
}

.hm-about__card--accent {
  background: var(--ph-gradient-accent);
  color: var(--ph-white);
}

.hm-about__card--list { box-shadow: var(--stroke-card-site); }

.hm-about__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--ph-white);
  color: var(--ph-accent);
  display: grid;
  place-items: center;
}

.hm-about__title {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hm-about__title--dark {
  margin-top: 0;
  color: var(--ph-primary);
  font-size: 38px;
}

.hm-about__stat {
  margin-top: auto;
  padding-top: 40px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.hm-about__stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hm-about__stat-label { font: var(--type-body); opacity: 0.94; }

.hm-about__list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.hm-about__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font: 500 18px/1.35 var(--font-body);
  color: var(--ph-primary);
}

.hm-about__check {
  width: 24px;
  height: 24px;
  margin-top: 0;
  border-radius: 8px;
  background: var(--ph-accent-tint-1);
  color: var(--ph-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ===== Subscribe ===== */
.hm-subscribe { margin-top: 100px; }

.hm-subscribe__card {
  border-radius: 50px;
  background: var(--ph-gradient-tint);
  padding: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 48px;
  align-items: center;
}

.hm-subscribe__info .hm-section-title { max-width: 620px; }

.hm-subscribe__progress {
  margin-top: 26px;
  max-width: 560px;
  border-radius: 26px;
  background: var(--ph-white);
  padding: 20px 22px;
  color: var(--ph-primary);
}

.hm-subscribe__progress-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font: var(--type-caption);
  color: var(--ph-lavender-4);
}

.hm-subscribe__progress-nums {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 8px;
}

.hm-subscribe__n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ph-accent-deep);
}

.hm-subscribe__of { font: var(--type-title); color: var(--ph-primary); }

.hm-subscribe__bar { margin-top: 12px; }

.hm-subscribe__left {
  margin: 12px 0 0;
  font: var(--type-caption);
  color: var(--ph-lavender-4);
}

.hm-subscribe__examples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  max-width: 560px;
}

.hm-subscribe__ex {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hm-subscribe__ex strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.hm-subscribe__ex span {
  font: var(--type-caption);
  color: var(--ph-lavender-4);
}

.hm-subscribe__form .ev-pay {
  border-radius: 26px;
  background: var(--ph-white);
  box-shadow: inset 0 0 0 1px var(--ph-grey-3);
  padding: 24px;
  gap: 12px;
}

/* ===== Partners ===== */
.hm-partners { margin-top: 100px; }

.hm-partners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.hm-partner {
  min-height: 200px;
  border-radius: var(--radius-card-md);
  box-shadow: var(--stroke-card-site);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  text-decoration: none;
  color: var(--ph-primary);
}

.hm-partner__logo {
  height: 96px;
  border-radius: 20px;
  background: var(--ph-accent-tint-2);
  display: grid;
  place-items: center;
  padding: 14px;
}

.hm-partner__logo img {
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
  display: block;
}

.hm-partner__name {
  font: 600 16px/1.2 var(--font-body);
}

.hm-partner__link {
  margin-top: auto;
  font: var(--type-micro);
  color: var(--ph-accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hm-partner--cta {
  background: var(--ph-gradient-tint);
  box-shadow: none;
}

.hm-partner__text {
  margin: 0;
  font: var(--type-caption);
  color: var(--ph-lavender-4);
}

.hm-partner__btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== Footer ===== */
.hm-footer {
  margin-top: 100px;
  padding: 48px 0 40px;
  border-top: 1px solid var(--ph-line);
}

.hm-footer__top {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.8fr;
  gap: 32px;
}

.hm-footer__promo {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hm-footer__promo strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.hm-footer__promo span {
  font: var(--type-body);
  color: var(--ph-lavender-4);
}

.hm-footer__contacts {
  display: grid;
  gap: 18px;
}

.hm-footer__contact {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: var(--ph-primary);
}

.hm-footer__contact strong {
  display: block;
  font: 600 16px/1.2 var(--font-body);
}

.hm-footer__contact em {
  display: block;
  margin-top: 4px;
  font: var(--type-caption);
  font-style: normal;
  color: var(--ph-lavender-4);
}

.hm-footer__contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--ph-accent-tint-2);
  color: var(--ph-accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hm-footer__cities-title {
  font: 600 14px/1.2 var(--font-body);
  margin-bottom: 12px;
}

.hm-footer__cities ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.hm-footer__cities a {
  color: var(--ph-primary);
  text-decoration: none;
  font: var(--type-body);
}

.hm-footer__cities a.is-current {
  color: var(--ph-accent-deep);
  font-weight: 600;
}

.hm-footer__bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--ph-line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.hm-footer__copy {
  font: var(--type-caption);
  color: var(--ph-lavender-4);
}

.hm-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
}

.hm-footer__links a {
  font: var(--type-caption);
  color: var(--ph-lavender-4);
  text-decoration: none;
}

.hm-footer__links a:hover { color: var(--ph-accent-deep); }

/* Home pay-form tweaks */
.hm-page .ev-pay__title { font-size: 18px; }
.hm-page .ev-pay__sub { font: var(--type-micro); color: var(--ph-muted); margin-top: 4px; }
.hm-page .ev-pay--home-hide-head .ev-pay__head { display: none; }
.hm-page .ev-pay--regular-only .ev-pay__autopay,
.hm-page .ev-pay--regular-only .ev-seg:not(.ev-seg--sm) { display: none; }
.hm-page .ev-pay--regular-only .ev-pay__regular { display: block !important; }
/* ===== Mobile / tablet ===== */
@media (max-width: 1024px) {
  .hm-header__inner { height: 72px; gap: 12px; }
  .hm-brand__logo { width: 56px; height: 48px; }
  .hm-brand__sep,
  .hm-brand__text,
  .hm-nav,
  .hm-header__tel { display: none; }
  .hm-burger { display: inline-block; }
  .hm-header__actions { margin-left: auto; }
  .hm-header__cta {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 13px;
  }

  .hm-hero__card,
  .hm-hero__media,
  .hm-hero__content { min-height: 0; }
  .hm-hero__card { border-radius: 32px; }
  .hm-hero__content {
    max-width: none;
    padding: 28px 20px 40px;
  }
  .hm-hero__title { font-size: 32px; }
  .hm-hero__tiles { grid-template-columns: 1fr; }
  .hm-hero__dots { left: 20px; bottom: 12px; top: auto; }
  .hm-hero__pay {
    position: static;
    width: auto;
    padding: 0 16px 20px;
  }

  .hm-points,
  .hm-about,
  .hm-subscribe,
  .hm-partners,
  .hm-footer { margin-top: 56px; }

  .hm-points__grid,
  .hm-about__grid,
  .hm-subscribe__card,
  .hm-partners__grid,
  .hm-footer__top {
    grid-template-columns: 1fr;
  }

  .hm-point__actions { grid-template-columns: 1fr; }
  .hm-about__card,
  .hm-subscribe__card { border-radius: 32px; padding: 28px 20px; }
  .hm-about__title { font-size: 32px; }
  .hm-about__stat-num { font-size: 48px; }
  .hm-subscribe__examples { grid-template-columns: 1fr; }
  .hm-section-title { font-size: 28px; }
  .hm-partners__grid { grid-template-columns: 1fr 1fr; }
}


/* точка статуса и иконки карточки пункта */
.hm-point__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.hm-point__features {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-point__features-icon {
  display: inline-flex;
  color: var(--ph-accent);
}
.hm-point__features-icon svg { width: 16px; height: 16px; }
.hm-point__meta-item svg { color: var(--ph-accent); flex-shrink: 0; }

.hm-about__text {
  margin: 14px 0 0;
  max-width: 460px;
  font: 500 14px/1.45 var(--font-body);
  opacity: 0.94;
}
.hm-about__check { color: var(--ph-accent); flex-shrink: 0; }
.hm-about__check svg { width: 16px; height: 16px; display: block; }

/* ===== Мобильное меню ===== */
.hm-burger span { transition: transform 0.2s, opacity 0.2s; }
.hm-header.is-open .hm-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hm-header.is-open .hm-burger span:nth-child(2) { opacity: 0; }
.hm-header.is-open .hm-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .hm-header.is-open { background: var(--ph-white); }

  .hm-mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 14px;
    padding: 12px;
    border: 0;
    border-radius: 28px;
    background: var(--ph-white);
    box-shadow: 0 20px 50px rgba(19, 19, 32, 0.18), inset 0 0 0 1px var(--ph-line);
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .hm-header.is-open .hm-mobile-nav { display: flex; }
  .hm-mobile-nav[hidden] { display: none !important; }

  .hm-mobile-nav__list { display: flex; flex-direction: column; gap: 6px; }

  .hm-mobile-nav a.hm-mobile-nav__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    background: var(--ph-accent-tint-2);
    color: var(--ph-primary);
    font: 600 16px/1.2 var(--font-body);
    text-decoration: none;
  }

  .hm-mobile-nav a.hm-mobile-nav__item:active { background: var(--ph-accent-tint-1); }

  .hm-mobile-nav a.hm-mobile-nav__tel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: var(--ph-primary);
    font: 600 16px/1.2 var(--font-body);
    text-decoration: none;
  }

  .hm-mobile-nav a.hm-mobile-nav__cta {
    width: 100%;
    min-height: 56px;
    color: var(--ph-white);
    border-radius: 20px;
    font: 600 16px/1.2 var(--font-body);
  }
}

@media (min-width: 1024px) {
  .hm-mobile-nav { display: none !important; }
}

/* mobile compact */
@media (max-width: 767px) {
  .hm-shell {
    padding: 0 14px;
  }

  .hm-main {
    padding-bottom: 28px;
  }

  /* ===== 1. Hero ===== */
  .hm-hero {
    padding-top: 12px;
  }

  .hm-hero__card {
    border-radius: 20px;
  }

  .hm-hero__content {
    padding: 16px 14px 14px;
  }

  .hm-chip {
    height: 24px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 12px;
    gap: 4px;
  }

  .hm-hero__title {
    margin-top: 14px;
    font-size: 27px;
    line-height: 1.15;
  }

  .hm-hero__lead {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.35;
  }

  .hm-hero__tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 16px;
  }

  .hm-tile {
    border-radius: 16px;
    padding: 10px 8px;
  }

  .hm-tile__value {
    font-size: 24px;
    letter-spacing: -0.02em;
  }

  .hm-tile__label {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.25;
  }

  .hm-hero__dots {
    left: 14px;
    top: auto;
    bottom: 10px;
    gap: 6px;
  }

  .hm-hero__dot {
    width: 8px;
    height: 8px;
  }

  .hm-hero__pay {
    padding: 0 12px 14px;
  }

  /* ===== 2–3. Pay form compact ===== */
  .hm-hero__pay .ev-pay,
  .hm-subscribe__form .ev-pay {
    border-radius: 18px;
    padding: 14px;
    gap: 8px;
  }

  .hm-page .ev-pay__title {
    font-size: 18px;
    line-height: 1.15;
  }

  .hm-page .ev-pay__sub {
    margin-top: 2px;
    font-size: 11px;
  }

  .hm-page .ev-field {
    height: 40px;
    min-height: 40px;
    border-radius: 12px;
    padding: 0 10px;
    gap: 8px;
  }

  .hm-page .ev-field__input {
    font-size: 13px;
  }

  .hm-page .ev-field__label {
    font-size: 12px;
  }

  .hm-page .ev-field__anon {
    font-size: 11px;
    gap: 4px;
  }

  .hm-page .ev-field__anon-box svg {
    width: 16px;
    height: 16px;
  }

  .hm-page .ev-seg:not(.ev-seg--sm) {
    border-radius: 12px;
    padding: 2px;
    gap: 2px;
  }

  .hm-page .ev-seg:not(.ev-seg--sm) .ev-seg__item span {
    height: 36px;
    min-height: 36px;
    border-radius: 10px;
    font-size: 12px;
  }

  .hm-page .ev-seg--sm .ev-seg__item span {
    height: 30px;
    min-height: 30px;
    border-radius: 8px;
    font-size: 10px;
  }

  .hm-page .ev-portions {
    border-radius: 14px;
    padding: 10px;
    gap: 8px;
  }

  .hm-page .ev-pay .ev-portions__caption {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .hm-page .ev-pay .ev-stepper {
    gap: 8px;
  }

  .hm-page .ev-pay .ev-stepper__btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
  }

  .hm-page .ev-pay .ev-stepper__btn svg {
    width: 14px;
    height: 14px;
  }

  .hm-page .ev-pay .ev-stepper__input {
    height: 34px;
    border-radius: 10px;
    font-size: 20px;
    border-width: 1.5px;
  }

  .hm-page .ev-presets {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .hm-page .ev-pay .ev-preset {
    height: 34px;
    min-height: 34px;
    border-radius: 10px;
    padding: 0 2px;
  }

  .hm-page .ev-pay .ev-preset .ev-preset__n,
  .hm-page .ev-pay .ev-preset[data-portions] .ev-preset__n {
    font-size: 12px;
    font-weight: 600;
  }

  .hm-page .ev-pay .ev-preset .ev-preset__n::before,
  .hm-page .ev-preset[data-portions="1"] .ev-preset__n::before,
  .hm-page .ev-preset[data-portions="5"] .ev-preset__n::before,
  .hm-page .ev-preset[data-portions="10"] .ev-preset__n::before,
  .hm-page .ev-preset[data-portions="30"] .ev-preset__n::before {
    content: none;
  }

  .hm-page .ev-sum {
    height: 38px;
    min-height: 38px;
    border-radius: 12px;
    padding: 0 10px;
    gap: 8px;
  }

  .hm-page .ev-sum__label {
    font-size: 12px;
  }
  .hm-page .ev-sum__label::before {
    content: none;
  }

  .hm-page .ev-sum__input,
  .hm-page .ev-sum__rub {
    font-size: 16px;
  }

  .hm-page .ev-portions__hint {
    font-size: 12px;
    gap: 6px;
    line-height: 1.3;
  }

  .hm-page .ev-portions__hint svg {
    width: 13px;
    height: 13px;
  }

  .hm-page .ev-methods {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  .hm-page .ev-method__card {
    height: auto;
    min-height: 0;
    border-radius: 10px;
    padding: 6px 2px;
    gap: 4px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .hm-page .ev-method__icon {
    width: auto;
    height: 20px;
    max-width: 40px;
  }

  .hm-page .ev-method__name {
    font-size: 10px;
    line-height: 1.1;
  }

  .hm-page .ev-check--policy {
    gap: 6px;
  }

  .hm-page .ev-check--policy .ev-check__box {
    width: 14px;
    height: 14px;
  }

  .hm-page .ev-check--policy .ev-check__text {
    font-size: 11px;
    line-height: 1.35;
  }

  .hm-page .ev-btn--xl,
  .hm-page .ev-pay__submit {
    height: 46px;
    min-height: 46px;
    border-radius: 14px;
    font-size: 15px;
    padding: 0 12px;
  }

  /* ===== 4. Sections ===== */
  .hm-points,
  .hm-about,
  .hm-subscribe,
  .hm-partners,
  .hm-footer {
    margin-top: 28px;
  }

  .hm-section-title {
    font-size: 22px;
    line-height: 1.15;
  }

  .hm-section-sub {
    margin-top: 8px;
    font-size: 13px;
  }

  .hm-section-head {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .hm-btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
    gap: 6px;
  }

  /* Points — 2 cols */
  .hm-points__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .hm-point {
    border-radius: 18px;
    padding: 8px;
  }

  .hm-point__media {
    height: 110px;
    border-radius: 14px;
  }

  .hm-point__badges {
    left: 8px;
    top: 8px;
    gap: 4px;
    max-width: calc(100% - 48px);
  }

  .hm-point__num {
    right: 8px;
    top: 8px;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-size: 13px;
  }

  .hm-point__body {
    padding: 12px 8px 6px;
  }

  .hm-point__title {
    font-size: 16px;
  }

  .hm-point__progress {
    margin-top: 8px;
  }

  .hm-point__tagline,
  .hm-point__features,
  .hm-point__meta {
    margin-top: 8px;
    font-size: 11px;
  }

  .hm-point__meta {
    gap: 6px 10px;
  }

  .hm-point__status {
    margin-top: 8px;
    font-size: 11px;
    gap: 6px;
  }

  .hm-point__actions {
    padding-top: 10px;
    gap: 6px;
  }

  .hm-point__actions .hm-btn {
    min-height: 36px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 10px;
  }

  /* About */
  .hm-about__card,
  .hm-subscribe__card {
    border-radius: 20px;
    padding: 18px 16px;
  }

  .hm-about__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .hm-about__icon svg {
    width: 22px;
    height: 22px;
  }

  .hm-about__title {
    margin-top: 14px;
    font-size: 24px;
  }

  .hm-about__title--dark {
    font-size: 22px;
  }

  .hm-about__text {
    margin-top: 8px;
    font-size: 13px;
  }

  .hm-about__stat {
    padding-top: 18px;
    gap: 10px;
  }

  .hm-about__stat-num {
    font-size: 36px;
  }

  .hm-about__stat-label {
    font-size: 13px;
  }

  .hm-about__list {
    margin-top: 16px;
    gap: 10px;
  }

  .hm-about__list li {
    gap: 8px;
    font-size: 14px;
    line-height: 1.25;
  }

  .hm-about__check {
    width: 22px;
    height: 22px;
    border-radius: 7px;
  }

  .hm-about__check svg {
    width: 14px;
    height: 14px;
  }

  /* Subscribe */
  .hm-subscribe__card {
    gap: 18px;
  }

  .hm-subscribe__progress {
    margin-top: 16px;
    border-radius: 16px;
    padding: 14px;
  }

  .hm-subscribe__n {
    font-size: 32px;
  }

  .hm-subscribe__of {
    font-size: 14px;
  }

  .hm-subscribe__examples {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .hm-subscribe__ex {
    border-radius: 12px;
    padding: 10px 8px;
    gap: 4px;
  }

  .hm-subscribe__ex strong {
    font-size: 15px;
  }

  .hm-subscribe__ex span {
    font-size: 11px;
  }

  /* Partners — 2 cols */
  .hm-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .hm-partner {
    min-height: 0;
    border-radius: 16px;
    padding: 12px;
    gap: 10px;
  }

  .hm-partner__logo {
    height: 64px;
    border-radius: 12px;
    padding: 10px;
  }

  .hm-partner__logo img {
    max-height: 44px;
  }

  .hm-partner__name {
    font-size: 13px;
  }

  .hm-partner__text {
    font-size: 11px;
  }

  /* Footer */
  .hm-footer {
    padding: 28px 0 24px;
  }

  .hm-footer__top {
    gap: 20px;
  }

  .hm-footer__promo strong {
    font-size: 20px;
  }

  .hm-footer__promo span {
    font-size: 13px;
  }

  .hm-footer__contacts {
    gap: 12px;
  }

  .hm-footer__contact {
    gap: 10px;
  }

  .hm-footer__contact strong {
    font-size: 14px;
  }

  .hm-footer__contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .hm-footer__cities-title {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .hm-footer__bottom {
    margin-top: 20px;
    padding-top: 16px;
    gap: 12px;
  }

  .hm-footer__links {
    gap: 10px 14px;
  }

  /* ===== Header / mobile nav ===== */
  .hm-header__inner {
    height: 56px;
    padding: 0 14px;
    gap: 8px;
  }

  .hm-brand {
    gap: 8px;
  }

  .hm-brand__logo {
    width: 40px;
    height: 34px;
  }

  .hm-header__cta {
    min-height: 34px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 12px;
  }

  .hm-burger {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .hm-burger span {
    width: 15px;
    margin: 3px auto;
  }

  .hm-header.is-open .hm-burger span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .hm-header.is-open .hm-burger span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hm-mobile-nav {
    top: calc(100% + 6px);
    left: 10px;
    right: 10px;
    padding: 10px;
    border-radius: 18px;
    gap: 10px;
    max-height: calc(100vh - 72px);
  }

  .hm-mobile-nav a.hm-mobile-nav__item {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 14px;
  }

  .hm-mobile-nav a.hm-mobile-nav__tel {
    min-height: 38px;
    font-size: 14px;
  }

  .hm-mobile-nav a.hm-mobile-nav__cta {
    min-height: 44px;
    border-radius: 14px;
    font-size: 14px;
  }

  /* ===== 5. No horizontal overflow ===== */
  .hm-page,
  .hm-hero__card,
  .hm-hero__media,
  .hm-hero__content,
  .hm-hero__pay,
  .hm-about__card,
  .hm-subscribe__card,
  .hm-point,
  .hm-partner {
    max-width: 100%;
  }

  .hm-hero__title,
  .hm-section-title,
  .hm-about__title,
  .hm-point__title {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* donations block on home */
.hm-donations { padding: 24px 0 8px; }
.hm-donations .ev-donations { margin: 0; }
@media (max-width: 767px) { .hm-donations { padding: 16px 0 4px; } }

.ev-row[hidden] { display: none !important; }

@media (max-width: 767px) {
  .hm-donations .ev-donations { padding: 14px; border-radius: 18px; }
  .hm-donations .ev-donations__title { font-size: 20px; line-height: 1.15; }
  .hm-donations .ev-donations__sub { font-size: 12px; margin-top: 4px; }
  .hm-donations .ev-donations__count { font-size: 12px; }
  .hm-donations .ev-row { padding: 8px 0; column-gap: 10px; }
  .hm-donations .ev-row__avatar { width: 28px; height: 28px; font-size: 12px; }
  .hm-donations .ev-row__name { font-size: 13px; }
  .hm-donations .ev-row__meta { font-size: 11px; }
  .hm-donations .ev-row__sum { font-size: 14px; }
  .hm-donations .ev-donations__more { height: 38px; font-size: 13px; }
}

@media (max-width: 767px) {
  .hm-point__badges { gap: 3px; max-width: calc(100% - 16px); align-items: flex-start; }
  .hm-point__badges .hm-chip {
    height: 20px;
    padding: 0 6px;
    border-radius: 6px;
    font-size: 9px;
    letter-spacing: -0.01em;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    line-height: 20px;
  }
}
