* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
    font-family: 'Cormorant';
    src: url('fonts/cormorant.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('fonts/ibm-plex-sans.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: #FFFDF9;
  color: #424242;
  line-height: 1.6;
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
}

.narrow {
  max-width: 1000px;
}

h1, h2, h3 {
  margin-bottom: 20px;
}

h2 {
  font-size: 30px;
  font-weight: 400;
}

section {
  padding: 50px 0;
}

/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
}

.section-title {
  font-size: 30px;
  font-weight: 400;
  color: #424242;
  text-align: center;
  margin: 0 0 30px;
}

.live .section-title {
  color: #424242;
  padding: 0 4%;
}

.gallery-section .section-title {
  margin-bottom: 10px;
}

.nav-container {
  max-width: 1640px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 500;
  font-family: 'Cormorant', serif;
  color: #CCAB96;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 28px;
}

.nav-menu a {
  color: #D9D9D9;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s;
}

.nav-menu a:hover {
  color: #CCAB96;
}

.menu-toggle {
  display: none;
  color: #CCAB96;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

@media (max-width: 1100px) {
  .nav-container {
    max-width: 80%;
    margin: 10px;
    padding: 7px 15px;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    gap: 18px;
  }

  .logo {
    font-size: 18px;
  }

  .nav-menu a {
    font-size: 13px;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block;
    font-size: 28px;
    z-index: 1100;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu a {
    font-size: 18px;
    color: #fff;
    padding: 12px 0;
    text-align: center;
  }

  .nav-menu a::after {
    display: none;
  }
}

/* HERO */

.hero {
  height: 100vh;
  background: url('images/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
}

.hero-content {
  margin-left: 15%;
}

.hero .name {
  font-family: 'Cormorant', serif;
  font-size: 64px;
  font-weight: 500;
  color: #CCAB96;
}

.undername {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 300;
  color: #D9D9D9;
  line-height: 1.6;
  font-size: 22px;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  border: 1px solid #D9D9D9;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #D9D9D9;
  transition: 0.3s;
}

.btn:hover {
  background: #CCAB96;
  border-color: #CCAB96;
  color: #111;
}

@media (max-width: 600px) {
  .hero {
    padding-bottom: 40px;
  }

  .hero-content {
    margin-left: 0;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .hero .name {
    font-size: 40px;
  }

  .btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .undername {
    font-size: 16px;
  }
}

/* PROMO */

.promo {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.promo-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.promo-preview {
  width: 100%;
  height: 100%;
  position: relative;
}

.promo-image,
.promo-preview-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  display: block;
}

.promo-preview-video {
  opacity: 0;
  transition: opacity 0.5s;
}

.promo-play {
  width: 80px;
  height: 80px;
  border: 2px solid #D9D9D9;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease;
  cursor: pointer;
  background: transparent;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.promo-play::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-left: 22px solid #D9D9D9;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.promo-play:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.video-modal-content {
  width: 92%;
  max-width: 1600px;
}

.video-modal video {
  width: 100%;
}

@media (max-width: 1024px) {
  .promo-image,
  .promo-preview-video {
    object-position: 60% center;
    object-fit: cover;
  }
}

@media (max-width: 700px) {
  .promo-image,
  .promo-preview-video {
    object-position: 70% center;
    object-fit: cover;
  }
}

/* LIVE */

.live-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-left: 1%;
  padding-right: 1%;
  flex-wrap: nowrap;
  overflow-x: hidden;
}

.video-card {
  width: calc((100% - 2% - 6 * 4mm) / 7);
  aspect-ratio: 9 / 16;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.video-card:hover img {
  transform: scale(1.05);
}

.play-button_small {
  width: 50px;
  height: 50px;
  border: 2px solid #D9D9D9;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease;
  cursor: pointer;
}

.play-button_small::after {
  content: "";
  position: absolute;
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-left: 14px solid #D9D9D9;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.play-button_small:hover {
  background: rgba(255, 255, 255, 0.2);
}

.vk-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

.vk-modal-content {
  width: 90%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
}

.vk-modal iframe {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .video-card {
    width: calc((100% - 30% - 3 * 4mm) / 4);
  }
}

@media (max-width: 768px) {
  .live-row {
    overflow-x: auto;
  }

  .video-card {
    flex: 0 0 120px;
  }
}

@media (max-width: 600px) {
  .live-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .live-card {
    max-width: 180px;
  }
}

/* ABOUT */

.about {
  text-align: left;
}

.about.cont {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}

.about h2 {
  font-size: 30px;
  color: #424242;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 400;
}

.formats-title {
  font-weight: 600;
  margin-top: 30px;
  color: #CCAB96;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.about-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #CCAB96;
}

.about-list strong {
  color: #424242;
  font-weight: 600;
}

/* PHOTO */

.tablet-gallery,
.mobile-gallery {
  display: none;
}

.gallery-section {
  max-width: 1640px;
  width: 90%;
  margin: 0 auto;
}

.grid-gallery {
  width: 100%;
  margin-top: 20px;
}

.grid-sizer,
.grid-item {
  width: 25%;
}

.grid-item {
  float: left;
  padding: 6px;
}

.grid-item img {
  width: 100%;
  display: block;
  border-radius: 4px;
  transition: transform 0.35s ease;
}

.grid-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 1024px) {
  .desktop-gallery {
    display: none;
  }

  .tablet-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .tablet-gallery img {
    width: 100%;
    object-fit: cover;
  }

  .tablet-gallery img:nth-child(2),
  .tablet-gallery img:nth-child(4) {
    grid-row: span 2;
  }

  .grid-item {
    padding: 4px;
  }
}

@media (max-width: 600px) {
  .grid-item {
    padding: 2px;
  }
}

/* FORMATS */

.formats {
  max-width: 1640px;
  width: 90%;
  margin: 0 auto;
}

.formats h2 {
  font-size: 30px;
  color: #424242;
  margin-top: -25px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 400;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.format-card {
  border: 1px solid #E0DCD5;
  background-color: #FAF7F2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.format-card:hover {
  border-color: #CCAB96;
}

.format-image {
  overflow: hidden;
  height: 350px;
}

.format-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.format-card:hover img {
  transform: scale(1.05);
}

.format-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.format-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #424242;
}

.format-content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.btn-format {
  display: inline-block;
  text-align: center;
  padding: 12px 20px;
  border: 1px solid #CCAB96;
  background: #CCAB96;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  transition: 0.3s;
}

.btn-format:hover {
  background: #b8967e;
}

.btn-format.secondary {
  background: transparent;
  color: #CCAB96;
}

.btn-format.secondary:hover {
  background: #CCAB96;
  color: #fff;
}

@media (max-width: 1100px) {
  .format-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .format-card {
    max-width: 600px;
    width: 90%;
  }
}

@media (max-width: 600px) {
  .format-card {
    max-width: 420px;
    width: 90%;
  }
}

/* REVIEWS */

.reviews {
  background: #fff;
  padding: 80px 0;
  position: relative;
}

.reviews-viewport {
  overflow: hidden;
  width: 100%;
  cursor: grab;
}

.reviews-title {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-track {
  display: flex;
  gap: 40px;
  will-change: transform;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 70%;
  max-width: 700px;
  scroll-snap-align: center;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.review-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}

.review-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* CLIENTS */

.clients {
  width: 90%;
  margin: 0 auto;
}

.clients-title {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
  text-align: center;
  color: #424242;
}

.clients-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  align-items: center;
}

.clients-logos img {
  width: 100%;
  max-width: 120px;
  margin: 0 auto;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.clients-logos img:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .clients-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .clients-logos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* DOCUMENTS */

.documents {
  padding: 80px 0;
  background: #fff;
  text-align: center;
  color: #424242;
}

.documents .doc-button {
  display: inline-block;
  text-align: center;
  padding: 12px 30px;
  width: 200px;
  border: 1px solid #424242;
  background: transparent;
  color: #424242;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.3s;
  margin: 2%;
}

.documents .doc-button:hover {
  background: #424242;
  color: #fff;
}

@media (max-width: 600px) {
  .documents .doc-button {
    flex-direction: column;
    align-items: center;
  }

  .doc-button {
    width: 220px;
  }
}

/* CONTACT */

.contacts {
  width: 100%;
  height: 987px;
  background: url('contacts.webp') no-repeat center center / cover;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.contacts-overlay {
  width: 100%;
  height: 420px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contacts-content {
  align-items: center;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contacts .name {
  font-family: 'Cormorant', serif;
  font-size: 64px;
  font-weight: 800;
  color: #CCAB96;
  margin: 0;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 84px;
  margin-top: 40px;
  margin-bottom: 26px;
}

.social-icons img {
  height: 50px;
  width: auto;
  display: block;
  transition: 0.4s ease;
}

.social-icons a:hover img {
  transform: scale(1.15);
  filter: brightness(1.2);
}

.bottom-tag {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cormorant', serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: #D9D9D9;
  text-transform: uppercase;
  z-index: 10;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.btn-contact {
  width: 100%;
  max-width: 480px;
  padding: 10px 30px;
  border: 1px solid #D9D9D9;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;
  color: #D9D9D9;
  transition: 0.3s;
  margin: 0;
  text-align: center;
}

.btn-contact:hover {
  background: #CCAB96;
  border-color: #CCAB96;
  color: #111;
}

@media (max-width: 1024px) {
  .contacts {
    height: 700px;
  }

  .contacts .name {
    font-size: 48px;
  }

  .social-icons {
    gap: 40px;
  }

  .social-icons img {
    height: 40px;
  }
}

@media (max-width: 600px) {
  .contacts {
    height: auto;
    min-height: 500px;
  }

  .contacts-overlay {
    height: auto;
    padding: 40px 20px;
  }

  .contacts .name {
    font-size: 32px;
  }

  .social-icons {
    gap: 20px;
    flex-wrap: wrap;
  }

  .social-icons img {
    height: 30px;
  }
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .format-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }

  .hero .name,
  .contacts .name {
    font-size: 42px;
  }

  .format-grid {
    grid-template-columns: 1fr;
  }

  .live-row iframe {
    min-width: 250px;
    height: 160px;
  }
}
