*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
}

:root {
  --content-width: 1240px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #111;
  background: url("../images/fon.jpg") center top no-repeat;
  background-size: cover;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/fon.jpg") center top no-repeat;
  background-size: 108%;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.08) 15%,
      rgba(255, 255, 255, 0.08) 85%,
      rgba(255, 255, 255, 0.08) 100%);
  z-index: -1;
  pointer-events: none;
}

.site-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  background: #ffffffbc;
  min-height: 100vh;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.25);
}

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   HEADER
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 1000;
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.header__inner {
  position: relative;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__left {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 60px;
  transition: height 0.3s ease;
}

/* уменьшаем лого при скролле */
.header.scrolled .header__logo img {
  height: 45px;
}

/* =========================
   ЦЕНТРАЛЬНАЯ НАВИГАЦИЯ
========================= */

.header__nav {
  position: absolute;
  left: 43%;
  transform: translateX(-50%);
  display: flex;
  gap: 25px;
}

.header__nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #fff;
  position: relative;
  transition: color 0.3s ease;
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header.scrolled .header__nav a {
  color: #333;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 28px;
}

/* СОЦСЕТИ */
.header__socials {
  display: flex;
  gap: 12px;
}

.header__socials a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.25s ease;
}

.header__socials svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  transition: transform 0.25s ease, fill 0.25s ease;
}

.header__socials a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.header__socials a:hover svg {
  transform: scale(1.1);
}

.header.scrolled .header__socials a {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.03);
}

.header.scrolled .header__socials svg {
  fill: #111;
}

.header__socials a.vk svg {
  transform: translateY(-0.5px);
}

/* =========================
   ЯЗЫК
========================= */

.header__lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
}

.lang {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.6;
  transition: opacity 0.2s ease, color 0.2s ease;
  color: inherit;
}

.lang.active {
  opacity: 1;
}

.lang:hover {
  opacity: 1;
}

.header.scrolled .header__lang {
  color: #111;
}

/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 6s ease;
  transform: scale(1.05);
}

.hero__slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.3));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 30%, rgba(0, 0, 0, 0.05) 60%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(6px);
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow--left {
  left: 30px;
}

.hero-arrow--right {
  right: 30px;
}

/* POPULAR */
.popular {
  padding: 55px 0;
}

.popular__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  object-fit: cover;
}

.card__info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
}

/* ==========
    YOUTUBE 
   ========== */
.youtube-block {
  padding: 45px 0;
}

.youtube-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.youtube-btn {
  background: #ff0000;
  color: #fff;
  padding: 12px 24px;
  border-radius: 24px;
  text-decoration: none;
}

.youtube-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  flex: 1;
  align-items: stretch;
}

.youtube-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube-main .video {
  aspect-ratio: auto;
  height: calc(100%);
}

.youtube-side .video {
  flex: 1;
}

.video iframe {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: none;
}

.youtube-block .container {
  border-radius: 20px;
  padding: 32px;
  background: #ffffff;
  border: 2px solid #ddd;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.youtube-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.youtube-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .youtube-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   CAROUSEL SECTION
   ========================= */
.carousel-section {
  padding: 60px 0;
}

.carousel-section .container {
  border: 1px solid #e5e5e5;
  border-radius: 20px;
  padding: 32px;
  background: #ffffff;
}

.carousel-wrapper {
  position: relative;
}

.carousel {
  overflow: hidden;
  max-width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 16px;
  will-change: transform;
}

.carousel-card {
  flex: 0 0 200px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.carousel-card:hover {
  transform: scale(1.06);
  z-index: 2;
}

.carousel-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: block;
}

.card-overlay {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: #fff5edf4;
  color: #111111c6;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 18px;
  text-align: center;
  font-size: 12px;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-card.active .card-overlay {
  opacity: 1;
}

/* ==================================== */

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 44px;
  height: 44px;

  border-radius: 50%;
  border: none;

  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;

  font-size: 14px;
  cursor: pointer;

  z-index: 5;
  transition: background 0.25s ease, transform 0.25s ease;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: -22px;
}

.carousel-btn.next {
  right: -22px;
}

.carousel-card,
.popular-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.carousel-card:hover,
.popular-card:hover {
  transform: scale(1.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* =========================
   PARTNERS CAROUSEL
========================= */
.partners-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
}

.partners {
  padding: 30px 0 60px;
}

.partners-carousel {
  overflow: hidden;
  margin-top: 40px;
  position: relative;
}

.partners-track {
  display: flex;
  gap: 20px;
  align-items: center;
  will-change: transform;
}

.partner {
  flex: 0 0 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.6;
  transition: 0.3s ease;
}

.partner img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ===========
     FOOTER
  ============ */

.site-footer {
  position: relative;
  z-index: 2;
  background: #fcfcfc;
  padding: 40px 0 20px;
  border-top: 1px solid #e0e0e0;
}

.site-footer .container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 50px;

  padding: 20px 0 10px;
  border-bottom: 1px solid #e0e0e0;

  align-items: start;
  position: relative;
}

.footer-col {
  position: relative;
}

.footer-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -40px;
  width: 1px;
  height: 100px;
  background: #e0e0e0;
}

/* =========================
   ЗАГОЛОВКИ
   ========================= */
.footer-col h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 0;
  color: #444;
}

.footer-col a {
  display: block;
  font-size: 16px;
  margin-bottom: 14px;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #000;
}

.footer-contacts .address {
  font-size: 16px;
  margin-bottom: 14px;
  color: #1a1a1a;
}

.footer-contacts p {
  font-size: 14px;
  margin-bottom: 12px;
  color: #333;
}

.footer-bottom {
  text-align: center;
  padding-top: 10px;
  font-size: 14px;
  color: #666;
  padding-right: 0;
}

/* =========================
   SCROLL ANIMATION SYSTEM
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   MOVIES PAGE
   ===================================================== */
body.movies-page .header {
  height: 65px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

body.movies-page .header.scrolled {
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

body.movies-page .header__nav a,
body.movies-page .header__lang,
body.movies-page .lang {
  color: #111;
}

body.movies-page .header__socials svg {
  fill: #111;
}

body.movies-page .header__socials a {
  border-color: rgba(0, 0, 0, 0.2);
}

body.movies-page .page-header {
  padding: 130px 0 40px;
}

.page-header h1 {
  font-size: 34px;
  font-weight: 700;
  color: #111;
}

body.movies-page .movies-section {
  padding: 40px 0 100px;
}

.movies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.movie-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* описание поверх */
.movie-description {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 86%;

  background: rgb(255, 255, 255);
  color: #555;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease;
  z-index: 2;
}

.movie-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.movie-info {
  padding: 14px;
  text-align: center;
}

.movie-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.movie-info p {
  font-size: 14px;
  color: #666;
}

body.movies-page .site-wrapper {
  background: transparent;
  box-shadow: none;
}

body.movies-page .movies-section {
  padding: 40px 0 100px;
}

.movie-card:hover .movie-description {
  opacity: 1;
  visibility: visible;
}

.movie-card.active .movie-description {
  opacity: 1;
  visibility: visible;
}

.projects-page .movies-grid {
  gap: 40px;
  justify-content: center;
  justify-items: center;
}

.projects-page .movies-grid .movie-info h3 {
  font-size: 26px;
  font-weight: 300;
}

.special-card {
  position: relative;
}

.card-link {
  position: absolute;
  inset: 0;
  /* top:0 right:0 bottom:0 left:0 */
  z-index: 10;
}

/* ==============================
   PROGRAMS PAGE
============================== */
.programs-page {
  padding: 30px 0 70px;
}

/* ==============================
   HERO
============================== */

.program-hero {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  margin-bottom: 40px;
}

.program-hero__slides {
  position: relative;

  width: 100%;
  height: 100%;
}

.program-hero__slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  visibility: hidden;

  background-size: cover;
  background-position: center;

  transition: opacity 0.8s ease;
}

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

.program-hero__slide::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.75) 0%,
      rgba(0, 0, 0, 0.45) 40%,
      rgba(0, 0, 0, 0.1) 100%);
}

.program-hero__content {
  position: absolute;

  left: 35px;
  bottom: 35px;

  z-index: 3;

  max-width: 520px;

  color: #fff;
}

.program-hero__content h1 {
  font-size: 64px;
  line-height: 1.05;

  margin-bottom: 16px;

  font-weight: 800;
}

.program-hero__content p {
  font-size: 22px;
  line-height: 1.5;

  margin-bottom: 28px;

  opacity: 0.92;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;

  background: #ff7a00;
  color: #fff;

  border-radius: 12px;

  text-decoration: none;

  font-weight: 600;

  transition: 0.3s ease;
}

.btn:hover {
  background: #ff8f1f;
  transform: translateY(-2px);
}

/* ==============================
   PROGRAMS LIST
============================== */

.programs-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.program-item {
  display: flex;
  align-items: center;
  gap: 24px;

  padding: 18px;

  border-radius: 20px;

  background: rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(8px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  color: #555;

  transition: 0.35s ease;
}

.program-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
}

.program-item img {
  width: 240px;
  height: 140px;

  object-fit: cover;

  border-radius: 14px;

  flex-shrink: 0;
}

.program-item__info h3 {
  font-size: 28px;

  margin-bottom: 12px;

  font-weight: 700;
}

.program-item__info p {
  font-size: 15px;
  line-height: 1.7;

  opacity: 0.85;
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 768px) {

  .program-hero {
    height: 260px;
  }

  .program-hero__content {
    left: 20px;
    right: 20px;
  }

  .program-hero__content h1 {
    font-size: 22px;
    line-height: 1.1;
    margin-bottom: 8px;

  }

  .program-hero__content p {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 13px;

  }

  .program-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .program-item img {
    width: 100%;
    height: 200px;
  }

  .program-item__info h3 {
    font-size: 22px;
  }

  .program-item__info p {
    font-size: 14px;
  }

}

/* =====================================
   INNER PAGES
===================================== */

body.inner-page {
  color: #1a1a1a;
}

body.inner-page .header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  height: 70px;
  transition: all 0.3s ease;
}

body.inner-page .header.scrolled {
  height: 60px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

body.inner-page .header__nav a,
body.inner-page .header__lang,
body.inner-page .lang {
  color: #111;
}

body.inner-page .header__socials svg {
  fill: #111;
}

body.inner-page .header__socials a {
  border-color: rgba(0, 0, 0, 0.2);
}

/* ================= HERO ================= */

.inner-hero {
  padding: 120px 0 40px;
}

.inner-hero h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}

.inner-hero p {
  font-size: 18px;
  color: #555;
  max-width: 700px;
}

/* ================= CONTENT ================= */

.inner-content,
.about-content,
.ads-content,
.cooperation {
  padding: 30px 0 10px;
}

.inner-content .container,
.about-content .container,
.ads-content .container {
  max-width: 820px;
}

.inner-content p,
.about-text p,
.ads-text p {
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 22px;
  color: #333;
}

.presentation {
  margin-top: 30px;
}

.presentation__viewer {
  width: 70%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.presentation__viewer iframe {
  width: 100%;
  height: 700px;
  display: block;
  border: none;
}

@media (max-width: 768px) {

  .presentation {
    margin-top: 5px;
  }

  .presentation__viewer {
    width: 100%;
    border-radius: 0;
  }

  .presentation__viewer iframe {
    height: 200px;
  }

}

/* ================= CONTACT BLOCK ================= */

.ads-contacts,
.cooperation-note {
  margin-top: 50px;
  padding: 35px 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.549);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ads-contacts h3,
.cooperation-note h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.ads-contacts a {
  display: block;
  font-weight: 350;
  font-size: 18px;
  margin-bottom: 12px;
  color: #111;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ads-contacts a:hover {
  opacity: 0.7;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.whatsapp-btn img {
  width: 22px;
  height: 22px;
  position: relative;
  top: 4px;
}

.whatsapp-btn:hover {
  opacity: 0.7;
}

/* ================= FOOTER FIX ================= */

body.inner-page footer {
  position: relative;
  z-index: 2;
}


/* =====================================================
   COOPERATION 
   ===================================================== */

.cooperation {
  padding: 110px 0 30px;
}

.cooperation-header {
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cooperation h1 {
  font-size: 40px;
  font-weight: 55px;
  color: #000;
  margin-bottom: 15px;
}

.cooperation-header p {
  font-size: 18px;
}

.timeline {
  margin-top: 40px;
  border-left: 2px solid rgba(0, 0, 0, 0.08);
  padding-left: 30px;
}

.timeline-item {
  margin-bottom: 30px;
  position: relative;
  color: #333;
}

.timeline-number {
  position: absolute;
  left: -41px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
}

.timeline-item p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: #333;
}

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

.cooperation-contact {
  padding: 10px 0 30px;
}

.contact-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 18px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  max-width: 500px;
  margin: 0 auto;
}

.contact-box h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-box p {
  color: #333;
  margin-bottom: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-box input,
.contact-box textarea {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: sans-serif;
  outline: none;
  transition: border 0.2s ease;
}

.contact-box input:focus,
.contact-box textarea:focus {
  border-color: #ff7a00;
}

.contact-btn {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  margin-top: 10px;
  background: #ff7a00;
  color: #fff;
  border: none;
  display: block;
  margin: 20px auto 0;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 122, 0, 0.3);
}

.form-status {
  margin-top: 15px;
  font-size: 15px;
  font-weight: 500;
  color: #2e7d32;
}

/* =====================================================
   RESPONSIVE 
   ===================================================== */

body.menu-open {
  overflow: hidden;
}

/* BURGER */
.burger {
  display: none;
  width: 26px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
}

.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #111;
  transition: 0.3s ease;
}

.burger span:nth-child(1) {
  top: 0;
}

.burger span:nth-child(2) {
  top: 8px;
}

.burger span:nth-child(3) {
  top: 16px;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }
}

/* BURGER ANIMATION */
.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
}

/* ===============================
   LAPTOP (≤1024px)
================================ */

@media (max-width: 1024px) {

  .container {
    padding: 0 20px;
  }

  .movies-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .popular__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .carousel-card {
    flex: 0 0 180px;
  }

}

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }

  .burger {
    display: block;
  }
}

/* ===============================
   TABLET / MOBILE (≤768px)
================================ */

@media (max-width: 768px) {

  .header {
    position: fixed;
    height: 60px;
    background: #fff;
  }

  .header.scrolled {
    height: 50px;
  }

  .header__nav,
  .header__socials,
  .header__lang {
    display: none;
  }

  .header__lang {
    display: flex;
    gap: 6px;
    font-size: 13px;
    color: #333;
  }

  .header__inner {
    padding: 0 16px;
    justify-content: space-between;
  }

  .hero {
    height: 250px;
    margin-top: 50px;
  }

  .hero__slide {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  /* POPULAR */
  .popular__grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .card {
    width: 100%;
  }

  .card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  /* MOVIES */
  .movies-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  .movie-description {
    padding: 10px;
    font-size: 10px;
    line-height: 1.4;
    max-width: 100%;
    max-height: 220px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .movie-description h3 {
    font-size: 14px;
  }

  /* CAROUSEL */
  .carousel-card {
    flex: 0 0 150px;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }

  .card-overlay h3 {
    font-size: 12px;
  }

  .card-overlay p {
    font-size: 10px;
    line-height: 1.3;

    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
  }

  .contact-box {
    padding: 30px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }


  .partners-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .partner {
    height: 40px;
  }

  .partner img {
    max-height: 40px;
  }

  .inner-hero h1 {
    font-size: 32px;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  /* третью колонку переносим вниз */
  .footer-col:nth-child(3) {
    grid-column: 1 / -1;
    margin-top: 10px;
  }

  .footer-col::after {
    display: none;
  }

  .projects-page .movies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-page .movie-card {
    max-width: 100%;
  }

  .projects-page h1 {
    font-size: 22px;
    line-height: 1.2;
  }

  .projects-page .movies-grid .movie-card .movie-info h3 {
    font-size: 20px;
  }

  .presentation__viewer {
    width: 100%;
  }

  .presentation__viewer iframe {
    height: 500px;
  }
}

/* ===============================
   SMALL MOBILE (≤480px)
================================ */

@media (max-width: 480px) {

  .popular__grid,
  .movies-grid {
    grid-template-columns: 1fr;
  }

  .carousel-card {
    flex: 0 0 130px;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .projects-page .movies-grid {
    gap: 20px;
    padding: 0 16px;
  }

}

/* OVERLAY */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1400;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #ffffff;
  padding: 80px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1500;
}

.mobile-menu__header {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}

.mobile-menu__header h3 {
  font-size: 20px;
  font-weight: 600;
  color: #444;
}

.mobile-menu a {
  text-decoration: none;
  color: #444;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid #eeeeee;
  transition: 0.25s ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: #ff7a00;
  padding-left: 6px;
}

.mobile-menu a:hover {
  color: #ff7a00;
  transform: translateX(6px);
}

.mobile-menu.active {
  transform: translateX(0);
}


.film-page {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

/* TITLES */
.film-title {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* TOP */
.film-top-block {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
}

.film-video-box iframe {
  width: 100%;
  height: 420px;
  border-radius: 16px;
}

.film-top-right {
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  padding: 28px 28px 28px 32px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.film-top-right::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ff7a18, #ff3d00);
}

.film-text {
  margin-bottom: 12px;
  line-height: 1.5;
  color: #333;
}

/* CAST */
.film-cast-block {
  margin-top: 50px;
}

.film-cast-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* MAIN HERO */
.film-main-hero {
  width: 230px;
}

.film-main-img {
  height: 300px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.film-main-text h3 {
  margin-top: 12px;
}

.film-main-text span {
  color: #777;
  font-size: 14px;
}

/* CAST LIST */
.film-cast-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.film-cast-item {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.film-cast-item p {
  font-weight: 700;
}

.film-cast-item:hover {
  transform: translateY(-5px);
}

.film-cast-img {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}

/* CREW */
.film-crew-block {
  margin-top: 30px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  color: #444;
}

/* LOCATIONS */
.film-locations-block {
  margin-top: 40px;
}

.film-locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.film-loc {
  height: 160px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  transition: 0.4s;
  cursor: pointer;
}

.film-loc:hover {
  transform: scale(1.05);
}

/* ===================== */
/* О ФИЛЬМЕ — CLEAN UI */
/* ===================== */

.film-info-block {
  margin-top: 40px;
}

/* заголовок — просто и уверенно */
.film-info-block .film-title {
  margin-bottom: 20px;
  font-weight: 600;
}

/* карточки */
.film-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.film-info-grid div {
  background: rgba(255, 255, 255, 0.6);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  color: #333;

  display: flex;
  align-items: center;
  gap: 8px;

  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: 0.2s ease;
}

.film-info-grid div:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* описание */
.film-description {
  background: rgba(255, 255, 255, 0.6);
  padding: 18px 20px;
  border-radius: 14px;

  font-size: 15px;
  line-height: 1.6;
  color: #444;

  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===================== */
/* AUTHORS */
/* ===================== */
.film-authors-block {
  margin-top: 40px;
}

.film-authors-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 автора в ряд */
  gap: 30px;
}

.film-author-card {
  display: flex;
  gap: 20px;
  align-items: center;
  background: rgba(255, 255, 255, 0.75);
  padding: 20px;
  border-radius: 16px;
  transition: 0.3s;
}

.film-author-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* IMAGE */
.film-author-img {
  width: 170px;
  height: 250px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

/* TEXT */
.film-author-info h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.film-author-info span {
  font-size: 14px;
  color: #777;
}

.film-author-info p {
  margin-top: 8px;
  font-size: 14px;
  color: #444;
  line-height: 1.4;
}

/* ===================== */
/* 📱 ADAPTIVE */
/* ===================== */
@media (max-width: 1024px) {

  .film-top-block {
    grid-template-columns: 1fr;
  }

  .film-video-box iframe {
    height: 300px;
  }

  .film-cast-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .film-cast-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .film-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .film-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .film-authors-list {
    grid-template-columns: 1fr;
  }
}

/* телефоны */
@media (max-width: 600px) {

  .film-page {
    padding: 30px 15px;
  }

  .film-title {
    font-size: 22px;
  }

  /* видео */
  .film-video-box iframe {
    height: 200px;
  }

  /* синопсис */
  .film-top-right {
    padding: 20px;
  }

  /* главный герой */
  .film-main-hero {
    width: 100%;
  }

  .film-main-img {
    height: 240px;
  }

  /* каст */
  .film-cast-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .film-cast-img {
    height: 140px;
  }

  /* локации */
  .film-locations-grid {
    grid-template-columns: 1fr;
  }

  /* инфо */
  .film-info-grid {
    grid-template-columns: 1fr;
  }

  .film-description {
    font-size: 14px;
  }


}