/* === css/components/parallax.css === */
/* ==========================================================================
   Static Background - Статичний фон для головної сторінки
   ========================================================================== */

   .parallax-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Fallback */
    height: 100svh; /* На мобільних - стабільна висота при видимому UI браузера */
    z-index: var(--z-parallax-container, -1);
    overflow: hidden;
    pointer-events: none !important;
  
    /* Видалено contain для уникнення проблем з відображенням інших елементів */
  }
  
  /* На мобільних використовуємо svh замість dvh для стабільності */
  @media (width <= 767px) {
    .parallax-container {
      height: 100svh; /* Стабільна висота коли UI браузера видиме */
    }
  }
  
  .parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .parallax-layer__background {
    position: relative;
    z-index: 0;
  }
  
  /* Псевдоелемент для фону з position: fixed (для коректної роботи на iOS Safari) */
  .parallax-layer__background::before {
    content: '';
    position: fixed;
    /* inset: 0 замість width/height/top/left - прив'язується до країв viewport,
       а не до vh-одиниць. На iOS Safari vh змінюється разом з тулбаром браузера,
       що призводить до масштабування background-size:cover. */
    inset: 0;
    z-index: -1;
  
    /* Перенесені background властивості */
    background-image: url("../../img/mainBackground_opt.b14a6f0afbaa.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none !important;
  
    /* Оптимізація для iOS - апаратне прискорення */
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
  }
  
  /* Темний шар поверх фону для кращої читабельності тексту */
  .parallax-layer__background::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none !important;
  }
  
  /* Fallback для браузерів без WebP */
  @supports not (background-image: url('data:image/webp;base64,')) {
    .parallax-layer__background::before {
      background-image: url("../../img/mainBackground.68b2874c7e7d.png");
    }
  }
  
  /* Мобільна версія фону */
  @media (width <= 767px) {
    .parallax-layer__background::before {
      background-image: url("../../img/mainBackground_mob_opt.38c1d8310db1.webp");
    }
  
    /* Fallback для браузерів без WebP на мобільних */
    @supports not (background-image: url('data:image/webp;base64,')) {
      .parallax-layer__background::before {
        background-image: url("../../img/mainBackground_mob.cf779ecce2f3.png");
      }
    }
  }
  
  /* Оптимізація для iOS */
  @supports (-webkit-touch-callout: none) {
    .parallax-layer {
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
  }
  
  /* ==========================================================================
     Модифікатори для різних сторінок навчання
     Перевизначають тільки background-image, решта стилів від базового класу
     ВАЖЛИВО: модифікатори мають більшу специфічність ніж базові селектори
     ========================================================================== */
  
  /* ==================== ADULTS (Дорослі) ==================== */
  .parallax-container--adults .parallax-layer__background::before {
    background-image: url("../../img/adult_backg_desc.0ed77ab0c62e.png") !important;
    background-image: -webkit-image-set(
      url("../../img/adult_backg_desc.6925f725d988.webp") type('image/webp'),
      url("../../img/adult_backg_desc.0ed77ab0c62e.png") type('image/png')
    ) !important;
    background-image: image-set(
      url("../../img/adult_backg_desc.6925f725d988.webp") type('image/webp'),
      url("../../img/adult_backg_desc.0ed77ab0c62e.png") type('image/png')
    ) !important;
  }
  
  /* Мобільна версія для дорослих */
  @media (width <= 767px) {
    .parallax-container--adults .parallax-layer__background::before {
      background-image: url("../../img/adult_backg_mb.4555a9950c0d.jpg") !important;
      background-image: -webkit-image-set(
        url("../../img/adult_backg_mb.460d39b978f3.webp") type('image/webp'),
        url("../../img/adult_backg_mb.4555a9950c0d.jpg") type('image/jpeg')
      ) !important;
      background-image: image-set(
        url("../../img/adult_backg_mb.460d39b978f3.webp") type('image/webp'),
        url("../../img/adult_backg_mb.4555a9950c0d.jpg") type('image/jpeg')
      ) !important;
    }
  }
  
  /* ==================== KIDS (Діти) ==================== */
  .parallax-container--kids .parallax-layer__background::before {
    background-image: url("../../img/kids_backg_desc.660ab6bd7e70.png") !important;
  }
  
  /* Мобільна версія для дітей */
  @media (width <= 767px) {
    .parallax-container--kids .parallax-layer__background::before {
      background-image: url("../../img/kids_backg_mb.9a911f16b526.png") !important;
    }
  }
  
  /* ==================== PREMIUM (Преміум) ==================== */
  .parallax-container--premium .parallax-layer__background::before {
    background-image: url("../../img/premium_backg_desc.f406130f18f6.png") !important;
    background-image: -webkit-image-set(
      url("../../img/premium_backg_desc.0102a2e879c7.webp") type('image/webp'),
      url("../../img/premium_backg_desc.f406130f18f6.png") type('image/png')
    ) !important;
    background-image: image-set(
      url("../../img/premium_backg_desc.0102a2e879c7.webp") type('image/webp'),
      url("../../img/premium_backg_desc.f406130f18f6.png") type('image/png')
    ) !important;
  }
  
  /* Мобільна версія для преміум */
  @media (width <= 767px) {
    .parallax-container--premium .parallax-layer__background::before {
      background-image: url("../../img/premium_backg_mb.3a1035ee6b9c.png") !important;
      background-image: -webkit-image-set(
        url("../../img/premium_backg_mb.995c01d63417.webp") type('image/webp'),
        url("../../img/premium_backg_mb.3a1035ee6b9c.png") type('image/png')
      ) !important;
      background-image: image-set(
        url("../../img/premium_backg_mb.995c01d63417.webp") type('image/webp'),
        url("../../img/premium_backg_mb.3a1035ee6b9c.png") type('image/png')
      ) !important;
    }
  }
/* === css/components/adults-advantages.css === */
/* ==========================================================================
   Adults Advantages Section - Hero Block з 2-колонковим layout
   Ліва колонка: зображення. Права: заголовок + підзаголовок + CTA + кроки.
   ========================================================================== */

/* ── SEO Context Block (динамічний текст під hero) ── */

.seo-context-section {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  padding: 1.25rem 2rem;
}

.seo-context-section__inner {
  border-left: 3px solid var(--color-gold, #c9a84c);
  padding-left: 1rem;
}

.seo-context-section__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted, rgba(255, 255, 255, 0.72));
  margin: 0 0 1rem;
}

.seo-context-section__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.seo-tag {
  font-size: 0.8rem;
  line-height: 1;
  color: var(--color-text-muted, rgba(255, 255, 255, 0.55));
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 0.3rem 0.75rem;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.seo-tag:hover {
  color: var(--color-gold, #c9a84c);
  border-color: var(--color-gold, #c9a84c);
}

@media (max-width: 768px) {
  .seo-context-section {
    padding: 1rem 1.25rem;
  }

  .seo-tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }
}

/* === ЗАГАЛЬНА СЕКЦІЯ === */

.advantages-section {
  padding: var(--section-padding-desktop);
  margin-bottom: var(--section-spacing-desktop);
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
  box-sizing: border-box;
}

/* === HERO ВЕРСІЯ З ДВОМА КОЛОНКАМИ === */

.advantages-section--hero {
  position: relative;
  padding: 2rem;
  overflow: visible;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin-top: calc(var(--header-height, 80px) + 1rem);
  margin-bottom: 2rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-items: stretch;
}

/* === ЛІВА КОЛОНКА З ЗОБРАЖЕННЯМ === */

.advantages-hero__left {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border-radius: 12px;
  align-items: stretch;
}

.advantages-hero__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-top: auto;
}

.advantages-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* === ПРАВА КОЛОНКА З ТЕКСТОМ І CTA === */

.advantages-hero__right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
}

.advantages-hero__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.advantages-hero__h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-white);
  margin: 0;
  line-height: 1.2;
}

.advantages-hero__subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.5;
}

.advantages-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  min-height: 52px;
  border-radius: 12px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--transition-normal) ease,
              box-shadow var(--transition-normal) ease;
}

@media (hover: hover) and (pointer: fine) {
  .advantages-hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(231, 30, 20, 0.4);
  }
}

.advantages-hero__cta:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.advantages-hero__cta:active {
  transform: translateY(0);
}

/* === BRANDING TEXT === */

.advantages-hero__branding {
  position: absolute;
  top: 0;
  left: 2rem;
  z-index: 10;
}

.advantages-hero__brand-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-white);
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.advantages-hero__brand-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* === RESPONSIVE: TABLET === */

@media (width >= 768px) and (width < 1024px) {
  .advantages-section--hero {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .advantages-hero__h1 {
    font-size: 1.75rem;
  }

  .advantages-hero__subtitle {
    font-size: 1rem;
  }

  .advantages-hero__cta {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
}

/* === RESPONSIVE: MOBILE - одна колонка, без зображення === */

@media (width < 768px) {
  .advantages-section {
    margin-top: 1rem;
  }

  .advantages-section--hero {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 1.25rem 1rem;
    margin: 0.75rem;
    margin-bottom: 1rem;
    width: calc(100% - 1.5rem);
    max-width: 100%;
  }

  .advantages-hero__left {
    display: none;
  }

  .advantages-hero__right {
    gap: 1rem;
  }

  .advantages-hero__h1 {
    font-size: 1.6rem;
  }

  .advantages-hero__subtitle {
    font-size: 0.95rem;
  }

  .advantages-hero__cta {
    width: 100%;
    min-height: 52px;
    font-size: 0.9rem;
    padding: 0.875rem 1rem;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }
}

/* === VERY SMALL MOBILE === */

@media (width < 360px) {
  .advantages-section--hero {
    padding: 0.75rem;
  }

  .advantages-hero__h1 {
    font-size: 1.35rem;
  }

  .advantages-hero__subtitle {
    font-size: 0.85rem;
  }

  .advantages-hero__cta {
    font-size: 0.9rem;
    min-height: 48px;
  }
}

/* === FALLBACK БЕЗ BACKDROP-FILTER === */

@supports not (backdrop-filter: blur(8px)) {
  .advantages-section--hero {
    background: rgba(0, 0, 0, 0.5);
  }
}

/* === iOS Safari === */

@supports (-webkit-touch-callout: none) {
  .advantages-section--hero {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

/* === REDUCED MOTION === */

@media (prefers-reduced-motion: reduce) {
  .advantages-hero__cta {
    transition: none;
  }

  .advantages-hero__cta:hover {
    transform: none;
  }
}

/* === PERFORMANCE === */

.advantages-hero__cta {
  will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
  .advantages-hero__cta:hover {
    will-change: transform;
  }

  .advantages-hero__cta:not(:hover) {
    will-change: auto;
  }
}

/* === css/components/payment-components.css === */
/**
 * Payment Components Styles
 * Стилі для компонентів оплати (модалки, форми, лоадери)
 */

/* Installment Form Modal */
.payment-installment-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.payment-installment-modal {
  position: relative;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.payment-installment-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-installment-modal__close:hover {
  color: #333;
}

.payment-installment-modal__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.payment-installment-modal__subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.payment-installment-form .form-group {
  margin-bottom: 1.5rem;
}

.payment-installment-form label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.payment-installment-form input,
.payment-installment-form select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.payment-installment-form input:focus,
.payment-installment-form select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.payment-installment-form small {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #666;
}

.payment-installment-info {
  background: #f0f7ff;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #667eea;
}

.payment-installment-info p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  color: #333;
}

/* Payment Loader */
.payment-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  backdrop-filter: blur(8px);
}

.payment-loader {
  text-align: center;
  color: white;
}

.payment-loader__spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

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

.payment-loader__message {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 0;
}

/* Payment Waiting (for payparts) */
.payment-waiting-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.payment-waiting {
  max-width: 500px;
  width: 100%;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.payment-waiting__icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.payment-waiting__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.payment-waiting__message {
  font-size: 1.125rem;
  color: #666;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.payment-waiting__hint {
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 2rem;
}

.payment-waiting__spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(102, 126, 234, 0.3);
  border-top-color: #667eea;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

.payment-waiting__order-id {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
  font-family: monospace;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .payment-installment-modal {
    padding: 1.5rem;
    max-height: 95vh;
  }

  .payment-installment-modal__title {
    font-size: 1.5rem;
  }

  .payment-waiting {
    padding: 2rem 1.5rem;
  }

  .payment-waiting__title {
    font-size: 1.5rem;
  }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
  .payment-installment-modal,
  .payment-waiting {
    max-height: 85vh;
  }
}

/* === css/components/buy-steps.css === */
/* ==========================================================================
   Buy Steps - "Що буде після заявки" (3 кроки)
   ========================================================================== */

.buy-steps {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0;
}

.buy-steps__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.buy-steps__number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(76, 175, 80, 0.9);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  line-height: 1;
}

.buy-steps__text {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

/* === TABLET === */

@media (width >= 768px) and (width < 1024px) {
  .buy-steps {
    gap: 0.5rem;
  }

  .buy-steps__item {
    padding: 0.5rem 0.6rem;
  }

  .buy-steps__text {
    font-size: 0.75rem;
  }
}

/* === MOBILE === */

@media (width < 768px) {
  .buy-steps {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .buy-steps__item {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
  }

  .buy-steps__number {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }

  .buy-steps__text {
    font-size: 0.8rem;
  }
}

/* === VERY SMALL MOBILE === */

@media (width < 360px) {
  .buy-steps__item {
    padding: 0.4rem 0.6rem;
  }

  .buy-steps__text {
    font-size: 0.75rem;
  }
}

/* === iOS Safari fix === */

@supports (-webkit-touch-callout: none) {
  .buy-steps__item {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}

/* === REDUCED MOTION === */

@media (prefers-reduced-motion: reduce) {
  .buy-steps__item {
    transition: none;
  }
}

/* === FALLBACK === */

@supports not (backdrop-filter: blur(6px)) {
  .buy-steps__item {
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* === css/components/trust-ticker.css === */
/* ==========================================================================
   Trust Ticker - біжуча стрічка з фактами довіри
   ========================================================================== */

.trust-ticker {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 2rem auto;
  overflow: hidden;
  padding: 0.75rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.trust-ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll var(--ticker-duration, 20s) linear infinite;
}

/*
  padding-inline = gap / 2  →  стик між блоками = padding-right + padding-left
  = gap всередині блоку, тому відступ між УСІМА сусідніми елементами однаковий.
*/
.trust-ticker__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-inline: 0.75rem;
  flex-shrink: 0;
}

.trust-ticker__item {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.trust-ticker__separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  font-weight: 300;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--ticker-shift, -50%));
  }
}

/* === DESKTOP === */

@media (width >= 1024px) {
  .trust-ticker__content {
    gap: 2rem;
    padding-inline: 1rem;
  }

  .trust-ticker__item {
    font-size: 1.25rem;
    font-weight: 700;
  }
}

/* === TABLET === */

@media (width >= 768px) and (width < 1024px) {
  .trust-ticker {
    margin-bottom: 1.5rem;
  }

  .trust-ticker__item {
    font-size: 0.9rem;
  }
}

/* === MOBILE === */

@media (width < 768px) {
  .trust-ticker {
    margin-bottom: 1rem;
    padding: 0.625rem 0;
  }

  .trust-ticker__content {
    gap: 1rem;
    padding-inline: 0.5rem;
  }

  .trust-ticker__item {
    font-size: 0.875rem;
  }
}

/* === iOS Safari === */

@supports (-webkit-touch-callout: none) {
  .trust-ticker {
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }
}

/* === FALLBACK === */

@supports not (backdrop-filter: blur(6px)) {
  .trust-ticker {
    background: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* === REDUCED MOTION === */

@media (prefers-reduced-motion: reduce) {
  .trust-ticker__track {
    animation: none;
  }

  .trust-ticker__content[data-clone],
  .trust-ticker__content[aria-hidden="true"] {
    display: none;
  }

  .trust-ticker__track {
    justify-content: center;
    width: 100%;
  }
}

/* === css/components/advantages-grid.css === */
/* ==========================================================================
   Advantages Grid - 6 карток переваг (блок 2А)
   ========================================================================== */

.advantages-grid-section {
  padding: var(--section-padding-desktop);
  margin-bottom: var(--section-spacing-desktop);
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Br прихований на desktop - показується тільки на мобайлі */
.mobile-br { display: none; }

/* Золотий акцент "20 000+" */
.highlight-gold { color: #f5c842; }

.advantages-grid-section .section-title {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
}

.advantages-grid-section__subtitle {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
  font-size: 1.15rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.advantages-grid-section__subtitle strong {
  color: var(--color-white);
  font-weight: 700;
}

/* === GRID === */

/* flex-wrap + justify-content:center - центрує неповний останній ряд (5 карток) */
.advantages-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* === FEATURE CARD === */

.feature-card {
  flex: 0 1 calc(33.333% - 1rem);
  min-width: 260px;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: transform var(--transition-normal) ease,
              border-color var(--transition-normal) ease;
  box-sizing: border-box;
}

/* іконка + заголовок в рядок */
.feature-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.feature-card__icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  line-height: 1;
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  line-height: 1.3;
}

/* Текст на всю ширину картки - під заголовком і під іконкою */
.feature-card__text {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  width: 100%;
  margin: 0;
  line-height: 1.55;
}

/* === HOVER (desktop only) === */

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
  }
}

/* === FOCUS === */

.feature-card:focus-visible {
  outline: 2px solid rgba(100, 149, 237, 0.8);
  outline-offset: 2px;
}

/* === TABLET === */

@media (width >= 768px) and (width < 1024px) {
  .advantages-grid-section {
    padding: var(--section-padding-desktop);
  }

  .advantages-grid-section .section-title {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  .advantages-grid-section__subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .advantages-grid {
    gap: 1.25rem;
  }

  .feature-card {
    flex: 0 1 calc(50% - 0.625rem);
    min-width: 0;
  }
}

/* === MOBILE === */

@media (width < 768px) {
  .advantages-grid-section {
    padding: var(--section-padding-mobile);
    margin-bottom: var(--section-spacing-mobile);
    max-width: 100%;
    box-sizing: border-box;
  }

  .mobile-br { display: block; }

  .advantages-grid-section .section-title {
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
    margin-bottom: 0.5rem;
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .advantages-grid-section__subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
    white-space: normal;
  }

  /* На мобайлі - 1 колонка, картки йдуть вертикально одна за одною */
  .advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .feature-card {
    min-width: 0;
    padding: 0.875rem;
    border-radius: 10px;
  }

  .feature-card__header {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .feature-card__icon {
    font-size: 1.4rem;
  }

  .feature-card__title {
    font-size: 0.9rem;
  }

  .feature-card__text {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* === VERY SMALL MOBILE === */

@media (width < 360px) {
  .advantages-grid {
    gap: 0.625rem;
  }

  .feature-card {
    padding: 0.75rem;
  }
}

/* === iOS Safari === */

@supports (-webkit-touch-callout: none) {
  .feature-card {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

/* === FALLBACK === */

@supports not (backdrop-filter: blur(8px)) {
  .feature-card {
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* === REDUCED MOTION === */

@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: none;
  }

  .feature-card:hover {
    transform: none;
  }
}

/* === css/components/inline-lead-form.css === */
/* ==========================================================================
   Inline Lead Form - phone-only форма (блоки 2Б та 6)
   ========================================================================== */

/* === СЕКЦІЯ ПРОПОЗИЦІЇ ПРОБНОГО УРОКУ (блок 2Б) === */

.trial-offer-section {
  padding: 2.5rem 2rem;
  margin-bottom: var(--section-spacing-desktop);
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  /* Green styling moved from .trial-offer__content - overrides glass-section defaults */
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(0, 0, 0, 0.3) 100%);
  border: 2px solid rgba(76, 175, 80, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Plain layout wrapper - all visual styling removed */
.trial-offer__content {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.trial-offer__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.75rem 0;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.trial-offer__subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.5rem 0;
  text-align: center;
  line-height: 1.5;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* === СПИСОК ПЕРЕВАГ === */

.trial-offer__benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.trial-offer__benefits li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 0.625rem;
}

.trial-offer__benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(76, 175, 80, 0.95);
  font-weight: 700;
  font-size: 1rem;
}

.trial-offer__disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.75rem 0 0 0;
}

/* === INLINE FORM LAYOUT === */

.inline-lead-form {
  max-width: 550px;
  margin: 0 auto;
}

.inline-lead-form__row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.inline-lead-form__field {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
}

.inline-lead-form__field .form-group__input {
  box-sizing: border-box;
  height: 52px;
  padding: 0 14px;
  font-size: 16px;
  border-radius: 10px;
  -webkit-appearance: none;
  appearance: none;
}

.inline-lead-form__button {
  flex-shrink: 0;
  height: 52px;
  padding: 0 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  white-space: nowrap;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

/* === СЕКЦІЯ "ЩЕ ЛИШИЛИСЬ ПИТАННЯ?" (блок 6) === */

.questions-form-section {
  padding: var(--section-padding-desktop);
  margin-bottom: var(--section-spacing-desktop);
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.questions-form__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.questions-form__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.questions-form__subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 2rem 0;
  line-height: 1.5;
}

/* === SUCCESS STATE === */

.inline-lead-form__success {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
  padding: 1rem 1.5rem;
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.4);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

/* === TABLET === */

@media (width >= 768px) and (width < 1024px) {
  .trial-offer-section {
    padding: 2rem 1.5rem;
  }

  .trial-offer__title {
    font-size: 1.85rem;
  }

  .questions-form__title {
    font-size: 1.85rem;
  }
}

/* === MOBILE === */

@media (width < 768px) {
  .trial-offer-section {
    padding: 1.5rem 0.75rem;
    margin-bottom: var(--section-spacing-mobile);
    max-width: calc(100vw - 2rem);
  }

  .trial-offer__title {
    font-size: clamp(1.1rem, 5vw, 1.5rem);
  }

  .trial-offer__subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
  }

  .trial-offer__benefits li {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .inline-lead-form__row {
    flex-direction: column;
    gap: 0.375rem;
  }

  .inline-lead-form__field {
    width: 100%;
  }

  .inline-lead-form__field .form-group__input {
    width: 100%;
    box-sizing: border-box;
  }

  .inline-lead-form__button {
    width: 100%;
    min-height: 52px;
    font-size: 0.95rem;
  }

  .questions-form-section {
    padding: var(--section-padding-mobile);
    margin-bottom: var(--section-spacing-mobile);
    max-width: calc(100vw - 2rem);
  }

  .questions-form__title {
    font-size: 1.5rem;
  }

  .questions-form__subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
}

/* === VERY SMALL MOBILE === */

@media (width < 360px) {
  .trial-offer-section {
    padding: 1.25rem 0.625rem;
  }

  .trial-offer__title {
    font-size: clamp(1.1rem, 5vw, 1.3rem);
  }

  .inline-lead-form__button {
    font-size: 0.85rem;
    padding: 0 1rem;
  }

  .questions-form__title {
    font-size: 1.3rem;
  }
}

/* === iOS Safari === */

@supports (-webkit-touch-callout: none) {
  .trial-offer-section {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }

  .inline-lead-form__field .form-group__input {
    font-size: 16px;
  }
}

/* === FALLBACK (no backdrop-filter support) === */

@supports not (backdrop-filter: blur(10px)) {
  .trial-offer-section {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* === REDUCED MOTION === */

@media (prefers-reduced-motion: reduce) {
  .inline-lead-form__button {
    transition: none;
  }
}

/* === css/components/mega-discount.css === */
/* ==========================================================================
   Mega Discount Banner - яскравий блок знижки з таймером (блок 3)
   ========================================================================== */

.mega-discount-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 2rem auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.mega-discount__content {
  background: linear-gradient(135deg, rgba(231, 30, 20, 0.85) 0%, rgba(255, 120, 0, 0.85) 100%);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 40px rgba(231, 30, 20, 0.3);
}

/* === BADGE === */

.mega-discount__badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

/* === TITLE === */

.mega-discount__title {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-white);
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mega-discount__subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem 0;
  line-height: 1.4;
}

/* === TIMER === */

.mega-discount__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.mega-discount__digit-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.mega-discount__digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}

.mega-discount__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: lowercase;
}

.mega-discount__sep {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  padding: 0 0.25rem;
  align-self: flex-start;
  padding-top: 1rem;
}

/* === TODAY DATE === */

.mega-discount__today-date {
  display: inline-block;
  margin-left: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.85;
  letter-spacing: 1px;
}

/* === SCROLL BUTTON === */

.mega-discount__scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  text-decoration: none;
  transition: background var(--transition-normal) ease,
              border-color var(--transition-normal) ease;
  min-height: 48px;
}

@media (hover: hover) and (pointer: fine) {
  .mega-discount__scroll-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
  }
}

.mega-discount__scroll-btn:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

/* === TABLET === */

@media (width >= 768px) and (width < 1024px) {
  .mega-discount-section {
    padding: 0 1.5rem;
  }

  .mega-discount__content {
    padding: 2.5rem 1.5rem;
  }

  .mega-discount__title {
    font-size: 2.25rem;
  }

  .mega-discount__digit {
    min-width: 56px;
    height: 56px;
    font-size: 1.75rem;
  }
}

/* === MOBILE === */

@media (width < 768px) {
  .mega-discount-section {
    padding: 0 0.75rem;
    margin-bottom: 1.5rem;
  }

  .mega-discount__content {
    padding: 2rem 1rem;
    border-radius: 12px;
  }

  .mega-discount__badge {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }

  .mega-discount__title {
    font-size: 1.75rem;
  }

  .mega-discount__subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .mega-discount__digit {
    min-width: 48px;
    height: 48px;
    font-size: 1.5rem;
    border-radius: 10px;
  }

  .mega-discount__sep {
    font-size: 1.5rem;
    padding-top: 0.75rem;
  }

  .mega-discount__label {
    font-size: 0.7rem;
  }

  .mega-discount__scroll-btn {
    width: 100%;
    text-align: center;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    box-sizing: border-box;
    min-height: 52px;
  }
}

/* === VERY SMALL MOBILE === */

@media (width < 360px) {
  .mega-discount__content {
    padding: 1.5rem 0.75rem;
  }

  .mega-discount__title {
    font-size: 1.4rem;
  }

  .mega-discount__digit {
    min-width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

/* === iOS Safari === */

@supports (-webkit-touch-callout: none) {
  .mega-discount__content {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

/* === FALLBACK === */

@supports not (backdrop-filter: blur(10px)) {
  .mega-discount__content {
    background: linear-gradient(135deg, rgba(231, 30, 20, 0.95) 0%, rgba(255, 120, 0, 0.95) 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* === REDUCED MOTION === */

@media (prefers-reduced-motion: reduce) {
  .mega-discount__scroll-btn {
    transition: none;
  }
}

/* === css/components/countdown-timer.css === */
/* ==========================================================================
   Countdown Timer - Urgency лічильник до кінця дня
   ========================================================================== */

.countdown-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 2rem auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.countdown-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(231, 30, 20, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.countdown-banner__text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
}

.countdown-banner__timer {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.countdown-banner__digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 193, 7, 0.5);
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 193, 7, 1);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.countdown-banner__sep {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  padding: 0 2px;
}

/* === TABLET === */

@media (width >= 768px) and (width < 1024px) {
  .countdown-section {
    padding: 0 1.5rem;
  }

  .countdown-banner {
    gap: 1rem;
    padding: 0.875rem 1.5rem;
  }

  .countdown-banner__text {
    font-size: 1rem;
  }
}

/* === MOBILE === */

@media (width < 768px) {
  .countdown-section {
    padding: 0 0.75rem;
    margin-bottom: 1.5rem;
  }

  .countdown-banner {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
  }

  .countdown-banner__text {
    font-size: 0.95rem;
    text-align: center;
    white-space: normal;
  }

  .countdown-banner__digit {
    min-width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
}

/* === VERY SMALL MOBILE === */

@media (width < 360px) {
  .countdown-banner {
    padding: 0.75rem;
  }

  .countdown-banner__text {
    font-size: 0.85rem;
  }

  .countdown-banner__digit {
    min-width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* === iOS Safari fix === */

@supports (-webkit-touch-callout: none) {
  .countdown-banner {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

/* === FALLBACK === */

@supports not (backdrop-filter: blur(10px)) {
  .countdown-banner {
    background: linear-gradient(135deg, rgba(231, 30, 20, 0.3) 0%, rgba(255, 193, 7, 0.2) 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* === REDUCED MOTION === */

@media (prefers-reduced-motion: reduce) {
  .countdown-banner__digit {
    transition: none;
  }
}

/* === css/components/levels-pricing.css === */
/* ==========================================================================
   Levels Pricing Section - Навчання за рівнями
   ========================================================================== */

/* === СЕКЦІЯ LEVELS === */

.levels-section {
  padding: var(--section-padding-desktop);
  margin-bottom: var(--section-spacing-desktop);
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* === MAIN TITLE === */

.levels-section .section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-white);
}

/* === SUBTITLE === */

.levels-section .section-subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  margin: 0 0 4rem 0;
  font-weight: 500;
  line-height: 1.5;
}

/* === ІНФОРМАЦІЙНИЙ БЛОК ЗВЕРХУ === */

.levels-info-top {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 193, 7, 0.1) 100%);
  border: 2px solid rgba(255, 193, 7, 0.6);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 6rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.levels-info-top h3 {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--color-white);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.levels-info-top p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.levels-info-top p:first-of-type {
  font-size: 2.15rem;
  font-weight: 600;
}

.levels-info-top p:last-child {
  margin-bottom: 0;
}

/* SVG зірочка у правому верхньому куті */
.levels-info-top__star {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
  opacity: 1;
  z-index: 10;
  transform: rotate(15deg);
}

/* === СТИЛІ ДЛЯ НОВИХ ЕЛЕМЕНТІВ "БЕЗЛІМІТНА АНГЛІЙСЬКА" === */

/* Заголовок в levels-info-top */
.levels-info-top__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 0.5rem 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}

/* Підзаголовок */
.levels-info-top__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.5rem 0;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
}

/* CTA кнопка */
.levels-info-top__cta {
  display: block;
  margin: 0 auto;
  max-width: 300px;
  width: 100%;
}

/* Останній промо-блок без нижнього відступу */
.levels-info-promo {
  margin-bottom: 0;
}

/* === РІВЕНЬ КОМПОЗИЦІЇ: КАРТКИ КОМПОНЕНТІВ === */

.level-composition {
  padding: 2rem 0;
  margin-bottom: 4rem;
}

.level-composition h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  margin: 0 0 2rem 0;
  line-height: 1.3;
}

/* === КОНТЕЙНЕР ДЛЯ КАРТОК З ПРОКРУТКОЮ === */

.level-cards-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.level-cards-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

/* Приховування скролбара */
.level-cards-container::-webkit-scrollbar {
  display: none;
}

/* === КАРТКА КОМПОНЕНТА === */

.level-card {
  flex: 0 0 auto;
  width: 150px;
  min-width: 150px;
  max-width: 150px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
  scroll-snap-align: start;
  transition: all var(--transition-normal) ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (hover: hover) and (pointer: fine) {
  .level-card:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  }
}

.level-card:focus-visible {
  outline: 2px solid rgba(100, 149, 237, 0.8);
  outline-offset: 2px;
}

.level-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  line-height: 1.3;
}

.level-card__description {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.5;
  flex-grow: 1;
}

/* === НАВІГАЦІЙНІ СТРІЛОЧКИ === */

.level-cards-nav-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
  z-index: 20;
}

.level-cards-nav {
  width: 40px;
  height: 40px;
  background: rgba(231, 30, 20, 0.9);
  border: 1px solid rgba(231, 30, 20, 0.6);
  border-radius: 8px;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal) ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0;
}

@media (hover: hover) and (pointer: fine) {
  .level-cards-nav:hover:not(:disabled) {
    background: rgba(231, 30, 20, 1);
    border-color: rgba(231, 30, 20, 0.9);
    transform: scale(1.05);
  }
}

.level-cards-nav:focus-visible {
  outline: 2px solid rgba(231, 30, 20, 0.8);
  outline-offset: 2px;
}

.level-cards-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* === ПРАЙС-КАРТКИ === */

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 340px));
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 6rem;
  width: 100%;
  box-sizing: border-box;
  align-items: center;
}

/* Картка прайсу */
.pricing-card {
  position: relative;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  text-align: center;
  transition: all var(--transition-normal) ease;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  min-height: auto;
  overflow: visible;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
  }
}

/* Популярна картка */
.pricing-card--popular {
  border: 2px solid rgba(255, 193, 7, 0.6);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(255, 193, 7, 0.05) 100%);
  box-shadow: 0 8px 40px rgba(255, 193, 7, 0.3);
  padding-top: 2rem;
  padding-bottom: 2rem;
  min-height: 320px;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card--popular:hover {
    border-color: rgba(255, 193, 7, 0.9);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(255, 193, 7, 0.1) 100%);
    box-shadow: 0 12px 48px rgba(255, 193, 7, 0.4);
  }
}

/* Badge "Найпопулярніший" */
.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 193, 7, 1);
  color: rgba(0, 0, 0, 0.95);
  font-size: 1rem;
  font-weight: 700;
  padding: 3px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

/* Тільки на популярній картці */
.pricing-card:not(.pricing-card--popular) .pricing-card__badge {
  display: none;
}

/* Стікер зі знижкою */
.pricing-card__discount-sticker {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 56px;
  height: 56px;
  background: rgba(76, 175, 80, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  transform: rotate(15deg);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  z-index: 15;
}

/* Заголовок картки */
.pricing-card__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0.3rem 0 0.3rem 0;
  line-height: 1.3;
}

.pricing-card--popular .pricing-card__title {
  color: rgba(255, 193, 7, 0.95);
}

/* Рядок 2: Кількість рівнів = Тривалість */
.pricing-card__row-2 {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* Рядок 3: Ціна за рівень */
.pricing-card__row-3 {
  margin: 0 0 0.75rem 0;
  padding-top: 0.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-old {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 0.5rem;
  font-size: 1.5rem;
}

.price-new {
  color: rgba(76, 175, 80, 0.95);
  font-weight: 700;
  font-size: 2.5rem;
}

/* Ціна за місяць */
.pricing-card .price-per-month {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(100, 149, 237, 0.95);
  margin: 0.5rem 0 0 0;
  padding: 0;
  line-height: 1.2;
}

.pricing-card--popular .price-per-month {
  color: rgba(255, 193, 7, 0.95);
}

/* === КНОПКА "ПОЧАТИ НАВЧАННЯ" === */

.pricing-card__button {
  width: 100%;
  padding: 0.875rem 1rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--color-primary) 0%, rgba(231, 30, 20, 0.8) 100%);
  color: var(--color-white);
  cursor: pointer;
  transition: all var(--transition-normal) ease;
  box-shadow: 0 4px 12px rgba(231, 30, 20, 0.3);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card__button:hover {
    background: linear-gradient(135deg, rgba(231, 30, 20, 0.9) 0%, rgba(231, 30, 20, 0.7) 100%);
    box-shadow: 0 6px 16px rgba(231, 30, 20, 0.4);
    transform: translateY(-2px);
  }
}

.pricing-card__button:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.pricing-card__button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(231, 30, 20, 0.3);
}

/* === ТАЙМЕР В КАРТЦІ ПРАЙСУ === */

.pricing-card__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.pricing-card__timer-icon {
  font-size: 0.9rem;
}

.pricing-card__timer-label {
  font-weight: 500;
}

.pricing-card__timer-value {
  font-weight: 700;
  color: rgba(255, 193, 7, 0.95);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

/* === CTA БЛОК === */

.levels-cta {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 0;
}

.levels-cta .button {
  max-width: 400px;
  margin: 0 auto;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-normal) ease;
}

/* === RESPONSIVE: TABLET === */

@media (width <=1200px) and (width >=768px) {
  .levels-section {
    padding: var(--section-padding-desktop);
  }

  .levels-section .section-title {
    font-size: var(--font-size-xl);
  }

  .levels-section .section-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .levels-info-top {
    margin-bottom: 2rem;
  }

  .level-composition {
    margin-bottom: 4rem;
    padding: 0;
  }

  .level-cards-container {
    gap: 1rem;
  }

  .level-card {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
  }

  .pricing-cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
    justify-content: center;
    gap: 1.25rem;
    align-items: center;
  }

  .pricing-card {
    min-height: auto;
    padding: 1.8rem 1.25rem;
    justify-content: space-between;
  }

  .pricing-card--popular {
    transform: scale(1.03);
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: 400px;
  }

  .pricing-card__title {
    font-size: 1.1rem;
  }

  .pricing-card .price-per-month {
    font-size: 1.5rem;
  }

  .pricing-card--popular .price-per-month {
    font-size: 1.75rem;
  }
}

/* === RESPONSIVE: MOBILE === */

@media (width < 768px) {
  .levels-section {
    box-sizing: border-box;
    width: 100%;
    max-width: calc(100vw - 2rem);
    padding: var(--section-padding-mobile);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--section-spacing-mobile);
    overflow-x: hidden;
  }

  .levels-section .section-title {
    font-size: 2rem;
    margin-bottom: 0.35rem;
  }

  .levels-section .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
  }

  .levels-info-top {
    padding: 1.25rem 1rem;
    margin-bottom: 1.75rem;
    border-radius: 12px;
  }

  .levels-info-top h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .levels-info-top p {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .levels-info-top p:first-of-type {
    font-size: 1.2rem;
  }

  .levels-info-top__star {
    width: 40px;
    height: 40px;
    top: -10px;
    right: -10px;
  }

  /* Mobile стилі для нових елементів */
  .levels-info-top__title {
    font-size: 1.5rem;
  }

  .levels-info-top__subtitle {
    font-size: 1rem;
  }

  .level-composition {
    margin-bottom: 3rem;
    padding: 0;
  }

  .level-composition h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .level-cards-container {
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .level-card {
    width: 145px;
    min-width: 145px;
    max-width: 145px;
    padding: 1rem;
    border-radius: 10px;
  }

  .level-card__title {
    font-size: 0.85rem;
  }

  .level-card__description {
    font-size: 0.7rem;
  }

  .level-cards-nav-wrapper {
    margin-top: 0.75rem;
  }

  .level-cards-nav {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .pricing-cards {
    grid-template-columns: minmax(0, 400px);
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .pricing-card {
    min-height: auto;
    padding: 1.8rem 1rem;
    border-radius: 12px;
    transform: none;
    justify-content: space-between;
  }

  .pricing-card--popular {
    transform: none;
    border-width: 2px;
    padding-top: 2rem;
    padding-bottom: 2rem;
    min-height: auto;
  }

  .pricing-card__badge {
    font-size: 0.65rem;
    padding: 2px 12px;
    top: -10px;
  }

  .pricing-card__title {
    font-size: 1.9rem;
    margin-top: 0;
  }

  .pricing-card__row-2 {
    font-size: 0.9rem;
    margin: 0;
  }

  .pricing-card__row-3 {
    font-size: 0.85rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
  }

  .price-old {
    font-size: 0.95rem;
  }

  .price-new {
    font-size: 2rem;
  }

  .pricing-card .price-per-month {
    font-size: 1.2rem;
    margin-top: 0;
    padding-top: 0;
  }

  .levels-cta {
    margin-top: 2rem;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  .levels-cta .button {
    max-width: 100%;
    width: 100%;
    padding: 10px 16px;
    font-size: 0.7rem;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.4;
  }
}

/* === ACCESSIBILITY === */

@media (prefers-reduced-motion: reduce) {

  .levels-info-top,
  .level-card,
  .level-cards-nav,
  .pricing-card {
    transition: none;
  }

  .level-card:hover,
  .pricing-card:hover {
    transform: none;
  }
}

/* === FOCUS STATES === */

.level-card:focus-visible,
.level-cards-nav:focus-visible,
.pricing-card:focus-visible,
.levels-cta .button:focus-visible {
  outline: 2px solid rgba(100, 149, 237, 0.8);
  outline-offset: 2px;
}

/* === FALLBACK FOR NO BACKDROP-FILTER SUPPORT === */

@supports not (backdrop-filter: blur(10px)) {

  .levels-info-top,
  .level-card,
  .pricing-card {
    background: rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* === PERFORMANCE OPTIMIZATION === */

.level-card {
  will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
  .level-card:hover {
    will-change: transform;
  }

  .level-card:not(:hover) {
    will-change: auto;
  }
}

.pricing-card {
  will-change: auto;
}

@media (hover: hover) and (pointer: fine) {
  .pricing-card:hover {
    will-change: transform;
  }

  .pricing-card:not(:hover) {
    will-change: auto;
  }
}
#levels-section {
  scroll-margin-top: 110px;
}

/* Що дасть пакет (підпис з адмінки) */
.pricing-card__note {
  margin: 0.25rem 0 1rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--graphite-soft, #555);
}

/* === css/components/testimonials.css === */
/* ==========================================================================
   Testimonials Section - White cards on dark background
   ========================================================================== */

.testimonials-section {
  padding: 0 var(--spacing-md);
  margin-bottom: var(--section-spacing-desktop);
  contain: layout style paint;
  content-visibility: auto;
  width: 100%;
  max-width: var(--content-max-width);
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.testimonials-section.glass-section {
  background: transparent;
  border: none;
  border-radius: 0;
}

.testimonials-carousel-wrapper {
  position: relative;
  margin: 0 auto var(--spacing-xl);
  -webkit-user-select: none;
  user-select: none;
}

.testimonials-carousel {
  margin: 0 auto;
  padding: var(--spacing-md) 0 var(--spacing-sm);
  overscroll-behavior-x: contain;
}

/* ===== WHITE CARD ===== */
.testimonial-card {
  position: relative;
  width: 80%;
  max-width: 300px;
  padding: var(--spacing-lg);
  margin: 0 var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  background: var(--paper-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color var(--transition-fast);
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover {
    border-color: var(--ink);
  }
}

/* ===== CONTENT ===== */
.testimonial-card__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  height: 100%;
}

/* ===== HEADER: avatar + meta ===== */
.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.testimonial-card__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--ink);
  background: var(--color-bg-secondary);
  border: 1px solid var(--border);
  text-transform: uppercase;
  line-height: 1;
  user-select: none;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.testimonial-card__name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== SVG RATING STARS ===== */
.testimonial-card__rating {
  display: flex;
  gap: 2px;
}

.testimonial-card__star {
  color: var(--border);
  transition: color var(--transition-fast);
}

.testimonial-card__star--active {
  color: var(--color-primary);
}

/* ===== TEXT + DATE ===== */
.testimonial-card__text {
  font-size: var(--font-size-base);
  color: var(--ink-light);
  line-height: 1.65;
  flex: 1 0 0;
  margin: 0;
}

.testimonial-card__date {
  font-size: var(--font-size-xs);
  color: var(--graphite-soft);
  margin-top: auto;
}

/* ===== NAV BUTTONS (SVG arrows) ===== */
.testimonials-carousel-nav-wrapper {
  display: none;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.testimonials-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  border: 1px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  touch-action: manipulation;
  flex-shrink: 0;
}

.testimonials-carousel-nav:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .testimonials-carousel-nav:hover {
    background: var(--ink);
    color: var(--color-white);
  }
}

.testimonials-carousel-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

/* Button center */
#testimonial-modal-trigger {
  display: block;
  margin: 0 auto;
}

/* ===== DESKTOP ===== */
@media (width >= 768px) {
  .testimonials-carousel {
    display: flex;
    gap: var(--spacing-xl);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .testimonials-carousel::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    flex: 0 0 calc(33.333% - var(--spacing-xl) * 0.666);
    min-width: 260px;
    max-width: 360px;
    margin: 0;
    scroll-snap-align: start;
  }

  .testimonials-carousel-nav-wrapper {
    display: flex;
  }
}

/* ===== DOTS (mobile) ===== */
.testimonials-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: var(--spacing-md);
  list-style: none;
  padding: 0;
  margin-left: 0;
  margin-right: 0;
}

.testimonials-dots__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  touch-action: manipulation;
  min-width: 8px;
  min-height: 8px;
}

.testimonials-dots__dot--active {
  background: var(--color-primary);
  transform: scale(1.35);
}

.testimonials-dots__dot:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* ===== MOBILE ===== */
@media (width <= 767px) {
  .testimonials-dots {
    display: flex;
    margin-bottom: var(--spacing-xl);
  }

  /* Крапки вставляються після wrapper: відступ переносимо під них, інакше вони липнуть до кнопки */
  .testimonials-carousel-wrapper:has(+ .testimonials-dots) {
    margin-bottom: 0;
  }

  .testimonials-section {
    padding: 0 1rem;
    margin-bottom: var(--section-spacing-mobile);
    overflow-x: hidden;
  }

  .testimonials-section .section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .testimonials-carousel {
    display: flex;
    scroll-snap-type: x mandatory;
    scroll-padding: var(--spacing-md);
    overflow-x: auto;
  }

  .testimonial-card {
    flex: 0 0 calc(100% - var(--spacing-md) * 2);
    scroll-snap-align: center;
    max-width: 100%;
  }

  .testimonials-carousel-nav {
    display: none;
  }

  #testimonial-modal-trigger {
    display: block;
    margin: 0 auto;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .testimonials-dots__dot,
  .testimonial-card {
    transition: none;
  }
}

/* === css/components/faq.css === */
/* ==========================================================================
   FAQ Section - Часті питання
   Стиль як у прайс-секції: світлі картки, темний текст
   ========================================================================== */

.faq-section {
  padding: var(--section-padding-desktop);
  margin-bottom: var(--section-spacing-desktop);
  width: 100%;
  max-width: min(var(--content-width-desktop), var(--content-max-width));
  margin-left: auto;
  margin-right: auto;
}

/* Сітка 3 колонки з вирівнюванням */
.faq-section .faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  align-items: stretch; /* Стовпчики займають однакову висоту */
}

/* Стовпчики */
.faq-section .faq-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Акордеони - Grid для однакової висоти елементів */
.faq-section .faq-accordion {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-sm);
  height: 100%; /* Займає всю висоту стовпчика */
  align-content: start; /* Вирівнювання по верхньому краю */
}

/* Однакова висота всіх елементів у стовпчику */
.faq-section .faq-item {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 60px; /* Мінімальна висота для консистентності */
}

/* Заголовок акордеону - зарезервовано місце під 2 рядки */
.faq-section .faq-item__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--font-size-base);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  transition: background-color 0.2s ease;
  flex-shrink: 0;
  height: calc(var(--font-size-base) * 1.4 * 2 + var(--spacing-sm) * 2); /* 2 рядки + padding */
  min-height: calc(var(--font-size-base) * 1.4 * 2 + var(--spacing-sm) * 2);
}

@media (hover: hover) and (pointer: fine) {
  .faq-section .faq-item__header:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

.faq-section .faq-item__header:focus-visible {
  outline: 2px solid rgba(100, 149, 237, 0.5);
  outline-offset: -2px;
}

.faq-section .faq-item__question {
  flex: 1 0 0;
  line-height: 1.4;
  min-width: 0;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Обмеження до 2 рядків */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Іконка */
.faq-section .faq-item__icon {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.faq-section .faq-item.accordion-item--open .faq-item__icon {
  transform: rotate(45deg);
}

/* Контент */
.faq-section .faq-item__content {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  flex-shrink: 0;
}

.faq-section .faq-item.accordion-item--open .faq-item__content {
  padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-section .faq-item__content p {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
  word-wrap: break-word;
}

/* Мобільна версія */
@media (width <= 1024px) {
  .faq-section .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .faq-section .faq-column {
    height: auto;
  }

  .faq-section .faq-accordion {
    height: auto;
  }
}

@media (width <= 767px) {
  .faq-section {
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    max-width: calc(100vw - 2rem);
    padding: 1rem;
    margin-bottom: var(--section-spacing-mobile);
    overflow-x: hidden;
  }

  .faq-section .faq-accordion {
    gap: var(--spacing-xs);
  }

  .faq-section .faq-item__header {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
    height: calc(var(--font-size-sm) * 1.4 * 2 + var(--spacing-xs) * 2); /* 2 рядки + padding для mobile */
    min-height: calc(var(--font-size-sm) * 1.4 * 2 + var(--spacing-xs) * 2);
  }

  .faq-section .faq-item__question {
    font-size: var(--font-size-sm);
  }

  .faq-section .faq-item__icon {
    font-size: var(--font-size-base);
    width: 20px;
    height: 20px;
  }

  .faq-section .faq-item.accordion-item--open .faq-item__content {
    padding: 0 var(--spacing-sm) var(--spacing-sm);
  }

  .faq-section .faq-item__content p {
    font-size: var(--font-size-xs);
  }
}

/* ==========================================================================
   FAQ Page - Окрема сторінка FAQ
   ========================================================================== */

/* Фон (паралакс) */
.faq-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Fallback */
  height: 100dvh; /* iOS Dynamic Viewport */
  z-index: var(--z-background, -1);
  overflow: hidden;
  pointer-events: none; /* Важливо: не блокує кліки */
  contain: layout style paint; /* Ізоляція для продуктивності */

  /* Hardware acceleration - використовуємо наявний паттерн з header.css */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;

  /* Явно вимикаємо blur якщо він застосовується через глобальні стилі */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  filter: none;

  /* will-change тільки коли активний - додається через JS */
}

/* Активний стан (додається через JS) */
.faq-background--active {
  will-change: transform;
}

.faq-background__image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;

  /* Запобігає мерехтінню на iOS - використовуємо наявний паттерн */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);

  /* Явно вимикаємо blur */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  filter: none;
}

/* Контент над фоном */
.faq-content[data-parallax-layer="content"] {
  position: relative;
  z-index: var(--z-content, 1);
  contain: layout style;
}

/* iOS Safari специфічні фікси */
@supports (-webkit-touch-callout: none) {
  .faq-background {
    height: 100dvh;

    /* Fallback для iOS < 15 */
    height: calc(var(--parallax-vh, 1vh) * 100);
  }

  /* iOS: зменшений blur, непрозоріший фон для кращого контрасту */
  .faq-section .faq-item,
  .faq-content .faq-item {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: rgba(10, 10, 10, 0.65);
  }
}

/* Fallback для браузерів без підтримки backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
  .faq-section .faq-item,
  .faq-content .faq-item {
    background: rgba(15, 15, 15, 0.85);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .faq-background {
    position: absolute;
  }
}

.faq-page {
  width: 100%;
  max-width: 95vw;
  max-width: 95dvw;
  margin: 0 auto;
}

@media (width >= 1024px) {
  .faq-page {
    max-width: min(var(--content-width-desktop), var(--content-max-width));
    padding: var(--section-padding-desktop);
  }
}

.faq-hero {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.faq-hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-top: var(--spacing-sm);
}

.faq-content.glass-section {
  margin-bottom: var(--spacing-xl);
}

.faq-content .faq-accordion {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
}

.faq-content .faq-item {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

@media (hover: hover) {
  .faq-content .faq-item:hover {
    box-shadow: var(--glass-shadow);
  }
}

.faq-content .faq-item__header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  transition: background-color var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
  .faq-content .faq-item__header:hover {
    background: rgba(255, 255, 255, 0.08);
  }
}

.faq-content .faq-item__header:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -2px;
}

.faq-content .faq-item__question {
  flex: 1 0 0;
  line-height: 1.5;
}

.faq-content .faq-item__icon {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.faq-content .faq-item.accordion-item--open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-content .faq-item__content {
  padding: 0 var(--spacing-lg);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-content .faq-item.accordion-item--open .faq-item__content {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
}

.faq-content .faq-item__answer {
  font-size: var(--font-size-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.faq-content .faq-item__answer p {
  margin: 0 0 var(--spacing-sm) 0;
}

.faq-content .faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-empty {
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
  padding: var(--spacing-xl);
}

/* Мобільна версія для FAQ сторінки */
@media (width <= 767px) {
  .faq-hero {
    margin-bottom: var(--spacing-lg);
  }

  .faq-hero__subtitle {
    font-size: var(--font-size-base);
  }

  .faq-content .faq-accordion {
    gap: var(--spacing-sm);
  }

  .faq-content .faq-item__header {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
  }

  .faq-content .faq-item__icon {
    font-size: var(--font-size-lg);
    width: 24px;
    height: 24px;
  }

  .faq-content .faq-item.accordion-item--open .faq-item__content {
    padding: 0 var(--spacing-md) var(--spacing-md);
  }

.faq-content .faq-item__answer {
  font-size: var(--font-size-sm);
  color: var(--ink-light);
}
}

.faq-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  box-sizing: border-box;
}

.faq-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin-bottom: 2.5rem;
  position: relative;
}

.faq-hero__copy,
.faq-hero__photo {
  min-width: 0;
  max-width: 100%;
}

.faq-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.faq-hero__title {
  font-family: var(--font-family-heading);
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 1.5rem;
  text-align: center;
  max-width: 100%;
}

.faq-hero__cta {
  position: relative;
  z-index: 2;
}

.faq-hero__photo {
  position: relative;
  margin: 0;
  min-height: 280px;
}

.faq-hero__shot {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.faq-hero__doodle {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.faq-hero__doodle--bubble {
  width: 88px;
  left: 0;
  top: 18px;
}

.faq-hero__doodle--pencil {
  width: 72px;
  right: -8px;
  top: -18px;
}

.faq-hero__doodle--ben {
  width: min(220px, 58%);
  right: 4%;
  bottom: -28px;
  z-index: 3;
}

.faq-topics {
  position: relative;
  text-align: center;
  margin: 3.5rem 0 2rem;
}

.faq-topics__label {
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-topics__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.faq-topics__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(26, 26, 26, 0.05);
}

.faq-topics__list a:hover,
.faq-facts__item:hover,
.faq-path:hover {
  border-color: var(--amber);
}

.faq-topics__arrow {
  position: absolute;
  left: -40px;
  bottom: -30px;
  width: 160px;
  pointer-events: none;
}

.faq-topics__pencil {
  position: absolute;
  right: -10px;
  top: -20px;
  width: 70px;
  pointer-events: none;
}

.faq-content {
  position: relative;
}

.faq-doodle {
  display: none;
  pointer-events: none;
}

@media (min-width: 900px) {
  .faq-content .faq-accordion {
    margin-left: 8.5rem;
    margin-right: 9rem;
  }

  .faq-doodle {
    display: block;
    position: absolute;
    z-index: 1;
  }

  .faq-doodle--globe {
    width: 150px;
    left: -8px;
    top: 8rem;
  }

  .faq-doodle--flag {
    width: 150px;
    right: -6px;
    top: 17rem;
  }
}

.faq-facts {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.faq-facts__item {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 0.9rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.faq-facts__icon {
  color: var(--amber);
  display: inline-flex;
}

.faq-facts__value {
  font-family: var(--font-family-heading);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--ink);
}

.faq-facts__label {
  color: var(--graphite-soft);
  font-size: 0.86rem;
  line-height: 1.35;
}

.faq-path {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 1.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.faq-path__title {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.faq-path__track {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  flex: 1;
}

.faq-path__track li {
  position: relative;
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

.faq-path__track li::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto 0.35rem;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--amber);
  position: relative;
  z-index: 1;
}

.faq-path__track li::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
}

.faq-path__track li.is-last::after {
  display: none;
}

.faq-path__track li.is-last::before {
  background: var(--amber);
}

.faq-help {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.faq-help__photo {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 20%;
}

.faq-help__copy {
  padding: 1.25rem 1.5rem 1.25rem 0;
}

.faq-help__copy h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-family-heading);
  font-size: 1.7rem;
  color: var(--ink);
}

.faq-help__copy p {
  margin: 0 0 1rem;
  color: var(--graphite-soft);
  max-width: 36rem;
}

@media (max-width: 680px) {
  .faq-hero,
  .faq-help {
    grid-template-columns: 1fr;
  }

  .faq-facts {
    grid-template-columns: 1fr 1fr;
  }

  .faq-hero__doodle--ben {
    width: 170px;
    bottom: -28px;
  }

  .faq-topics__arrow,
  .faq-topics__pencil {
    display: none;
  }

  .faq-help__photo {
    height: 220px;
  }

  .faq-help__copy {
    padding: 0 1rem 1.15rem;
  }

  .faq-path {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
}

.faq-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-hero .section-title {
  font-family: var(--font-family-heading);
  color: var(--ink);
}

.faq-hero__subtitle {
  max-width: 42rem;
  color: var(--graphite-soft);
}

.faq-hero.glass-section,
.faq-content.glass-section {
  background: transparent;
  border: none;
  box-shadow: none;
}

.faq-content .faq-accordion {
  max-width: none;
}

.faq-content .faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.faq-content .faq-item__header,
.faq-content .faq-item__question {
  color: var(--ink);
  font-weight: 600;
}

.faq-content .faq-item__answer,
.faq-content .faq-item__answer p {
  color: var(--ink-light);
}

/* === css/components/special-courses.css === */
/* ==========================================================================
   Спецкурси /speckursy/ (templates/core/special_courses.html)
   Плитка: маленьке фото + назва + рядок опису; <details> розкриває текст і кнопки
   ========================================================================== */

.special-page {
  width: var(--content-width-desktop);
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: var(--spacing-md) 0 var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.special-hero {
  text-align: center;
}

.special-hero h1 {
  margin: 0 0 var(--spacing-sm);
  font-size: clamp(2rem, 5vw, 3rem);
}

.special-hero p,
.special-cta p {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--ink-light);
  line-height: 1.6;
}

.special-group h2 {
  margin: 0 0 var(--spacing-md);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  gap: var(--spacing-sm);
  align-items: start;
}

.special-tile {
  background: var(--paper-card, #fff);
  border: 1px solid var(--border, #dadada);
  border-radius: var(--radius, 12px);
  overflow: hidden;
  transition: border-color var(--transition-fast, .15s);
}

.special-tile[open] {
  border-color: var(--color-primary);
}

.special-tile__summary {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 10px 14px 10px 10px;
  cursor: pointer;
  list-style: none;
}

.special-tile__summary::-webkit-details-marker {
  display: none;
}

.special-tile__img {
  flex: 0 0 auto;
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 8px;
}

.special-tile__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.special-tile__title {
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.special-tile__short {
  font-size: 0.9rem;
  color: var(--graphite-soft, #6b6b6b);
  line-height: 1.4;
}

.special-tile__toggle::before {
  content: '+';
  display: inline-block;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--color-primary);
  transition: transform .2s;
}

.special-tile[open] .special-tile__toggle::before {
  transform: rotate(45deg);
}

.special-tile__more {
  padding: 0 16px 16px;
}

.special-tile__more p {
  margin: 4px 0 var(--spacing-sm);
  color: var(--ink-light);
  line-height: 1.6;
}

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

.special-tile__actions .button {
  flex: 1 1 10rem;
  text-align: center;
  box-sizing: border-box;
}

.special-tile__actions a.button--outline {
  color: var(--ink);
}

.special-cta {
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
  background: var(--paper-card, #fff);
  border: 1px solid var(--border, #dadada);
  border-radius: var(--radius, 12px);
}

.special-cta h2 {
  margin: 0 0 var(--spacing-sm);
}

@media (width <= 767px) {
  .special-page {
    width: var(--content-width-mobile);
    gap: var(--spacing-lg);
  }

  .special-cta {
    padding: var(--spacing-lg) var(--spacing-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .special-tile__toggle::before {
    transition: none;
  }
}

/* Смужка «Спецкурси» на /buy/: плитки-посилання */
.special-strip {
  width: var(--content-width-desktop);
  max-width: var(--content-max-width);
  margin: 0 auto var(--section-spacing-desktop, 4rem);
}

.special-tile--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .special-tile--link:hover {
    border-color: var(--color-primary);
  }
}

.special-tile__arrow {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.special-strip__all {
  margin-top: var(--spacing-md);
  text-align: center;
  font-weight: 600;
}

.special-strip__all a {
  color: var(--color-primary);
}

@media (width <= 767px) {
  .special-strip {
    width: var(--content-width-mobile);
    margin-bottom: var(--section-spacing-mobile, 2.5rem);
  }
}

.special-strip .section-title,
.special-strip .section-subtitle {
  text-align: center;
}

/* === css/components/adults-light.css === */
/* Світла версія сторінки програм для дорослих (/buy/) */

.parallax-container--adults {
  display: none;
}

.advantages-section--hero {
  background: #fff;
}

.buy-steps__text,
.buy-steps__number {
  color: #1a1a1a;
}

.buy-steps__number {
  background: #fff;
  border: 1px solid #dadada;
}

.advantages-hero__h1,
.advantages-grid-section .section-title,
.trial-offer__title,
.levels-section .section-title,
.extra-discount__title,
.questions-form__title,
.testimonials-section .section-title,
.faq-section .section-title,
.mega-discount__title {
  font-family: var(--font-family-heading);
  color: #1a1a1a;
}

.advantages-hero__subtitle,
.advantages-grid-section__subtitle,
.advantages-grid-section__subtitle strong,
.trial-offer__subtitle,
.levels-section .section-subtitle,
.questions-form__subtitle,
.seo-context-section__text {
  color: #3a3a3a;
}

.highlight-gold {
  color: #e5231b;
}

.feature-card,
body .pricing-card,
body .pricing-card--popular,
.buy-steps__item,
.testimonial-card {
  background: #fff;
  color: #1a1a1a;
  border: 1px solid #dadada;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.feature-card__title,
.pricing-card__title,
.pricing-card--popular .pricing-card__title,
.testimonial-card__name {
  color: #1a1a1a;
}

.feature-card__text,
.pricing-card__row-2,
.pricing-card__row-3,
.testimonial-card__text,
.testimonial-card__date {
  color: #3a3a3a;
}

.price-old {
  color: #8a8a8a;
}

.price-new,
.pricing-card .price-per-month {
  color: #e5231b;
}

.price-new {
  font-size: 1.65rem;
  white-space: nowrap;
}

.pricing-card--popular {
  border-color: #e5231b;
  transform: none;
  min-height: 0;
}

.pricing-cards {
  align-items: stretch;
}

body .pricing-card__title,
body .pricing-card--popular .pricing-card__title {
  font-size: 1.35rem;
  line-height: 1.25;
  min-height: 3.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

body .pricing-card .price-per-month,
body .pricing-card--popular .price-per-month {
  font-size: 1.35rem;
}

body .pricing-card__timer,
body .pricing-card__timer--spacer {
  min-height: 1.6rem;
}

body .pricing-card__timer-value {
  font-variant-numeric: tabular-nums;
}

@media (hover: hover) and (pointer: fine) {
  body .pricing-card:hover,
  body .pricing-card--popular:hover {
    background: #fff;
    color: #1a1a1a;
    transform: none;
    box-shadow: none;
  }

  body .pricing-card:hover {
    border-color: #dadada;
  }

  body .pricing-card--popular:hover {
    border-color: #e5231b;
  }
}

.pricing-card__badge {
  background: #e5231b;
  color: #fff;
}

.mega-discount-section {
  background: #fff;
  border: 1px solid #dadada;
  color: #1a1a1a;
}

.mega-discount__badge,
.mega-discount__subtitle,
.mega-discount__label,
.mega-discount__digit {
  color: #1a1a1a;
}

.mega-discount__badge {
  background: transparent;
  color: #e5231b;
}

.seo-context-section__inner {
  border-left-color: #e5231b;
}

.seo-tag {
  color: #3a3a3a;
  background: #fff;
  border-color: #dadada;
}

.faq-section .faq-item {
  background: #fff;
  border: 1px solid #dadada;
  color: #1a1a1a;
}

.faq-section .faq-item__header,
.faq-section .faq-item__question,
.faq-section .faq-item__answer,
.faq-section .faq-item__answer p {
  color: #1a1a1a;
}

/* Заголовки й текст сторінки програм. Перебиває білий колір зі старої темної теми. */
.hero-content :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-head);
  color: #1a1a1a;
}

.hero-content :where(p, li) {
  font-family: var(--font-body);
  color: #3a3a3a;
}

.extra-discount__subtitle strong {
  color: #2e7d32;
}

/* Мобільна колонка: однакові бокові поля і відстань між блоками */
@media (width < 768px) {
  .hero-content > .advantages-section,
  .hero-content > .trust-ticker,
  .hero-content > .advantages-grid-section,
  .hero-content > .trial-offer-section,
  .hero-content > .mega-discount-section,
  .hero-content > .levels-section,
  .hero-content > .questions-form-section,
  .hero-content > .faq-section,
  .hero-content > .seo-context-section {
    width: auto;
    max-width: none;
    margin: 0 0.75rem 1.25rem;
    box-sizing: border-box;
  }

  .hero-content > .advantages-section--hero {
    margin-top: 0.75rem;
  }

  .hero-content > .testimonials-section {
    margin: 0;
  }

  .hero-content > .trust-ticker {
    background: #fff;
    border: 1px solid #dadada;
    border-radius: 12px;
    padding: 0.7rem 0.5rem;
  }

  .hero-content .trust-ticker__track {
    animation: none;
    width: 100%;
    justify-content: center;
  }

  .hero-content .trust-ticker__content[data-clone],
  .hero-content .trust-ticker__content[aria-hidden="true"] {
    display: none;
  }

  .hero-content .trust-ticker__content {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 0.35rem 0.6rem;
  }

  .hero-content .trust-ticker__item,
  .hero-content .trust-ticker__separator {
    color: #1a1a1a;
    white-space: normal;
    text-align: center;
  }
}

/* Ціни з підписами «Стандартна ціна» / «Ціна по акції» */
body .pricing-card__row-3 {
  display: flex;
  justify-content: center;
  border-top: 0;
}

.pricing-card .price-pair {
  justify-content: center;
  text-align: left;
}

.pricing-card .price-pair__item--old .price-pair__value {
  font-size: 1.15rem;
  color: #8a8a8a;
}

.pricing-card .price-pair__item--new .price-pair__value {
  font-size: 1.65rem;
  color: #e5231b;
}

body .pricing-card__timer {
  flex-wrap: wrap;
  color: #3a3a3a;
  text-align: center;
}

body .pricing-card__timer-value {
  color: #e5231b;
}
