/* Mobile home only. The booking widgets keep their own working forms. */
.home-more-services { display: contents; }
.home-page .search-tabs > [data-tab="tours"] { order: 1; }
.home-page .search-tabs > [data-tab="cruises"] { order: 2; }
.home-page .home-more-services > a:first-child { order: 3; }
.home-page .home-more-services > a:nth-child(2) { order: 4; }
.home-page .search-tabs > [data-tab="flights"] { order: 5; }
.home-page .home-more-services > [data-tab="services"] { order: 6; }
.home-page .home-more-services > [data-tab="quiz"] { order: 7; }
.home-page .search-tabs > .tv-fav-in-tabs { order: 9; }
.home-more-toggle, .home-mobile-call, .home-footer-quick, .home-promo-count, .home-review-more { display: none; }

@media (max-width: 768px) {
  .home-page .site-header .header-inner { min-height: 66px; height: 66px; padding-top: 0; padding-bottom: 0; gap: 8px; }
  .home-page .site-header .logo img { width: 134px; height: auto; }
  .home-page .home-mobile-call { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; margin-left: auto; border: 1px solid #ffe0c5; border-radius: 12px; color: var(--orange); background: #fff3e9; }
  .home-page .home-mobile-call svg { width: 20px; height: 20px; }
  .home-page .nav-burger { margin-left: 0; }
  .home-page .mobile-menu { top: 66px; max-height: calc(100dvh - 66px); overflow-y: auto; overscroll-behavior: contain; }
  .home-page .hero { min-height: 320px; padding-top: 100px; padding-bottom: 70px; background-position: center right; }
  .home-page .hero h1 { max-width: 100%; font-size: clamp(28px, 7.8vw, 32px); line-height: 1.1; margin-bottom: 12px; }
  .home-page .hero-subtitle { font-size: 14px; line-height: 1.5; margin-bottom: 0; max-width: 300px; }
  .home-page .search-card-wrap { margin-top: -42px; margin-bottom: 24px; }
  .home-page .search-card { border-radius: 22px; }
  .home-page .search-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 4px; padding: 8px; }
  .home-page .search-tabs > .tab, .home-page .home-more-toggle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 10px 0; min-height: 64px; min-width: 0; border: 0; border-radius: 12px; background: transparent; font-size: 11px; line-height: 1.3; white-space: nowrap; color: #696b70; }
  .home-page .search-tabs > .tab.active, .home-page .home-more-toggle.is-selected, .home-page .home-more-toggle[aria-expanded="true"] { color: var(--orange); background: #fff3e9; }
  .home-page .search-tabs .tab-icon { width: 20px; height: 20px; }
  .home-page .search-tabs > [data-tab="flights"] { order: 3; }
  .home-page .home-more-toggle { order: 4; }
  .home-page .home-more-services { order: 6; }
  .home-page .home-more-services { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 8px 2px 2px; border-top: 1px solid var(--line); }
  .home-page .home-more-services .tab { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px; white-space: normal; font-size: 12px; line-height: 1.4; border: 1px solid var(--line); border-radius: 10px; }
  .home-page .home-more-services .tab.active { background: var(--soft); border-color: var(--orange); }
  .home-page .search-tabs > .tv-fav-in-tabs { order: 9; grid-column: 1 / -1; justify-self: end; margin: 0 4px; padding: 2px 4px; }
  .home-page .search-placeholder.tv-widget-wrap { padding: 12px; }
  .home-page .search-placeholder:not(.tv-widget-wrap) { margin: 12px; padding: 18px 12px; }
  .home-page .section { padding-top: 28px; padding-bottom: 28px; }
  .home-page .section-head { margin-bottom: 18px; gap: 14px; }
  .home-page .section-head h2 { font-size: clamp(25px, 6.8vw, 30px); margin-bottom: 0; }
  .home-page .promos .section-head { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .home-page .promos .section-head h2 { flex: 1 1 210px; }
  .home-page .promos .dest-arrows { align-items: center; gap: 8px; margin-left: auto; }
  .home-page .home-promo-count { display: inline-block; color: var(--muted); font-size: 12px; white-space: nowrap; min-width: 33px; text-align: center; }
  .home-page .promos .dest-arrow { width: 44px; height: 44px; flex-shrink: 0; }
  .home-page .promo-track .promo-card { --card-padding: 16px; padding: var(--card-padding); }
  .home-page .promo-card .promo-media { margin-bottom: 13px; }
  .home-page .promo-card .promo-badge { font-size: 11px; padding: 4px 9px; margin-bottom: 10px; }
  .home-page .promo-card h3 { font-size: 21px; line-height: 1.2; margin-bottom: 9px; }
  .home-page .promo-card p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-size: 14px; line-height: 1.5; margin-bottom: 14px; }
  .home-page .promo-card .promo-foot { padding-top: 12px; gap: 10px; }
  .home-page .promo-term { font-size: 11px; line-height: 1.5; }
  .home-page .promo-link { font-size: 13px; }
  .home-page .review-feature { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--card); }
  .home-page .review-photo { height: 150px; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; }
  .home-page .review-photo + div { padding: 18px; }
  .home-page .review-quote-mark { display: none; }
  .home-page .review-text { font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
  .home-page .review-text.home-review-collapsible:not(.is-expanded) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
  .home-page .home-review-more { display: block; margin: -6px 0 15px; padding: 6px 0; min-height: 36px; color: var(--orange); background: transparent; border: 0; font: inherit; font-size: 13px; text-align: left; }
  .home-page .review-author { font-size: 14px; margin-bottom: 3px; }
  .home-page .review-location { font-size: 12px; }
  .home-page .review-footer { margin-top: 18px; gap: 10px; flex-wrap: wrap; }
  .home-page .reviews-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .home-page .reviews-cta .cta-btn { padding: 12px 8px; min-height: 44px; font-size: 13px; }
  .home-page .home-footer-quick { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 0; }
  .home-page .home-footer-quick a { display: block; margin: 0; font-size: 13px; line-height: 1.6; color: var(--navy); }
  .home-page .home-footer-quick .home-footer-phone { font-size: 21px; font-weight: 600; }
  .home-page .home-footer-quick .home-footer-offices { color: var(--orange); }
  .home-page .footer-grid > .home-footer-contact-column { display: none; }
  .home-page .footer-grid { gap: 0; }
  .home-page .footer-grid > div:first-child { margin-bottom: 14px; }
  .home-page .footer-socials { margin-top: 8px; }
}

/* Without JavaScript, retain access to every service. */
.home-more-services[hidden], .home-promo-count[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .home-page .home-review-more { transition: none; } }
