/*
Theme Name: Чарівна Спокуса
Description: Преміальна презентаційна тема вермутів з м'яким fade-переходом
Version: 1.5
Author: Чарівна Спокуса
*/

/* --------------------------------------------------
   1. ШРИФТИ ТА ЗМІННІ
-------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Alice&display=swap');

@font-face {
  font-family: 'Fixel Display';
  src: url('assets/fonts/FixelDisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fixel Display';
  src: url('assets/fonts/FixelDisplay-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-gold: rgba(228, 173, 98, 1);
  --color-gold-light: #f7d5a5;
  --color-gold-dark: #b87b32;
  --color-text: rgba(255, 255, 255, 1);
  --color-text-dim: rgba(255, 255, 255, 0.82);
  --color-brand-red: rgba(104, 15, 14, 1);
  --font-heading: 'Alice', serif;
  --font-body: 'Fixel Display', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-cinematic: cubic-bezier(0.25, 1, 0.35, 1);
}

/* --------------------------------------------------
   2. БАЗОВІ СТИЛІ СТОРІНКИ ТА КОНТЕЙНЕР 1300px
-------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: var(--color-brand-red);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

.site-container {
  width: 100%;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 5;
}

/* --------------------------------------------------
   3. КІНЕМАТОГРАФІЧНИЙ CROSS-FADE ЕКРАНІВ
-------------------------------------------------- */
.hero-screen,
.about-screen,
.assortment-screen,
.production-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: hidden;
  
  transform: scale(1.04);
  filter: blur(8px);
  transition: opacity 1.25s var(--ease-cinematic),
              transform 1.25s var(--ease-cinematic),
              filter 1.25s var(--ease-cinematic),
              visibility 1.25s var(--ease-cinematic);
  will-change: opacity, transform, filter;
  z-index: 1;
}

.hero-screen.is-active,
.about-screen.is-active,
.assortment-screen.is-active,
.production-screen.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  filter: blur(0);
  z-index: 2;
}

.hero-screen.is-exiting,
.about-screen.is-exiting,
.assortment-screen.is-exiting,
.production-screen.is-exiting {
  opacity: 0;
  transform: scale(0.96);
  filter: blur(8px);
  z-index: 1;
}

/* --------------------------------------------------
   4. ФОНИ ЕКРАНІВ
-------------------------------------------------- */
.hero-screen {
  background-color: #1a0205;
  padding: 0;
  overflow-y: hidden;
}

.about-screen {
  position: relative;
  padding: clamp(40px, 6vh, 80px) 0;
  overflow: hidden;
}

.assortment-screen {
  background: url('assets/images/banner_3.png') center / cover no-repeat;
  padding: clamp(30px, 4.5vh, 60px) 0;
}

.production-screen {
  background: url('assets/images/factory_bg.png') center / cover no-repeat;
  padding: clamp(75px, 10.5vh, 95px) 0 clamp(10px, 1.5vh, 20px);
  align-items: stretch; /* Забороняє виштовхувати заголовок у логотип */
}

.production-screen .site-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 50px;
}


/* --------------------------------------------------
   5. ПОЯВА ТЕКСТІВ ТА ЛІНІЙ (REVEAL КАСКАД)
-------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(5px);
  transition: opacity 1.1s var(--ease-cinematic),
              transform 1.1s var(--ease-cinematic),
              filter 1.1s var(--ease-cinematic);
  will-change: opacity, transform, filter;
}

.is-active .reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.delay-1 { transition-delay: 0.16s; }
.delay-2 { transition-delay: 0.32s; }
.delay-3 { transition-delay: 0.48s; }
.delay-4 { transition-delay: 0.64s; }

.section-title {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 400;
  margin-bottom: 6px;
}

.title-gold-line {
  width: clamp(225px, 8vw, 250px);
  height: 1px;
  background: linear-gradient(90deg, var(--color-gold), rgba(228, 173, 98, 0.2));
  margin-bottom: clamp(14px, 2.5vh, 34px);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.3s var(--ease-cinematic) 0.2s;
}

.is-active .title-gold-line {
  transform: scaleX(1);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.6vh, 18px) clamp(26px, 2.5vw, 40px);
  background: linear-gradient(135deg, #e7b678 0%, #c48b43 100%);
  color: #27060b;
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid rgba(255, 230, 185, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(228, 173, 98, 0.3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 40%;
  height: 200%;
  background: linear-gradient(60deg, transparent 0%, rgba(255, 255, 255, 0.45) 50%, transparent 100%);
  transform: rotate(25deg);
  animation: btnShine 4.5s ease-in-out infinite;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6), 0 0 35px rgba(228, 173, 98, 0.5);
}

@keyframes btnShine {
  0%, 20% { left: -60%; }
  50%, 100% { left: 140%; }
}

/* --------------------------------------------------
   6. HERO СЕКЦІЯ
-------------------------------------------------- */
.video-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.video-bg-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-screen .video-overlay {
  background: linear-gradient(
    90deg, 
    rgba(20, 2, 5, 0.85) 0%, 
    rgba(35, 4, 10, 0.45) 50%, 
    transparent 100%
  );
}

.hero-container {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-grid {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 0 0 clamp(360px, 35vw, 540px);
  max-width: 540px;
  padding-top: clamp(20px, 4vh, 50px);
}

.hero-title {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: clamp(32px, 3.8vw, 62px);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: clamp(14px, 2.5vh, 30px);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.hero-desc,
.about-text {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: clamp(12px, 1.8vh, 22px);
  color: var(--color-text);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-desc-sub {
  font-size: clamp(12.5px, 0.95vw, 14.5px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-dim);
  margin-bottom: clamp(18px, 3vh, 40px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-table-scene {
  position: absolute;
  right: -8.5vw;
  bottom: 0;
  height: clamp(55vh, 85vh, 88vh);
  max-height: 90vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 4;
}

.hero-table-scene .bottle-glow-halo {
  position: absolute;
  bottom: 12%;
  right: 15%;
  width: 320px;
  height: 500px;
  background: radial-gradient(circle, rgba(228, 173, 98, 0.25) 0%, rgba(136, 17, 34, 0.2) 50%, transparent 75%);
  filter: blur(50px);
  z-index: 1;
}

.hero-table-img {
  position: relative;
  z-index: 2;
  height: 100%;
  width: auto;
  max-width: 100vw;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.85));
  display: block;
}

/* --------------------------------------------------
   7. ХЕДЕР ТА НАВІГАЦІЯ (ДЕСКТОП)
-------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 30px 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
}

/* Компенсация высоты, если сверху отображается админ-панель WordPress */
body.admin-bar .site-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 110;
}

.brand-logo {
  font-family: var(--font-heading);
  color: var(--color-gold);
  text-decoration: none;
  letter-spacing: 0.08em;
  line-height: 1.05;
  font-size: 20px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 120;
  flex: 0 0 auto;
}

.brand-logo img {
  max-width: 155px;
  display: block;
}

.brand-logo:hover {
  opacity: 0.85;
}

/* Центрирование меню строго посередине сетки 1300px */
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  gap: clamp(24px, 2.5vw, 36px);
  list-style: none;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 0.04em;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap; /* Запрещает перенос «Про бренд» на две строки */
  transition: color 0.3s;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-gold);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.35s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.lang-switcher {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switcher a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--color-gold);
}

.lang-switcher a::after {
  display: none !important;
}

.desktop-lang-switcher {
  margin-left: auto;
  flex: 0 0 auto;
}

.mob-lang-switcher {
  display: none;
}

.menu-burger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  z-index: 120;
}

.menu-burger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--color-gold);
  border-radius: 2px;
  transition: all 0.35s var(--ease-cinematic);
}

/* --------------------------------------------------
   8. СЕКЦІЯ "ПРО БРЕНД"
-------------------------------------------------- */
.about-content {
  max-width: 530px;
}

/* --------------------------------------------------
   9. АСОРТИМЕНТ ТА ДИНАМІЧНИЙ СЛАЙДЕР
-------------------------------------------------- */
.assortment-wrapper {
  width: 100%;
  max-width: 1290px;
  position: relative;
  z-index: 5;
}

.assortment-card {
  position: relative;
  width: 100%;
  margin-top: clamp(20px, 4vh, 60px);
  border: 1px solid rgba(228, 173, 98, 0.32);
  border-radius: 16px;
  background: #8F343240;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.65);
  padding: clamp(18px, 3vh, 40px) clamp(16px, 2vw, 32px) clamp(18px, 3vh, 40px) 0;
  display: flex;
  align-items: center;
  overflow: visible;
}

.active-card-body {
  display: contents;
}

.active-bottle-breakout {
  position: relative;
  flex: 0 0 clamp(140px, 12vw, 200px);
  margin-left: 15px;
  margin-top: clamp(-60px, -6.5vh, -25px);
  margin-bottom: clamp(-50px, -5vh, -20px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.bottle-glow-halo {
  position: absolute;
  width: clamp(140px, 14vw, 220px);
  height: clamp(260px, 38vh, 480px);
  background: radial-gradient(circle, rgba(228, 173, 98, 0.28) 0%, rgba(136, 17, 34, 0.2) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 1;
}

.active-bottle-img {
  position: relative;
  z-index: 2;
  height: clamp(340px, 58vh, 760px);
  max-height: 64vh;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.85));
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.85, 0.3, 1);
  will-change: transform, opacity;
}

.active-info-col {
  flex: 1;
  min-width: 220px;
  max-width: 380px;
  padding: 0 clamp(12px, 1.5vw, 25px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.85, 0.3, 1);
}

.active-taste-title {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-weight: 400;
  font-size: clamp(20px, 2.1vw, 34px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: clamp(6px, 1.2vh, 16px);
  line-height: 1.1;
}

.active-taste-desc {
  font-size: clamp(12.5px, 0.9vw, 14.5px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-text-dim);
  margin-bottom: clamp(10px, 2vh, 26px);
  min-height: auto;
}

.active-taste-meta {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 40px);
  border-top: 1px solid rgba(228, 173, 98, 0.3);
  padding-top: clamp(10px, 1.5vh, 18px);
}

.meta-item .meta-val {
  display: block;
  text-align: center;
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 400;
  color: var(--color-gold);
  line-height: 1.2;
}

.meta-item .meta-lbl {
  font-size: clamp(10px, 0.75vw, 12px);
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.carousel-right-module {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  margin-left: auto;
  user-select: none;
}

.carousel-nav-btn {
  background: rgba(30, 4, 8, 0.4);
  border: 1px solid rgba(228, 173, 98, 0.35);
  border-radius: 6px;
  color: var(--color-gold);
  width: clamp(30px, 2.4vw, 36px);
  height: clamp(36px, 4vh, 44px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.carousel-nav-btn svg {
  width: clamp(18px, 1.4vw, 22px);
  height: clamp(18px, 1.4vw, 22px);
  transition: transform 0.25s ease;
}

.carousel-nav-btn:hover {
  background: rgba(228, 173, 98, 0.15);
  border-color: var(--color-gold);
  box-shadow: 0 0 15px rgba(228, 173, 98, 0.3);
}

.carousel-nav-btn.prev:hover svg {
  transform: translateX(-2px);
}

.carousel-nav-btn.next:hover svg {
  transform: translateX(2px);
}

.carousel-viewport {
  width: clamp(360px, 33vw, 500px);
  overflow: hidden;
  padding: 8px 0;
  cursor: grab;
}

.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: clamp(10px, 1.2vw, 18px);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.35, 1);
  will-change: transform;
}

.carousel-slot-card {
  flex: 0 0 clamp(110px, 9.8vw, 154px);
  width: clamp(110px, 9.8vw, 154px);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.35s ease;
}

.slot-frame {
  width: 100%;
  height: clamp(260px, 40vh, 450px);
  border: 1px solid rgba(228, 173, 98, 0.28);
  border-radius: clamp(12px, 1.2vw, 20px);
  background: rgba(143, 52, 50, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 1vh, 16px) clamp(4px, 0.6vw, 8px);
  transition: all 0.35s cubic-bezier(0.2, 0.85, 0.3, 1);
}

.carousel-slot-card:hover .slot-frame {
  border-color: var(--color-gold);
  background: rgba(228, 173, 98, 0.1);
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 20px rgba(228, 173, 98, 0.25);
}

.carousel-slot-card.is-selected .slot-frame {
  border-color: var(--color-gold);
  background: rgba(228, 173, 98, 0.15);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), 0 0 22px rgba(228, 173, 98, 0.35);
}

.slot-bottle-img {
  max-height: 90%;
  height: clamp(230px, 36vh, 440px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.7));
  transition: transform 0.35s ease;
}

.carousel-slot-card:hover .slot-bottle-img {
  transform: scale(1.06);
}

.slot-name {
  font-size: clamp(11px, 0.85vw, 13.5px);
  color: var(--color-text-dim);
  letter-spacing: 0.04em;
  font-weight: 400;
  margin-top: clamp(6px, 0.8vh, 10px);
  text-align: center;
  transition: color 0.3s ease;
}

.carousel-slot-card:hover .slot-name,
.carousel-slot-card.is-selected .slot-name {
  color: var(--color-gold);
}

.active-view-anim-out {
  opacity: 0;
  transform: scale(0.96) translateY(12px);
}

/* --------------------------------------------------
   10. ВИРОБНИЦТВО
-------------------------------------------------- */
.production-screen .section-title {
  font-size: clamp(24px, 2.5vw, 36px);
  margin-bottom: 4px;
}

.production-screen .title-gold-line {
  margin-bottom: clamp(10px, 1.6vh, 20px);
}

.production-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px, 3vw, 50px);
  align-items: center;
  margin-bottom: clamp(8px, 1.4vh, 18px);
}

.production-photo-wrap {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(228, 173, 98, 0.25);
  display: flex;
}

.production-photo-wrap img {
  width: 100%;
  height: 100%;
  max-height: clamp(180px, 48vh, 630px); /* Зменшено з 440px, щоб усе вміщалося */
  object-fit: cover;
  display: block;
}

.production-content h2 {
  font-family: var(--font-heading);
  color: var(--color-gold);
  font-size: clamp(16px, 1.4vw, 22px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: clamp(8px, 1.4vh, 16px);
  line-height: 1.25;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vh, 10px);
}

.feature-card {
  padding: clamp(6px, 1vh, 10px) clamp(12px, 1.2vw, 18px);
  border: 1px solid rgba(228, 173, 98, 0.35);
  border-radius: clamp(14px, 1.5vw, 22px);
  background: #8F343240;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateX(6px);
  border-color: var(--color-gold);
}

/* Компактні іконки замість масивних 82px */
.feature-icon-circle {
  width: clamp(62px, 5.2vh, 81px);
  height: clamp(62px, 5.2vh, 81px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-circle svg,
.feature-icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-info h4 {
  font-size: clamp(18px, 1.5vw, 24px);
  color: var(--color-gold-dark);
  font-weight: 500;
  margin-bottom: 2px;
}

.feature-info p {
  font-size: clamp(16px, 0.88vw, 20px);
  color: var(--color-text-dim);
  font-weight: 300;
  line-height: 1.35;
}



/* --------------------------------------------------
   11. БЛОК КОНТАКТИ ТА ФУТЕР
-------------------------------------------------- */
.contacts-area {
  width: 100%;
  padding-top: clamp(8px, 1.5vh, 20px);
  position: relative;
  z-index: 5;
}

.contacts-grid {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 50px);
  margin-bottom: clamp(8px, 1.2vh, 18px);
}

.contacts-title-col {
  min-width: clamp(120px, 11vw, 170px);
}

.contacts-title-col .section-title {
  margin-bottom: 4px;
  font-size: clamp(22px, 2.2vw, 32px);
}

.contacts-title-col .title-gold-line {
  margin-bottom: 0;
  width: clamp(90px, 8vw, 130px);
}

.contacts-info-col {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1vh, 12px);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  width: clamp(16px, 1.2vw, 20px);
  height: clamp(16px, 1.2vw, 20px);
  color: var(--color-gold);
  flex-shrink: 0;
}

.contact-text,
.contact-link {
  font-size: clamp(12px, 0.85vw, 13.5px);
  line-height: 1.35;
  color: var(--color-text);
  font-weight: 300;
}

.contact-link {
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-link:hover {
  color: var(--color-gold);
}

.contacts-action-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(8px, 1.2vh, 14px);
  min-width: clamp(150px, 14vw, 210px);
}

.contact-phone {
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.25s ease;
}

.contact-phone:hover {
  color: var(--color-gold);
}

.contacts-btn {
  padding: clamp(9px, 1.2vh, 13px) clamp(18px, 1.8vw, 28px);
  font-size: clamp(11px, 0.8vw, 12.5px);
  width: 100%;
  max-width: 210px;
  text-align: center;
}

.site-footer {
  border-top: 1px solid rgba(228, 173, 98, 0.15);
  padding-top: clamp(6px, 1vh, 12px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: clamp(11px, 0.75vw, 12.5px);
  color: rgba(228, 173, 98, 0.7);
  letter-spacing: 0.03em;
}

.footer-divider {
  color: rgba(228, 173, 98, 0.4);
}

/* --------------------------------------------------
   12. ПОПАП 18+ (AGE GATE)
-------------------------------------------------- */
.age-gate {
  position: fixed;
  inset: 0;
  background: url('assets/images/popup-banner.png') center / cover no-repeat;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.85s var(--ease-cinematic),
              visibility 0.85s var(--ease-cinematic);
}

.age-gate-card {
  width: 90%;
  max-width: 700px;
  padding: clamp(24px, 4vh, 50px) clamp(20px, 3vw, 36px);
  text-align: center;
  transition: transform 0.85s var(--ease-cinematic), filter 0.85s var(--ease-cinematic);
}

.age-gate-card img {
  max-width: min(500px, 70vw);
  width: 100%;
  height: auto;
}

.age-gate.closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.age-gate.closing .age-gate-card {
  transform: scale(1.05);
  filter: blur(10px);
}

.age-gate-question {
  font-family: var(--font-body);
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 400;
  margin-bottom: clamp(14px, 2.5vh, 30px);
  color: #E4AD62;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
}

.age-gate-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: clamp(12px, 2vh, 20px);
}

.age-btn {
  padding: clamp(8px, 1.2vh, 11px) clamp(18px, 2vw, 28px);
  background: transparent;
  border: 1px solid rgba(228, 173, 98, 0.5);
  color: #E4AD62;
  font-family: var(--font-body);
  font-size: clamp(20px, 2vw, 30px);
  line-height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: clamp(100px, 10vw, 135px);
}

.age-btn:hover {
  background: var(--color-gold);
  color: #1a0205;
  box-shadow: 0 0 20px rgba(228, 173, 98, 0.4);
}

.age-gate-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(11px, 0.8vw, 12.5px);
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
}



/* --------------------------------------------------
   13. АДАПТИВНІСТЬ ДЛЯ ЕКРАНІВ З МАЛОЮ ВИСОТОЮ (НОУТБУКИ)
-------------------------------------------------- */
@media (max-height: 800px) and (min-width: 993px) {
  .site-header { padding: 14px 0; }
  .assortment-screen { padding: 24px 0; }
  .assortment-card { margin-top: 15px; padding: 16px 20px 16px 0; }
  .active-bottle-img { height: 72vh; max-height: 72vh; }
  .slot-frame { height: 50vh; max-height: 50vh; }
  .slot-bottle-img { height: 44vh; max-height: 44vh; }
  .carousel-viewport { width: 420px; }
  .carousel-slot-card { flex: 0 0 120px; width: 120px; }
}

/* --------------------------------------------------
   14. ПОВНА АДАПТИВНІСТЬ ДЛЯ ПЛАНШЕТІВ ТА СМАРТФОНІВ (ЗГІДНО МАКЕТУ)
-------------------------------------------------- */
@media (max-width: 992px) {
  html, body {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
  }

  .site-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-screen,
  .about-screen,
  .assortment-screen,
  .production-screen {
    position: relative;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    filter: none !important;
    height: auto;
    min-height: 100dvh;
    padding: 90px 0 50px;
  }

  /* Повернення десктопної плавності появи та затримок */
  .reveal {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(5px);
    transition: opacity 1.1s var(--ease-cinematic),
                transform 1.1s var(--ease-cinematic),
                filter 1.1s var(--ease-cinematic);
    will-change: opacity, transform, filter;
  }

  .is-active .reveal {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }

  .title-gold-line {
    width: 225px;
    margin-bottom: 24px;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 1.3s var(--ease-cinematic) 0.2s;
  }

  .is-active .title-gold-line {
    transform: scaleX(1);
  }

  /* Шрифти згідно макету */
  .section-title {
    font-size: 36px !important;
    line-height: 1.15;
    margin-bottom: 6px;
  }

  .hero-title {
    font-size: 36px !important;
    line-height: 1.15;
    margin-bottom: 18px;
  }

  .hero-desc,
  .hero-desc-sub,
  .about-text,
  .contact-text,
  .contact-link,
  .contact-phone {
    font-size: 3.5vw !important;
    line-height: 1.55;
  }

  /* ХЕДЕР: прозорий на старті + заблюрений при скролі */

  /* Ховаємо десктопний блок мов */
  .desktop-lang-switcher {
    display: none;
  }

  /* Показуємо мовний блок всередині відкритого меню */
  .mob-lang-switcher {
    display: flex;
    font-size: 18px;
    gap: 12px;
    margin-top: 10px;
  }

  .brand-logo img {
    max-width: 75px;
  }

  .site-header {
    padding: 20px 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.3s ease;
  }

  .site-header.is-scrolled {
    background: rgba(26, 2, 5, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  }

  .site-header.is-menu-open {
    background: var(--color-brand-red) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }

  .menu-burger-btn {
    display: flex;
    margin-left: auto;
  }

  /* Повноекранне мобільне меню */
  .main-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    left: 0;
    transform: none !important; /* <--- КРИТИЧНО: скидаємо десктопне центрування, щоб меню не з'їжджало вліво */
    background: var(--color-brand-red);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-cinematic), visibility 0.4s var(--ease-cinematic);
    z-index: 100;
    padding: 90px 20px 40px;
  }

  .is-menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .is-menu-open .menu-burger-btn span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .is-menu-open .menu-burger-btn span:nth-child(2) {
    opacity: 0;
  }
  .is-menu-open .menu-burger-btn span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 26px;
  }

  .main-nav a {
    font-size: 24px;
    font-family: var(--font-heading);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  /* ЕКРАН 1: HERO */
  .hero-screen {
    padding-top: 95px;
    padding-bottom: 25px;
    display: flex;
    align-items: stretch;
    position: relative;
  }

  .hero-screen .video-overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 2, 5, 0.55) 0%,
      rgba(26, 2, 5, 0.1) 25%,
      transparent 40%,
      rgba(26, 2, 5, 0.5) 60%,
      rgba(26, 2, 5, 0.9) 82%,
      #1a0205 100%
    );
  }

  .hero-content::after {
    content: '';
    position: absolute;
    bottom: -26px;
    left: -20px;
    width: 100vw;
    height: 19vh;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(0deg, #410F05 73.32%, rgba(65, 15, 5, 0) 100%);
  }

  .hero-container {
    height: 100%;
    width: 100%;
  }

  .hero-grid {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 120px);
  }

  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding-top: 10px;
    position: relative;
    z-index: 5;
  }

  .hero-content .hero-desc {
    max-width: 73%;
    margin-bottom: 14px;
  }

  .hero-content .hero-desc-sub {
    max-width: 59%;
    margin-bottom: 20px;
  }

  .hero-table-scene {
    position: absolute;
    top: auto;
    bottom: 60px;
    right: -33vw;
    width: 100%;
    height: 107vh;
    max-height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
    z-index: 2;
  }

  .hero-table-img {
    width: auto;
    height: 100vh;
    max-height: 55vh;
    object-fit: cover;
    object-position: right bottom;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.75));
    display: block;
  }

  .hero-content .btn-gold {
    width: 100%;
    display: flex;
    text-align: center;
    padding: 16px 20px;
    font-size: 14px;
    margin-top: auto;
    position: relative;
    z-index: 6;
  }

  /* ЕКРАН 2: ПРО БРЕНД */
  .about-screen {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 65px;
    padding-bottom: 0;
    min-height: 100dvh !important;
  }

  .about-screen .video-bg-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 10vh;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(0deg, rgba(142, 25, 28, 0) 0.51%, #680F0E 99.51%);
  }

  .about-screen .video-bg-wrap {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 52%;
  }

  .about-screen .video-bg-element {
    object-position: center bottom;
  }

  .about-screen .about-overlay {
    position: absolute;
    inset: 0;
  }

  .about-content {
    max-width: 100%;
    margin-bottom: 36vh;
  }

  /* ЕКРАН 3: АСОРТИМЕНТ */
  .assortment-screen {
    padding-top: 90px;
    padding-bottom: 50px;
  }

  .assortment-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
  }

  .active-card-body {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid rgba(228, 173, 98, 0.38);
    border-radius: 18px;
    background: rgba(143, 52, 50, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 16px 16px 16px 0;
    margin-bottom: 24px;
  }

  .active-bottle-breakout {
    flex: 0 0 115px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .active-bottle-img {
    height: 250px;
    max-height: 38vh;
  }

  .bottle-glow-halo {
    width: 110px;
    height: 220px;
  }

  .active-info-col {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    padding: 0 0 0 10px;
  }

  .active-taste-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .active-taste-desc {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .active-taste-meta {
    justify-content: flex-start;
    gap: 30px;
    border-top: none;
    padding-top: 0;
  }

  .meta-item .meta-val {
    font-size: 18px;
    text-align: left;
  }

  .meta-item .meta-lbl {
    font-size: 11px;
  }

  .carousel-right-module {
    width: 100%;
    margin: 0 auto;
    justify-content: space-between;
    gap: 6px;
  }

  .carousel-nav-btn {
    background: transparent;
    border: none;
    color: var(--color-gold);
    width: 22px;
    height: 40px;
    box-shadow: none;
  }

  .carousel-nav-btn:hover {
    background: transparent;
    box-shadow: none;
  }

  .carousel-viewport {
    width: calc(100% - 50px);
    padding: 4px 0;
  }

  .carousel-track {
    gap: 10px;
  }

  .carousel-slot-card {
    flex: 0 0 calc((100% - 20px) / 3);
    width: calc((100% - 20px) / 3);
  }

  .slot-frame {
    height: 155px;
    border-radius: 14px;
    background: rgba(143, 52, 50, 0.35);
    border: 1px solid rgba(228, 173, 98, 0.25);
    padding: 10px 4px;
  }

  .slot-bottle-img {
    height: 135px;
    max-height: 100%;
  }

  .slot-name {
    font-size: 12px;
    margin-top: 6px;
  }

  /* ЕКРАН 4: ВИРОБНИЦТВО */
  .production-screen {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .production-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 24px;
  }

  .production-photo-wrap {
    border-radius: 8px;
    max-height: 230px;
  }

  .production-photo-wrap img {
    height: 220px;
    object-fit: cover;
  }

  .production-content h2 {
    font-size: 19px;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
  }

  .features-list {
    gap: 12px;
  }

  .feature-card {
    padding: 12px 16px;
    border-radius: 20px;
    gap: 14px;
  }

  .feature-icon-circle {
    width: 60px;
    height: 60px;
  }

  .feature-info h4 {
    font-size: 17px;
    color: var(--color-gold);
    margin-bottom: 3px;
  }

  .feature-info p {
    font-size: 13.5px;
    line-height: 1.4;
  }

  /* ЕКРАН 5: КОНТАКТИ ТА ФУТЕР */
  .contacts-area {
    padding-top: 40px;
  }

  .contacts-grid {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
  }

  .contacts-title-col {
    min-width: 100%;
  }

  .contacts-info-col {
    gap: 16px;
  }

  .contact-item {
    gap: 12px;
  }

  .contact-icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
  }

  .contacts-action-col {
    width: 100%;
    margin-top: 8px;
  }

  .contacts-btn {
    max-width: 100%;
    width: 100%;
    padding: 16px 20px;
    font-size: 14px;
  }

  .site-footer {
    border-top: none;
    padding-top: 15px;
    gap: 12px;
    font-size: 13px;
    line-height: 1.35;
    justify-content: flex-start;
  }

  .footer-age {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gold);
  }

  .footer-divider {
    color: rgba(228, 173, 98, 0.45);
    font-size: 20px;
    font-weight: 300;
  }

  .footer-copy {
    color: rgba(255, 255, 255, 0.7);
  }

  .mob-br {
    display: inline;
  }
}

/* Компактні смартфони */
@media (max-width: 375px) {
  .section-title,
  .hero-title {
    font-size: 32px !important;
  }


  .active-bottle-breakout {
    flex: 0 0 95px;
  }

  .active-bottle-img {
    height: 220px;
  }

  .slot-frame {
    height: 140px;
  }

  .slot-bottle-img {
    height: 120px;
  }
}