
/* ============================================================
   АТЛЕТИК — статичный CSS для вставки в Tilda (блок T123)
   Все классы с префиксом .at- чтобы не конфликтовать с Tilda
   ============================================================ */

.at-root * { box-sizing: border-box; margin: 0; padding: 0; }
.at-root {
  --at-bg: #0A1612;
  --at-card: #0F1F18;
  --at-secondary: #142821;
  --at-muted: #9CA3AF;
  --at-muted-2: #6B7280;
  --at-primary: #4ADE80;
  --at-primary-dark: #3DD68C;
  --at-white: #FFFFFF;
  --at-border: rgba(74, 222, 128, 0.12);
  --at-border-hover: rgba(74, 222, 128, 0.35);
  --at-radius: 16px;
  --at-radius-lg: 24px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--at-bg);
  color: var(--at-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.at-root h1, .at-root h2, .at-root h3, .at-root h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.at-root img { display: block; max-width: 100%; }
.at-root a { color: inherit; text-decoration: none; }
.at-root button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.at-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Бейдж секции */
.at-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(74, 222, 128, 0.2);
  background: rgba(74, 222, 128, 0.05);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--at-primary);
}
.at-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--at-primary);
}

/* Кнопки */
.at-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--at-primary);
  color: var(--at-bg);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.at-btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 32px -4px rgba(74, 222, 128, 0.5);
  transform: translateY(-1px);
}
.at-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  background: rgba(15, 31, 24, 0.4);
  border: 1px solid var(--at-border);
  color: var(--at-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
}
.at-btn-secondary:hover {
  border-color: var(--at-border-hover);
  background: rgba(15, 31, 24, 0.7);
}

/* ============================================================
   HERO
   ============================================================ */
.at-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--at-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.at-hero-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.at-hero-collage .at-cell {
  position: relative;
  overflow: hidden;
}
.at-hero-collage .at-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.at-hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 22, 18, 0.9) 0%, rgba(10, 22, 18, 0.55) 50%, var(--at-bg) 100%);
}
.at-hero-overlay-2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 22, 18, 0.85) 0%, rgba(10, 22, 18, 0.3) 50%, rgba(10, 22, 18, 0.85) 100%);
}
.at-hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 222, 128, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}
.at-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.at-hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(15, 31, 24, 0.72);
  border: 1px solid rgba(74, 222, 128, 0.16);
  border-radius: 100px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  margin-bottom: 32px;
}
.at-hero-status .at-dot {
  position: relative;
  width: 10px;
  height: 10px;
}
.at-hero-status .at-dot::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--at-primary);
  animation: at-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.at-hero-status .at-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--at-primary);
}
@keyframes at-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.at-hero-status span {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--at-muted);
}
.at-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(48px, 9vw, 128px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--at-white);
  text-align: center;
}
.at-hero-subtitle {
  margin-top: 12px;
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--at-primary);
}
.at-hero-divider {
  margin: 32px 0;
  height: 1px;
  width: 96px;
  background: linear-gradient(to right, transparent, var(--at-primary), transparent);
}
.at-hero-slogan {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.at-hero-slogan p {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 4vw, 48px);
  font-weight: 600;
  color: var(--at-white);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  max-width: 900px;
}
.at-hero-slogan p.at-active {
  opacity: 1;
  transform: translateY(0);
}
.at-hero-dots {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}
.at-hero-dots button {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: rgba(156, 163, 175, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}
.at-hero-dots button.at-active {
  width: 32px;
  border-radius: 3px;
  background: var(--at-primary);
}
.at-hero-description {
  margin-top: 40px;
  max-width: 680px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--at-muted);
  text-align: center;
}
.at-hero-cta {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
@media (min-width: 640px) {
  .at-hero-cta { flex-direction: row; }
}
.at-hero-info {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: center;
  font-size: 14px;
  color: var(--at-muted);
}
.at-hero-info .at-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.at-hero-info .at-info-item svg {
  width: 16px;
  height: 16px;
  color: var(--at-primary);
}
.at-hero-info a:hover { color: var(--at-primary); }
.at-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
.at-hero-scroll .at-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(156, 163, 175, 0.4);
  border-radius: 100px;
  padding: 6px;
  display: flex;
  justify-content: center;
}
.at-hero-scroll .at-wheel {
  width: 4px;
  height: 8px;
  background: var(--at-primary);
  border-radius: 100px;
  animation: at-scroll-bounce 1.5s ease-in-out infinite;
}
@keyframes at-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.at-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--at-border);
  border-bottom: 1px solid var(--at-border);
  background: rgba(15, 31, 24, 0.4);
  padding: 24px 0;
}
.at-marquee-track {
  display: flex;
  align-items: center;
  /* width: max-content !important — КРИТИЧЕСКИ ВАЖНО! 
     Без этого flex-контейнер сжимается до ширины экрана, и translateX(-50%) 
     сдвигает только на половину видимой области (а не всех элементов). 
     Tilda может перебивать это свойство — поэтому !important обязателен. */
  width: max-content !important;
  max-width: none !important;
  white-space: nowrap;
  animation: at-marquee 40s linear infinite;
  /* will-change — оптимизация для GPU, чтобы анимация была плавной */
  will-change: transform;
}
@keyframes at-marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
/* На мобильных ускоряем бегущую строку в 2 раза (с 40s до 20s) */
@media (max-width: 768px) {
  .at-marquee-track {
    animation: at-marquee 40s linear infinite;
  }
}
.at-marquee-item {
  display: inline-flex;
  align-items: center;
  /* padding-right заменяет gap на треке — чтобы после каждого элемента (включая последний) был одинаковый отступ. Это нужно для бесшовного loop'а (translateX(-50%) работает точно). */
  padding-right: 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(156, 163, 175, 0.6);
  letter-spacing: 0.05em;
}
.at-marquee-item::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: 32px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.6);
}

/* ============================================================
   SECTION BASE
   ============================================================ */
.at-section {
  padding: 80px 0;
  position: relative;
}
@media (min-width: 768px) {
  .at-section { padding: 112px 0; }
}
.at-section-header {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.at-section-header h2 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--at-white);
  margin-top: 16px;
}
.at-section-header p {
  margin-top: 16px;
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--at-muted);
}
.at-section-header-flex {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 640px) {
  .at-section-header-flex {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.at-section-header-flex h2 {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--at-white);
  margin-top: 16px;
}
.at-section-header-flex p {
  margin-top: 16px;
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--at-muted);
  max-width: 560px;
}
.at-text-gradient {
  background: linear-gradient(135deg, #4ADE80 0%, #3DD68C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   BENEFITS
   ============================================================ */
.at-benefits {
  background: var(--at-bg);
}
.at-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .at-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .at-benefits-grid { grid-template-columns: repeat(3, 1fr); }
}
.at-benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(15, 31, 24, 0.5);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.at-benefit-card:hover {
  border-color: var(--at-border-hover);
  background: rgba(15, 31, 24, 0.8);
  box-shadow: 0 8px 40px -12px rgba(74, 222, 128, 0.15);
}
.at-benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 12px;
  margin-bottom: 20px;
}
.at-benefit-icon svg {
  width: 24px;
  height: 24px;
  color: var(--at-primary);
}
.at-benefit-card h3 {
  font-size: 18px;
  color: var(--at-white);
  margin-bottom: 8px;
}
.at-benefit-card p {
  font-size: 14px;
  color: var(--at-muted);
  line-height: 1.6;
}

/* ============================================================
   SERVICES
   ============================================================ */
.at-services {
  background: var(--at-bg);
  position: relative;
}
.at-services-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(74, 222, 128, 0.3), transparent);
}
.at-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .at-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .at-services-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(200px, auto);
  }
}
.at-service-card {
  position: relative;
  overflow: hidden;
  background: rgba(15, 31, 24, 0.4);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.at-service-card:hover {
  border-color: var(--at-border-hover);
}
.at-service-card.at-large {
  grid-column: span 12;
}
@media (min-width: 1024px) {
  .at-service-card.at-large {
    grid-column: span 6;
    grid-row: span 2;
  }
  .at-service-card:not(.at-large):not(.at-all-services) {
    grid-column: span 3;
  }
  .at-service-card.at-all-services {
    grid-column: span 3;
  }
}
.at-service-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.at-service-card.at-large .at-service-image {
  aspect-ratio: 4/3;
}
@media (min-width: 1024px) {
  .at-service-card.at-large .at-service-image {
    aspect-ratio: auto;
    flex: 1;
    min-height: 400px;
  }
}
.at-service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.at-service-card:hover .at-service-image img {
  transform: scale(1.05);
}
.at-service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--at-card), transparent 70%);
}
.at-service-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(74, 222, 128, 0.13);
  border: 1px solid rgba(74, 222, 128, 0.33);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.at-service-icon svg {
  width: 20px;
  height: 20px;
}
.at-service-body {
  padding: 24px;
  position: relative;
}
.at-service-body h3 {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--at-white);
}
.at-service-body p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--at-muted);
  line-height: 1.6;
}
.at-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--at-primary);
}
.at-service-link svg {
  width: 14px;
  height: 14px;
}
.at-all-services {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), rgba(15, 31, 24, 0.6));
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.at-all-services .at-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 48px);
  color: var(--at-primary);
}
.at-all-services .at-desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--at-muted);
}
.at-all-services ul {
  margin-top: 24px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.at-all-services li {
  font-size: 12px;
  color: var(--at-muted);
}
.at-all-services .at-service-link {
  margin-top: 24px;
}

/* ============================================================
   MEMBERSHIP
   ============================================================ */
.at-membership {
  background: rgba(15, 31, 24, 0.3);
  position: relative;
  overflow: hidden;
}
.at-membership-bg::before {
  content: '';
  position: absolute;
  top: -128px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 256px;
  background: rgba(74, 222, 128, 0.1);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}
.at-included {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 20px;
  background: rgba(15, 31, 24, 0.4);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
}
@media (min-width: 768px) {
  .at-included { grid-template-columns: repeat(5, 1fr); }
}
.at-included-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.at-included-item .at-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 10px;
}
.at-included-item .at-icon svg {
  width: 16px;
  height: 16px;
  color: var(--at-primary);
}
.at-included-item .at-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--at-muted);
}
.at-included-item .at-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--at-white);
}
.at-membership-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .at-membership-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .at-membership-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1280px) {
  .at-membership-grid { grid-template-columns: repeat(5, 1fr); }
}
.at-membership-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(15, 31, 24, 0.4);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  transition: all 0.3s ease;
}
.at-membership-card:hover {
  transform: translateY(-4px);
}
.at-membership-card.at-highlight {
  border-color: rgba(74, 222, 128, 0.5);
  background: linear-gradient(to bottom, rgba(74, 222, 128, 0.15), var(--at-card));
  box-shadow: 0 8px 60px -12px rgba(74, 222, 128, 0.35);
}
.at-membership-card .at-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--at-muted);
}
.at-membership-card .at-duration {
  margin-top: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--at-white);
}
.at-membership-card .at-line {
  margin-top: 4px;
  width: 40px;
  height: 1px;
  background: var(--at-primary);
}
.at-membership-card ul {
  margin-top: 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.at-membership-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--at-muted);
}
.at-membership-card li svg {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--at-primary);
}
.at-membership-card .at-price-btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}
.at-membership-card.at-highlight .at-price-btn {
  background: var(--at-primary);
  color: var(--at-bg);
}
.at-membership-card.at-highlight .at-price-btn:hover { filter: brightness(1.1); }
.at-membership-card:not(.at-highlight) .at-price-btn {
  background: rgba(15, 31, 24, 0.6);
  border: 1px solid var(--at-border);
  color: var(--at-white);
}
.at-membership-card:not(.at-highlight) .at-price-btn:hover {
  border-color: var(--at-border-hover);
}
.at-hit-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  background: var(--at-primary);
  color: var(--at-bg);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.at-membership-note {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--at-muted);
}

/* ============================================================
   TRAINERS
   ============================================================ */
.at-trainers {
  background: var(--at-bg);
}
.at-trainers-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .at-trainers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .at-trainers-grid { grid-template-columns: repeat(4, 1fr); }
}
.at-trainer-card {
  position: relative;
  overflow: hidden;
  background: rgba(15, 31, 24, 0.4);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  transition: all 0.3s ease;
}
.at-trainer-card:hover {
  border-color: var(--at-border-hover);
}
.at-trainer-photo {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.at-trainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.at-trainer-card:hover .at-trainer-photo img {
  transform: scale(1.05);
}
.at-trainer-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--at-card) 5%, transparent 40%);
}
.at-trainer-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(10, 22, 18, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--at-primary);
}
.at-trainer-badge svg {
  width: 12px;
  height: 12px;
}
.at-trainer-info {
  position: relative;
  margin-top: -48px;
  z-index: 2;
  padding: 20px;
}
.at-trainer-role {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--at-primary);
}
.at-trainer-name {
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--at-white);
}
.at-trainer-specialty {
  margin-top: 4px;
  font-size: 12px;
  color: var(--at-muted);
}
.at-trainer-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.at-trainer-tag {
  padding: 2px 8px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  color: rgba(74, 222, 128, 0.9);
}

/* ============================================================
   SPA
   ============================================================ */
.at-spa {
  background: rgba(15, 31, 24, 0.3);
  position: relative;
  overflow: hidden;
}
.at-spa-bg::before, .at-spa-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.at-spa-bg::before {
  top: 33%;
  left: -128px;
  width: 384px;
  height: 384px;
  background: rgba(74, 222, 128, 0.08);
}
.at-spa-bg::after {
  bottom: 0;
  right: -128px;
  width: 384px;
  height: 384px;
  background: rgba(74, 222, 128, 0.06);
}
.at-spa-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) {
  .at-spa-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.at-spa-left .at-spa-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--at-white);
  margin-top: 16px;
}
.at-spa-left p {
  margin-top: 20px;
  font-size: clamp(14px, 1.4vw, 17px);
  color: var(--at-muted);
}
.at-spa-images {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.at-spa-images .at-spa-img-main {
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  border-radius: var(--at-radius-lg);
  border: 1px solid var(--at-border);
}
.at-spa-images .at-spa-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.at-spa-images .at-spa-img-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.at-spa-images .at-spa-img-side > div {
  position: relative;
  overflow: hidden;
  border-radius: var(--at-radius-lg);
  border: 1px solid var(--at-border);
  aspect-ratio: 1/1;
}
.at-spa-images .at-spa-img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.at-spa-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.at-spa-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: rgba(15, 31, 24, 0.5);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  transition: all 0.3s ease;
}
.at-spa-feature:hover {
  border-color: var(--at-border-hover);
  background: rgba(15, 31, 24, 0.8);
}
.at-spa-feature .at-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.at-spa-feature:hover .at-icon { transform: scale(1.1); }
.at-spa-feature .at-icon svg {
  width: 24px;
  height: 24px;
  color: var(--at-primary);
}
.at-spa-feature h3 {
  font-size: 18px;
  color: var(--at-white);
}
.at-spa-feature p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--at-muted);
  line-height: 1.6;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.at-reviews {
  background: var(--at-bg);
}
.at-reviews-rating {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.at-reviews-stars {
  display: flex;
  gap: 4px;
}
.at-reviews-stars svg {
  width: 20px;
  height: 20px;
  color: var(--at-primary);
  fill: var(--at-primary);
}
.at-reviews-rating span {
  font-size: 14px;
  color: var(--at-muted);
}
.at-reviews-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .at-reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
.at-review-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(15, 31, 24, 0.5);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
  transition: all 0.3s ease;
}
.at-review-card:hover {
  border-color: var(--at-border-hover);
  background: rgba(15, 31, 24, 0.7);
}
.at-review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.at-review-top svg.at-quote {
  width: 32px;
  height: 32px;
  color: rgba(74, 222, 128, 0.4);
}
.at-review-stars {
  display: flex;
  gap: 2px;
}
.at-review-stars svg {
  width: 14px;
  height: 14px;
  color: var(--at-primary);
  fill: var(--at-primary);
}
.at-review-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--at-muted);
}
.at-review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--at-border);
}
.at-review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  color: var(--at-bg);
}
.at-review-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--at-white);
}
.at-review-role {
  font-size: 12px;
  color: var(--at-muted);
}

/* ============================================================
   LEAD FORM
   ============================================================ */
.at-lead {
  background: rgba(15, 31, 24, 0.3);
  position: relative;
  overflow: hidden;
}
.at-lead-card {
  position: relative;
  max-width: 768px;
  margin: 0 auto;
  padding: 32px;
  background: linear-gradient(to bottom, var(--at-card), var(--at-bg));
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 32px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .at-lead-card { padding: 48px; }
}
.at-lead-card::before {
  content: '';
  position: absolute;
  top: -64px;
  right: -64px;
  width: 192px;
  height: 192px;
  background: rgba(74, 222, 128, 0.1);
  filter: blur(40px);
  border-radius: 50%;
  pointer-events: none;
}
.at-lead-card .at-lead-inner {
  position: relative;
  text-align: center;
}
.at-lead-card h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--at-white);
  margin-top: 16px;
}
.at-lead-card > .at-lead-inner > p {
  margin-top: 12px;
  font-size: clamp(13px, 1.3vw, 16px);
  color: var(--at-muted);
}
.at-lead-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.at-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--at-muted);
}
.at-field-input {
  position: relative;
}
.at-field-input svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--at-muted);
}
.at-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  background: rgba(10, 22, 18, 0.6);
  border: 1px solid var(--at-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--at-white);
  transition: all 0.3s ease;
}
.at-field input::placeholder {
  color: rgba(156, 163, 175, 0.6);
}
.at-field input:focus {
  outline: none;
  border-color: rgba(74, 222, 128, 0.5);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}
.at-submit {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--at-primary);
  color: var(--at-bg);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.at-submit:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 32px -4px rgba(74, 222, 128, 0.5);
}
.at-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.at-submit .at-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 22, 18, 0.3);
  border-top-color: var(--at-bg);
  border-radius: 50%;
  animation: at-spin 0.6s linear infinite;
}
@keyframes at-spin {
  to { transform: rotate(360deg); }
}
.at-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--at-muted);
}
.at-consent svg {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--at-primary);
}
.at-success {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  background: rgba(74, 222, 128, 0.05);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: var(--at-radius-lg);
  text-align: center;
}
.at-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: rgba(74, 222, 128, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(74, 222, 128, 0.1);
}
.at-success-icon svg {
  width: 32px;
  height: 32px;
  color: var(--at-primary);
}
.at-success h3 {
  margin-top: 20px;
  font-size: 20px;
  color: var(--at-white);
}
.at-success p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--at-muted);
  max-width: 360px;
}

/* ============================================================
   CONTACTS
   ============================================================ */
.at-contacts {
  background: var(--at-bg);
}
.at-contacts-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 1024px) {
  .at-contacts-grid { grid-template-columns: 2fr 1fr; }
}
.at-contact-card {
  padding: 24px;
  background: rgba(15, 31, 24, 0.4);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
}
.at-contact-card.at-large {
  display: flex;
  flex-direction: column;
}
.at-contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.at-contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 12px;
}
.at-contact-icon svg {
  width: 24px;
  height: 24px;
  color: var(--at-primary);
}
.at-contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--at-muted);
}
.at-contact-value {
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--at-white);
}
.at-contact-sub {
  margin-top: 4px;
  font-size: 14px;
  color: var(--at-muted);
}
.at-contact-map {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius);
  height: 256px;
}
.at-contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.6);
}
.at-contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.at-contact-mini {
  padding: 24px;
  background: rgba(15, 31, 24, 0.4);
  border: 1px solid var(--at-border);
  border-radius: var(--at-radius-lg);
}
.at-contact-mini .at-contact-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.at-contact-mini .at-contact-icon {
  width: 40px;
  height: 40px;
}
.at-contact-mini .at-contact-icon svg {
  width: 20px;
  height: 20px;
}
.at-contact-phones {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.at-contact-phones a {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--at-white);
  transition: color 0.3s ease;
}
.at-contact-phones a:hover { color: var(--at-primary); }
.at-contact-hours {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.at-contact-hour {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(74, 222, 128, 0.08);
}
.at-contact-hour:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.at-contact-hour .at-day {
  font-size: 14px;
  color: var(--at-muted);
}
.at-contact-hour .at-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--at-white);
}
.at-contact-messengers {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.at-contact-messengers.at-social-row {
  gap: 10px;
}
/* Кастомные иконки соцсетей */
.at-social-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.at-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 31, 24, 0.6);
  border: 1px solid rgba(74, 222, 128, 0.12);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}
.at-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(15, 31, 24, 0.9);
  box-shadow: 0 8px 24px -6px rgba(74, 222, 128, 0.3);
}
.at-social-link svg {
  width: 100%;
  height: 100%;
  display: block;
}
.at-contact-messengers a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(74, 222, 128, 0.1);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--at-primary);
  transition: all 0.3s ease;
}
.at-contact-messengers a:hover {
  background: rgba(74, 222, 128, 0.2);
}
.at-contact-messengers svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.at-contact-messengers img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}
@media (max-width: 768px) {
  .at-contact-messengers {
    gap: 4px !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }
  .at-contact-messengers a {
    padding: 6px 8px;
    font-size: 11px;
    gap: 4px;
    white-space: nowrap;
  }
  .at-contact-messengers svg {
    width: 13px;
    height: 13px;
  }
  .at-contact-messengers img {
    width: 16px;
    height: 16px;
  }
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .at-hero-info {
    flex-direction: column;
    gap: 12px;
  }
  .at-hero-info .at-info-item {
    justify-content: center;
  }
}

/* Скрыть скролл-индикатор на мобильных */
@media (max-width: 640px) {
  .at-hero-scroll { display: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.at-hdr-root * { box-sizing: border-box; margin: 0; padding: 0; }
.at-hdr-root {
  --at-bg: #0A1612;
  --at-card: #0F1F18;
  --at-muted: #9CA3AF;
  --at-primary: #4ADE80;
  --at-white: #FFFFFF;
  --at-border: rgba(74, 222, 128, 0.12);
  --at-border-hover: rgba(74, 222, 128, 0.35);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.at-hdr-root a { color: inherit; text-decoration: none; }
.at-hdr-root button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.at-hdr-root img { display: block; max-width: 100%; }

.at-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(10, 22, 18, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
}
.at-header.at-scrolled {
  background: rgba(10, 22, 18, 0.92);
  border-bottom-color: rgba(74, 222, 128, 0.12);
  box-shadow: 0 4px 32px -8px rgba(0, 0, 0, 0.4);
}
.at-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.at-header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}
.at-header-logo:hover { opacity: 0.85; }
.at-header-logo .at-logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.3));
}
.at-header-logo .at-logo-text {
  height: 36px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 640px) {
  .at-header-logo .at-logo-text { display: none; }
  .at-header-logo .at-logo-icon { width: 36px; height: 36px; }
}
.at-header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.at-header-nav a {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #FFFFFF !important;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
}
.at-header-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #4ADE80;
  transition: all 0.25s ease;
  transform: translateX(-50%);
}
.at-header-nav a:hover { color: #4ADE80 !important; }
.at-header-nav a:hover::after { width: 20px; }
@media (max-width: 1024px) {
  .at-header-nav { display: none; }
}
.at-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.at-header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF !important;
  transition: color 0.25s ease;
}
.at-header-phone:hover { color: #4ADE80 !important; }
.at-header-phone svg {
  width: 16px;
  height: 16px;
  color: #4ADE80;
}
@media (max-width: 768px) {
  .at-header-phone .at-phone-text { display: none; }
  .at-header-phone svg { width: 20px; height: 20px; }
}
.at-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: #4ADE80;
  color: #0A1612;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.at-header-cta:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 24px -4px rgba(74, 222, 128, 0.5);
  transform: translateY(-1px);
}
.at-header-cta svg { width: 14px; height: 14px; }
@media (max-width: 480px) {
  .at-header-cta .at-cta-text { display: none; }
  .at-header-cta { padding: 10px 12px; }
}
.at-header-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.25s ease;
}
.at-header-burger span {
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.at-header-burger:hover { background: rgba(74, 222, 128, 0.08); }
.at-header-burger.at-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.at-header-burger.at-open span:nth-child(2) { opacity: 0; }
.at-header-burger.at-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1024px) {
  .at-header-burger { display: flex; }
}
.at-header-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 380px;
  background: #0A1612;
  border-left: 1px solid rgba(74, 222, 128, 0.12);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
}
.at-header-drawer.at-open { transform: translateX(0); }
.at-header-drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF !important;
  border-bottom: 1px solid rgba(74, 222, 128, 0.12);
  transition: color 0.25s ease;
}
.at-header-drawer a:hover { color: #4ADE80 !important; }
.at-header-drawer a::after {
  content: '→';
  color: #4ADE80;
  font-size: 18px;
  opacity: 0.6;
}
/* Соцсети в drawer — без стрелки, без обводки, нормальный flex-layout */
.at-header-drawer .at-drawer-socials-row a,
.at-header-drawer .at-drawer-socials-row a::after,
.at-header-drawer .at-drawer-phone-link,
.at-header-drawer .at-drawer-phone-link::after,
.at-header-drawer .at-drawer-cta,
.at-header-drawer .at-drawer-cta::after {
  content: none;
  border: none;
  padding: 0;
}
.at-header-drawer .at-drawer-phone {
  margin-top: 24px;
  padding: 20px;
  background: #0F1F18;
  border: 1px solid rgba(74, 222, 128, 0.12);
  border-radius: 16px;
}
.at-header-drawer .at-drawer-phone-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
  margin-bottom: 8px;
}
.at-header-drawer .at-drawer-phone-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF !important;
  padding: 0;
  border: none;
  display: block;
}
.at-header-drawer .at-drawer-phone-link::after { display: none; }
.at-header-drawer .at-drawer-phone-link:hover { color: #4ADE80 !important; }
.at-header-drawer .at-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  background: #4ADE80;
  color: #0A1612;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.at-header-drawer .at-drawer-cta::after { display: none; }
.at-header-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.at-header-overlay.at-open { opacity: 1; pointer-events: auto; }

/* Hero: без padding-top, чтобы не было отступа под fixed header */
.at-hero { padding-top: 0 !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.at-ftr-root * { box-sizing: border-box; margin: 0; padding: 0; }
.at-ftr-root {
  --at-bg: #0A1612;
  --at-card: #0F1F18;
  --at-muted: #9CA3AF;
  --at-muted-2: #6B7280;
  --at-primary: #4ADE80;
  --at-white: #FFFFFF;
  --at-border: rgba(74, 222, 128, 0.12);
  --at-border-hover: rgba(74, 222, 128, 0.35);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  background: #0A1612;
  color: #FFFFFF;
}
.at-ftr-root a { color: inherit; text-decoration: none; }
.at-ftr-root img { display: block; max-width: 100%; }
.at-footer {
  position: relative;
  padding: 80px 0 32px;
  border-top: 1px solid rgba(74, 222, 128, 0.12);
  overflow: hidden;
}
.at-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, #4ADE80, transparent);
  opacity: 0.4;
}
.at-footer::after {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(74, 222, 128, 0.08), transparent 70%);
  pointer-events: none;
}
.at-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.at-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (min-width: 768px) {
  .at-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .at-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
}
.at-footer-brand { display: flex; flex-direction: column; gap: 20px; }
.at-footer-logo { display: flex; align-items: center; gap: 12px; }
.at-footer-logo .at-logo-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(74, 222, 128, 0.4));
}
.at-footer-logo .at-logo-text {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.at-footer-description {
  font-size: 14px;
  color: #9CA3AF;
  max-width: 320px;
  line-height: 1.7;
}
.at-footer-socials { display: flex; gap: 8px; margin-top: 8px; }
.at-footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(15, 31, 24, 0.6);
  border: 1px solid rgba(74, 222, 128, 0.12);
  border-radius: 12px;
  transition: all 0.3s ease;
}
.at-footer-social:hover {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.35);
  transform: translateY(-2px);
}
.at-footer-social svg { width: 18px; height: 18px; color: #4ADE80; }
.at-footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ADE80;
  margin-bottom: 20px;
}
.at-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.at-footer-col li a {
  font-size: 14px;
  color: #9CA3AF !important;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.at-footer-col li a:hover { color: #FFFFFF !important; }
.at-footer-col li a:hover::before {
  content: '→';
  color: #4ADE80;
}
.at-footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.at-footer-contact svg {
  width: 20px;
  height: 20px;
  color: #4ADE80;
  flex-shrink: 0;
  margin-top: 2px;
}
.at-footer-contact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
  margin-bottom: 2px;
}
.at-footer-contact-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF !important;
  transition: color 0.25s ease;
}
a.at-footer-contact-value:hover { color: #4ADE80 !important; }
.at-footer-contact-sub {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 2px;
}
.at-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(74, 222, 128, 0.12);
}
@media (min-width: 768px) {
  .at-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.at-footer-copy { font-size: 12px; color: #6B7280; }
.at-footer-copy span { color: #4ADE80; }
.at-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.at-footer-legal a {
  font-size: 12px;
  color: #6B7280 !important;
  transition: color 0.25s ease;
}
.at-footer-legal a:hover { color: #4ADE80 !important; }
.at-footer-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #9CA3AF !important;
  transition: color 0.25s ease;
  margin-top: 0;
}
.at-footer-top:hover { color: #4ADE80 !important; }
.at-footer-top svg { width: 14px; height: 14px; }


/* ============================================================
   HERO FIX — переопределение для устранения наезда текста
   ============================================================ */

/* 1. Заголовок "АТЛЕТИК" — Oswald (сжатый, как в логотипе) */
.at-hero-title {
  font-family: 'Oswald', 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  line-height: 0.95 !important;
  font-stretch: condensed;
}

/* 2. Контейнер слоганов — убираем absolute, делаем нормальный flex flow */
.at-hero-slogan {
  height: auto !important;
  min-height: 80px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: 8px 0;
}

/* 3. Каждый слоган: position absolute с фиксированной позицией в центре */
.at-hero-slogan p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(20px, 3.5vw, 40px);
  font-weight: 600;
  color: var(--at-white, #FFFFFF);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  max-width: 90%;
  width: max-content;
  line-height: 1.3;
  pointer-events: none;
}

/* 4. Активный слоган — становится видимым */
.at-hero-slogan p.at-active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

/* 5. На мобильных — слоганы не должны выходить за экран */
@media (max-width: 768px) {
  .at-hero-slogan p {
    font-size: clamp(18px, 5vw, 28px);
    max-width: 95%;
    padding: 0 12px;
  }
  .at-hero-slogan {
    min-height: 70px;
  }
}

/* 6. Подзаголовок "Фитнес-клуб" — Montserrat как у логотипа */
.at-hero-subtitle {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
}

/* 7. Контент hero-секции — нормальные отступы, чтобы ничего не наезжало */
.at-hero-content {
  padding: 100px 24px 80px !important;
}

/* 8. На десктопе дополнительный воздух */
@media (min-width: 1024px) {
  .at-hero-content {
    padding: 80px 24px !important;
  }
}

/* 9. Убираем overflow: hidden у карточек — текст не должен обрезаться */
.at-benefit-card,
.at-service-card,
.at-trainer-card,
.at-review-card,
.at-membership-card,
.at-spa-feature,
.at-contact-card,
.at-contact-mini {
  overflow: visible !important;
}

/* Но image-wrapper внутри карточек должен скрывать overflow (для zoom-эффекта) */
.at-service-image,
.at-trainer-photo,
.at-spa-images > div,
.at-spa-images .at-spa-img-main,
.at-spa-images .at-spa-img-side > div {
  overflow: hidden !important;
}

/* 10. Карточке преимуществ — нормальное выравнивание и высота */
.at-benefit-card {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  min-height: auto !important;
  height: auto !important;
}
.at-benefit-card p {
  word-break: break-word;
  hyphens: auto;
}

/* 11. Логотип "АТЛЕТИК" — Montserrat Black как в header */
.at-hero-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 900 !important;
}

/* 12. Сетка услуг — естественная высота, без minmax фикса */
@media (min-width: 1024px) {
  .at-services-grid {
    grid-auto-rows: auto !important;
  }
  .at-service-card.at-large .at-service-image {
    aspect-ratio: 4/3 !important;
    min-height: 280px;
  }
}

/* 13. Карточки услуг — всегда видимый контент */
.at-service-card {
  display: flex !important;
  flex-direction: column;
}
.at-service-body {
  flex-shrink: 0;
}

/* 14. Trainers — растягивать карточку под контент */
.at-trainer-info {
  position: relative;
  margin-top: -48px;
  z-index: 2;
  padding: 20px;
  background: linear-gradient(to top, var(--at-card, #0F1F18), transparent);
}

/* 15. Карточки membership — минимальная высота контента */
.at-membership-card {
  min-height: auto !important;
  height: auto !important;
}

/* 16. Review-card — растягиваем под контент */
.at-review-card {
  min-height: auto !important;
}

/* ============================================================
   17. СОЦСЕТИ — иконки в header и footer
   ============================================================ */
.at-social-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.at-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 31, 24, 0.6);
  border: 1px solid rgba(74, 222, 128, 0.12);
  transition: all 0.3s ease;
  overflow: visible;
  position: relative;
}
.at-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 222, 128, 0.35);
  background: rgba(15, 31, 24, 0.9);
  box-shadow: 0 8px 24px -6px rgba(74, 222, 128, 0.3);
}
.at-social-link svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.at-social-link img {
  /* По умолчанию — для footer (36×36 контейнер) */
  width: 24px !important;
  height: 24px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  display: block;
  margin: auto;
  flex-shrink: 0 !important;
}
.at-social-link.at-tiny svg {
  width: 22px !important;
  height: 22px !important;
}
.at-social-link.at-tiny img {
  /* Для header (36×36 контейнер) */
  width: 22px !important;
  height: 22px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  flex-shrink: 0 !important;
}
@media (max-width: 768px) {
  .at-social-link { width: 32px; height: 32px; }
  .at-social-link.at-tiny svg { width: 18px !important; height: 18px !important; }
  .at-social-link.at-tiny img { width: 18px !important; height: 18px !important; max-width: none !important; max-height: none !important; }
  /* В drawer на мобильном — иконки крупнее (44×44 контейнер) */
  .at-drawer-socials-row .at-social-link { width: 44px; height: 44px; }
  .at-drawer-socials-row .at-social-link svg { width: 100% !important; height: 100% !important; }
  .at-drawer-socials-row .at-social-link img { width: 32px !important; height: 32px !important; max-width: none !important; max-height: none !important; object-fit: contain !important; }
}

/* Header: ряд соцсетей */
.at-header-socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
@media (max-width: 1024px) {
  .at-header-socials { display: none; }
}

/* Drawer: ряд соцсетей в боковом меню */
.at-drawer-socials {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(74, 222, 128, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.at-drawer-socials-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9CA3AF;
}
.at-drawer-socials-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.at-drawer-socials-row .at-social-link {
  width: 44px;
  height: 44px;
}

/* ============================================================
   18. ЧЕКБОКС СОГЛАСИЯ — рабочая галочка
   ============================================================ */
.at-consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #9CA3AF !important;
  cursor: pointer !important;
  user-select: none;
}
.at-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.at-consent .at-checkmark {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: transparent;
  border: 1.5px solid rgba(74, 222, 128, 0.4);
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
  cursor: pointer;
}
.at-consent .at-checkmark::after {
  content: '';
  position: absolute;
  display: none;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #0A1612;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.at-consent input[type="checkbox"]:checked + .at-checkmark {
  background: #4ADE80;
  border-color: #4ADE80;
}
.at-consent input[type="checkbox"]:checked + .at-checkmark::after {
  display: block;
}
.at-consent:hover .at-checkmark {
  border-color: rgba(74, 222, 128, 0.7);
}
.at-consent input[type="checkbox"]:focus-visible + .at-checkmark {
  outline: 2px solid #4ADE80;
  outline-offset: 2px;
}
.at-consent-error {
  color: #EF4444 !important;
  font-size: 12px !important;
  margin-top: 4px !important;
  display: none;
}
.at-consent-error.at-show { display: block; }

/* Submit button: disabled пока чекбокс не отмечен */
.at-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

