/* ===== STATS BAR ===== */
.stats-bar {
  max-width: 1100px;
  margin: -40px auto 0;
  position: relative;
  z-index: 10;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px 16px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 8px 16px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background: var(--card-border);
}
.stat-icon {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ===== PACKAGES GRID ===== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

/* ===== TIMELINE (Homepage) ===== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--dusk-gradient);
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-item .tl-left {
  width: 50%;
  padding-right: 48px;
  text-align: right;
}
.timeline-item .tl-right {
  width: 50%;
  padding-left: 48px;
  text-align: left;
}
.timeline-item .tl-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--primary);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(230, 81, 0, 0.2);
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.85rem;
}
.timeline-item:nth-child(even) .tl-left {
  text-align: right;
  padding-right: 48px;
  padding-left: 0;
}
.timeline-item:nth-child(even) .tl-right {
  text-align: left;
  padding-left: 48px;
  padding-right: 0;
}
.tl-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 2px;
}
.tl-scene-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.tl-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.tl-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.tl-content .tl-time,
.tl-content .tl-scene-num {
  display: none;
}
.tl-time-side .tl-title,
.tl-time-side .tl-desc {
  display: none;
}

/* ===== TIMELINE (Tour Page - itinerary) ===== */
.timeline-content {
  width: calc(50% - 32px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.timeline-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--dusk-gradient);
}
.timeline-content:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--primary);
  border: 3px solid var(--bg);
  border-radius: 50%;
  z-index: 2;
}

/* ===== REVIEWS GRID ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

/* ===== TWO-COL LAYOUT (Tour Page) ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  margin-bottom: 40px;
  align-items: start;
}

/* ===== ICON CARDS GRID ===== */
.icon-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* ===== HIGHLIGHTS GRID (Tour Page) ===== */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

/* ===== CONTACT GRID ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* ===== ABOUT GRID ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

/* ===== FLIGHTS GRID ===== */
.flights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

/* ===== FLIGHTS INFO GRID ===== */
.flights-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.info-block {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
}
.info-block h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text);
}
.info-block h3 i {
  color: var(--primary);
  margin-right: 0.5rem;
}
.include-list {
  list-style: none;
}
.include-list li {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.include-list i {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ===== TITLE SECTION (Tour Page) ===== */
.title-section {
  margin-top: 84px;
  padding: 24px 0 8px;
}
.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.title-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* ===== ITINERARY SECTION (Tour Page) ===== */
.itinerary-section {
  margin-bottom: 48px;
}
.itinerary-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.itinerary-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

/* ===== REVIEWS SECTION (Tour Page) ===== */
.reviews-section {
  margin-bottom: 48px;
}
.reviews-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.reviews-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.reviews-more {
  text-align: center;
  margin-top: 24px;
}

/* ===== FAQ SECTION (Tour Page) ===== */
.faq-section {
  margin-bottom: 48px;
}
.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.faq-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* ===========================
   RESPONSIVE — 1024px
   =========================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .packages-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .package-card.featured {
    transform: scale(1.02);
  }
  .package-card.featured:hover {
    transform: scale(1.02) translateY(-2px);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .price-card {
    position: static;
    max-width: 420px;
    margin: 0 auto;
  }
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .flights-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   RESPONSIVE — 768px
   =========================== */
@media (max-width: 768px) {
  .desktop-nav,
  .header-phone {
    display: none;
  }
  .hamburger {
    display: block;
  }
  .mobile-nav {
    display: flex;
  }

  .container {
    padding: 0 16px;
  }

  .stats-bar {
    margin: -24px 16px 0;
    padding: 24px 16px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-item:not(:last-child)::after {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .package-card.featured {
    transform: none;
    order: -1;
  }
  .package-card.featured:hover {
    transform: translateY(-2px);
  }

  /* Homepage timeline mobile */
  .timeline::before {
    left: 20px;
  }
  .timeline-item {
    flex-direction: column;
    padding-left: 52px;
  }
  .timeline-item .tl-dot {
    left: 20px;
    top: 0;
  }
  .timeline-item .tl-left,
  .timeline-item .tl-right {
    width: 100%;
    padding: 0;
    text-align: left;
  }
  .timeline-item:nth-child(even) .tl-left {
    padding-left: 0;
    order: 0;
    text-align: left;
  }
  .timeline-item:nth-child(even) .tl-right {
    padding-right: 0;
    order: 0;
    text-align: left;
  }
  .tl-content .tl-time,
  .tl-content .tl-scene-num {
    display: block;
  }
  .tl-time-side {
    display: none;
  }

  /* Tour page timeline mobile */
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 48px;
  }
  .timeline-content {
    width: 100%;
  }
  .timeline-dot {
    left: 20px;
  }

  /* Gallery horizontal scroll */
  .gallery-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    border-radius: var(--radius);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-item {
    flex: 0 0 85vw;
    height: 240px;
    border-radius: var(--radius);
    scroll-snap-align: start;
  }

  /* Gallery alternate structure mobile */
  .gallery-main {
    flex: 0 0 85vw;
    height: 240px;
    border-radius: var(--radius);
    scroll-snap-align: start;
  }
  .gallery-side {
    display: contents;
  }
  .gallery-thumb {
    flex: 0 0 85vw;
    height: 240px;
    scroll-snap-align: start;
  }

  .icon-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .intro-card {
    padding: 24px 20px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .section {
    padding: 64px 16px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 1.5rem;
  }
  .title-meta {
    gap: 10px;
  }

  .booking-section {
    padding: 28px 20px;
  }
}

/* ===========================
   RESPONSIVE — 480px
   =========================== */
@media (max-width: 480px) {
  .stats-bar {
    padding: 20px 12px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .stat-number {
    font-size: 1.4rem;
  }

  .page-title {
    font-size: 1.3rem;
  }

  .icon-cards-grid {
    grid-template-columns: 1fr;
  }

  .price-spotlight,
  .price-card-spotlight {
    width: 170px;
    height: 170px;
  }
  .price-new,
  .price-amount {
    font-size: 1.7rem;
  }

  .intro-quick-facts,
  .quick-facts {
    flex-direction: column;
    gap: 12px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
  }
  .cta-buttons .btn,
  .cta-buttons .btn-primary,
  .cta-buttons .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}
