:root {
  --accent: #ff5b00;
  --accent-light: #ff7a2e;
  --accent-dark: #e04a00;
  --dark: #1a1a1a;
  --dark-light: #2d2d2d;
  --gray: #6b7280;
  --gray-light: #f3f4f6;
  --gray-dark: #374151;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gradient-accent: linear-gradient(135deg, #ff5b00 0%, #ff7a2e 100%);
  --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  scroll-behavior: smooth;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Современные стили для форм */
.form-control,
.form-select {
  border-radius: var(--radius);
  border: 2px solid #e5e7eb;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 91, 0, 0.1);
  outline: none;
}

.form-control:hover,
.form-select:hover {
  border-color: #d1d5db;
}

/* ---------- HEADER ---------- */
.navbar {
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 12px;
  color: var(--dark) !important;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: var(--accent) !important;
}

.navbar-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.btn-accent {
  background: var(--gradient-accent);
  color: #fff !important;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-accent:hover::before {
  left: 100%;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

.btn-accent-white {
  background-color: #fff;
  color: var(--accent) !important;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.btn-accent-white:hover {
  background: var(--gradient-accent);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* ---------- HERO ---------- */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(45, 45, 45, 0.75) 100%),
              url('main.jpg') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 91, 0, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin: 20px auto 40px auto;
  max-width: 800px;
  line-height: 1.7;
  opacity: 0.95;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero .btn-outline-light {
  border-width: 2px;
}

/* Кнопки в hero секции с цветом #ee3400 */
.hero .btn-accent {
  background-color: #ee3400;
  color: #fff !important;
}

.hero .btn-accent:hover {
  background-color: #d02e00;
  opacity: 1;
}

.hero .btn-outline-light {
  border-color: #ee3400;
  color: #ee3400;
}

.hero .btn-outline-light:hover {
  background-color: #ee3400;
  border-color: #ee3400;
  color: #fff;
}

.hero-stats {
  margin-top: 120px;
  padding: 50px 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 1200px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-xl);
}

.stat-item {
  color: white;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.stat-text {
  font-size: 1rem;
  line-height: 1.5;
}

/* ---------- SECTIONS ---------- */
section {
  padding: 120px 0;
  position: relative;
}

section h2 {
  font-weight: 800;
  margin-bottom: 60px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

/* ---------- О НАС ---------- */
#about {
  background: linear-gradient(to bottom, #fff 0%, #fafafa 100%);
}

.about-content {
  font-size: 1.2rem;
  line-height: 1.8;
  text-align: justify;
}

.about-content p {
  margin-bottom: 20px;
}

.about-text-black {
  color: #000;
  font-weight: 400;
}

.about-text-gray {
  color: #888;
  font-weight: 400;
}

.about-regulation-text {
  color: var(--accent);
  font-weight: 700;
  margin-top: 30px;
  line-height: 1.6;
}

.about-regulation-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.about-regulation-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* ---------- РАСПРЕДЕЛЕНИЕ КОМАНД ПО ЛИГАМ ---------- */
.leagues-section {
  background: linear-gradient(135deg, #FF5912 0%, #FF7A2E 50%, #FF8C42 100%);
  color: #FFFFFF;
  padding: 120px 20px;
  position: relative;
  overflow: hidden;
}

.leagues-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.leagues-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: #FFFFFF;
  text-align: left;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

.leagues-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.leagues-description {
  text-align: left;
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.leagues-description p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  font-weight: 400;
}

.leagues-description p:last-child {
  margin-bottom: 0;
}

.leagues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto 70px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.league-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 40px 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.league-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.league-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.league-item:hover::before {
  transform: scaleX(1);
}

.league-letter-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.league-item:hover .league-letter-wrapper {
  transform: scale(1.05);
}

.league-letter-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(8px);
  border-radius: 1px;
}

.league-letter {
  font-size: clamp(6rem, 12vw, 12rem);
  font-weight: 200;
  color: #FFFFFF;
  line-height: 1;
  text-transform: uppercase;
  display: inline-block;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
  -webkit-text-fill-color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.league-item:hover .league-letter {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.league-label {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  transform: translate(8px, 8px);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.league-employees {
  font-size: 1.05rem;
  color: #FFFFFF;
  line-height: 1.6;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.2);
  padding: 12px 20px;
  border-radius: var(--radius);
  margin-top: 10px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.leagues-regulation-wrapper {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.leagues-regulation-text {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.leagues-regulation-link {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.leagues-regulation-link:hover {
  color: #FFFFFF;
  border-bottom-color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.leagues-button-wrapper {
  text-align: center;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.btn-leagues-apply {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 18px 50px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.btn-leagues-apply::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.5s ease;
  z-index: -1;
}

.btn-leagues-apply:hover::before {
  left: 100%;
}

.btn-leagues-apply:hover {
  background: rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Адаптивность для раздела лиг */
@media (max-width: 992px) {
  .leagues-section {
    padding: 100px 20px;
  }
  
  .leagues-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .league-item {
    padding: 35px 20px;
  }
  
  .league-letter {
    font-size: clamp(5rem, 10vw, 8rem);
  }
  
  .leagues-description {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .leagues-section {
    padding: 80px 20px;
  }
  
  .leagues-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 40px;
  }
  
  .leagues-title::after {
    width: 60px;
    height: 3px;
  }
  
  .leagues-description {
    margin-bottom: 50px;
  }
  
  .leagues-description p {
    font-size: 1.05rem;
    line-height: 1.8;
  }
  
  .leagues-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }
  
  .league-item {
    padding: 40px 25px;
  }
  
  .league-letter {
    font-size: clamp(5rem, 15vw, 7rem);
  }
  
  .league-label {
    font-size: 1rem;
    transform: translate(6px, 6px);
  }
  
  .league-employees {
    font-size: 1rem;
    padding: 10px 18px;
  }
  
  .btn-leagues-apply {
    padding: 16px 40px;
    font-size: 1rem;
  }
}

.text-accent {
  color: var(--accent);
  font-weight: 600;
}

/* ---------- ФОРМАТ СОРЕВНОВАНИЙ ---------- */
.competition-format-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.competition-type-badge {
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  font-size: 1.2rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--accent);
  display: inline-block;
  margin-bottom: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.competition-type-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.competition-description {
  margin-bottom: 30px;
}

.competition-description p {
  margin-bottom: 20px;
  color: #000;
  font-weight: 400;
}

.competition-numbered-line {
  position: relative;
  margin: 40px 0;
  height: 60px;
}

.numbered-line-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.numbered-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: translateY(-50%);
}

.numbered-circle {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 2px 8px rgba(255, 91, 0, 0.3);
  z-index: 2;
}

.numbered-circle span {
  color: #FFFFFF;
  font-size: 1.2rem;
  font-weight: 700;
}

.numbered-circle[data-number="1"] {
  left: calc((100% / 6) - 20px);
}

.numbered-circle[data-number="2"] {
  left: calc(50% - 20px);
}

.numbered-circle[data-number="3"] {
  left: calc((100% * 5 / 6) - 20px);
}

/* Адаптивность для линии с цифрами */
@media (max-width: 768px) {
  .competition-numbered-line {
    margin: 30px 0;
    height: 50px;
  }
  
  .numbered-circle {
    width: 35px;
    height: 35px;
  }
  
  .numbered-circle span {
    font-size: 1rem;
  }
  
  .numbered-circle[data-number="1"] {
    left: calc((100% / 6) - 17.5px);
  }
  
  .numbered-circle[data-number="2"] {
    left: calc(50% - 17.5px);
  }
  
  .numbered-circle[data-number="3"] {
    left: calc((100% * 5 / 6) - 17.5px);
  }
}

.competition-details p {
  color: #000;
  font-weight: 400;
  margin-bottom: 0;
}

.competition-diagram {
  margin-top: 50px;
}

.diagram-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.diagram-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Адаптивность для формата соревнований */
@media (max-width: 768px) {
  .competition-format-content {
    font-size: 1rem;
  }
  
  .competition-type-badge {
    font-size: 1rem;
    padding: 10px 20px;
  }
  
  .competition-details {
    margin-top: 20px;
  }
  
  .competition-details .col-md-4 {
    margin-bottom: 20px;
  }
  
  .diagram-image-wrapper {
    padding: 0 10px;
  }
  
  .diagram-image {
    border-radius: 8px;
  }
}

/* ---------- CARDS ---------- */
.card-custom {
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.card-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.card-custom:hover::before {
  transform: scaleX(1);
}

.card-custom:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-custom .btn {
  background: var(--gradient-accent);
  border: none;
  box-shadow: var(--shadow-sm);
}

/* ---------- EVENT CARDS ---------- */
.card-event {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-event::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card-event:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.card-event:hover::after {
  opacity: 0.03;
}

#eventsContainer .col-md-4 {
  position: relative;
}

.event-sport-type {
  position: absolute;
  top: -15px;
  right: 15px;
  background: var(--gradient-accent);
  color: var(--white);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  z-index: 10;
  text-transform: uppercase;
}

.event-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
  line-height: 1.2;
}

.event-dates {
  font-size: 1.15rem;
  color: #000;
  margin-bottom: 30px;
  font-weight: 400;
}

.btn-event-register {
  width: 100%;
  padding: 18px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

a.btn-event-register {
  border: none;
}

.btn-event-register::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-event-register:hover::before {
  left: 100%;
}

.btn-event-register:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: #fff;
}

.btn-event-register:disabled,
.btn-event-register.btn-disabled {
  background: #cccccc;
  color: #666666;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.btn-event-register:disabled:hover,
.btn-event-register.btn-disabled:hover {
  transform: none;
  box-shadow: none;
  background: #cccccc;
  color: #666666;
}

.event-note {
  font-size: 0.9rem;
  color: #000;
  margin: 0;
  font-weight: 400;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--gradient-dark);
  color: #fff;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 91, 0, 0.3), transparent);
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

.footer-cta {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ---------- FOOTER (НОВЫЙ ДИЗАЙН) ---------- */
.footer-new {
  background: linear-gradient(180deg, #FFFFFF 0%, #FF5912 100%);
  color: #FFFFFF;
  padding: 60px 20px;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-logo-img {
  max-width: 200px;
  height: auto;
  display: block;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  margin-left: auto;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-contact-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 500;
  min-width: 180px;
}

.footer-contact-label svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
  flex-shrink: 0;
}

.footer-contact-link {
  color: #FFFFFF;
  text-decoration: underline;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.footer-contact-link:hover {
  opacity: 0.8;
  color: #FFFFFF;
}

.footer-telegram-channel {
  margin-top: 8px;
}

.footer-telegram-channel p {
  color: #FFFFFF;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.footer-channel-link {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.footer-channel-link:hover {
  opacity: 0.8;
  color: #FFFFFF;
}

/* Адаптивность для footer */
@media (max-width: 768px) {
  .footer-new {
    padding: 40px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-logo {
    text-align: center;
  }
  
  .footer-logo-img {
    max-width: 150px;
    margin: 0 auto;
  }
  
  .footer-contacts {
    margin-left: 0;
  }
  
  .footer-contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .footer-contact-label {
    min-width: auto;
  }
  
  .footer-telegram-channel p {
    font-size: 0.9rem;
  }
}

/* ---------- FAQ (СТАРЫЕ СТИЛИ - УДАЛИТЬ ЕСЛИ НЕ НУЖНЫ) ---------- */
.accordion-button:not(.collapsed) {
  background-color: var(--accent);
  color: #fff;
}

/* ---------- РЕЙТИНГ (НОВЫЙ ДИЗАЙН) ---------- */
.rating-section-new {
  background: #f8f8f8;
  padding: 100px 20px;
}

.rating-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 30px;
  align-items: stretch;
  position: relative;
}

.rating-rectangle {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.rating-rectangle-1 {
  grid-row: 1 / 3;
  align-self: stretch;
}

.rating-rectangle-2 {
  grid-column: 2;
  grid-row: 1;
}

.rating-rectangle-3 {
  grid-column: 2;
  grid-row: 2;
}

.rating-cup-image {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.cup-img {
  max-width: 120px;
  height: auto;
  object-fit: contain;
}

.rating-title {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 10px;
  line-height: 1.2;
}

.rating-subtitle {
  font-size: 2rem;
  font-weight: 700;
  color: #333333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.rating-stages-highlight {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 40px;
}

.rating-attention {
  margin-top: auto;
}

.attention-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.attention-text {
  font-size: 1rem;
  color: #888888;
  line-height: 1.6;
  margin: 0;
}

.rating-intro-wrapper {
  position: relative;
}

.rating-intro-text {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.8;
  margin: 0;
}

.rating-trophy-icon {
  position: absolute;
  bottom: -10px;
  right: 10px;
  opacity: 0.8;
  z-index: 1;
}

.rating-trophy-icon svg {
  width: 80px;
  height: 80px;
}

.rating-stages-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.rating-stages-list li {
  font-size: 1.1rem;
  color: var(--accent);
  line-height: 1.6;
  padding-left: 0;
}

/* Адаптивность для раздела рейтинга */
@media (max-width: 992px) {
  .rating-content-wrapper {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 30px;
  }
  
  .rating-rectangle-1 {
    grid-row: 1;
  }
  
  .rating-rectangle-2 {
    grid-column: 1;
    grid-row: 2;
  }
  
  .rating-rectangle-3 {
    grid-column: 1;
    grid-row: 3;
  }
  
  .rating-intro-text {
    padding-right: 0;
  }
  
  .rating-trophy-icon {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .rating-section-new {
    padding: 60px 20px;
  }
  
  .rating-content-wrapper {
    padding: 30px 20px;
  }
  
  .rating-title,
  .rating-subtitle {
    font-size: 1.8rem;
  }
  
  .rating-stages-highlight {
    font-size: 1.2rem;
  }
  
  .rating-intro-text {
    font-size: 1rem;
  }
  
  .rating-stages-list li {
    font-size: 1rem;
  }
}

/* ---------- ТАРИФЫ КОМАНДНОГО УЧАСТИЯ ---------- */
.team-tariffs-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  padding: 100px 20px;
  position: relative;
}

.team-tariffs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 91, 0, 0.2), transparent);
}

.tariffs-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 20px;
}

.tariffs-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.tariffs-intro {
  max-width: 1000px;
  margin: 0 auto 40px;
  text-align: center;
}

.tariffs-intro p {
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.8;
  margin: 0;
}

.tariffs-notice {
  max-width: 1000px;
  margin: 0 auto 50px;
  text-align: center;
  background: #fff3e0;
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 25px 30px;
  box-shadow: var(--shadow-sm);
}

.notice-label {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  display: inline;
}

.notice-text {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.8;
  margin: 0;
}

.tariffs-table-wrapper {
  max-width: 1200px;
  margin: 0 auto 40px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 50px;
  overflow-x: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tariffs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.tariffs-table thead th {
  background: #f8f9fa;
  color: #000000;
  font-weight: 700;
  padding: 20px 15px;
  text-align: center;
  border: 1px solid #e0e0e0;
  font-size: 1.1rem;
  border-bottom: 2px solid #d0d0d0;
}

.tariffs-table thead th:first-child {
  text-align: left;
  background: #f8f9fa;
  border-left: none;
}

.tariffs-table thead th:last-child {
  border-right: none;
}

.tariffs-table tbody td {
  padding: 18px 15px;
  text-align: center;
  border: 1px solid #e8e8e8;
  color: #000000;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.tariffs-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: #333333;
  border-left: none;
}

.tariffs-table tbody td:last-child {
  border-right: none;
}

.tariffs-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.tariffs-table tbody tr:nth-child(odd) {
  background: #FFFFFF;
}

.tariffs-table tbody tr:hover {
  background: #f5f5f5;
}

.tariffs-table tbody tr:hover td {
  background: #f5f5f5;
}

.tariff-subheader {
  background: #f8f9fa !important;
  color: #666666 !important;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 12px 15px;
  border-top: 1px solid #e0e0e0;
}

.tariff-check {
  color: #28a745;
  font-size: 1.8rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
}

.tariff-cross {
  color: #dc3545;
  font-size: 1.8rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 50%;
}

.tariff-note {
  font-size: 0.9rem;
  color: #666666;
  font-style: italic;
}

.tariffs-footer {
  max-width: 1000px;
  margin: 50px auto 0;
  text-align: center;
  padding: 30px;
  background: #f8f9fa;
  border-radius: var(--radius);
}

.tariffs-footer p {
  font-size: 1.1rem;
  color: #666666;
  line-height: 1.8;
  margin: 0;
}

/* Адаптивность для раздела тарифов */
@media (max-width: 768px) {
  .team-tariffs-section {
    padding: 60px 20px;
  }
  
  .tariffs-title {
    font-size: 1.8rem;
  }
  
  .tariffs-intro p,
  .notice-text {
    font-size: 1rem;
  }
  
  .tariffs-table-wrapper {
    padding: 20px;
  }
  
  .tariffs-table thead th,
  .tariffs-table tbody td {
    padding: 10px;
    font-size: 0.9rem;
  }
}

/* ---------- BACKGROUNDS ---------- */
.bg-light-section {
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
  position: relative;
}

.bg-light-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 91, 0, 0.2), transparent);
}

/* ---------- КАЛЬКУЛЯТОР СТОИМОСТИ ---------- */
.calculator-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.calculator-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.calculator-card:hover {
  box-shadow: var(--shadow-xl);
}

.calculator-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.calculator-label {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  min-width: 200px;
}

.calculator-input {
  flex: 1;
  min-width: 250px;
}

.form-select, .form-control {
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.form-select:hover, .form-control:hover {
  border-color: #d1d5db;
}

.form-select:focus, .form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 91, 0, 0.1);
}

.distance-list, .tariff-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.distance-item, .tariff-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--gray-light);
  border-radius: var(--radius);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-wrap: wrap;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}

.distance-item:hover, .tariff-item:hover {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tariff-radio {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.distance-name, .tariff-name {
  flex: 1;
  font-weight: 500;
  color: #333;
  min-width: 120px;
}

.distance-price-label {
  font-size: 0.9rem;
  color: #666;
  margin-right: 10px;
}

.distance-price, .tariff-price {
  font-weight: 600;
  color: var(--accent);
  min-width: 140px;
  text-align: right;
}

.distance-participants-input {
  margin-left: auto;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.participants-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0;
}

.distance-participants-input .form-control {
  width: 100%;
  max-width: 150px;
  text-align: center;
}

.calculator-total {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

.total-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

/* ---------- КАРУСЕЛЬ ЛОГОТИПОВ ОРГАНИЗАЦИЙ ---------- */
.partners-carousel-section {
  padding: 80px 20px;
  background: #FFFFFF;
}

.partners-carousel-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #000000;
  text-align: center;
  margin-bottom: 50px;
}

.partners-carousel-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.partners-carousel-container {
  overflow: hidden;
  position: relative;
}

.partners-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
}

.partner-logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-logo-item img {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.partners-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.partners-arrow:hover {
  background-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
}

.partners-arrow-left {
  left: 0;
}

.partners-arrow-right {
  right: 0;
}

.partners-arrow svg {
  width: 24px;
  height: 24px;
}

.partners-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #ccc;
  color: #ccc;
}

.partners-arrow:disabled:hover {
  transform: translateY(-50%);
  background-color: transparent;
  color: #ccc;
}

/* Адаптивность для карусели логотипов */
@media (max-width: 992px) {
  .partners-carousel-wrapper {
    padding: 0 50px;
  }
  
  .partner-logo-item {
    height: 100px;
    padding: 15px;
  }
  
  .partner-logo-item img {
    max-width: 150px;
    max-height: 70px;
  }
}

@media (max-width: 768px) {
  .partners-carousel-section {
    padding: 60px 20px;
  }
  
  .partners-carousel-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  
  .partners-carousel-wrapper {
    padding: 0 50px;
  }
  
  .partners-carousel-track {
    gap: 30px;
  }
  
  .partner-logo-item {
    height: 80px;
    padding: 10px;
  }
  
  .partner-logo-item img {
    max-width: 120px;
    max-height: 60px;
  }
  
  .partners-arrow {
    width: 40px;
    height: 40px;
  }
  
  .partners-arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* ---------- ТУРНИРНАЯ ТАБЛИЦА ---------- */
.rating-tabs-wrapper {
  display: flex;
  justify-content: center;
}

.rating-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.rating-tab {
  padding: 10px 20px;
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rating-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.rating-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.table-wrapper {
  overflow-x: auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tournament-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
}

.tournament-table thead {
  border-bottom: 1px solid #ddd;
}

.tournament-table th {
  font-weight: 700;
  color: #000;
  padding: 10px 12px;
  font-size: 0.85rem;
  white-space: nowrap;
  text-align: left;
}

.tournament-table td {
  padding: 10px 12px;
  font-weight: 400;
  color: #333;
  font-size: 0.8rem;
  text-align: left;
}

.tournament-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}

.tournament-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.tournament-table tbody tr:hover {
  background-color: #e9ecef;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 60px;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .calculator-card {
    padding: 25px;
  }
  
  .calculator-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .calculator-label {
    min-width: auto;
    width: 100%;
  }
  
  .calculator-input {
    width: 100%;
    min-width: auto;
  }
  
  .total-amount {
    font-size: 1.5rem;
  }
  
  .table-wrapper {
    padding: 15px;
  }
  
  .tournament-table {
    font-size: 0.75rem;
  }
  
  .tournament-table th {
    font-size: 0.75rem;
    padding: 8px 6px;
  }
  
  .tournament-table td {
    font-size: 0.7rem;
    padding: 8px 6px;
  }
  
  .rating-tab {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
}

/* ---------- ОТЗЫВЫ КОМАНД ---------- */
.reviews-section {
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(180deg, #F8F8F8 85.58%, #FFFFFF 100%);
  min-height: 766px;
  overflow: hidden;
}

.reviews-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.reviews-description {
  font-size: 1.1rem;
  color: #333;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.6;
}

.reviews-carousel-wrapper {
  position: relative;
  max-width: 1379px;
  margin: 60px auto 0;
  padding: 0 40px;
  overflow: hidden;
}

.reviews-carousel-container {
  overflow: visible;
  margin: 0 60px;
  position: relative;
}

.reviews-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 30px;
  align-items: center;
  justify-content: flex-start;
}

.review-card {
  flex: 0 0 623px;
  width: 623px;
  height: 352px;
  background: #FFFFFF;
  border: 1px solid #FF5912;
  border-radius: 20px;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.review-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.review-text-container {
  flex: 1;
  overflow: hidden;
  margin-top: 24px;
  position: relative;
}

.review-card-text-overflow .review-text-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(to bottom, transparent, #FFFFFF);
  pointer-events: none;
}

.review-card:not(.review-card-active) {
  opacity: 0.5;
  transform: scale(0.9);
}

.review-card-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.review-company {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FF5912;
  margin-bottom: 8px;
  line-height: 1.3;
}

.review-achievement {
  font-size: 1rem;
  font-weight: 500;
  color: #FF5912;
  margin-bottom: 24px;
  opacity: 0.9;
}

.review-text {
  color: #000;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.review-text:last-of-type {
  margin-bottom: 0;
}

.review-read-more {
  color: #FF5912;
  text-decoration: underline;
  font-size: 1rem;
  cursor: pointer;
  align-self: flex-end;
  margin-top: 16px;
  transition: color 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

.review-read-more:hover {
  color: #d02e00;
  text-decoration: none;
}

.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #FF5912;
  cursor: pointer;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
}

.reviews-arrow:hover {
  background-color: rgba(255, 89, 18, 0.1);
  transform: translateY(-50%) scale(1.1);
}

.reviews-arrow-left {
  left: 0;
}

.reviews-arrow-right {
  right: 0;
}

.reviews-arrow svg {
  width: 24px;
  height: 24px;
}

.reviews-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.reviews-arrow:disabled:hover {
  transform: translateY(-50%);
  background-color: transparent;
}

/* Адаптивность для отзывов */
@media (max-width: 1200px) {
  .review-card {
    flex: 0 0 550px;
    width: 550px;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 60px 20px;
    min-height: auto;
  }
  
  .reviews-title {
    font-size: 2rem;
  }
  
  .reviews-description {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .reviews-carousel-wrapper {
    padding: 0 20px;
  }
  
  .reviews-carousel-container {
    margin: 0 50px;
  }
  
  .review-card {
    flex: 0 0 calc(100% - 40px);
    width: calc(100% - 40px);
    height: auto;
    min-height: 352px;
    padding: 30px 20px;
  }
  
  .review-company {
    font-size: 1.3rem;
  }
  
  .reviews-arrow {
    width: 40px;
    height: 40px;
  }
  
  .reviews-arrow svg {
    width: 20px;
    height: 20px;
  }
}

/* ---------- МОДАЛЬНОЕ ОКНО ОТЗЫВА ---------- */
.review-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.review-modal-active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.review-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.review-modal-content {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.review-modal-active .review-modal-content {
  transform: scale(1);
}

.review-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #333;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10001;
}

.review-modal-close:hover {
  background-color: #f0f0f0;
  color: #FF5912;
}

.review-modal-close svg {
  width: 24px;
  height: 24px;
}

.review-modal-header {
  margin-bottom: 24px;
  padding-right: 40px;
}

.review-modal-company {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FF5912;
  margin-bottom: 8px;
  line-height: 1.3;
}

.review-modal-achievement {
  font-size: 1.1rem;
  font-weight: 500;
  color: #FF5912;
  opacity: 0.9;
  margin: 0;
}

.review-modal-body {
  color: #000;
  font-size: 1rem;
  line-height: 1.6;
}

.review-modal-body p {
  margin-bottom: 16px;
}

.review-modal-body p:last-child {
  margin-bottom: 0;
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
  .review-modal-content {
    padding: 30px 20px;
    width: 95%;
    max-height: 95vh;
  }
  
  .review-modal-close {
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
  }
  
  .review-modal-close svg {
    width: 20px;
    height: 20px;
  }
  
  .review-modal-company {
    font-size: 1.5rem;
  }
  
  .review-modal-achievement {
    font-size: 1rem;
  }
  
  .review-modal-header {
    padding-right: 35px;
  }
}

/* ---------- FAQ (НОВЫЙ ДИЗАЙН) ---------- */
.faq-section {
  padding: 80px 20px;
  background: #FFFFFF;
}

.faq-wrapper {
  display: flex;
  gap: 60px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-title-column {
  flex: 0 0 400px;
  background: #F5F5F5;
  border-radius: 12px;
  padding: 40px;
  align-self: stretch;
  display: flex;
  align-items: flex-start;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  text-align: left;
}

.faq-title-highlight {
  color: #FF5912;
}

.faq-items-column {
  flex: 1;
}

.faq-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #F5F5F5;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.faq-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 20px;
}

.faq-item-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  margin: 0;
  flex: 1;
  text-align: left;
  line-height: 1.5;
}

.faq-item-toggle {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FF5912;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.faq-item-toggle:hover {
  background: #e04e0f;
}

.faq-item-toggle svg {
  width: 16px;
  height: 16px;
  stroke: #FFFFFF;
  transition: opacity 0.3s ease;
}

.faq-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.faq-item-open .faq-item-body {
  max-height: 500px;
  margin-top: 16px;
}

.faq-item-answer {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding-top: 16px;
  font-style: italic;
}

.faq-item-answer .faq-link {
  color: #FF5912;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-item-answer .faq-link:hover {
  color: #e04e0f;
  text-decoration: none;
}

/* Адаптивность для FAQ */
@media (max-width: 992px) {
  .faq-wrapper {
    flex-direction: column;
    gap: 40px;
  }
  
  .faq-title-column {
    flex: 1;
  }
  
  .faq-title {
    font-size: 2rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 60px 20px;
  }
  
  .faq-title {
    font-size: 1.8rem;
  }
  
  .faq-item {
    padding: 20px;
  }
  
  .faq-item-question {
    font-size: 1rem;
  }
}
