/* Pe telefon, poza + butonul stau centrate pe verticală */
@media (max-width: 600px) {
  .fix-page {
       min-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .fix-cta-wrap {
    margin: 28px 0 0 !important;
  }
}

/* ---------- FIX placeholder ---------- */

.fix-hero {
  --h: min(calc(100vh - 230px), 115vw, 1100px);
  position: relative;
  width: calc(var(--h) * 0.5625);
  margin: 0 auto;
}

.fix-hero img {
  display: block;
  width: 100% !important;
  height: var(--h) !important;
  max-width: none !important;
  object-fit: cover;
}

.fix-hero-text {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  width: calc(var(--h) * 0.76);
  z-index: 2;
  text-align: center;
}

.fix-title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: calc(var(--h) * 0.145);
  line-height: 0.88;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f0ebe0;
  margin: 0;
}

.fix-title span {
  display: block;
  white-space: nowrap;
}

.fix-tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(11px, calc(var(--h) * 0.026), 22px);
  letter-spacing: 0.08em;
  color: #f0ebe0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  margin: 0.9em 0 0;
}

.fix-cta-wrap {
  text-align: center;
  margin: 28px 0 48px;
}

.fix-cta {
  display: inline-block;
  background: #ffffff;
  color: #1a1a1a !important;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.2;
  text-decoration: none !important;
  padding: 0.75em 1.3em;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fix-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* centrare forțată peste stilurile Cargo */
.fix-hero-text {
  left: 50% !important;
  right: auto !important;
  transform: none !important;
  margin: 0 0 0 calc(var(--h) * -0.38) !important;
  padding: 0 !important;
  text-align: center !important;
}

.fix-hero-text .fix-title,
.fix-hero-text .fix-tagline,
.fix-hero-text .fix-title span {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: auto !important;
}

/* ---------- Reveal ---------- */

/* 1. Poza se descoperă de jos în sus și se așază din zoom ușor */
.fix-hero img {
  animation: fixImgReveal 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes fixImgReveal {
  from {
    clip-path: inset(100% 0 0 0);
    transform: scale(1.12);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: scale(1);
  }
}

/* 2. Titlul urcă rând cu rând, cu blur care se curăță */
.fix-title span {
  animation: fixRise 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fix-title span:nth-child(1) { animation-delay: 0.9s; }
.fix-title span:nth-child(2) { animation-delay: 1.08s; }

@keyframes fixRise {
  from {
    opacity: 0;
    transform: translateY(0.45em);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* 3. Textul mic apare încet, cu literele care se strâng */
.fix-tagline {
  animation: fixTagline 1.4s ease-out 1.5s both;
}

@keyframes fixTagline {
  from {
    opacity: 0;
    letter-spacing: 0.3em;
  }
  to {
    opacity: 1;
    letter-spacing: 0.08em;
  }
}

/* 4. Butonul vine ultimul */
.fix-cta-wrap {
  animation: fixRise 1s cubic-bezier(0.22, 1, 0.36, 1) 1.9s both;
}

/* Fără animație pentru cei care au setat „reduce motion” pe telefon sau calculator */
@media (prefers-reduced-motion: reduce) {
  .fix-hero img,
  .fix-title span,
  .fix-tagline,
  .fix-cta-wrap {
    animation: none !important;
  }
}

/* 3. Textul mic urcă la fel ca titlul, imediat după DRINK */
.fix-tagline {
  animation: fixRise 1.2s cubic-bezier(0.22, 1, 0.36, 1) 1.26s both;
}
/* Titlu mai lat pe telefon */
@media (max-width: 600px) {
  .fix-title {
    font-size: calc(var(--h) * 0.165) !important;
  }

  .fix-hero-text {
    width: calc(var(--h) * 0.86) !important;
    margin: 0 0 0 calc(var(--h) * -0.43) !important;
  }
}