/* =============================================================================
   responsive.css — Skytree Travels
   Mobile-first responsive layouts · 2025
   Brand: --primary: #176B55 | --accent: #E96C4B
   ============================================================================= */

/* ─── Dropdown navigation (desktop only) ─────────────────────────────────── */
.primary-nav__item { position: relative; }

.nav-caret {
  margin-left: .3rem;
  color: var(--muted);
  font-size: .7rem;
  transition: transform .2s;
}

.has-children:hover .nav-caret,
.has-children:focus-within .nav-caret { transform: rotate(180deg); }

.primary-nav__dropdown {
  position: absolute;
  top: calc(100% + .6rem);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 220px;
  margin: 0;
  padding: .6rem;
  border-radius: var(--radius); /* 24px */
  background: #fff;
  box-shadow: 0 20px 50px rgba(23,40,33,.15), 0 0 0 1px rgba(221,228,222,.6);
  list-style: none;
  border: 1px solid rgba(221,228,222,.5);
  z-index: 200;
}

.has-children:hover > .primary-nav__dropdown,
.has-children:focus-within > .primary-nav__dropdown {
  display: grid;
  animation: dropdown-in .2s var(--ease-standard) both;
}

@keyframes dropdown-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.primary-nav__dropdown .primary-nav__link {
  padding: .5rem .9rem;
  border-radius: 12px;
  font-size: .875rem;
  min-height: auto;
}

.primary-nav__dropdown .primary-nav__link:hover {
  background: rgba(23,107,85,.08);
  color: var(--primary);
}

.primary-nav__dropdown .primary-nav__link::after { display: none; }

/* ─── Large screens (≥1536px) ─────────────────────────────────────────────── */
@media (min-width: 1536px) {
  :root { --container: 1380px; }
}

/* ─── Laptop / mid (≤1199px) ──────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .site-header__inner { gap: .75rem; }
  .site-header__phone span:last-child { display: none; }
  .primary-nav__list { gap: .7rem; }
  .primary-nav__link { font-size: .82rem; }

  /* Footer */
  .site-footer__main { grid-template-columns: 1.2fr 1fr 1fr; gap: 2.5rem; }
  .site-footer__newsletter { grid-column: 2 / 4; }

  /* Package detail */
  .package-detail-layout { gap: 2rem; }

  /* Itinerary */
  .itinerary-timeline { padding-left: 1.5rem; }
}

/* ─── Tablet / mobile nav (≤899px) ───────────────────────────────────────── */
@media (max-width: 899px) {
  :root { --header-height: 72px; }

  /* ── Topbar ── */
  .topbar__inner { justify-content: center; }
  .topbar__contact { flex-wrap: wrap; justify-content: center; gap: .25rem .6rem; }
  .topbar__social { display: none; }

  /* ── Site header ── */
  .site-header__inner {
    justify-content: space-between;
    gap: .75rem;
    flex-wrap: nowrap;
  }
  .brand {
    order: 1;
    flex-shrink: 0;
  }
  .site-header__actions {
    margin-left: auto;
    margin-right: .25rem;
    order: 2;
    flex-shrink: 0;
  }
  .site-header__phone { display: none; }

  /* ── Hamburger / menu toggle (In the far right corner) ── */
  .menu-toggle {
    order: 3;
    margin-left: 0;
    position: relative;
    z-index: 1010;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,.94);
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: background .2s, border-color .2s;
    flex-shrink: 0;
  }

  .menu-toggle:hover {
    border-color: var(--primary);
    background: rgba(23,107,85,.06);
  }

  .menu-toggle__icon,
  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s;
  }

  .menu-toggle__icon { position: relative; }

  .menu-toggle__icon::before,
  .menu-toggle__icon::after {
    position: absolute;
    left: 0;
    content: '';
  }

  .menu-toggle__icon::before { top: -6px; }
  .menu-toggle__icon::after  { top:  6px; }

  /* Animated X state */
  .menu-toggle[aria-expanded=true] .menu-toggle__icon { background: transparent; }
  .menu-toggle[aria-expanded=true] .menu-toggle__icon::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded=true] .menu-toggle__icon::after  { top: 0; transform: rotate(-45deg); }

  /* ── Body locked when menu open ── */
  body.menu-is-open {
    overflow: hidden;
  }
  body.menu-is-open .site-header {
    z-index: 2500 !important;
  }
  body.menu-is-open .mobile-bottom-bar {
    display: none !important;
  }
  body.menu-is-open .global-actions {
    display: none !important;
  }

  /* ── Slide-in drawer (Skytree Travels Crisp Mobile Drawer) ── */
  .primary-nav {
    position: fixed !important;
    z-index: 2501 !important;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.25rem 1.25rem 2.5rem;
    background: #ffffff !important;
    box-shadow: -12px 0 45px rgba(5, 46, 68, 0.22);
    transform: translateX(105%);
    transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex !important;
    flex-direction: column;
  }

  .primary-nav.is-open {
    transform: translateX(0) !important;
  }

  /* Drawer Top Bar */
  .primary-nav__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #EDF2F7;
    flex-shrink: 0;
  }

  .primary-nav__brand {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .primary-nav__brand .brand__logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
  }

  .primary-nav__brand .brand__name {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.15rem;
    font-weight: 800;
    color: #052E44;
  }

  /* Close button inside the mobile drawer */
  .menu-close {
    position: static;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #F1F5F9;
    color: #052E44;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
    flex-shrink: 0;
  }

  .menu-close:hover {
    background: #E2E8F0;
    color: #FF5A36;
    transform: rotate(90deg);
  }

  /* Nav list in drawer */
  .primary-nav__list {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .primary-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: .75rem 1rem;
    border-radius: 12px;
    border-bottom: 1px solid #F8FAFC;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: #052E44;
    text-decoration: none;
    transition: all .2s ease;
    animation: none;
  }

  .primary-nav__link:hover {
    background: #F8FAFC;
    color: #FF5A36;
    padding-left: 1.25rem;
  }

  .primary-nav__link[aria-current="page"] {
    background: rgba(255, 90, 54, 0.08);
    color: #FF5A36;
    font-weight: 700;
    border-left: 3px solid #FF5A36;
    padding-left: 1rem;
  }

  .primary-nav__link::after { display: none !important; }

  /* Dropdown resets inside drawer */
  .primary-nav__dropdown {
    position: static;
    display: grid;
    min-width: 0;
    padding: 0 .8rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    left: auto;
  }

  .primary-nav__dropdown .primary-nav__link {
    min-height: 42px;
    padding-inline: .4rem;
    font-size: .92rem;
    border-bottom-style: dashed;
    opacity: .85;
  }

  /* Mobile contact block inside drawer */
  .primary-nav__mobile-contact {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #EDF2F7;
    flex-shrink: 0;
  }

  .primary-nav__mobile-contact .button--outline {
    border: 1.5px solid #052E44;
    color: #052E44;
    background: transparent;
    font-weight: 700;
    font-size: .88rem;
    border-radius: 999px;
    padding: .75rem 1rem;
    text-align: center;
    text-decoration: none;
    transition: all .2s ease;
  }

  .primary-nav__mobile-contact .button--outline:hover {
    background: #052E44;
    color: #ffffff;
  }

  .primary-nav__mobile-contact .button--accent {
    background: linear-gradient(135deg, #FF5A36, #FF7E5F);
    color: #ffffff;
    font-weight: 700;
    font-size: .92rem;
    border-radius: 999px;
    border: none;
    padding: .8rem 1rem;
    box-shadow: 0 4px 16px rgba(255, 90, 54, 0.35);
    cursor: pointer;
  }

  /* ── Footer tablet ── */
  .site-footer__main { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
  .site-footer__newsletter { grid-column: auto; }

  /* ── Content grids ── */
  .package-grid           { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .package-grid--home     { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .destination-grid       { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .services-grid          { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .steps-grid             { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats-grid             { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .blog-grid              { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .team-grid              { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-grid           { grid-template-columns: repeat(3, minmax(0,1fr)); }

  /* Package detail — stack sidebar below content */
  .package-detail-layout {
    grid-template-columns: 1fr;
  }
  .booking-card {
    position: static;
    width: 100%;
  }

  /* Itinerary timeline */
  .itinerary-section { order: 0; }

  /* About / secondary page splits */
  .about-grid        { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-section__grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Packages layout sidebar */
  .packages-layout   { grid-template-columns: 1fr; }
  .packages-sidebar  { order: -1; }

  /* Pagination — slightly compact */
  .pagination__list { gap: .3rem; }
  .pagination__link { min-width: 36px; min-height: 36px; font-size: .85rem; }
}

/* ─── Small mobile (<600px) ──────────────────────────────────────────────── */
@media (max-width: 599px) {
  :root { --header-height: 68px; }

  .container { width: min(calc(100% - 1.5rem), var(--container)); }

  /* ── Topbar ── */
  .topbar { font-size: .71rem; }
  .topbar__inner { min-height: 32px; }

  /* ── Header (Clean, spacious mobile branding with compact logo) ── */
  .site-header__inner { 
    gap: .75rem; 
    padding-inline: 12px;
  }
  .site-header .brand {
    max-width: calc(100% - 54px);
    gap: .5rem;
    align-items: center;
  }
  .site-header .brand__logo  { 
    width: 34px !important; 
    height: 34px !important; 
    max-width: 34px !important; 
    max-height: 34px !important; 
    flex-shrink: 0;
  }
  .site-header .brand__name  { max-width: 140px; font-size: .95rem; }
  .site-header .brand__mark  { width: 34px; height: 34px; border-radius: 10px; font-size: 1rem; }
  .site-header .brand__title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #052E44;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header .brand__slogan {
    font-size: 0.67rem;
    font-weight: 500;
    line-height: 1.2;
    color: #64748B;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* On mobile phones, hide crowded header CTA button — sticky bottom bar already has Enquire Now */
  .site-header__actions { display: none !important; }
  .site-header__cta { display: none !important; }
  .menu-toggle  { 
    width: 40px; 
    height: 40px; 
    border-radius: 11px; 
    margin-left: auto; 
    flex-shrink: 0;
  }

  /* ── Hero ── */
  .hero-slide__content {
    padding-block: 6rem 12rem;
    text-align: center;
  }

  .hero-slide__content h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    margin-inline: auto;
  }

  .hero-slide__content > p:not(.eyebrow) {
    font-size: clamp(1rem, 3.5vw, 1.15rem);
    margin-inline: auto;
  }

  .hero-slide__actions {
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
  }

  .hero-slide__actions .button { width: 100%; }

  /* ── Hero search (stacked full-width) ── */
  .hero-search {
    position: relative;
    bottom: auto;
    margin-top: -3rem;
    width: min(calc(100% - 1.5rem), var(--container));
    grid-template-columns: 1fr;
    border-radius: var(--radius);
    gap: 0;
  }

  .hero-search__field {
    border-right: none;
    border-bottom: 1px solid rgba(221,228,222,.6);
  }

  .hero-search__field:last-of-type { border-bottom: none; }

  .hero-search > .button {
    margin: .75rem;
    border-radius: var(--radius);
    width: calc(100% - 1.5rem);
  }

  /* ── Hero slider controls ── */
  .hero-slider__controls { bottom: 14rem; }

  /* ── Trust strip — horizontal scroll ── */
  .trust-strip { overflow: hidden; }

  .trust-strip__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: .5rem 1rem;
    gap: .75rem;
  }

  .trust-strip__grid::-webkit-scrollbar { display: none; }

  .trust-item {
    flex: 0 0 200px;
    border-right: none;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.25rem;
    scroll-snap-align: start;
  }

  /* ── Destination ── */
  .destination-grid { grid-template-columns: 1fr; }
  .destination-card { min-height: 280px; }
  .destination-card:nth-child(3n+2) { min-height: 280px; }

  /* ── Packages ── */
  .package-grid       { grid-template-columns: 1fr; }
  .package-grid--home { grid-template-columns: 1fr; }

  /* Package tabs — scrollable pill chips */
  .package-tabs {
    justify-content: flex-start;
    margin: -.5rem 0 1.5rem;
    padding: .3rem 1rem;
    margin-inline: -1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .package-tabs::-webkit-scrollbar { display: none; }

  .package-tab { flex-shrink: 0; scroll-snap-align: start; }

  /* Packages layout */
  .packages-layout   { grid-template-columns: 1fr; }
  .packages-sidebar  { order: -1; }

  /* ── Package detail ── */
  .package-detail-layout { grid-template-columns: 1fr; }
  .booking-card { position: static; border-radius: var(--radius); }

  /* Package gallery thumbnails */
  .package-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }

  /* Itinerary — full-width accordion on mobile */
  .itinerary-timeline { padding-left: 1rem; }
  .itinerary-day { padding-left: 1rem; }
  .itinerary-day__marker { left: -1rem; width: 28px; height: 28px; font-size: .72rem; }

  /* ── Services ── */
  .services-grid { grid-template-columns: 1fr; }

  /* ── Steps / How it works ── */
  .steps-grid { grid-template-columns: 1fr; }
  .step-item { flex-direction: row; text-align: left; gap: 1rem; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-item strong { font-size: clamp(2.5rem, 8vw, 4rem); }

  /* ── Testimonials ── */
  .testimonials-grid { /* handled by marquee on mobile */ }

  /* ── Gallery ── */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .gallery-item--featured { grid-column: auto; grid-row: auto; }

  /* Gallery lightbox — full screen on mobile */
  .lightbox { padding: 0; }
  .lightbox__dialog {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    border-radius: 0;
    margin: 0;
  }
  .lightbox__img { max-height: calc(100dvh - 80px); object-fit: contain; }
  .lightbox__caption { padding: .75rem 1rem; font-size: .85rem; }
  .lightbox__close { top: .75rem; right: .75rem; }
  .lightbox__prev,
  .lightbox__next { top: 50%; transform: translateY(-50%); }
  .lightbox__prev { left: .25rem; }
  .lightbox__next { right: .25rem; }

  /* ── Blog ── */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-post-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: -1; }

  /* ── Split section ── */
  .split-section__grid { grid-template-columns: 1fr; gap: 2rem; }

  /* ── Offer / promo banner ── */
  .offer-banner__grid { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .offer-banner__actions { justify-content: center; }

  /* ── FAQ ── */
  .faq-grid { grid-template-columns: 1fr; }

  /* ── Partners / logos ── */
  .partners-grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; }

  /* ── Team grid ── */
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* ── About / secondary page grids ── */
  .about-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* ── Footer — single column with collapsible sections ── */
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 3.5rem 2rem;
  }

  .site-footer__links-col summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    cursor: pointer;
    padding-block: .85rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .site-footer__links-col summary::-webkit-details-marker { display: none; }

  .site-footer__links-col summary::after {
    content: '+';
    font-size: 1.1rem;
    color: rgba(255,255,255,.5);
    transition: transform .2s;
  }

  .site-footer__links-col[open] summary::after { content: '−'; }

  .site-footer__links-col ul { padding-top: .75rem; padding-bottom: .5rem; }

  .site-footer__about      { margin-bottom: 2rem; }
  .site-footer__newsletter { margin-top: 1.5rem; }

  .site-footer__bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.2rem;
    gap: .75rem;
  }

  .site-footer__bottom nav ul { gap: .5rem 1rem; }

  /* ── Forms ── */
  .form__grid             { grid-template-columns: 1fr; }
  .form__field--full      { grid-column: auto; }
  .input-group            { align-items: stretch; flex-direction: column; }
  .contact-form .form__grid { grid-template-columns: 1fr; }

  /* ── Cookie consent ── */
  .cookie-consent {
    right: .6rem;
    bottom: .6rem;
    left: .6rem;
    align-items: stretch;
    flex-direction: column;
    gap: .85rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius);
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent .button { padding: .65rem .6rem; font-size: .79rem; }

  /* ── Floating action buttons (On mobile, hide floating whatsapp because bottom bar already has it) ── */
  .floating-call { display: none !important; }
  .floating-whatsapp { display: none !important; }
  .floating-whatsapp__label { display: none !important; }

  .global-actions {
    right: 14px !important;
    bottom: 74px !important; /* Floats safely above the 60px mobile action bar */
    left: auto !important;
    gap: .5rem;
    z-index: 1400 !important;
  }

  .global-actions__buttons { gap: .5rem; }

  .floating-call,
  .floating-whatsapp,
  .floating-enquiry {
    width: auto;
    min-height: 52px;
    padding: .6rem .85rem;
    font-size: .85rem;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    min-height: 42px;
    font-size: 1.15rem;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(5, 46, 68, 0.22);
    opacity: 0.92;
  }

  /* ── Modal ── */
  .modal { padding: .6rem; }

  .modal__dialog {
    max-height: 95vh;
    padding: 1.75rem 1.25rem 2rem;
    border-radius: var(--radius);
  }

  .modal__close { top: .75rem; right: .75rem; }

  /* ── Section headings ── */
  .section__heading { margin-bottom: 2rem; }

  /* ── Page banner ── */
  .page-banner { padding-block: 5rem 2rem; }
  .page-banner h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); }

  /* ── Breadcrumb ── */
  .breadcrumb { font-size: .75rem; }
  .breadcrumb__item:not(:last-child):not(:first-child) { display: none; } /* collapse middle crumbs */

  /* ── Pagination — simplified on mobile ── */
  .pagination__list { gap: .25rem; }
  .pagination__link {
    min-width: 36px;
    min-height: 36px;
    font-size: .82rem;
    padding: .4rem .5rem;
  }
  /* Hide numbered pages, keep prev/next + current */
  .pagination__item:not(.pagination__item--prev):not(.pagination__item--next):not(.pagination__item--active):not(.pagination__item--ellipsis) {
    display: none;
  }
}

/* ─── Mobile bottom navigation bar (<600px) ──────────────────────────────── */
@media (max-width: 599px) {
  .mobile-bottom-nav {
    position: fixed;
    z-index: 900;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(23,40,33,.1);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .mobile-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    padding: .55rem .25rem;
    color: var(--muted);
    font-size: .65rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .mobile-bottom-nav__item.is-active,
  .mobile-bottom-nav__item:hover { color: var(--primary); }

  .mobile-bottom-nav__icon { font-size: 1.3rem; line-height: 1; }

  /* Push page content above bottom nav */
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0)); }

  /* Move floating actions above bottom nav */
  .global-actions { bottom: calc(70px + env(safe-area-inset-bottom, 0)); }
}

/* ─── Very small screens (≤375px) ────────────────────────────────────────── */
@media (max-width: 375px) {
  .hero-slide__content h1 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .stats-grid     { grid-template-columns: 1fr; }
  .gallery-grid   { grid-template-columns: 1fr; }
  .partners-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-grid      { grid-template-columns: 1fr; }
  .package-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Page-specific: Package detail ──────────────────────────────────────── */
/*
   Already handled above in the 599px block.
   These rules ensure correctness across all breakpoints.
*/

/* Booking card sticky on medium screens */
@media (min-width: 900px) {
  .booking-card {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    align-self: start;
  }
}

/* Package tabs — natural wrap on tablet */
@media (min-width: 600px) and (max-width: 899px) {
  .package-tabs { flex-wrap: wrap; gap: .5rem; }
}

/* Itinerary — vertical timeline connector */
@media (min-width: 600px) {
  .itinerary-timeline { padding-left: 2rem; }
  .itinerary-day { padding-left: 1.5rem; }
  .itinerary-day__marker { left: -2rem; }
}

/* ─── Page-specific: Secondary pages (About, Contact, etc.) ──────────────── */

/* About vision/mission two-up */
@media (min-width: 900px) {
  .about-grid         { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .about-grid--wide   { grid-template-columns: 1.2fr 1fr; }
  .about-grid--reverse > :first-child { order: 2; }
  .contact-grid       { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}

/* Values / why-us strip */
@media (max-width: 599px) {
  .values-grid  { grid-template-columns: 1fr; gap: 1.25rem; }
  .awards-grid  { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .values-grid  { grid-template-columns: repeat(2, 1fr); }
  .awards-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .values-grid  { grid-template-columns: repeat(4, 1fr); }
  .awards-grid  { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Gallery lightbox (full screen on mobile — additional guards) ────────── */
@media (max-width: 899px) {
  .lightbox__dialog {
    border-radius: 0;
    padding: 0;
  }

  .lightbox__controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .75rem 1rem;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }

  .lightbox__counter { color: #fff; font-size: .85rem; }
}

/* ─── Pagination — additional compact helpers ─────────────────────────────── */
@media (min-width: 600px) and (max-width: 899px) {
  .pagination__list { gap: .35rem; }
  .pagination__link { min-width: 38px; min-height: 38px; font-size: .88rem; }
}

/* ─── Print styles ────────────────────────────────────────────────────────── */
@media print {
  .topbar,
  .menu-toggle,
  .site-header__cta,
  .site-header__actions,
  .primary-nav,
  .hero-slider__controls,
  .floating-call,
  .floating-whatsapp,
  .global-actions,
  .back-to-top,
  .mobile-bottom-nav,
  .cookie-consent,
  .modal { display: none !important; }

  .site-header { box-shadow: none; border-bottom: 1px solid #ccc; }

  .package-detail-layout,
  .packages-layout,
  .blog-post-layout { grid-template-columns: 1fr; }

  .booking-card { position: static; box-shadow: none; border: 1px solid #ccc; }

  a[href]::after { content: ' (' attr(href) ')'; font-size: .75em; color: #555; }
  a[href^="#"]::after,
  a[href^="javascript"]::after { content: ''; }
}

/* ==========================================================================
   Skytree Travels MOBILE PHONE BOTTOM ACTION BAR
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .site-header .brand__logo {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    flex-shrink: 0;
  }
  .site-header .brand__title {
    font-size: 1.15rem;
  }
  .site-header .brand__slogan {
    font-size: 0.70rem;
  }
  .mobile-bottom-bar {
    position: fixed;
    z-index: 1500;
    bottom: 0;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    background: #ffffff;
    border-top: 1px solid #E2E8F0;
    box-shadow: 0 -4px 20px rgba(5, 46, 68, 0.12);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .mobile-bottom-bar__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    min-height: 58px;
    padding: .45rem .6rem;
    color: #052E44;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    border: 0;
    border-right: 1px solid #EDF2F7;
    background: #ffffff;
    cursor: pointer;
    transition: background .2s ease;
  }

  .mobile-bottom-bar__btn:active {
    background: #F8FAFC;
  }

  .mobile-bottom-bar__btn .m-icon {
    font-size: 1.15rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-bottom-bar__btn--whatsapp {
    color: #25D366;
  }

  .mobile-bottom-bar__btn--whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .mobile-bottom-bar__btn--enquire {
    background: linear-gradient(135deg, #FF5A36, #FF7E5F);
    color: #ffffff;
    border-right: none;
    font-size: .84rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }

  .mobile-bottom-bar__btn--enquire:active {
    background: #E04826;
  }

  .mobile-bottom-bar__btn--enquire .m-icon {
    color: #FFF275;
  }

  body {
    padding-bottom: calc(60px + env(safe-area-inset-bottom, 0));
  }

  .global-actions {
    bottom: calc(70px + env(safe-area-inset-bottom, 0)) !important;
  }
}
