/* ========================================
   Homepage Visual Enhancements
   ======================================== */

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { transition-delay: 75ms; }
.stagger.visible > *:nth-child(3) { transition-delay: 150ms; }
.stagger.visible > *:nth-child(4) { transition-delay: 225ms; }
.stagger.visible > * { opacity: 1; transform: none; }

/* ── Fix inside grid: 4 cards → 4 columns ── */
.inside__grid {
  grid-template-columns: repeat(4, 1fr) !important;
}

/* ── Inside card: richer hover ── */
.inside-card {
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.25s ease, background 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
}
.inside-card:hover {
  background: #232323 !important;
  border-color: rgba(232, 108, 46, 0.3) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.inside-card__icon {
  transition: background 0.25s ease, transform 0.25s ease;
}
.inside-card:hover .inside-card__icon {
  background: rgba(232, 108, 46, 0.18);
  transform: scale(1.1);
}

/* Section label color: make it brand orange */
.inside__label {
  color: #e86c2e !important;
}

/* ── Pricing card: restore dark bg (cabinet.css overrides it to #fff) ── */
[data-page="index"] .pricing-card {
  background: #1a1a1a !important;
  color: #fff !important;
  border: none !important;
}

/* ── Pricing card: ambient glow + gradient price ── */
.pricing-card {
  position: relative;
  overflow: hidden;
}
.pricing-card::after {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(232, 108, 46, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.pricing-card__amount {
  background: linear-gradient(135deg, #e86c2e 0%, #f4a56b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pricing-card .btn-pill--filled {
  background: #e86c2e !important;
  border-color: #e86c2e !important;
  box-shadow: 0 6px 20px rgba(232, 108, 46, 0.4);
  transition: all 0.3s ease !important;
}
.pricing-card .btn-pill--filled:hover {
  background: #d45a1e !important;
  border-color: #d45a1e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(232, 108, 46, 0.5) !important;
}

/* ── Service icons: brand colors ── */
.service-icon__img {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.service-icon:hover .service-icon__img {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.service-icon span {
  transition: color 0.2s ease;
}
.service-icon:hover span {
  color: #fff;
}

/* Bolt — green on dark */
.service-icon:nth-child(1) .service-icon__img {
  background: #1C2B33;
  color: #34D050;
}
/* Booking — signature blue */
.service-icon:nth-child(2) .service-icon__img {
  background: #003580;
  color: #fff;
}
/* Kiwi — orange */
.service-icon:nth-child(3) .service-icon__img {
  background: #E25B00;
  color: #fff;
}
/* FlixBus — lime green */
.service-icon:nth-child(4) .service-icon__img {
  background: #73D700;
  color: #1a1a1a;
}
/* GetYourGuide — red */
.service-icon:nth-child(5) .service-icon__img {
  background: #FF5533;
  color: #fff;
}

/* ── FAQ: smooth height transition on expand ── */
.faq-item {
  transition: background 0.2s ease;
}
.faq-item[open] {
  background: #252525;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::after {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(232, 108, 46, 0.1);
  border: 1px solid rgba(232, 108, 46, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e86c2e;
  font-size: 1.1rem;
  line-height: 1;
}

/* Smooth reveal of FAQ answer */
.faq-item p {
  animation: faqFadeIn 0.3s ease;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ── Final CTA: lifted button ── */
.final-cta__btn {
  transition: all 0.3s ease !important;
}
.final-cta__btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25) !important;
}

/* ── Responsive: grid adjustments ── */
@media (max-width: 1100px) {
  .inside__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .inside__grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 480px) {
  .inside__grid {
    grid-template-columns: 1fr !important;
  }
}
