/* Sticky in-page nav (prototype App.tsx rail); top = offset under global header (admin: section_nav_top_offset) */
.ec-home__section-nav {
  position: sticky;
  top: var(--ec-home-nav-top, 0);
  z-index: 90;
  min-height: 52px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(38, 43, 59, 0.45);
  background: rgba(17, 19, 26, 0.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.ec-home__section-nav.is-scrolled {
  background: rgba(17, 19, 26, 0.92);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.38);
  border-bottom-color: rgba(124, 92, 255, 0.22);
}

.ec-home__section-nav-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.8vw, 36px);
  padding: 12px 16px;
}

.ec-home__section-nav-link {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ec-home-muted);
  text-decoration: none;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ec-home__section-nav-link:hover,
.ec-home__section-nav-link:focus-visible {
  color: var(--ec-home-violet-soft);
  outline: none;
}

.ec-home__section-nav-link.is-active {
  color: var(--ec-home-violet);
}

.ec-home {
  --ec-home-bg: #0a0b10;
  /* Inner grid: use full width of main column; cap only on ultra-wide (ТЗ: не тянуть контент бесконечно) */
  --ec-home-content-max: min(1680px, 100%);
  --ec-home-surface-glass: rgba(17, 19, 26, 0.8);
  --ec-home-surface-solid: #151925;
  --ec-home-border: rgba(38, 43, 59, 0.5);
  --ec-home-violet: #7c5cff;
  --ec-home-violet-soft: #9a86ff;
  --ec-home-gold: #f0c86e;
  --ec-home-positive: #42d392;
  --ec-home-text: #f4f6fb;
  --ec-home-muted: #a9b0c3;
  --ec-home-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --ec-home-shadow-accent: 0 0 20px rgba(124, 92, 255, 0.15);
  color: var(--ec-home-text);
  background: var(--ec-home-bg);
  font-family: "Montserrat-Regular", Arial, sans-serif;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

/*
 * Ширина: main.css задаёт `.allcont .container { max-width: 1170px }` — из-за этого модуль
 * выглядел узкой колонкой по центру. Для главной убираем cap у #common-home и тянем .ec-home
 * на всю доступную ширину колонки справа от sidebar (без правок глобального main.css).
 */
#common-home.container {
  max-width: none;
  width: 100%;
  box-sizing: border-box;
}

#common-home #content.col-sm-12 {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100%;
  float: none;
}

/* Full-bleed module: без отрицательных margin — padding #content уже снят */
#common-home #content > .ec-home {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.ec-home__container {
  width: 100%;
  max-width: var(--ec-home-content-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 40px);
  box-sizing: border-box;
}

/* Anchor scroll: sticky section nav + comfortable clearance under viewport top */
.ec-home [id^="ec-home-"] {
  scroll-margin-top: clamp(72px, 12vh, 120px);
}

.ec-home [data-ec-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.ec-home [data-ec-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.ec-home [data-ec-reveal].is-visible [data-ec-reveal-stagger] > * {
  animation: ec-home-reveal-child 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ec-home [data-ec-reveal].is-visible [data-ec-reveal-stagger] > *:nth-child(1) { animation-delay: 0.05s; }
.ec-home [data-ec-reveal].is-visible [data-ec-reveal-stagger] > *:nth-child(2) { animation-delay: 0.12s; }
.ec-home [data-ec-reveal].is-visible [data-ec-reveal-stagger] > *:nth-child(3) { animation-delay: 0.19s; }
.ec-home [data-ec-reveal].is-visible [data-ec-reveal-stagger] > *:nth-child(4) { animation-delay: 0.26s; }
.ec-home [data-ec-reveal].is-visible [data-ec-reveal-stagger] > *:nth-child(5) { animation-delay: 0.33s; }
.ec-home [data-ec-reveal].is-visible [data-ec-reveal-stagger] > *:nth-child(6) { animation-delay: 0.4s; }
.ec-home [data-ec-reveal].is-visible [data-ec-reveal-stagger] > *:nth-child(7) { animation-delay: 0.47s; }
.ec-home [data-ec-reveal].is-visible [data-ec-reveal-stagger] > *:nth-child(8) { animation-delay: 0.54s; }

@keyframes ec-home-reveal-child {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ec-home__section {
  padding: 96px 0;
}

.ec-home__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--ec-badge-border, var(--ec-home-border));
  border-radius: 16px;
  background: var(--ec-badge-bg, rgba(15, 17, 24, 0.65));
  color: var(--ec-badge-text, var(--ec-home-text));
  padding: 8px 12px;
  margin-bottom: 18px;
  box-shadow: 0 0 28px var(--ec-badge-glow, transparent);
}

#common-home .ec-home__hero-main > .ec-home__badge {
  margin-bottom: 20px;
  padding: 9px 14px;
  font-size: 10px;
  border-radius: 999px;
  box-shadow:
    0 0 32px rgba(124, 92, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Smaller section badges (discovery etc.) — prototype-scale pills */
.ec-home__badge--compact {
  padding: 5px 11px;
  margin-bottom: 12px;
  font-size: 9px;
  letter-spacing: 0.18em;
  border-radius: 999px;
  border-width: 1px;
  box-shadow:
    0 0 18px rgba(124, 92, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Trust strip under hero — TrustStrip.tsx: horizontal icon + value + label, not stat cards */
.ec-home__section.ec-home__trust-strip--hero-bridge {
  padding-top: 22px;
  padding-bottom: 26px;
  margin-top: -44px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(38, 43, 59, 0.35);
  border-bottom: 1px solid rgba(38, 43, 59, 0.35);
  background: linear-gradient(
    180deg,
    rgba(17, 19, 26, 0.42) 0%,
    rgba(12, 14, 20, 0.55) 100%
  );
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.25);
}

.ec-home__trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: clamp(16px, 2.5vw, 28px);
}

@media (min-width: 1200px) {
  .ec-home__trust-row {
    justify-content: space-between;
    gap: 12px 20px;
  }
}

.ec-home__trust-row--dense {
  gap: clamp(12px, 2vw, 20px);
}

.ec-home__trust-signal {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 4px 2px;
  border-radius: 14px;
  transition:
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.ec-home__trust-signal:hover {
  transform: translateY(-1px);
}

.ec-home__trust-signal-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(38, 43, 59, 0.55);
  background: rgba(21, 25, 37, 0.75);
  color: rgba(124, 92, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.ec-home__trust-signal:hover .ec-home__trust-signal-icon {
  border-color: rgba(124, 92, 255, 0.45);
  box-shadow: 0 0 22px rgba(124, 92, 255, 0.15);
}

.ec-home__trust-signal-icon .ec-home__icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.ec-home__trust-signal-icon .ec-home__icon-svg svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ec-home__trust-signal-body {
  min-width: 0;
  text-align: left;
}

.ec-home__trust-signal-value {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ec-home-text);
}

.ec-home__trust-signal-label {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ec-home-muted);
  opacity: 0.88;
}

.ec-home__trust-history {
  padding: 56px 0 72px;
}

.ec-home__trust-history .ec-home__trust-row {
  justify-content: center;
}

@media (min-width: 1024px) {
  .ec-home__trust-history .ec-home__trust-row--dense {
    justify-content: space-between;
  }
}

.ec-home__blog-cat-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ec-badge-border, var(--ec-home-border));
  border-radius: 999px;
  background: var(--ec-badge-bg, rgba(15, 17, 24, 0.65));
  color: var(--ec-badge-text, var(--ec-home-muted));
  padding: 5px 10px;
  margin-bottom: 8px;
  box-shadow: 0 0 20px var(--ec-badge-glow, transparent);
}

#common-home .ec-home__section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 2.2vw + 1rem, 3rem);
  line-height: 1.08;
  font-family: "Montserrat-Bold", Arial, sans-serif;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.ec-home__section-subtitle {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ec-home-muted);
}

.ec-home__section-head--center {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
  max-width: min(920px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.ec-home__section-head--center .ec-home__section-title {
  margin-bottom: 10px;
}

.ec-home__section-subtitle--narrow {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.ec-home__section-subtitle--micro {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 0;
}

/* Why Us — WhyUs.tsx: 4-up grid + Safety First bar */
.ec-home__card-grid--why {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

@media (max-width: 1199px) {
  .ec-home__card-grid--why {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 599px) {
  .ec-home__card-grid--why {
    grid-template-columns: 1fr;
  }
}

.ec-home__why-card {
  border-radius: 32px;
  padding: 26px 22px 24px;
}

.ec-home__why-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid rgba(38, 43, 59, 0.55);
  background: rgba(12, 14, 20, 0.65);
  color: rgba(124, 92, 255, 0.95);
  transition:
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.ec-home__why-card:hover .ec-home__why-card-icon {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.18);
  box-shadow: 0 0 32px rgba(124, 92, 255, 0.2);
}

.ec-home__why-card-icon .ec-home__icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ec-home__why-card-icon .ec-home__icon-svg svg {
  width: 30px;
  height: 30px;
  display: block;
}

.ec-home__why-card-title {
  font-size: clamp(15px, 1.1vw + 12px, 18px);
  letter-spacing: 0.02em;
  transition: color 0.22s ease;
}

.ec-home__why-card:hover .ec-home__why-card-title {
  color: var(--ec-home-violet-soft);
}

.ec-home__why-card-text {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(169, 176, 195, 0.95);
}

.ec-home__why-safety {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(22px, 3vw, 34px) clamp(20px, 3vw, 40px);
  border-radius: 48px;
  border: 1px solid rgba(124, 92, 255, 0.14);
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.07) 0%,
    rgba(17, 19, 26, 0.55) 55%,
    rgba(12, 14, 20, 0.65) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 56px rgba(0, 0, 0, 0.35),
    0 0 48px rgba(124, 92, 255, 0.08);
}

.ec-home__why-safety-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(124, 92, 255, 0.95), rgba(90, 60, 220, 0.98));
  color: #fff;
  box-shadow: 0 12px 36px rgba(124, 92, 255, 0.35);
}

.ec-home__why-safety-icon .ec-home__icon-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.ec-home__why-safety-icon .ec-home__icon-svg svg {
  width: 34px;
  height: 34px;
  display: block;
}

.ec-home__why-safety-body {
  min-width: 0;
  text-align: left;
}

.ec-home__why-safety-title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 1vw + 0.9rem, 1.45rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ec-home__why-safety-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(169, 176, 195, 0.95);
  font-weight: 500;
}

.ec-home__why-safety-text p:first-child,
.ec-home__why-safety-title p:first-child {
  margin-top: 0;
}

.ec-home__why-safety-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .ec-home__why-safety {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .ec-home__why-safety-body {
    text-align: left;
  }
}

/* How it works — HowItWorks.tsx */
.ec-home__how {
  border-top: 1px solid rgba(38, 43, 59, 0.35);
}

.ec-home__how-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
}

.ec-home__how-grid::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 46px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(124, 92, 255, 0.18) 20%,
    rgba(124, 92, 255, 0.18) 80%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0.85;
}

@media (max-width: 1199px) {
  .ec-home__how-grid::before {
    display: none;
  }

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

@media (max-width: 599px) {
  .ec-home__how-grid {
    grid-template-columns: 1fr;
  }
}

.ec-home__how-step {
  text-align: center;
  padding: 10px 8px 0;
  position: relative;
  z-index: 1;
}

.ec-home__how-icon-stack {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 28px;
  border: 1px solid rgba(38, 43, 59, 0.55);
  background: rgba(21, 25, 37, 0.72);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.ec-home__how-step:hover .ec-home__how-icon-stack {
  border-color: rgba(124, 92, 255, 0.45);
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.35),
    0 0 36px rgba(124, 92, 255, 0.15);
}

.ec-home__how-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(124, 92, 255, 0.95);
}

.ec-home__how-step-icon .ec-home__icon-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ec-home__how-step-icon .ec-home__icon-svg svg {
  width: 32px;
  height: 32px;
  display: block;
}

.ec-home__how-step-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--ec-home-violet);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ec-home-bg);
  box-shadow: 0 6px 16px rgba(124, 92, 255, 0.35);
}

.ec-home__how-step-title {
  margin: 0 0 8px;
  font-size: clamp(15px, 0.8vw + 13px, 17px);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.22s ease;
}

.ec-home__how-step:hover .ec-home__how-step-title {
  color: var(--ec-home-violet-soft);
}

.ec-home__how-step-text {
  margin: 0 auto;
  max-width: 220px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(169, 176, 195, 0.92);
  font-weight: 500;
}

.ec-home__panel {
  border: 1px solid var(--ec-home-border);
  background: var(--ec-home-surface-solid);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--ec-home-shadow);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.ec-home__panel h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  text-transform: uppercase;
}

.ec-home__panel p {
  margin: 0;
  color: var(--ec-home-muted);
}

.ec-home__hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 88px) 0 clamp(80px, 10vw, 112px);
  min-height: min(78vh, 920px);
}

/* Мягкий «премиальный» ореол за контентом hero (не затрагивает sidebar) */
.ec-home__hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  width: min(110%, 1400px);
  height: 62%;
  pointer-events: none;
  background: radial-gradient(
    ellipse 70% 55% at 50% 45%,
    rgba(124, 92, 255, 0.14) 0%,
    rgba(124, 92, 255, 0.04) 42%,
    transparent 72%
  );
  z-index: 0;
}

.ec-home__hero .ec-home__container {
  position: relative;
  z-index: 1;
}

.ec-home__hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Prototype parity: logo-atmosphere shifted left (LogoBackground.tsx) */
.ec-home__hero-corner {
  position: absolute;
  border-radius: 999px;
  mix-blend-mode: screen;
  pointer-events: none;
}

.ec-home__hero-corner--tl {
  left: -14%;
  top: -18%;
  width: 42%;
  height: 42%;
  opacity: calc(0.31 * var(--ec-hero-corner-tl, 1));
  filter: blur(76px);
  background: radial-gradient(
    circle at 58% 58%,
    rgba(122, 43, 255, 0.44) 0%,
    rgba(154, 77, 254, 0.3) 18%,
    rgba(122, 43, 255, 0.18) 34%,
    rgba(122, 43, 255, 0.08) 48%,
    rgba(122, 43, 255, 0) 72%
  );
  animation: ec-home-corner-float1 16s ease-in-out infinite alternate;
}

.ec-home__hero-corner--br {
  right: -15%;
  bottom: -18%;
  width: 40%;
  height: 40%;
  opacity: calc(0.24 * var(--ec-hero-corner-br, 1));
  filter: blur(82px);
  background: radial-gradient(
    circle at 42% 42%,
    rgba(154, 77, 254, 0.34) 0%,
    rgba(122, 43, 255, 0.24) 20%,
    rgba(154, 77, 254, 0.14) 36%,
    rgba(122, 43, 255, 0.07) 52%,
    rgba(122, 43, 255, 0) 74%
  );
  animation: ec-home-corner-float2 19s ease-in-out infinite alternate;
}

.ec-home__hero-logo-halo {
  position: absolute;
  left: var(--ec-hero-logo-x, 36%);
  top: var(--ec-hero-logo-y, 54%);
  width: min(108vmin, 1260px);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(181, 101, 230, 0.05) 0%,
    rgba(181, 101, 230, 0.018) 26%,
    rgba(181, 101, 230, 0) 64%
  );
  filter: blur(26px);
  opacity: calc(0.78 * var(--ec-hero-halo, 1));
  pointer-events: none;
}

.ec-home__hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(181, 101, 230, 0.24);
  filter: blur(9px);
  pointer-events: none;
  z-index: 1;
}

.ec-home__hero-particle--1 {
  left: 23%;
  top: 24%;
  width: 98px;
  height: 98px;
  animation: ec-home-particle-pulse 8s ease-in-out infinite;
}

.ec-home__hero-particle--2 {
  left: 52%;
  top: 66%;
  width: 132px;
  height: 132px;
  animation: ec-home-particle-pulse 10s ease-in-out infinite reverse;
}

.ec-home__hero-particle--3 {
  left: 63%;
  top: 29%;
  width: 74px;
  height: 74px;
  animation: ec-home-particle-pulse 7s ease-in-out infinite;
}

.ec-home__hero-bg-layer {
  position: absolute;
  left: var(--ec-hero-logo-x, 36%);
  top: var(--ec-hero-logo-y, 54%);
  transform: translate(-50%, -50%) scale(var(--ec-hero-scale, 1));
  transform-origin: center center;
  will-change: transform, opacity;
  filter: saturate(0.95);
}

.ec-home__hero-bg-layer--front {
  width: min(78vmin, 920px);
  opacity: 0.12;
  filter: blur(8px) brightness(0.94);
  mix-blend-mode: screen;
  animation: ec-home-rotate 118s linear infinite, ec-home-breathe 9s ease-in-out infinite;
}

.ec-home__hero-bg-layer--mid {
  width: min(84vmin, 980px);
  opacity: 0.076;
  filter: blur(18px) brightness(0.92);
  mix-blend-mode: screen;
  animation: ec-home-rotate 130s linear infinite, ec-home-drift 18s ease-in-out infinite;
}

.ec-home__hero-bg-layer--back {
  width: min(90vmin, 1060px);
  opacity: 0.045;
  filter: blur(34px) brightness(0.9);
  mix-blend-mode: screen;
  animation: ec-home-rotate 150s linear infinite, ec-home-drift 20s ease-in-out infinite;
}

.ec-home__hero--no-rotate .ec-home__hero-bg-layer {
  animation: none !important;
}

.ec-home__hero--no-drift .ec-home__hero-bg-layer--mid,
.ec-home__hero--no-drift .ec-home__hero-bg-layer--back,
.ec-home__hero--no-drift .ec-home__hero-corner {
  animation: none !important;
}

.ec-home__hero--no-particles .ec-home__hero-dot {
  display: none !important;
}

.ec-home__hero-dot {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 16px rgba(143, 91, 255, 0.26);
  background: radial-gradient(circle at 35% 35%, #c9b8ff 0%, #8f5bff 45%, #4e35af 100%);
  animation: ec-home-orbit 24s linear infinite;
}

.ec-home__hero-dot--a {
  width: 10px;
  height: 10px;
  top: 18%;
  right: 24%;
}

.ec-home__hero-dot--b {
  width: 9px;
  height: 9px;
  bottom: 18%;
  left: 20%;
  animation-delay: -12s;
}

.ec-home__hero-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(20px);
  animation: ec-home-float 17s ease-in-out infinite;
}

.ec-home__hero-glow--left {
  left: -120px;
  bottom: -100px;
  background: radial-gradient(
    circle,
    rgba(124, 92, 255, calc(0.2 * var(--ec-hero-glow-l, 1))) 0%,
    rgba(124, 92, 255, 0) 70%
  );
}

.ec-home__hero-glow--right {
  right: -120px;
  top: -100px;
  animation-delay: -8s;
  background: radial-gradient(
    circle,
    rgba(124, 92, 255, calc(0.2 * var(--ec-hero-glow-r, 1))) 0%,
    rgba(124, 92, 255, 0) 70%
  );
}

.ec-home__hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 64px;
}

/* #content h2 в main.css (24px) перебивает класс — привязываем к #common-home */
#common-home .ec-home__hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 4.5vw + 1rem, 4.75rem);
  line-height: 0.98;
  font-family: "Montserrat-Bold", Arial, sans-serif;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

#common-home .ec-home__hero-title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(124, 92, 255, 0.55);
  text-underline-offset: 0.14em;
}

#common-home .ec-home__hero-title a:hover {
  color: var(--ec-home-violet-soft);
  text-decoration-color: rgba(154, 134, 255, 0.85);
}

#common-home .ec-home__hero-title .ec-home__title-accent,
#common-home .ec-home__hero-title strong {
  background: linear-gradient(135deg, #ddd6fe 0%, var(--ec-home-violet) 42%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#common-home .ec-home__section-title .ec-home__title-accent,
#common-home .ec-home__section-title strong {
  background: linear-gradient(135deg, #e9e3ff 0%, var(--ec-home-violet-soft) 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ec-home__hero-subtitle {
  margin: 0 0 28px;
  max-width: 52ch;
  font-size: clamp(16px, 1.1vw + 14px, 19px);
  line-height: 1.65;
  color: rgba(169, 176, 195, 0.95);
  font-weight: 500;
}

.ec-home__search-field {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.ec-home__search-typed {
  position: absolute;
  left: 18px;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  font-size: 16px;
  font-weight: 500;
  color: rgba(169, 176, 195, 0.92);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  max-width: calc(100% - 24px);
}

.ec-home__search-typed.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.ec-home__search-typed.is-hidden .ec-home__search-typed-caret {
  animation: none;
}

.ec-home__search-typed-prefix {
  flex-shrink: 0;
}

.ec-home__search-typed-keyword {
  color: var(--ec-home-violet);
  font-weight: 700;
}

.ec-home__search-typed-caret {
  display: inline-block;
  width: 2px;
  height: 1.12em;
  margin-left: 3px;
  background: var(--ec-home-violet);
  animation: ec-home-caret-blink 0.85s step-end infinite;
}

@keyframes ec-home-caret-blink {
  50% {
    opacity: 0;
  }
}

.ec-home__search-form {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 10px;
  isolation: isolate;
  border: 1px solid rgba(124, 92, 255, 0.28);
  background: linear-gradient(
    165deg,
    rgba(22, 24, 34, 0.92) 0%,
    rgba(12, 14, 20, 0.88) 100%
  );
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 999px;
  padding: 6px 6px 6px 8px;
  min-height: 58px;
  box-shadow:
    0 4px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 48px rgba(124, 92, 255, 0.12);
  transition:
    border-color 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.ec-home__search-form::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.5) 0%,
    rgba(167, 139, 250, 0.15) 40%,
    transparent 65%
  );
  opacity: 0.22;
  z-index: -1;
  filter: blur(14px);
  pointer-events: none;
}

.ec-home__search-form:focus-within {
  border-color: rgba(154, 134, 255, 0.65);
  box-shadow:
    0 0 0 3px rgba(124, 92, 255, 0.2),
    0 12px 48px rgba(0, 0, 0, 0.5),
    0 0 64px rgba(124, 92, 255, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: translateY(-1px);
}

.ec-home__search-input {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ec-home-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  padding: 14px 18px;
  border-radius: 999px;
}

.ec-home__search-input::placeholder {
  color: rgba(169, 176, 195, 0.72);
}

.ec-home__search-input:focus {
  outline: none;
}

.ec-home__search-input:focus-visible {
  outline: none;
}

.ec-home__search-btn {
  flex-shrink: 0;
  align-self: center;
  border: 0;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 26px;
  background: linear-gradient(
    165deg,
    #8b6cff 0%,
    var(--ec-home-violet) 38%,
    #5a3fd9 100%
  );
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 4px 20px rgba(124, 92, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.22s ease,
    filter 0.22s ease,
    box-shadow 0.22s ease;
}

.ec-home__search-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow:
    0 10px 32px rgba(124, 92, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ec-home__search-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

.ec-home__search-btn:active {
  transform: translateY(0);
  filter: brightness(0.94);
}

.ec-home__chips-block {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ec-home__chips-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 246, 251, 0.55);
}

.ec-home__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.ec-home__hero-cta-row {
  margin-top: 28px;
}

.ec-home__hero-main-cta {
  border: 0;
  border-radius: 16px;
  background: #ffffff;
  color: #0a0b10;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 28px;
  cursor: pointer;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.ec-home__hero-main-cta:hover {
  background: var(--ec-home-violet);
  color: #ffffff;
  transform: translateY(-1px);
}

.ec-home__hero-main-cta:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.85);
  outline-offset: 3px;
}

.ec-home__chip {
  border: 1px solid rgba(124, 92, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(220, 224, 236, 0.92);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
  transition:
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.ec-home__chip:hover {
  color: #ffffff;
  border-color: rgba(154, 134, 255, 0.75);
  background: rgba(124, 92, 255, 0.12);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(124, 92, 255, 0.18),
    0 0 0 1px rgba(124, 92, 255, 0.25) inset;
}

.ec-home__chip:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.65);
  outline-offset: 3px;
}

.ec-home__chip:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .ec-home__search-form,
  .ec-home__search-form:focus-within,
  .ec-home__search-btn,
  .ec-home__chip,
  .ec-home__quick-item,
  .ec-home__quick-link--center,
  .ec-home__quick-assist-btn,
  .ec-home__section-nav-link {
    transition-duration: 0.01ms;
    transform: none !important;
  }

  .ec-home__game-item:hover,
  .ec-home__service-item:hover,
  .ec-home__hero-main-cta:hover,
  .ec-home__stat-card:hover,
  #common-home .ec-home__card-grid .ec-home__panel:not(.ec-home__faq-item):hover,
  #common-home .ec-home__two-col > .ec-home__panel:hover,
  #common-home .ec-home__final-card:hover {
    transform: none !important;
  }

  .ec-home__reviews-dot:hover,
  .ec-home__review-card:hover {
    transform: none !important;
  }
}

.ec-home.ec-home--reduced-mobile .ec-home__search-form:focus-within {
  transform: none;
}

.ec-home.ec-home--reduced-mobile .ec-home__quick-item:hover {
  transform: none;
}

.ec-home__quick-panel {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 48px;
  padding: 16px;
  background: linear-gradient(
    165deg,
    rgba(22, 24, 34, 0.94) 0%,
    rgba(12, 14, 20, 0.9) 100%
  );
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 56px rgba(124, 92, 255, 0.14);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ec-home__quick-panel::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(124, 92, 255, 0.42) 0%,
    rgba(167, 139, 250, 0.12) 42%,
    transparent 68%
  );
  opacity: 0.2;
  z-index: -1;
  filter: blur(18px);
  pointer-events: none;
}

.ec-home__quick-footer {
  margin-top: 6px;
  padding-top: 0;
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  grid-column: 1 / -1;
}

.ec-home__quick-footer-viewall {
  display: flex;
  justify-content: center;
  padding: 8px 0 16px;
}

.ec-home__quick-link--center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ec-home-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.22s ease, transform 0.22s ease;
}

.ec-home__quick-link--center:hover {
  color: var(--ec-home-violet-soft);
  transform: none;
  box-shadow: none;
}

.ec-home__quick-link-arrow {
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.22s ease;
}

.ec-home__quick-link--center:hover .ec-home__quick-link-arrow {
  transform: translateX(4px);
}

.ec-home__quick-assist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ec-home__quick-assist-copy {
  text-align: left;
  min-width: 0;
}

.ec-home__quick-assist-title {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ec-home-text);
}

.ec-home__quick-assist-sub {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ec-home-muted);
  opacity: 0.85;
}

.ec-home__quick-assist-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(21, 25, 37, 0.65);
  color: var(--ec-home-violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.ec-home__quick-assist-btn:hover {
  background: var(--ec-home-violet);
  color: #fff;
  border-color: var(--ec-home-violet);
  box-shadow: 0 0 28px rgba(124, 92, 255, 0.35);
}

.ec-home__quick-assist-btn:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.75);
  outline-offset: 3px;
}

.ec-home__quick-item {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  border: 1px solid rgba(124, 92, 255, 0.18);
  background: rgba(18, 21, 30, 0.88);
  color: var(--ec-home-text);
  border-radius: 24px;
  padding: 14px;
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
  margin: 0;
  min-height: 98px;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25) inset,
    0 4px 18px rgba(0, 0, 0, 0.22);
}

.ec-home__quick-body {
  flex: 1;
  min-width: 0;
}

.ec-home__quick-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: 2px;
  color: rgba(124, 92, 255, 0.95);
}

.ec-home__quick-icon .ec-home__icon-svg svg {
  width: 28px;
  height: 28px;
  display: block;
}

.ec-home__quick-icon .ec-home__icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ec-home__quick-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(154, 134, 255, 0.65);
  background: rgba(24, 27, 38, 0.95);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 14px 36px rgba(0, 0, 0, 0.38),
    0 0 40px rgba(124, 92, 255, 0.22);
}

.ec-home__quick-item:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.75);
  outline-offset: 3px;
}

.ec-home__quick-item:active {
  transform: translateY(-2px) scale(1.01);
}

.ec-home__quick-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.ec-home__quick-desc {
  display: block;
  margin-top: 6px;
  color: var(--ec-home-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ec-home__discovery {
  padding: 96px 0;
}

.ec-home__discovery-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 28px;
  margin-bottom: 8px;
}

.ec-home__discovery-lead {
  flex: 1 1 280px;
  min-width: 0;
}

.ec-home__discovery-switch-wrap {
  flex: 0 0 auto;
  margin-left: auto;
  align-self: flex-start;
}

.ec-home__discovery-head .ec-home__section-subtitle {
  margin-bottom: 0;
}

.ec-home__mode-switch {
  display: inline-flex;
  border: 1px solid var(--ec-home-border);
  border-radius: 14px;
  padding: 3px;
  background: rgba(21, 25, 37, 0.72);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

.ec-home__mode-switch--single {
  opacity: 0.85;
}

.ec-home__mode-btn {
  border: 0;
  background: transparent;
  color: var(--ec-home-muted);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ec-home__mode-btn.is-active {
  background: var(--ec-home-violet);
  color: #fff;
}

.ec-home__mode-btn.is-static {
  pointer-events: none;
  cursor: default;
}

.ec-home__mode-btn:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.75);
  outline-offset: 2px;
}

.ec-home__selectors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 22px;
}

.ec-home__game-item,
.ec-home__service-item {
  border: 1px solid var(--ec-home-border);
  background: rgba(21, 25, 37, 0.8);
  color: var(--ec-home-text);
  border-radius: 14px;
  padding: 8px 10px;
  text-align: left;
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
  cursor: pointer;
}

.ec-home__service-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ec-home__service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(124, 92, 255, 0.9);
  min-height: 36px;
}

.ec-home__service-icon .ec-home__icon-svg svg {
  width: 28px;
  height: 28px;
  display: block;
}

.ec-home__service-icon .ec-home__icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.ec-home__game-item.is-active,
.ec-home__service-item.is-active {
  border-color: var(--ec-home-violet);
  box-shadow: var(--ec-home-shadow-accent);
}

.ec-home__game-item:hover,
.ec-home__service-item:hover {
  border-color: rgba(124, 92, 255, 0.58);
  transform: translateY(-2px);
}

.ec-home__game-item:focus-visible,
.ec-home__service-item:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.75);
  outline-offset: 3px;
}

.ec-home__game-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 0;
}

.ec-home__game-item-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(38, 43, 59, 0.65);
}

.ec-home__game-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ec-home__game-item-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.ec-home__game-item-name {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.ec-home__game-item-desc,
.ec-home__service-item span:not(.ec-home__service-icon) {
  display: block;
  margin-top: 0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ec-home-muted);
  text-transform: uppercase;
  line-height: 1.35;
}

.ec-home__service-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
}

.ec-home__results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.ec-home__results-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  text-transform: uppercase;
}

.ec-home__result-pane.is-hidden {
  display: none;
}

.ec-home__result-pane > h3:empty {
  display: none;
}

.ec-home__result-pane .ec-storefront-product-preview .product-layout {
  width: 16.666667%;
}

.ec-home__card-grid {
  display: grid;
  gap: 24px;
}

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

.ec-home__card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ec-home__card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ec-home__card-grid--5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ec-home__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.ec-home__stat-card {
  border: 1px solid var(--ec-home-border);
  background: rgba(21, 25, 37, 0.8);
  border-radius: 20px;
  padding: 16px;
  text-align: center;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.ec-home__stat-card:hover {
  border-color: rgba(124, 92, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: var(--ec-home-shadow-accent);
}

/* Карточки в сетках (why / how / blog / about features): лёгкий lift — не трогаем FAQ */
#common-home .ec-home__card-grid .ec-home__panel:not(.ec-home__faq-item):hover {
  border-color: rgba(124, 92, 255, 0.38);
  transform: translateY(-3px);
  box-shadow:
    var(--ec-home-shadow),
    0 0 40px rgba(124, 92, 255, 0.12);
}

#common-home .ec-home__two-col > .ec-home__panel:hover {
  border-color: rgba(124, 92, 255, 0.32);
  transform: translateY(-2px);
  box-shadow:
    var(--ec-home-shadow),
    0 0 32px rgba(124, 92, 255, 0.1);
}

#common-home .ec-home__final-card:hover {
  border-color: rgba(124, 92, 255, 0.42);
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.42),
    0 0 36px rgba(124, 92, 255, 0.14);
}

.ec-home__stat-card[style*='--ec-badge-bg'] .ec-home__stat-value {
  color: var(--ec-badge-text, inherit);
}

.ec-home__stat-value {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
}

.ec-home__stat-label {
  font-size: 10px;
  color: var(--ec-home-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.ec-home__stat-icon {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.ec-home__stat-icon .ec-home__icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.ec-home__stat-icon .ec-home__icon-svg svg {
  width: 40px;
  height: 40px;
  display: block;
}

.ec-home__card-icon {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ec-home__card-icon .ec-home__icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.ec-home__card-icon .ec-home__icon-svg svg {
  width: 36px;
  height: 36px;
  display: block;
}

.ec-home__reviews-carousel {
  position: relative;
}

.ec-home__reviews-micro {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(169, 176, 195, 0.85);
}

.ec-home__reviews-summary-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 14px;
}

.ec-home__reviews-stars {
  color: var(--ec-home-gold);
  font-size: 15px;
  letter-spacing: 0.12em;
  line-height: 1;
}

.ec-home__reviews-summary-text {
  color: rgba(244, 246, 251, 0.78);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ec-home__reviews-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.ec-home__reviews-toolbar-spacer {
  flex: 1;
  min-width: 8px;
}

.ec-home__reviews-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.ec-home__reviews-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

.ec-home__reviews-nav-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.ec-home__reviews-viewport {
  overflow-x: hidden;
  overflow-y: visible;
  touch-action: pan-y;
  padding-bottom: 12px;
}

.ec-home__reviews-track {
  display: flex;
  transition: transform 0.35s ease;
  align-items: stretch;
}

.ec-home__review-card {
  margin-right: 12px;
  flex-shrink: 0;
  background: rgba(17, 19, 26, 0.64);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(124, 92, 255, 0.14);
  box-sizing: border-box;
}

.ec-home__review-card:hover {
  border-color: rgba(154, 134, 255, 0.38);
  transform: translateY(-2px);
  box-shadow:
    var(--ec-home-shadow),
    0 0 28px rgba(124, 92, 255, 0.1);
}

.ec-home__review-text {
  color: rgba(244, 246, 251, 0.9) !important;
  line-height: 1.65;
  font-size: 14px;
  margin-bottom: 14px !important;
  position: relative;
  padding-left: 14px;
}

.ec-home__review-text::before {
  content: "“";
  position: absolute;
  left: -2px;
  top: -10px;
  color: rgba(124, 92, 255, 0.35);
  font-size: 28px;
  font-weight: 700;
}

.ec-home__verified-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(66, 211, 146, 0.35);
  border-radius: 999px;
  background: rgba(66, 211, 146, 0.12);
  color: #7ef3bf;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 9px;
  margin: 2px 0 10px;
}

.ec-home__reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.ec-home__reviews-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ec-home__reviews-dot:hover {
  background: rgba(255, 255, 255, 0.45);
}

.ec-home__reviews-dot:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.75);
  outline-offset: 3px;
}

.ec-home__reviews-dot.is-active {
  background: var(--ec-home-violet);
}

.ec-home__meta-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.ec-home__meta-row--muted {
  color: var(--ec-home-muted);
  font-size: 12px;
}

.ec-home__step-index {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--ec-home-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.ec-home__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ec-home__about .ec-home__section-title {
  margin-bottom: 28px;
}

.ec-home__about-features {
  margin-bottom: 32px;
}

.ec-home__about-feature-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.ec-home__about-feature-text {
  margin: 0;
  color: rgba(244, 246, 251, 0.78);
  line-height: 1.55;
  font-size: 14px;
}

.ec-home__about-milestones {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  padding-top: 8px;
  border-top: 1px solid var(--ec-home-border);
}

.ec-home__about-milestone {
  display: grid;
  grid-template-columns: minmax(72px, 120px) 1fr;
  column-gap: 20px;
  row-gap: 6px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(38, 43, 59, 0.45);
}

.ec-home__about-milestone:last-child {
  border-bottom: 0;
}

.ec-home__about-milestone-period {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ec-home-violet-soft);
  line-height: 1.3;
}

.ec-home__about-milestone-title {
  grid-column: 2;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.ec-home__about-milestone-text {
  grid-column: 2;
  margin: 0;
  color: rgba(244, 246, 251, 0.78);
  line-height: 1.55;
  font-size: 14px;
}

.ec-home__brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  justify-content: center;
}

.ec-home__brand-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ec-home-border);
  background: rgba(21, 25, 37, 0.65);
  color: var(--ec-home-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

a.ec-home__brand-chip:hover {
  border-color: rgba(124, 92, 255, 0.45);
  color: var(--ec-home-text);
}

a.ec-home__brand-chip:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.75);
  outline-offset: 3px;
  border-radius: 999px;
}

.ec-home__faq-list {
  display: grid;
  gap: 12px;
}

.ec-home__faq-item {
  padding: 0;
  border-radius: 32px;
  overflow: hidden;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ec-home__faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ec-home-text);
  text-align: left;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ec-home__faq-question-main {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.ec-home__faq-question-text {
  flex: 1;
  min-width: 0;
}

.ec-home__faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(124, 92, 255, 0.95);
}

.ec-home__faq-icon .ec-home__icon-svg svg {
  width: 22px;
  height: 22px;
  display: block;
}

.ec-home__faq-icon .ec-home__icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.ec-home__faq-question:hover {
  background: rgba(21, 25, 37, 0.48);
}

.ec-home__faq-question:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.75);
  outline-offset: -2px;
  border-radius: 28px;
}

.ec-home__faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--ec-home-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(244, 246, 251, 0.85);
}

.ec-home__faq-plus-svg {
  display: block;
  transition: transform 0.25s ease;
}

.ec-home__faq-item.is-open .ec-home__faq-plus {
  background: var(--ec-home-violet);
  border-color: var(--ec-home-violet);
  color: #fff;
}

.ec-home__faq-item.is-open .ec-home__faq-plus-svg {
  transform: rotate(45deg);
}

.ec-home__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.ec-home__faq-answer > div {
  padding-bottom: 20px;
  color: rgba(244, 246, 251, 0.82);
  line-height: 1.7;
}

.ec-home__faq-answer-inner p:first-child {
  margin-top: 0;
}

.ec-home__faq-answer-inner p:last-child {
  margin-bottom: 0;
}

.ec-home__faq-support {
  margin-top: 20px;
  border-radius: 40px;
  padding: 28px;
}

.ec-home__faq-support--premium {
  position: relative;
  border: 1px solid rgba(124, 92, 255, 0.2);
  background: linear-gradient(
    155deg,
    rgba(124, 92, 255, 0.09) 0%,
    rgba(17, 19, 26, 0.75) 45%,
    rgba(12, 14, 20, 0.88) 100%
  );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 20px 48px rgba(0, 0, 0, 0.38),
    0 0 40px rgba(124, 92, 255, 0.1);
}

.ec-home__faq-support-title {
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 0.9vw + 0.85rem, 1.35rem);
  line-height: 1.25;
  font-family: "Montserrat-Bold", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ec-home__faq-support-text {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(169, 176, 195, 0.95);
}

.ec-home__faq-support-text p:first-child {
  margin-top: 0;
}

.ec-home__faq-support-text p:last-child {
  margin-bottom: 0;
}

.ec-home__faq-support--premium .ec-home__search-btn {
  box-shadow: 0 8px 28px rgba(124, 92, 255, 0.22);
}

.ec-home__panel--final {
  position: relative;
  overflow: hidden;
  border-radius: 56px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    155deg,
    rgba(17, 19, 26, 0.55) 0%,
    rgba(12, 14, 20, 0.82) 100%
  );
  backdrop-filter: blur(22px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 64px rgba(0, 0, 0, 0.45);
  padding: clamp(28px, 4vw, 52px);
}

.ec-home__panel--final::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 0.6px, transparent 0.6px);
  background-size: 14px 14px;
  opacity: 0.35;
  pointer-events: none;
}

.ec-home__final-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  right: -120px;
  top: -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.2) 0%, rgba(124, 92, 255, 0) 70%);
  pointer-events: none;
}

.ec-home__final-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.ec-home__final-main .ec-home__section-title {
  margin-bottom: 18px;
}

.ec-home__final-subtitle {
  max-width: 36rem;
}

.ec-home__cta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.ec-home__final-cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ec-home__final-cards-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.12) 0%, rgba(124, 92, 255, 0) 65%);
  filter: blur(40px);
  opacity: var(--ec-final-cards-glow, 0.65);
  pointer-events: none;
}

.ec-home__final-cards > .ec-home__final-card {
  position: relative;
  z-index: 1;
}

.ec-home__final-card {
  background: rgba(10, 11, 16, 0.55);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(22px, 3vw, 32px);
  text-align: center;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ec-home__final-card:hover {
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.ec-home__final-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.1);
  color: var(--ec-home-violet-soft);
  transition:
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease;
}

.ec-home__final-card-icon .ec-home__icon-img,
.ec-home__final-card-icon .ec-home__icon-svg {
  width: 26px;
  height: 26px;
}

.ec-home__final-card:hover .ec-home__final-card-icon {
  background: rgba(124, 92, 255, 0.35);
  color: #fff;
}

.ec-home__final-card h3 {
  margin: 0 0 10px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Montserrat-Bold", Arial, sans-serif;
}

.ec-home__final-card p {
  margin: 0;
  font-size: 11px;
  line-height: 1.65;
  color: rgba(169, 176, 195, 0.95);
}

.ec-home__final-card--offset {
  margin-top: 28px;
}

.ec-home__blog-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
}

.ec-home__blog-all {
  margin-top: 28px;
  text-align: center;
}

.ec-home__link {
  color: var(--ec-home-violet-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 92, 255, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.ec-home__link:hover {
  color: #c4b5fd;
  border-bottom-color: rgba(154, 134, 255, 0.65);
}

.ec-home__link:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.75);
  outline-offset: 3px;
  border-radius: 2px;
}

.ec-home__modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0s linear 0.28s;
}

.ec-home__modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.28s ease,
    visibility 0s;
}

.ec-home__modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.ec-home__modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  margin: 0;
  border-radius: 48px;
  border: 1px solid rgba(124, 92, 255, 0.28);
  background: linear-gradient(
    165deg,
    rgba(22, 24, 34, 0.98) 0%,
    rgba(12, 14, 20, 0.96) 100%
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 30px;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 56px rgba(124, 92, 255, 0.14);
  transform: scale(0.94) translateY(18px);
  opacity: 0;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.26s ease;
}

.ec-home__modal.is-open .ec-home__modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.ec-home__modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ec-home-text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ec-home__modal-close:hover {
  background: rgba(124, 92, 255, 0.18);
  color: #ffffff;
}

.ec-home__modal-close:focus-visible {
  outline: 2px solid rgba(124, 92, 255, 0.85);
  outline-offset: 2px;
}

.ec-home__modal-heading {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 1.2vw + 1rem, 1.75rem);
  line-height: 1.15;
  font-family: "Montserrat-Bold", Arial, sans-serif;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.ec-home__modal-heading p {
  margin: 0;
}

.ec-home__modal-lead {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(169, 176, 195, 0.95);
}

.ec-home__modal-lead p:first-child {
  margin-top: 0;
}

.ec-home__modal-lead p:last-child {
  margin-bottom: 0;
}

.ec-home__final-subtitle p:first-child {
  margin-top: 0;
}

.ec-home__final-subtitle p:last-child {
  margin-bottom: 0;
}

.ec-home__coupon-code {
  border: 1px dashed var(--ec-home-violet);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}

.ec-home__coupon-rules {
  margin: 0;
  padding-left: 20px;
  color: var(--ec-home-muted);
}

.ec-home-modal-open {
  overflow: hidden;
}

@keyframes ec-home-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ec-home-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.03); }
}

@keyframes ec-home-drift {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-10px); }
}

@keyframes ec-home-orbit {
  from { transform: rotate(0deg) translateX(10px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(10px) rotate(-360deg); }
}

@keyframes ec-home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes ec-home-corner-float1 {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, 1.3%, 0) scale(1.05);
  }
}

@keyframes ec-home-corner-float2 {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-1.6%, -1.3%, 0) scale(1.04);
  }
}

@keyframes ec-home-particle-pulse {
  0%,
  100% {
    opacity: 0.18;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.08);
  }
}

@media (max-width: 1023px) {
  .ec-home__container {
    padding: 0 16px;
  }

  .ec-home__section,
  .ec-home__discovery {
    padding: 64px 0;
  }

  .ec-home__hero {
    padding: 56px 0 64px;
  }

  .ec-home__hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  #common-home .ec-home__section-title {
    font-size: clamp(1.6rem, 2vw + 0.85rem, 2.35rem);
  }

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

  .ec-home__result-pane .ec-storefront-product-preview .product-layout {
    width: 33.333333%;
  }

  .ec-home__card-grid--5,
  .ec-home__card-grid--4,
  .ec-home__card-grid--3,
  .ec-home__card-grid--2,
  .ec-home__stats-grid,
  .ec-home__two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .ec-home__discovery-switch-wrap {
    width: 100%;
    margin-left: 0;
  }

  .ec-home__mode-switch:not(.ec-home__mode-switch--single) {
    display: flex;
    width: 100%;
  }

  .ec-home__mode-switch:not(.ec-home__mode-switch--single) .ec-home__mode-btn {
    flex: 1;
    text-align: center;
    justify-content: center;
  }

  .ec-home__final-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ec-home__section.ec-home__trust-strip--hero-bridge {
    margin-top: -28px;
    padding-top: 16px;
    padding-bottom: 20px;
  }

  #common-home .ec-home__section-title {
    font-size: clamp(1.4rem, 1.2vw + 1.1rem, 1.9rem);
  }

  .ec-home__hero-subtitle,
  .ec-home__section-subtitle {
    font-size: 14px;
  }

  .ec-home__search-form {
    border-radius: 22px;
    flex-wrap: wrap;
    min-height: 0;
    padding: 10px;
  }

  .ec-home__hero-main-cta {
    width: 100%;
  }

  .ec-home__search-input {
    font-size: 15px;
    padding: 12px 14px;
    width: 100%;
  }

  .ec-home__search-btn {
    width: 100%;
    min-height: 48px;
  }

  .ec-home__result-pane .ec-storefront-product-preview .product-layout {
    width: 50%;
  }

  .ec-home__card-grid--5,
  .ec-home__card-grid--4,
  .ec-home__card-grid--3,
  .ec-home__card-grid--2,
  .ec-home__stats-grid,
  .ec-home__selectors,
  .ec-home__two-col {
    grid-template-columns: 1fr;
  }

  .ec-home__modal {
    padding: max(16px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  }

  .ec-home__modal-dialog {
    margin: 0;
    max-width: none;
    border-radius: 36px;
    padding: 22px 18px;
  }

  .ec-home__quick-panel {
    grid-template-columns: 1fr;
  }

  .ec-home__panel--final {
    border-radius: 36px;
    padding: 24px;
  }

  .ec-home__final-card--offset {
    margin-top: 0;
  }

  .ec-home__about-milestone {
    grid-template-columns: 1fr;
  }

  .ec-home__about-milestone-period {
    grid-column: 1;
    grid-row: auto;
  }

  .ec-home__about-milestone-title,
  .ec-home__about-milestone-text {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ec-home__hero-bg-layer,
  .ec-home__hero-dot,
  .ec-home__hero-glow,
  .ec-home__hero-corner,
  .ec-home__hero-particle {
    animation: none !important;
  }

  .ec-home__search-typed-caret {
    animation: none !important;
  }

  .ec-home__reviews-track,
  .ec-home__faq-answer {
    transition: none !important;
  }

  .ec-home__modal,
  .ec-home__modal-dialog {
    transition: none !important;
  }

  .ec-home__modal-dialog {
    transform: none !important;
    opacity: 1 !important;
  }

  .ec-home [data-ec-reveal],
  .ec-home [data-ec-reveal].is-visible [data-ec-reveal-stagger] > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 767px) {
  .ec-home--reduced-mobile .ec-home__hero-bg-layer--mid,
  .ec-home--reduced-mobile .ec-home__hero-bg-layer--back,
  .ec-home--reduced-mobile .ec-home__hero-dot,
  .ec-home--reduced-mobile .ec-home__hero-glow {
    display: none;
  }
}
