/* ===== RESET / BASE ===== */
a {
  text-decoration: none;
  color: inherit;
}

/* ===== SECTION TITLE (общий) ===== */
.section-title {
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 48px;
  color: #3F3F46;
  text-align: center;
}

/* ===== HERO COMPACT ===== */
.hero-compact {
  position: relative;
  min-height: 100vh;
}

.hero-compact__layer {
  position: relative;
  padding: 80px 60px;
}

.hero-compact__layer--primary {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8F8FA 100%);
  color: #212121;
}

.hero-compact__layer--secondary {
  background: #FFFFFF;
  border-top: 1px solid #E0E0E0;
}

.hero-compact__container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-compact__title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-compact__title-accent {
  color: #F9A800;
}

.hero-compact__subtitle {
  font-size: 20px;
  line-height: 1.35;
  color: #616161;
  max-width: 750px;
  margin-bottom: 48px;
}

.hero-compact__content-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero-compact__flow-text {
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 20px;
  color: #424242;
}

.hero-compact__flow-list {
  list-style: none;
  margin-bottom: 28px;
}

.hero-compact__flow-list li {
  padding: 6px 0;
  font-size: 16px;
  line-height: 1.35;
  position: relative;
  padding-left: 22px;
  color: #424242;
}

.hero-compact__flow-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #F9A800;
  font-weight: 700;
}

.hero-compact__flow-list li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.hero-compact__flow-list li a:hover {
  color: #F9A800;
}

.hero-compact__flow-list li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F9A800;
  transition: width 0.3s ease;
}

.hero-compact__flow-list li a:hover::after {
  width: 100%;
}

.hero-compact__flow-image {
  position: sticky;
  top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.hero-compact__flow-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.hero-compact__section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  color: #F9A800;
}

.hero-compact__section-heading {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #212121;
}

.hero-compact__features-inline {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #E0E0E0;
}

.hero-compact__feature-inline {
  flex: 1;
}

.hero-compact__feature-inline__number {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  color: rgba(249, 168, 0, 0.3);
}

.hero-compact__feature-inline__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  color: #212121;
}

.hero-compact__feature-inline__text {
  font-size: 15px;
  line-height: 1.35;
  color: #616161;
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}

.hero__slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 60%;
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 60px;
}

.hero__content--slide-1 {
  align-items: flex-start;
  text-align: left;
}

.hero__content--slide-2 {
  align-items: flex-end;
  text-align: right;
}

.hero__title {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
  color: #3F3F46;
}

.hero__title-accent {
  color: #F9A800;
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.5;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 18px 32px;
  background: #F9A800;
  color: #3F3F46;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 60px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero__btn:hover {
  opacity: 0.85;
}

/* ===== INFO (О КОМПАНИИ) ===== */
.about__content {
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
  padding: 90px 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.about__description {
  font-size: 18px;
  line-height: var(--lh-4);
  color: #4A4A52;
}

.about__description p {
  margin-bottom: 28px;
}

.about__description strong {
  color: #E5A600;
  font-weight: 700;
}

.about__description ul {
  margin-bottom: 28px;
  padding-left: 20px;
}

.about__description li {
  margin-bottom: 10px;
}

/* --- КОМПАКТНЫЕ СТАТИСТИКИ --- */
.about__stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__stat {
  background: #F7F7F8;
  border-radius: 8px;
  padding: 18px 20px 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about__stat:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.about__stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: #E5A600;
}

.about__stat-number {
  font-size: 30px;
  font-weight: 700;
  line-height: var(--lh-0);
  color: #3F3F46;
  white-space: nowrap;
  letter-spacing: -0.5px;
}

.about__stat-text {
  font-size: 14px;
  line-height: var(--lh-2);
  color: #6B6B72;
  flex: 1;
}

/* ===== PRODUCTION VIDEO ===== */
.production-video {
  padding: 90px 0;
  background: #F8F8FA;
}

.production-video .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.production-video__wrapper {
  width: 100%;
}

.production-video__card {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.production-video__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
}

.production-video__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.production-video__card:hover .production-video__overlay {
  opacity: 0.85;
}

.production-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: auto;
}

.production-video__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.production-video__play svg {
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: filter 0.3s ease;
}

.production-video__play:hover svg {
  filter: drop-shadow(0 6px 20px rgba(249, 168, 0, 0.4));
}

.production-video__content {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 48px;
  z-index: 5;
  color: #fff;
  pointer-events: none;
}

/* Добавляем в стили для плавной анимации */
.production-video__content {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 48px;
  z-index: 5;
  color: #fff;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.production-video__icon--pause {
  display: none; /* По умолчанию скрыта */
}

.production-video__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.production-video__text {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

/* ===== ARTICLES HOME ===== */
.articles-home {
  padding: 90px 0;
  background: #fff;
}

.articles-home .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.articles-home__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.article-card-home {
  background: #F8F8FA;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card-home:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.article-card-home__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.article-card-home__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card-home:hover .article-card-home__image img {
  transform: scale(1.06);
}

.article-card-home__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-home__source {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #F9A800;
  margin-bottom: 16px;
  font-weight: 700;
}

.article-card-home__title {
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 16px;
  color: #3F3F46;
}

.article-card-home__text {
  font-size: 15px;
  line-height: 1.7;
  color: #6B6B72;
  margin-bottom: 28px;
  flex: 1;
}

.article-card-home__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  background: #F9A800;
  color: #3F3F46;
  padding: 16px 28px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.article-card-home__btn:hover {
  background: #E59500;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 168, 0, 0.3);
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  .hero-compact__content-flow {
    grid-template-columns: 1fr;
  }

  .hero-compact__flow-image {
    position: static;
    height: 350px;
    order: -1; /* <-- ДОБАВЛЕНО: Картинка уходит наверх на узких экранах */
  }

  .hero-compact__flow-image img {
    height: 350px;
  }

  .hero-compact__features-inline {
    flex-direction: column;
    gap: 24px;
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .articles-home__grid {
    grid-template-columns: 1fr;
  }

  .production-video__content {
    left: 32px;
    right: 32px;
    bottom: 32px;
  }

  .production-video__title {
    font-size: 26px;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 36px;
  }
}

@media (max-width: 768px) {
  .hero-compact__layer {
    padding: 60px 20px;
  }

  .hero {
    height: 500px;
  }

  .hero__content {
    padding: 80px 30px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__btn {
    margin-top: 40px;
    padding: 14px 24px;
    font-size: 12px;
  }

  .about__content {
    padding: 60px 16px;
    gap: 40px;
  }

  .about__description {
    font-size: 15px;
    line-height: 1.7;
  }

  .about__stat {
    padding: 24px;
  }

  .about__stat-number {
    font-size: 38px;
  }

  .production-video {
    padding: 60px 0;
  }

  .production-video__card {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .production-video__play svg {
    width: 60px;
    height: 60px;
  }

  .production-video__content {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .production-video__title {
    font-size: 20px;
  }

  .production-video__text {
    font-size: 14px;
  }

  .articles-home {
    padding: 60px 0;
  }

  .article-card-home__body {
    padding: 24px;
  }

  .article-card-home__title {
    font-size: 20px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 400px;
  }

  .hero__content {
    padding: 60px 20px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__btn {
    padding: 12px 20px;
    font-size: 11px;
  }

  .about__content {
    padding: 50px 12px;
    gap: 32px;
  }

  .about__stat-number {
    font-size: 32px;
  }

  .production-video__title {
    font-size: 18px;
  }

  .article-card-home__title {
    font-size: 18px;
  }

  .article-card-home__text {
    font-size: 14px;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 24px;
  }
}