:root {
  color-scheme: light;
  --radius-control: 0.85rem;
  --radius-surface: 1rem;
  --text-secondary: #465563;
  --text-muted: #5d6974;
  --text-on-glass: #24303d;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #fffdf8;
}

.bg-tempo-cream {
  background-color: #fffdf8;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.hero-section {
  background: #fff6ee;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7rem;
  background: linear-gradient(180deg, rgba(255, 246, 238, 0) 0%, #fffdf8 100%);
  pointer-events: none;
}

.hero-chip {
  background: rgba(255, 255, 255, 0.94);
  color: #24303d;
  border: 1px solid rgba(236, 106, 74, 0.18);
}

.liquid-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.44));
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    0 14px 48px rgba(20, 27, 38, 0.12);
}

.site-header-panel {
  transition:
    transform 260ms ease,
    background-color 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

header.is-scrolled .site-header-panel {
  transform: translateY(-0.3rem);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 253, 248, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 20px 54px rgba(20, 27, 38, 0.14);
}

.site-logo-link {
  min-width: 0;
  flex: 0 1 auto;
}

.site-logo-image {
  width: clamp(6.5rem, 31vw, 8.4rem);
  max-width: 100%;
  height: auto;
}

.mobile-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.25rem;
}

.mobile-header-icon {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(49, 64, 79, 0.07);
  border-radius: 0.72rem;
  background: rgba(255, 255, 255, 0.74);
  color: #31404f;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(24, 34, 47, 0.05);
  transition:
    transform 160ms ease,
    color 160ms ease,
    background-color 160ms ease;
}

.mobile-header-icon-request {
  border-color: rgba(236, 106, 74, 0.28);
  background: #ec6a4a;
  color: #fff;
}

.brand-vk-mark {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.mobile-header-icon-vk {
  border-color: rgba(39, 135, 245, 0.35);
  background: #2787f5;
  color: #fff;
}

.mobile-header-icon-max {
  border-color: rgba(91, 92, 238, 0.3);
  background: linear-gradient(135deg, #5b5cee, #3688f4);
  color: #fff;
}

.mobile-header-icon:hover {
  transform: translateY(-1px);
  background: rgba(236, 106, 74, 0.12);
  color: #d95535;
}

.mobile-header-icon-request:hover {
  background: #df5e3e;
  color: #fff;
}

.mobile-header-icon-vk:hover {
  background: #1976df;
  color: #fff;
}

.mobile-header-icon-max:hover {
  background: linear-gradient(135deg, #4d4edc, #2878e6);
  color: #fff;
}

.mobile-header-icon:focus-visible {
  outline: 3px solid rgba(236, 106, 74, 0.24);
  outline-offset: 2px;
}

@media (max-width: 359px) {
  .site-header-panel {
    padding-right: 0.65rem !important;
    padding-left: 0.65rem !important;
  }

  .site-logo-image {
    width: 5.8rem;
  }

  .mobile-header-actions {
    gap: 0.2rem;
  }

  .mobile-header-icon {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.62rem;
    font-size: 0.86rem;
  }

  #menu-toggle {
    width: 2.25rem;
    height: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .site-logo-image {
    width: auto;
    height: 2.75rem;
  }

  .mobile-header-actions {
    display: none;
  }
}

.nav-link,
.mobile-link {
  position: relative;
  color: rgba(49, 64, 79, 0.92);
  transition: color 180ms ease;
}

.nav-link::after,
.mobile-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 999px;
  background: #ec6a4a;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.mobile-link:hover::after {
  transform: scaleX(1);
}

.header-payment-link,
.mobile-payment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(236, 106, 74, 0.22);
  border-radius: 0.75rem;
  background: rgba(236, 106, 74, 0.1);
  color: #d95535;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.header-payment-link {
  padding: 0.55rem 0.85rem;
  font-size: 0.875rem;
}

.mobile-payment-link {
  width: 100%;
  padding: 0.75rem 1rem;
}

.header-payment-link:hover,
.mobile-payment-link:hover {
  transform: translateY(-1px);
  border-color: rgba(236, 106, 74, 0.42);
  background: rgba(236, 106, 74, 0.16);
  box-shadow: 0 10px 24px rgba(236, 106, 74, 0.12);
}

.header-payment-link:focus-visible,
.mobile-payment-link:focus-visible {
  outline: 3px solid rgba(236, 106, 74, 0.24);
  outline-offset: 3px;
}

.header-contact-cluster {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  border: 1px solid rgba(49, 64, 79, 0.06);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.16rem;
  box-shadow: 0 10px 24px rgba(24, 34, 47, 0.05);
}

.header-phone-number,
.header-messenger-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #31404f;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.header-phone-number {
  gap: 0.55rem;
  padding: 0.55rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-messenger-link {
  width: 2.55rem;
  height: 2.35rem;
  border-radius: 0.68rem;
  font-size: 1rem;
}

.header-network-mark {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.header-contact-divider {
  width: 1px;
  height: 1.35rem;
  margin: 0 0.1rem;
  background: rgba(49, 64, 79, 0.1);
}

.header-phone-number:hover,
.header-messenger-link:hover {
  background: rgba(236, 106, 74, 0.1);
  color: #d95535;
  transform: translateY(-1px);
}

.header-messenger-link-vk {
  border-color: rgba(39, 135, 245, 0.35);
  background: #2787f5;
  color: #fff;
}

.header-messenger-link-max {
  border-color: rgba(91, 92, 238, 0.3);
  background: linear-gradient(135deg, #5b5cee, #3688f4);
  color: #fff;
}

.header-messenger-link-vk:hover {
  background: #1976df;
  color: #fff;
}

.header-messenger-link-max:hover {
  background: linear-gradient(135deg, #4d4edc, #2878e6);
  color: #fff;
}

.header-phone-number:focus-visible,
.header-messenger-link:focus-visible,
.mobile-messenger-link:focus-visible {
  outline: 3px solid rgba(236, 106, 74, 0.24);
  outline-offset: 2px;
}

.mobile-messenger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mobile-messenger-link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(49, 64, 79, 0.08);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.9);
  color: #31404f;
  font-size: 0.9rem;
  font-weight: 800;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header-panel nav {
    gap: 0.8rem;
  }

  .header-phone-number {
    gap: 0.4rem;
    padding-inline: 0.48rem;
    font-size: 0.72rem;
  }

  .header-messenger-link {
    width: 2.25rem;
  }

  .header-request-link {
    padding-inline: 0.8rem;
    font-size: 0.76rem;
  }
}

.burger-lines,
.burger-lines::before,
.burger-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #31404f;
  transition: transform 180ms ease, opacity 180ms ease;
  content: "";
}

.burger-lines::before {
  transform: translateY(-6px);
}

.burger-lines::after {
  transform: translateY(4px);
}

.menu-open .burger-lines {
  transform: rotate(45deg);
}

.menu-open .burger-lines::before {
  transform: translateY(0);
  opacity: 0;
}

.menu-open .burger-lines::after {
  transform: translateY(-2px) rotate(-90deg);
}

.stat-card {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 1rem;
  border: 1px solid rgba(236, 106, 74, 0.12);
  background: rgba(255, 255, 255, 0.84);
  padding: 1.25rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 38px rgba(23, 32, 43, 0.07);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 106, 74, 0.2);
  box-shadow: 0 24px 48px rgba(23, 32, 43, 0.11);
}

.stat-card-wide {
  min-height: 164px;
  gap: 1rem;
}

.stat-card-featured-mobile {
  grid-column: 1 / -1;
}

.stat-value {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  color: #161616;
}

.stat-icon {
  font-size: 1.15rem;
  color: #ec6a4a;
}

.stat-card-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.stat-title {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #161616;
}

.stat-text {
  color: rgba(49, 64, 79, 0.76);
  line-height: 1.7;
}

.stat-label {
  color: rgba(49, 64, 79, 0.72);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-layout {
  grid-template-columns: 1fr;
}

.hero-copy {
  max-width: 43rem;
}

.hero-actions {
  align-items: center;
}

.hero-action {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
}

.hero-action::after,
.pricing-action-primary::after,
.trial-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.28) 50%, transparent 66%);
  transform: translateX(-130%);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero-action:hover::after,
.pricing-action-primary:hover::after,
.trial-submit:hover::after {
  transform: translateX(130%);
}

.hero-media-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  min-height: 0;
  border-radius: 1.35rem;
  box-shadow: 0 28px 70px rgba(236, 106, 74, 0.2);
  transform: rotateX(var(--hero-tilt-y, 0deg)) rotateY(var(--hero-tilt-x, 0deg));
  transform-style: preserve-3d;
  transition:
    transform 180ms ease-out,
    box-shadow 260ms ease;
  will-change: transform;
}

.hero-visual {
  perspective: 1200px;
}

.hero-media-card::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -45%;
  z-index: 2;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  transform: skewX(-14deg) translateX(0);
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hero-visual:hover .hero-media-card {
  box-shadow: 0 34px 82px rgba(236, 106, 74, 0.24);
}

.hero-visual:hover .hero-media-card::before {
  transform: skewX(-14deg) translateX(620%);
}

.hero-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 22, 22, 0.02), rgba(22, 22, 22, 0.14)),
    linear-gradient(135deg, rgba(236, 106, 74, 0.14), transparent 46%);
}

.hero-slider {
  background: #d8dee6;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 420ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slider-controls {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 1rem;
}

.hero-dots {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  gap: 0.42rem;
  padding: 0.45rem 0.66rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 243, 0.78));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 12px 30px rgba(20, 27, 38, 0.13);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.hero-dots-bottom {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 3;
  transform: translateX(-50%);
}

.hero-dot {
  width: 0.48rem;
  height: 0.48rem;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 48, 61, 0.48);
  cursor: pointer;
  transition:
    width 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease;
}

.hero-dot.is-active {
  width: 1.15rem;
  background: #ec6a4a;
}

.hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 245, 243, 0.78));
  color: var(--text-on-glass);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    0 12px 28px rgba(24, 34, 47, 0.13);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hero-arrow:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 16px 34px rgba(24, 34, 47, 0.16);
}

.hero-floating-card {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-surface);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 245, 243, 0.82));
  padding: 0.78rem 0.95rem;
  color: var(--text-on-glass);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 18px 42px rgba(20, 27, 38, 0.12);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.hero-floating-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.52), transparent 44%);
  opacity: 0.16;
  pointer-events: none;
}

.hero-floating-card > * {
  position: relative;
  z-index: 1;
}

#about,
#groups,
#certificates,
#gallery,
#locations,
#contact-form,
#trial-request {
  position: relative;
  isolation: isolate;
}

#groups::before,
#trial-request::before {
  display: none;
}

#groups::before {
  right: max(1rem, calc((100vw - 80rem) / 2 - 1.5rem));
  top: 1.5rem;
  transform: rotate(5deg);
}

#trial-request::before {
  left: -2.5rem;
  bottom: -1.4rem;
  transform: rotate(-8deg);
}

.site-decor {
  position: absolute;
  z-index: 1;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.hero-section > .mx-auto,
#about > .mx-auto,
#groups > .mx-auto,
#gallery > .mx-auto,
#trial-request > .trial-unified-block {
  position: relative;
  z-index: 2;
}

.site-decor-hero-ball {
  right: max(0.5rem, calc((100vw - 80rem) / 2 - 1.6rem));
  top: 7.2rem;
  width: clamp(8rem, 17vw, 15rem);
  opacity: 0.96;
  filter: drop-shadow(0 26px 36px rgba(177, 82, 34, 0.24));
  transform: rotate(10deg);
}

.site-decor-hero-motion {
  right: max(2rem, calc((100vw - 80rem) / 2 + 7.2rem));
  bottom: 6.2rem;
  width: clamp(10rem, 22vw, 19rem);
  opacity: 0.9;
  filter: drop-shadow(0 20px 34px rgba(24, 34, 47, 0.13));
  transform: rotate(-8deg);
}

.site-decor-about-hoop {
  right: max(0.5rem, calc((100vw - 80rem) / 2 - 2rem));
  top: 1rem;
  width: clamp(7rem, 14vw, 12rem);
  opacity: 0.48;
  filter: drop-shadow(0 20px 28px rgba(24, 34, 47, 0.08));
  transform: rotate(8deg);
}

.site-decor-groups-ball {
  left: max(-4.2rem, calc((100vw - 80rem) / 2 - 7.2rem));
  bottom: 1.5rem;
  width: clamp(6rem, 12vw, 10rem);
  opacity: 0.58;
  filter: drop-shadow(0 16px 24px rgba(177, 82, 34, 0.18));
  transform: rotate(-7deg);
}

.site-decor-gallery-spark {
  right: max(0.5rem, calc((100vw - 80rem) / 2 - 2rem));
  top: 2.4rem;
  width: clamp(7rem, 13vw, 11rem);
  opacity: 0.82;
  filter: drop-shadow(0 18px 26px rgba(177, 82, 34, 0.16));
  transform: rotate(8deg);
}

.site-decor-trial-motion {
  right: -2.4rem;
  top: -3rem;
  width: clamp(9rem, 16vw, 14rem);
  opacity: 0.34;
  filter: drop-shadow(0 18px 28px rgba(24, 34, 47, 0.08));
  transform: rotate(12deg);
}

.hero-photo-stack {
  position: absolute;
  right: -1.6rem;
  bottom: 1.4rem;
  z-index: 4;
  display: none;
  gap: 0.65rem;
}

.hero-photo-stack img {
  width: 6.2rem;
  height: 7.2rem;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-surface);
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(20, 27, 38, 0.18);
}

.hero-photo-stack img:nth-child(1) {
  transform: rotate(-5deg) translateY(0.8rem);
}

.hero-photo-stack img:nth-child(2) {
  transform: rotate(4deg);
}

.energy-strip {
  display: grid;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(236, 106, 74, 0.16);
  border-radius: var(--radius-surface);
  background: rgba(255, 255, 255, 0.74);
  padding: 0.75rem;
  box-shadow: 0 18px 42px rgba(24, 34, 47, 0.08);
  backdrop-filter: blur(16px);
}

.energy-copy {
  display: grid;
  gap: 0.15rem;
  padding: 0.35rem 0.45rem;
}

.energy-copy span {
  color: rgba(49, 64, 79, 0.58);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.energy-copy strong {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.22;
}

.energy-photos {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border-radius: 0.95rem;
  mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.energy-photos-track {
  display: flex;
  width: max-content;
  gap: 0.65rem;
  animation: energyMarquee 34s linear infinite;
  will-change: transform;
}

.energy-photos:hover .energy-photos-track {
  animation-play-state: paused;
}

.energy-photos img {
  width: clamp(13rem, 19vw, 19rem);
  aspect-ratio: 16 / 10;
  height: auto;
  flex: 0 0 auto;
  border-radius: 0.85rem;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

@keyframes energyMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.325rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .energy-photos-track {
    animation: none;
  }
}

.badge-dot {
  width: 0.65rem;
  height: 0.65rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #ec6a4a;
}

.section-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 245, 243, 0.8));
  padding: 0.46rem 0.78rem;
  color: #31404f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.15;
  white-space: nowrap;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 10px 26px rgba(24, 34, 47, 0.07);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.section-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.62), transparent 42%);
  opacity: 0.48;
  pointer-events: none;
}

.section-chip > * {
  position: relative;
  z-index: 1;
}

.section-chip-dark {
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  color: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.founder-card {
  display: grid;
  gap: 1.15rem;
  border-radius: var(--radius-surface);
  background:
    radial-gradient(circle at 12% 8%, rgba(236, 106, 74, 0.2), transparent 38%),
    #24303d;
  color: #fff;
  padding: 1.15rem;
}

.founder-media {
  overflow: hidden;
  max-width: 14rem;
  border-radius: var(--radius-control);
  background: #10161d;
}

.founder-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

.founder-points {
  display: grid;
  gap: 0.8rem;
}

.founder-point {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.founder-point i,
.founder-point svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.12rem;
  color: #ec6a4a;
}

.feature-card,
.pricing-card,
.location-card,
.gallery-card,
.certificate-card {
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 50px rgba(24, 34, 47, 0.08);
}

.certificate-card {
  overflow: hidden;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.certificate-card img {
  width: 100%;
  aspect-ratio: 813 / 1280;
  height: auto;
  object-fit: contain;
  display: block;
  background: #fff;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 0.95rem;
  border-radius: 0;
  border: 0;
  border-top: 1px solid rgba(49, 64, 79, 0.1);
  background: transparent;
  box-shadow: none;
  padding: 1rem 0 0;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  border-radius: var(--radius-control);
  background: linear-gradient(135deg, rgba(236, 106, 74, 0.18), rgba(255, 193, 79, 0.22));
  color: #ec6a4a;
}

.feature-icon svg,
.trial-benefits svg,
.swiper-button-reset svg {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2.25;
}

.feature-title {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.feature-text {
  margin-top: 0.35rem;
  color: rgba(49, 64, 79, 0.76);
  line-height: 1.55;
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.pricing-card {
  display: grid;
  align-content: start;
  gap: 1rem;
  border: 1px solid rgba(236, 106, 74, 0.13);
  border-radius: var(--radius-surface);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: none;
  padding: 1rem;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 48px rgba(24, 34, 47, 0.11);
}

.pricing-card-accent {
  border-color: rgba(236, 106, 74, 0.42);
  background: linear-gradient(180deg, rgba(255, 247, 241, 0.96), rgba(255, 255, 255, 0.74));
  color: #161616;
}

.pricing-card-accent:hover {
  background: rgba(255, 247, 241, 0.92);
}

.pricing-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(49, 64, 79, 0.55);
}

.pricing-card-accent .pricing-kicker,
.pricing-card-accent .pricing-list {
  color: rgba(49, 64, 79, 0.74);
}

.pricing-media {
  overflow: hidden;
  border-radius: 0.9rem;
  background: transparent;
}

.pricing-media img {
  width: 100%;
  height: clamp(220px, 22vw, 270px);
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-card:hover .pricing-media img {
  transform: scale(1.035);
}

.pricing-media-image {
  object-position: center 18%;
}

.pricing-media-image-start {
  object-position: center 24%;
}

.pricing-media-image-portrait {
  object-position: center 10%;
}

.pricing-media img.pricing-media-image-optimal {
  object-position: center top;
  transform-origin: center top;
}

.pricing-title {
  margin-top: 0.65rem;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 1.36rem;
  font-weight: 800;
  line-height: 1.2;
}

.pricing-subtitle {
  margin-top: 0.45rem;
  color: rgba(49, 64, 79, 0.74);
  line-height: 1.5;
}

.pricing-card-accent .pricing-subtitle {
  color: rgba(49, 64, 79, 0.74);
}

.pricing-price {
  margin-top: 0.8rem;
  font-size: 1.75rem;
  font-weight: 800;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(49, 64, 79, 0.6);
}

.pricing-card-accent .pricing-price span {
  color: rgba(49, 64, 79, 0.6);
}

.pricing-list {
  display: grid;
  gap: 0.55rem;
  color: rgba(49, 64, 79, 0.74);
  line-height: 1.5;
  font-size: 0.94rem;
}

.pricing-list li {
  position: relative;
  padding-left: 1.4rem;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #ec6a4a;
}

.pricing-card-accent .pricing-list li::before {
  background: #ec6a4a;
}

.pricing-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.pricing-action {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid rgba(49, 64, 79, 0.12);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.68);
  padding: 0.65rem 0.8rem;
  color: #31404f;
  font-size: 0.92rem;
  font-weight: 800;
  text-align: center;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.pricing-action:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(236, 106, 74, 0.28);
}

.pricing-action-primary {
  border-color: #ec6a4a;
  background: #ec6a4a;
  color: #fff;
}

.pricing-action-primary:hover {
  background: #d85d40;
  color: #fff;
}

.swiper-controls {
  display: flex;
  gap: 0.75rem;
}

.swiper-button-reset {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.82);
  padding: 0;
  font-weight: 700;
  color: #31404f;
  box-shadow: 0 12px 24px rgba(24, 34, 47, 0.08);
  cursor: pointer;
}

.gallery-card {
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.gallery-strip {
  border-top: 1px solid rgba(49, 64, 79, 0.1);
  padding-top: 1rem;
}

.gallery-swiper {
  padding-bottom: 0.4rem;
}

.certificates-swiper {
  padding: 0;
}

.gallery-card img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-surface);
  display: block;
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms ease;
}

.gallery-card:hover img {
  transform: scale(1.025);
  box-shadow: 0 24px 48px rgba(24, 34, 47, 0.14);
}

.gallery-card figcaption {
  padding: 0.75rem 0.1rem 0;
  font-weight: 600;
  color: rgba(49, 64, 79, 0.8);
}

.trial-video-frame {
  height: 220px;
  position: relative;
}

.trial-info-card {
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.76);
  padding: 1.4rem;
  box-shadow: 0 20px 48px rgba(24, 34, 47, 0.07);
}

.trial-video-frame-wide {
  height: 240px;
}

.trial-unified-block {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid rgba(49, 64, 79, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.76));
  padding: 0;
  box-shadow: 0 20px 48px rgba(24, 34, 47, 0.07);
}

.trial-highlight {
  color: #ec6a4a;
}

.trial-inline-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 1.15rem;
}

.trial-benefits {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.trial-benefits span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  background: rgba(236, 106, 74, 0.1);
  padding: 0.42rem 0.62rem;
  color: rgba(49, 64, 79, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
}

.trial-benefits svg {
  color: #ec6a4a;
}

.trial-inline-fields {
  display: grid;
  gap: 0.65rem;
}

.trial-field {
  display: grid;
  gap: 0.32rem;
}

.trial-field span {
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(49, 64, 79, 0.72);
}

.trial-field input {
  width: 100%;
  border: 1px solid rgba(49, 64, 79, 0.12);
  border-radius: 0.95rem;
  background: #fff;
  min-height: 2.85rem;
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  color: #161616;
  outline: none;
}

.trial-field input:focus {
  border-color: rgba(236, 106, 74, 0.46);
  box-shadow: 0 0 0 4px rgba(236, 106, 74, 0.12);
}

.trial-submit {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  border: 0;
  border-radius: 0.95rem;
  background: #ec6a4a;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 16px 36px rgba(236, 106, 74, 0.24);
  cursor: pointer;
}

.lead-honeypot {
  position: fixed !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

[data-lead-form] button[type="submit"] {
  gap: 0.55rem;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

[data-lead-form] button[type="submit"]:disabled {
  cursor: wait;
}

[data-lead-form] button[type="submit"].is-loading {
  box-shadow: 0 10px 24px rgba(236, 106, 74, 0.18);
}

[data-lead-form] button[type="submit"].is-success {
  background: #23966f;
  box-shadow: 0 14px 30px rgba(35, 150, 111, 0.26);
  animation: leadSuccessPulse 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-submit-spinner {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 999px;
  animation: leadSpinner 720ms linear infinite;
}

.lead-submit-check {
  display: inline-flex;
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.88rem;
  font-weight: 900;
  animation: leadCheckIn 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-form-status {
  margin-top: 0.7rem;
  border-radius: 0.75rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
  animation: leadStatusIn 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-form-status-light.is-success {
  background: rgba(35, 150, 111, 0.1);
  color: #187454;
}

.lead-form-status-light.is-error {
  background: rgba(194, 55, 55, 0.1);
  color: #a52d2d;
}

.lead-form-status-dark.is-success {
  border: 1px solid rgba(121, 231, 189, 0.18);
  background: rgba(35, 150, 111, 0.18);
  color: #bdf4df;
}

.lead-form-status-dark.is-error {
  border: 1px solid rgba(255, 165, 165, 0.18);
  background: rgba(194, 55, 55, 0.18);
  color: #ffd2d2;
}

[data-lead-form].is-success input {
  border-color: rgba(35, 150, 111, 0.5);
  animation: leadFieldSuccess 520ms ease;
}

@keyframes leadSpinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes leadCheckIn {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-20deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes leadSuccessPulse {
  0% {
    transform: scale(0.98);
  }

  55% {
    transform: scale(1.015);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes leadStatusIn {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes leadFieldSuccess {
  50% {
    box-shadow: 0 0 0 4px rgba(35, 150, 111, 0.1);
  }
}

.discount-helper {
  display: grid;
  gap: 1.1rem;
  border-top: 1px solid rgba(49, 64, 79, 0.1);
  border-bottom: 1px solid rgba(49, 64, 79, 0.1);
  padding: 1.25rem 0;
}

.compact-discount {
  padding: 1.2rem 0;
}

.discount-helper-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.discount-chip {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-radius: 0;
  border-bottom: 1px solid rgba(49, 64, 79, 0.08);
  background: transparent;
  padding: 0.7rem 0;
}

.discount-chip strong {
  min-width: 4rem;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ec6a4a;
}

.discount-chip span {
  color: rgba(49, 64, 79, 0.82);
  line-height: 1.45;
  font-weight: 600;
}

.discount-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.7rem;
  border-radius: var(--radius-control);
  background: rgba(49, 64, 79, 0.05);
  padding: 0.75rem 0.85rem;
  color: rgba(49, 64, 79, 0.72);
  font-size: 0.94rem;
  line-height: 1.6;
}

.discount-note i {
  margin-top: 0.1rem;
  color: #ec6a4a;
}

.locations-head {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.locations-title {
  max-width: 44rem;
  margin-top: 0.9rem;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  color: #161616;
}

.locations-head p {
  max-width: 30rem;
  color: rgba(49, 64, 79, 0.72);
  font-size: 1rem;
  line-height: 1.65;
}

.map-shell {
  display: grid;
  gap: 0.8rem;
}

.map-shell-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.map-shell-copy span {
  color: rgba(49, 64, 79, 0.58);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.district-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.district-filter {
  border: 1px solid rgba(49, 64, 79, 0.1);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.74);
  padding: 0.62rem 0.82rem;
  color: rgba(49, 64, 79, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(24, 34, 47, 0.055);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.district-filter:hover,
.district-filter.is-active {
  background: #ec6a4a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(236, 106, 74, 0.2);
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius-surface);
  border: 1px solid rgba(49, 64, 79, 0.1);
  background: rgba(255, 255, 255, 0.44);
  padding: 0.65rem;
  box-shadow: none;
}

.locations-map {
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: var(--radius-control);
}

.locations-map-fallback {
  padding: 1rem 1.1rem;
  color: rgba(49, 64, 79, 0.72);
  font-weight: 600;
}

.ymap-marker {
  position: relative;
  width: 30px;
  height: 30px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #ec6a4a;
  box-shadow:
    0 0 0 6px rgba(236, 106, 74, 0.16),
    0 14px 28px rgba(236, 106, 74, 0.34);
}

.ymap-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  transform: translate(-50%, -50%);
}

.ymap-balloon {
  max-width: 260px;
  font-family: "Manrope", Arial, sans-serif;
}

.ymap-balloon__district {
  color: #ec6a4a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ymap-balloon__title {
  margin-top: 0.45rem;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #161616;
}

.ymap-balloon__address {
  margin-top: 0.45rem;
  color: rgba(49, 64, 79, 0.8);
  line-height: 1.5;
}

.ymap-balloon__address {
  font-weight: 700;
}

.location-card {
  display: grid;
  min-height: 0;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  column-gap: 0.75rem;
  row-gap: 0.28rem;
  justify-content: flex-start;
  border: 1px solid rgba(49, 64, 79, 0.08);
  border-radius: var(--radius-control);
  background: rgba(255, 255, 255, 0.58);
  padding: 0.85rem;
  box-shadow: 0 12px 26px rgba(24, 34, 47, 0.045);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.location-card:hover {
  transform: translateY(-2px);
  border-color: rgba(236, 106, 74, 0.22);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 34px rgba(24, 34, 47, 0.08);
}

.location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  grid-row: 1;
  border-radius: var(--radius-control);
  background: rgba(236, 106, 74, 0.12);
  color: #ec6a4a;
  font-size: 0.9rem;
  transition: transform 220ms ease, background-color 220ms ease;
}

.location-card:hover .location-icon {
  transform: rotate(-5deg) scale(1.06);
  background: rgba(236, 106, 74, 0.17);
}

.locations-accordion {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(49, 64, 79, 0.1);
}

.district-card {
  overflow: hidden;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(49, 64, 79, 0.1);
  background: transparent;
  box-shadow: none;
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.district-card.is-open {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.district-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  background: transparent;
  padding: 0.95rem 1rem;
  cursor: pointer;
  text-align: left;
}

.district-heading {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #161616;
}

.district-heading i {
  color: #ec6a4a;
}

.district-meta {
  margin-left: auto;
  color: rgba(49, 64, 79, 0.6);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.district-chevron {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  color: rgba(49, 64, 79, 0.58);
  transition:
    color 220ms ease,
    transform 260ms ease;
}

.district-card.is-open .district-chevron {
  color: #ec6a4a;
  transform: rotate(180deg);
}

.district-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 360ms ease,
    opacity 220ms ease;
}

.district-card.is-open .district-panel {
  opacity: 1;
}

.district-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  padding: 0 1rem 1.1rem;
}

.location-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.32;
}

.location-co {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  border: 1px solid rgba(236, 106, 74, 0.16);
  border-radius: 999px;
  background: rgba(236, 106, 74, 0.08);
  padding: 0.18rem 0.45rem;
  color: #ec6a4a;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.location-card a {
  margin-top: 0.12rem;
  font-weight: 800;
  color: #ec6a4a;
  font-size: 0.9rem;
}

.field {
  display: block;
}

.field span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.95rem 1rem;
  font-size: 1rem;
  color: white;
  outline: none;
}

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

body.request-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.request-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  overscroll-behavior: contain;
  transition:
    opacity 180ms ease,
    visibility 0s linear 180ms;
}

.request-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.request-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 29, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.request-modal-dialog {
  position: relative;
  width: min(100%, 34rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(236, 106, 74, 0.18);
  border-radius: 1.6rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(236, 106, 74, 0.14), transparent 15rem),
    #fffdf9;
  padding: 2rem;
  box-shadow: 0 30px 80px rgba(16, 22, 29, 0.28);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition:
    opacity 180ms ease,
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@supports (height: 100dvh) {
  .request-modal-dialog {
    max-height: calc(100dvh - 2rem);
  }
}

.request-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(49, 64, 79, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #31404f;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.request-modal-close:hover {
  background: #ec6a4a;
  color: #fff;
  transform: rotate(4deg);
}

.request-modal-close:focus-visible,
.request-modal-submit:focus-visible,
.request-modal-field input:focus-visible {
  outline: 3px solid rgba(236, 106, 74, 0.28);
  outline-offset: 3px;
}

.request-modal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(236, 106, 74, 0.18);
  border-radius: 999px;
  background: rgba(236, 106, 74, 0.08);
  padding: 0.48rem 0.75rem;
  color: #31404f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-modal-chip span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #ec6a4a;
  box-shadow: 0 0 0 4px rgba(236, 106, 74, 0.12);
}

.request-modal-title {
  max-width: 27rem;
  margin-top: 1.1rem;
  padding-right: 2rem;
  color: #161616;
  font-family: "Unbounded", "Manrope", sans-serif;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
}

.request-modal-description {
  max-width: 29rem;
  margin-top: 0.85rem;
  color: #536170;
  font-size: 0.96rem;
  line-height: 1.65;
}

.request-modal-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.request-modal-field {
  display: grid;
  gap: 0.42rem;
}

.request-modal-field span {
  color: #31404f;
  font-size: 0.84rem;
  font-weight: 750;
}

.request-modal-field input {
  width: 100%;
  min-height: 3.25rem;
  border: 1px solid rgba(49, 64, 79, 0.14);
  border-radius: 0.95rem;
  background: #fff;
  padding: 0.82rem 0.95rem;
  color: #161616;
  font-size: 1rem;
  line-height: 1.35;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.request-modal-field input::placeholder {
  color: #7b8793;
}

.request-modal-field input:focus {
  border-color: rgba(236, 106, 74, 0.6);
  box-shadow: 0 0 0 4px rgba(236, 106, 74, 0.1);
}

.request-modal-submit {
  min-height: 3.35rem;
  border: 0;
  border-radius: 0.95rem;
  background: #ec6a4a;
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(236, 106, 74, 0.24);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.request-modal-submit:hover {
  background: #df5d3e;
  box-shadow: 0 16px 34px rgba(236, 106, 74, 0.3);
  transform: translateY(-1px);
}

.request-modal-consent {
  color: #6c7884;
  font-size: 0.75rem;
  line-height: 1.55;
  text-align: center;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.field input:focus {
  border-color: rgba(236, 106, 74, 0.55);
  box-shadow: 0 0 0 4px rgba(236, 106, 74, 0.12);
}

.contact-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.35rem;
  background:
    linear-gradient(90deg, rgba(16, 22, 29, 0.94), rgba(16, 22, 29, 0.72)),
    url("../../assets/generated/faq-background/faq-basketball-bg.png"),
    #19232d;
  background-position: center;
  background-size: cover;
  padding: 1.5rem;
  isolation: isolate;
}

.contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 16%, rgba(236, 106, 74, 0.32), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 46%);
  pointer-events: none;
}

.contact-cta-copy,
.contact-form-card {
  position: relative;
  z-index: 2;
}

.contact-cta-decor {
  position: absolute;
  right: -2.8rem;
  top: -3.4rem;
  z-index: 1;
  width: clamp(9rem, 20vw, 16rem);
  height: auto;
  opacity: 0.46;
  pointer-events: none;
  transform: rotate(12deg);
  filter: drop-shadow(0 22px 38px rgba(236, 106, 74, 0.24));
}

.contact-form-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-surface);
  background: rgba(255, 255, 255, 0.11);
  padding: 1.25rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  min-height: 3rem;
  padding: 0.8rem 1rem;
  font-weight: 700;
  color: white;
  transition: background 180ms ease;
}

.social-pill:hover {
  background: rgba(255, 255, 255, 0.14);
}

.social-links-grid {
  display: grid;
  gap: 0.75rem;
}

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

@media (min-width: 1200px) {
  .social-links-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-card {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.25rem;
}

.footer-title {
  font-family: "Unbounded", Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms ease;
}

.footer-link:hover {
  color: white;
}

.footer-link i {
  color: #ec6a4a;
  font-size: 1rem;
}

.footer-meta {
  display: grid;
  gap: 0.2rem;
}

.footer-meta span {
  color: rgba(255, 255, 255, 0.52);
}

.footer-meta strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

/* Readability pass: secondary copy remains visually quieter without losing contrast. */
.stat-text,
.stat-label,
.feature-text,
.pricing-subtitle,
.pricing-card-accent .pricing-subtitle,
.pricing-list,
.pricing-card-accent .pricing-list,
.gallery-card figcaption,
.trial-benefits span,
.trial-field span,
.discount-chip span,
.discount-note,
.locations-head p,
.district-filter,
.locations-map-fallback,
.ymap-balloon__address,
[class~="text-tempo-slate/72"],
[class~="text-tempo-slate/76"],
[class~="text-tempo-slate/80"] {
  color: var(--text-secondary);
}

.energy-copy span,
.pricing-kicker,
.pricing-price span,
.pricing-card-accent .pricing-price span,
.map-shell-copy span,
.district-meta,
.district-chevron {
  color: var(--text-muted);
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.footer-meta span {
  color: rgba(255, 255, 255, 0.74);
}

[class~="text-white/60"],
[class~="text-white/68"],
[class~="text-white/70"],
[class~="text-white/72"] {
  color: rgba(255, 255, 255, 0.8);
}

:where(a, button, input, select):focus-visible {
  outline: 3px solid rgba(236, 106, 74, 0.38);
  outline-offset: 3px;
}

.motion-ready .hero-copy > * {
  animation: heroContentIn 640ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .hero-copy > :nth-child(2) {
  animation-delay: 70ms;
}

.motion-ready .hero-copy > :nth-child(3) {
  animation-delay: 130ms;
}

.motion-ready .hero-copy > :nth-child(4) {
  animation-delay: 190ms;
}

.motion-ready .hero-visual {
  animation: heroVisualIn 760ms 110ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .stat-card {
  animation: heroContentIn 620ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.motion-ready .stat-card:nth-child(2) {
  animation-delay: 80ms;
}

.motion-ready .stat-card:nth-child(3) {
  animation-delay: 160ms;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroVisualIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media-card {
    transform: none !important;
  }
}

@media (min-width: 768px) {
  .stat-card-featured-mobile {
    grid-column: auto;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .hero-copy h1 {
    max-width: 39rem;
    font-size: clamp(2.4rem, 4vw, 3.25rem);
    line-height: 1.08;
  }

  .hero-copy p {
    max-width: 34rem;
  }

  .energy-strip {
    grid-template-columns: minmax(12rem, 0.26fr) minmax(0, 0.74fr);
  }

  .locations-head {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.42fr);
  }

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

  .contact-cta {
    padding: 2.5rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  .hero-photo-stack {
    display: flex;
  }

  .founder-card {
    grid-template-columns: minmax(12rem, 14.5rem) 1fr;
    align-items: stretch;
  }

  .founder-media {
    height: 100%;
    max-width: none;
    min-height: 20rem;
  }

  .founder-image {
    height: 100%;
    aspect-ratio: auto;
  }

  .trial-unified-block {
    grid-template-columns: 1.34fr 0.66fr;
    align-items: stretch;
  }

  .trial-video-frame,
  .trial-video-frame-wide {
    height: 100%;
    max-height: 260px;
  }

  .trial-inline-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }
}

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

  .trial-inline-fields {
    grid-template-columns: 1fr 1fr 0.8fr 1fr;
  }
}

@media (max-width: 767px) {
  .request-modal {
    place-items: end center;
    padding:
      max(0.75rem, env(safe-area-inset-top))
      max(0.65rem, env(safe-area-inset-right))
      max(0.65rem, env(safe-area-inset-bottom))
      max(0.65rem, env(safe-area-inset-left));
  }

  .request-modal-dialog {
    width: 100%;
    max-height: calc(100vh - 1.4rem);
    border-radius: 1.35rem;
    padding: 1.35rem 1rem calc(1rem + env(safe-area-inset-bottom));
    transform: translateY(24px);
  }

  @supports (height: 100dvh) {
    .request-modal-dialog {
      max-height: calc(100dvh - 1.4rem);
    }
  }

  .request-modal-close {
    top: 0.75rem;
    right: 0.75rem;
  }

  .request-modal-title {
    margin-top: 0.9rem;
    padding-right: 2.5rem;
    font-size: 1.45rem;
  }

  .request-modal-description {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .request-modal-form {
    gap: 0.7rem;
    margin-top: 1rem;
  }

  .request-modal-field input {
    min-height: 3rem;
  }

  .site-decor-hero-ball {
    right: -3.2rem;
    top: 6.6rem;
    width: 9.5rem;
    opacity: 0.34;
  }

  .site-decor-hero-motion,
  .site-decor-about-hoop,
  .site-decor-gallery-spark,
  .site-decor-trial-motion {
    display: none;
  }

  .site-decor-groups-ball {
    left: -4.8rem;
    bottom: 2rem;
    width: 7.5rem;
    opacity: 0.22;
  }

  .contact-cta-decor {
    right: -4.8rem;
    top: -2rem;
    width: 12rem;
    opacity: 0.2;
  }

  #groups::before,
  #trial-request::before {
    display: none;
  }

  .hero-section::after {
    height: 5rem;
  }

  .hero-media-card {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .hero-action {
    width: 100%;
    min-width: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.92rem;
  }

  .hero-floating-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }

  .stat-card {
    min-height: 100%;
  }

  .energy-strip {
    padding: 0.7rem;
  }

  .energy-photos-track {
    gap: 0.55rem;
    animation-duration: 28s;
  }

  .energy-photos img {
    width: 12rem;
  }

  .stat-card-wide {
    min-height: 148px;
    padding: 1.05rem;
    gap: 0.8rem;
  }

  .stat-card-top {
    align-items: flex-start;
    gap: 0.65rem;
  }

  .stat-title {
    font-size: 0.96rem;
    line-height: 1.3;
  }

  .stat-text {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .gallery-card img {
    height: 240px;
  }

  .feature-card {
    border-left: 0;
    border-top: 1px solid rgba(49, 64, 79, 0.1);
    padding: 1rem 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    border-top: 0;
    padding-top: 0;
  }

  .feature-icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
  }

  .feature-title {
    margin-top: 0.7rem;
    font-size: 1rem;
  }

  .feature-text {
    margin-top: 0.55rem;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .discount-helper-grid {
    grid-template-columns: 1fr;
  }

  .district-filters {
    gap: 0.5rem;
  }

  .district-filter {
    padding: 0.58rem 0.72rem;
    font-size: 0.88rem;
  }

  .locations-map {
    height: 360px;
  }

  .trial-video-frame {
    height: 220px;
  }

  .trial-info-card {
    height: auto;
  }

  .trial-video-frame-wide {
    height: 260px;
  }

  .trial-unified-block {
    gap: 1rem;
    padding: 1rem;
  }

  .trial-inline-copy {
    padding: 0;
  }

  .trial-submit {
    width: 100%;
  }
}
