/* ============================================================
   CALL US — VIP
   vip.css
   ============================================================ */

/* ============================================================
   01 — SECTION
   ============================================================ */
.vip {
  position: relative;
  background: #16301F;
  color: #F5F0E8;
  padding: clamp(6rem, 12vh, 10rem) var(--pad);
  overflow: hidden;
  z-index: 2;
}

.vip__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* ============================================================
   02 — CONTENT (چپ)
   ============================================================ */
.vip__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 34rem;
}

.vip__label {
  font-family: 'General Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #D4B48C;
}

.vip__title {
  font-family: 'General Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 500;
  color: #F5F0E8;
  margin-top: 0.25rem;
}

.vip__title-line { display: block; }

.vip__title-line--italic {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  color: #D4B48C;
  padding-left: 0.05em;
}

/* ============================================================
   03 — LIST (چپ)
   ============================================================ */
.vip__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(245, 240, 232, 0.12);
}

.vip__item {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 240, 232, 0.12);
  cursor: pointer;
  text-align: left;
  transition: padding-left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: 100%;
}

.vip__item:hover {
  padding-left: 0.5rem;
}

.vip__item.is-active {
  padding-left: 0.75rem;
}

/* خط فعال */
.vip__item-line {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #D4B48C, rgba(212, 180, 140, 0.1));
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vip__item.is-active .vip__item-line {
  width: 100%;
}

/* شماره */
.vip__item-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(212, 180, 140, 0.6);
  padding-top: 0.15rem;
  transition: color 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vip__item:hover .vip__item-num {
  color: #D4B48C;
}

.vip__item.is-active .vip__item-num {
  color: #D4B48C;
  transform: translateY(-2px);
}

/* محتوا */
.vip__item-content {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.vip__item-title {
  font-family: 'General Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(245, 240, 232, 0.7);
  transition: color 0.3s ease;
}

.vip__item:hover .vip__item-title,
.vip__item.is-active .vip__item-title {
  color: #F5F0E8;
}

.vip__item-desc {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.45);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.4s ease;
}

.vip__item.is-active .vip__item-desc {
  max-height: 60px;
  opacity: 1;
}

/* ============================================================
   04 — CTA
   ============================================================ */
.vip__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #D4B48C;
  color: #16301F;
  font-family: 'General Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid #D4B48C;
  width: fit-content;
  margin-top: 0.75rem;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vip__cta:hover {
  background: transparent;
  color: #D4B48C;
  transform: translateY(-1px);
}

.vip__cta-arrow {
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vip__cta:hover .vip__cta-arrow {
  transform: translateX(5px);
}

/* ============================================================
   05 — VISUAL (راست)
   ============================================================ */
.vip__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 78vh;
  margin: 0 auto;
}

.vip__frames {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.3);
  border: 1px solid rgba(212, 180, 140, 0.2);
}

.vip__frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.vip__frame.is-active {
  opacity: 1;
  transform: scale(1);
}

.vip__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* گرادیان روی عکس */
.vip__frames::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(10, 10, 10, 0.6) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   06 — BADGE (روی عکس)
   ============================================================ */
.vip__badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(245, 240, 232, 0.95);
  border: 1px solid rgba(212, 180, 140, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vip__badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: #B8976E;
  line-height: 1;
}

.vip__badge-sep {
  color: #D4B48C;
  font-size: 0.9rem;
}

.vip__badge-title {
  font-family: 'General Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #16301F;
}

/* انیمیشن هنگام تغییر */
.vip__badge.is-changing {
  transform: translateY(-6px);
  opacity: 0;
}

/* ============================================================
   07 — PROGRESS BAR
   ============================================================ */
.vip__progress {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  display: flex;
  gap: 0.5rem;
}

.vip__progress-segment {
  flex: 1;
  height: 2px;
  background: rgba(245, 240, 232, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease;
}

.vip__progress-segment::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #D4B48C;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vip__progress-segment.is-active::after {
  transform: scaleX(1);
}

.vip__progress-segment:hover {
  background: rgba(212, 180, 140, 0.4);
}

/* ============================================================
   08 — RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .vip__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .vip__content {
    max-width: 100%;
  }

  .vip__visual {
    max-height: 60vh;
    aspect-ratio: 3 / 4;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .vip {
    padding: 5rem var(--pad) 4rem;
  }

  .vip__title {
    font-size: clamp(1.5rem, 6.5vw, 2.2rem);
  }

  .vip__item {
    grid-template-columns: 36px 1fr;
    gap: 1rem;
    padding: 1rem 0;
  }

  .vip__item-num {
    font-size: 1.25rem;
  }

  .vip__item-title {
    font-size: 1rem;
  }

  .vip__item-desc {
    font-size: 0.8rem;
  }

  .vip__visual {
    max-width: 100%;
    max-height: 55vh;
  }

  .vip__badge {
    padding: 0.5rem 0.8rem;
  }

  .vip__badge-title {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .vip__item-desc {
    display: none;
  }

  .vip__item.is-active .vip__item-desc {
    display: block;
    max-height: none;
  }

  .vip__cta {
    width: 100%;
    justify-content: space-between;
  }
}

/* ============================================================
   09 — REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .vip__item,
  .vip__item-num,
  .vip__item-title,
  .vip__item-desc,
  .vip__frame,
  .vip__badge,
  .vip__progress-segment::after,
  .vip__cta {
    transition: none;
  }
}