/* ==========================================================================
   BASE STYLES
   ========================================================================== */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Section */
.section {
  padding: var(--space-4xl) 0;
}

.section--gray {
  background-color: var(--color-gray-100);
}

.section--blue {
  background: var(--gradient-secondary);
  color: var(--color-white);
}

.section--blue .section__title,
.section--blue .section__subtitle {
  color: var(--color-white);
}

/* Section Header */
.section__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section__header--white .section__title,
.section--white .section__title {
  color: var(--color-white);
}

.section__header--white .section__subtitle,
.section--white .section__subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.section__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--color-secondary);
}

.section__title span {
  color: var(--color-primary);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Typography */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}

.text-white {
  color: var(--color-white);
}

.text-bold {
  font-weight: 700;
}

.text-uppercase {
  text-transform: uppercase;
}

/* Links */
.link {
  color: var(--color-primary);
  font-weight: 600;
  transition: color var(--transition-base);
}

.link:hover {
  color: var(--color-primary-dark);
}

/* Images */
.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Visually hidden (for screen readers) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* No scroll (for modal) */
body.no-scroll {
  overflow: hidden;
}

/* Отключение анимаций появления на мобильных */
@media (max-width: 768px) {
  .training__card,
  .coach-card,
  .tournament-card,
  .why-us__item,
  .faq__item,
  .stats__item,
  .footer__brand,
  .footer__nav,
  .footer__contacts,
  .footer__socials,
  .footer__bottom {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    transition: none !important;
  }
}