/* ==========================================================================
   POOJA TRAVELS — responsive layer (mobile-first priorities)
   ========================================================================== */

/* Large laptop */
@media (max-width: 1180px) {
  .pt-header__call { display: none; }
  .pt-nav__link { padding: 8px 10px; font-size: 0.82rem; }
  .pt-header__inner { width: calc(100% - 36px); }
  .pt-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr); gap: 34px; }
  .pt-footer__top { grid-template-columns: 1.5fr 0.8fr 0.9fr 1.1fr; gap: 28px; }
}

/* Tablet / mobile navigation takeover */
@media (max-width: 1100px) {
  .pt-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    width: min(88vw, 380px);
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(165deg, rgba(17, 21, 29, 0.99), rgba(8, 10, 15, 0.995));
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
    transform: translateX(105%);
    transition: transform 0.42s var(--pt-ease);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .pt-nav.is-open { transform: translateX(0); }
  .pt-nav__mobile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .pt-nav__mobile-head .pt-logo__text strong { font-size: 0.92rem; }
  .pt-nav__link {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #D6DBE3;
    font-family: var(--pt-font-head);
    font-size: 0.94rem;
    font-weight: 500;
  }
  .pt-nav__link::after { display: none; }
  .pt-nav__link.is-active { background: rgba(214, 181, 109, 0.1); color: var(--pt-gold-2); }
  .pt-nav__link.is-active::before { content: ""; width: 4px; height: 16px; margin-right: 4px; border-radius: 4px; background: var(--pt-gold); }
  .pt-nav__mobile-cta { display: grid; gap: 9px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .pt-nav__mobile-cta .pt-btn { width: 100%; }
  .pt-nav__mobile-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--pt-muted-2); font-size: 0.7rem; }
  .pt-nav__mobile-note svg { width: 15px; height: 15px; color: var(--pt-gold); }
  .pt-header__actions > .pt-btn { display: none; }
  .pt-header__actions .pt-wa-icon { display: grid; }
  .pt-burger { display: block; }
  .pt-hero { min-height: auto; padding-top: calc(var(--pt-header-h) + 52px); padding-bottom: 58px; }
  .pt-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .pt-hero__content { max-width: 720px; }
  .pt-hero__visual { justify-self: stretch; max-width: 520px; margin-inline: auto; width: 100%; }
  .pt-hero__desc { max-width: 56ch; }
  .pt-hero__bg { background-position: 66% center; }
  .pt-hero__bg::before { background: linear-gradient(180deg, rgba(8, 10, 15, 0.9) 0%, rgba(8, 10, 15, 0.68) 40%, #080A0F 88%), linear-gradient(90deg, rgba(8, 10, 15, 0.72), transparent); }
  .pt-hero__scroll { display: none; }
  .pt-booking-layout { grid-template-columns: 1fr; }
  .pt-summary { position: static; }
  .pt-dash { grid-template-columns: 1fr; padding-top: 18px; }
  .pt-sidebar { position: static; padding: 12px; }
  .pt-sidebar__profile { display: none; }
  .pt-sidebar__nav { display: flex; gap: 5px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .pt-sidebar__nav::-webkit-scrollbar { display: none; }
  .pt-sidebar__nav a, .pt-sidebar__nav button { width: auto; flex: 0 0 auto; white-space: nowrap; padding: 8px 12px; }
  .pt-sidebar__nav .pt-nav-count { display: none; }
  .pt-sidebar__foot { display: none; }
  .pt-admin-shell { grid-template-columns: 1fr; padding-top: 18px; }
  .pt-admin-shell .pt-sidebar__foot { display: block; }
  .pt-admin-shell .pt-sidebar__foot button { width: auto; }
  .pt-stat-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Small laptop / landscape tablet */
@media (max-width: 1024px) {
  .pt-section { padding: clamp(56px, 7vw, 88px) 0; }
  .pt-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .pt-trust__item:nth-child(2) { border-right: 0; }
  .pt-trust__item:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .pt-steps { grid-template-columns: 1fr; gap: 12px; }
  .pt-step:not(:last-child)::after { display: none; }
  .pt-cta__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .pt-cta__actions { width: 100%; }
  .pt-auth { grid-template-columns: 1fr; }
  .pt-auth__visual { min-height: 300px; padding: 28px; }
  .pt-auth__quote { margin-top: auto; padding-top: 40px; }
  .pt-auth__points { display: none; }
  .pt-auth__panel { padding: 44px 20px 60px; }
  .pt-track-layout { grid-template-columns: 1fr; }
  .pt-map-shell--tracking { min-height: 340px; }
  .pt-dash-grid { grid-template-columns: 1fr; }
  .pt-dash__main { order: 1; }
  .pt-dash .pt-sidebar { order: 0; }
  .pt-pagehero__aside { display: none; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .pt-container { width: calc(100% - 36px); }
  .pt-grid--2 { grid-template-columns: 1fr; }
  .pt-split { grid-template-columns: 1fr; gap: 34px; }
  .pt-split--reverse .pt-split__media { order: -1; }
  .pt-section-head { max-width: 100%; }
  .pt-footer__top { grid-template-columns: 1fr 1fr; gap: 30px; padding: 44px 0 34px; }
  .pt-footer__brand { grid-column: 1 / -1; }
  .pt-footer__brand p { max-width: 52ch; }
  .pt-pagehero { padding-top: calc(var(--pt-header-h) + 40px); padding-bottom: 42px; }
  .pt-contact-layout { grid-template-columns: 1fr; }
  .pt-contact-side { grid-template-columns: 1fr 1fr; }
  .pt-auth__visual { display: none; }
  .pt-auth__panel { min-height: 100svh; padding-top: calc(var(--pt-header-h) + 40px); align-items: flex-start; }
  .pt-auth__form { margin-inline: auto; }
  .pt-track-search { margin-top: 0; }
  .pt-track-search form { grid-template-columns: 1fr 1fr; }
  .pt-track-search form .pt-btn { grid-column: 1 / -1; }
  .pt-admin__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pt-trip-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-media-card { aspect-ratio: 4 / 3.4; max-height: 460px; }
}

/* Mobile */
@media (max-width: 768px) {
  .pt-site { --pt-header-h: 70px; }
  .pt-container, .pt-container--wide { width: calc(100% - 32px); }
  .pt-main { padding-bottom: 86px; }
  .pt-header { height: var(--pt-header-h); background: rgba(8, 10, 15, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(255, 255, 255, 0.06); }
  .pt-header.is-scrolled { height: 62px; background: rgba(8, 10, 15, 0.92); }
  .pt-logo__mark { width: 38px; height: 38px; }
  .pt-logo__text strong { font-size: 0.92rem; letter-spacing: 0.14em; }
  .pt-logo__text span { font-size: 0.5rem; letter-spacing: 0.3em; margin-top: 4px; }
  .pt-header__inner { width: calc(100% - 28px); gap: 10px; }
  .pt-header__actions { gap: 6px; }
  .pt-wa-icon { width: 39px; height: 39px; }
  .pt-burger { width: 41px; height: 41px; }
  .pt-bottom-nav { display: block; }
  .pt-wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); right: 14px; padding: 9px; border-radius: 50%; }
  .pt-wa-float > span:not(.pt-wa-float__icon):not(.pt-wa-float__pulse) { display: none; }
  .pt-wa-float__icon { width: 34px; height: 34px; background: transparent; color: #6FE79B; }
  .pt-wa-float__icon svg { width: 22px; height: 22px; }
  .pt-footer { padding-bottom: 10px; }

  .pt-hero { padding-top: calc(var(--pt-header-h) + 40px); padding-bottom: 46px; }
  .pt-hero__title { font-size: clamp(2.35rem, 10.5vw, 3.3rem); letter-spacing: -0.04em; }
  .pt-hero__sub { font-size: 1rem; }
  .pt-hero__desc { font-size: 0.9rem; margin-bottom: 24px; }
  .pt-hero__buttons { gap: 9px; }
  .pt-hero__buttons .pt-btn { flex: 1 1 100%; }
  .pt-hero__buttons .pt-btn--ghost, .pt-hero__buttons .pt-btn--wa { flex: 1 1 calc(50% - 5px); }
  .pt-hero__buttons .pt-btn--wa { min-height: 48px; padding-inline: 12px; }
  .pt-hero__note { gap: 7px 16px; font-size: 0.7rem; }
  .pt-hero__badge { display: none; }
  .pt-quick { padding: 20px; border-radius: 22px; }
  .pt-quick__row { grid-template-columns: 1fr 1fr; }
  .pt-quick__footer { flex-direction: column; align-items: stretch; }
  .pt-quick__footer .pt-btn { width: 100%; }
  .pt-quick__price { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .pt-quick__price strong { display: inline; }

  .pt-trust__item { padding: 15px 14px; gap: 10px; }
  .pt-trust__icon { width: 34px; height: 34px; border-radius: 9px; }
  .pt-trust__item strong { font-size: 0.77rem; }
  .pt-trust__item span { font-size: 0.64rem; }
  .pt-section { padding: 54px 0; }
  .pt-section-title { font-size: clamp(1.65rem, 7vw, 2.2rem); }
  .pt-section-sub { font-size: 0.9rem; }
  .pt-eyebrow { font-size: 0.65rem; }
  .pt-card { padding: 22px; }
  .pt-fleet-card { padding: 0; }
  .pt-fleet-card__body { padding: 0 18px 18px; }
  .pt-fleet-card__title h3 { font-size: 1.08rem; }
  .pt-fleet-card__desc { min-height: 0; font-size: 0.78rem; }
  .pt-grid { gap: 14px; }
  .pt-steps { gap: 10px; }
  .pt-step { padding: 22px; }
  .pt-coverage__panel { padding: 24px; }
  .pt-map-art { max-width: 100%; aspect-ratio: 1 / 0.9; }
  .pt-media-card { max-height: 380px; border-radius: 20px; }
  .pt-cta { padding: 28px 22px; border-radius: 22px; }
  .pt-cta__actions .pt-btn { flex: 1 1 100%; }
  .pt-faq__q { font-size: 0.84rem; padding: 16px; }
  .pt-faq__a p { padding: 0 16px 17px; }
  .pt-footer__top { grid-template-columns: 1fr; gap: 26px; padding: 38px 0 28px; }
  .pt-footer__brand { grid-column: auto; }
  .pt-footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 18px; }
  .pt-footer__bottom-links { gap: 14px; }
  .pt-footer__links { grid-template-columns: 1fr 1fr; gap: 8px 14px; }
  .pt-pagehero { padding-top: calc(var(--pt-header-h) + 30px); padding-bottom: 34px; }
  .pt-pagehero h1 { font-size: clamp(1.8rem, 7.5vw, 2.5rem); }
  .pt-pagehero p { font-size: 0.86rem; }
  .pt-crumb { font-size: 0.66rem; margin-bottom: 15px; }

  .pt-form-row { grid-template-columns: 1fr; gap: 0; }
  .pt-form-row--3 { grid-template-columns: 1fr; }
  .pt-input, .pt-select { min-height: 48px; }
  .pt-trip-grid { grid-template-columns: repeat(2, 1fr); }
  .pt-trip-option label { padding: 10px; font-size: 0.72rem; }
  .pt-booking-card { padding: 18px; }
  .pt-form-section { padding-bottom: 22px; margin-bottom: 22px; }
  .pt-summary__head, .pt-summary__body { padding-left: 18px; padding-right: 18px; }
  .pt-summary__actions .pt-btn { width: 100%; }
  .pt-summary { margin-top: 2px; }
  .pt-vehicle-option label { padding: 10px; gap: 10px; }
  .pt-vehicle-option__img { width: 56px; height: 40px; }
  .pt-vehicle-option__price { display: none; }
  .pt-request-note { font-size: 0.66rem; }

  .pt-track-search { padding: 14px; }
  .pt-track-search form { grid-template-columns: 1fr; }
  .pt-track-search form .pt-btn { width: 100%; }
  .pt-track-status { padding: 20px 18px; }
  .pt-track-status__top { flex-direction: column; gap: 10px; }
  .pt-map-shell--tracking { min-height: 280px; }
  .pt-detail-grid { grid-template-columns: 1fr 1fr; }

  .pt-dash { padding-top: 14px; gap: 14px; }
  .pt-dash__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .pt-dash__head-actions { width: 100%; }
  .pt-dash__head-actions .pt-btn { flex: 1; }
  .pt-stat-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .pt-stat { padding: 15px; }
  .pt-stat strong { font-size: 1.35rem; }
  .pt-panel { padding: 18px; }
  .pt-quick-actions { grid-template-columns: 1fr; }
  .pt-booking-row { grid-template-columns: 1fr auto; gap: 10px; }
  .pt-booking-row__img { display: none; }
  .pt-booking-row__right { align-items: flex-end; }
  .pt-booking-row__route { font-size: 0.76rem; }
  .pt-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .pt-tabs::-webkit-scrollbar { display: none; }
  .pt-tabs button { flex: 0 0 auto; }
  .pt-table { min-width: 680px; }
  .pt-admin__head h1 { font-size: 1.3rem; }
  .pt-admin-shell { gap: 14px; }
  .pt-admin-shell .pt-sidebar__nav { overflow-x: auto; }

  .pt-auth__panel { padding: calc(var(--pt-header-h) + 30px) 16px 40px; }
  .pt-auth__card { padding: 22px; }
  .pt-auth__form > p { margin-bottom: 22px; }

  .pt-contact-side { grid-template-columns: 1fr; }
  .pt-contact-form { padding: 20px; }
  .pt-owner-card { padding: 15px; }
  .pt-prose h2 { font-size: 1.15rem; }
  .pt-prose p, .pt-prose li { font-size: 0.84rem; }
  .pt-modal { padding: 12px; align-items: flex-end; }
  .pt-modal__panel { width: 100%; max-height: 88svh; padding: 21px; border-radius: 22px 22px 18px 18px; }
  .pt-modal__actions .pt-btn { flex: 1; }
  .pt-toast-wrap { top: 78px; right: 12px; width: calc(100vw - 24px); }
  .pt-driver-actions { grid-template-columns: 1fr; }
  .pt-driver-actions .pt-btn { width: 100%; }
  .pt-driver-head { flex-wrap: wrap; }
  .pt-map-tools { top: 9px; right: 9px; }
}

/* Narrow phones */
@media (max-width: 480px) {
  .pt-container, .pt-container--wide { width: calc(100% - 26px); }
  .pt-hero__title { font-size: clamp(2.15rem, 11vw, 2.8rem); }
  .pt-hero__buttons .pt-btn--ghost, .pt-hero__buttons .pt-btn--wa { flex: 1 1 100%; }
  .pt-quick__row { grid-template-columns: 1fr; }
  .pt-quick { padding: 17px; }
  .pt-trip-option label { font-size: 0.68rem; padding: 9px 8px; }
  .pt-trip-option label span { display: none; }
  .pt-trip-grid { gap: 6px; }
  .pt-filter button { padding: 8px 13px; font-size: 0.74rem; }
  .pt-stat-grid { grid-template-columns: 1fr 1fr; }
  .pt-booking-row { padding: 12px; }
  .pt-booking-row__right strong { font-size: 0.78rem; }
  .pt-section-title { font-size: 1.55rem; }
  .pt-map-art__pin { font-size: 0.58rem; }
  .pt-map-art__pin--hub { font-size: 0.64rem; }
  .pt-pagehero h1 { font-size: 1.72rem; }
  .pt-modal__actions { flex-direction: column-reverse; }
  .pt-modal__actions .pt-btn { width: 100%; }
}

/* Very small / reduced data */
@media (max-width: 360px) {
  .pt-site { font-size: 15px; }
  .pt-header__actions .pt-wa-icon { display: none; }
  .pt-hero__title { font-size: 2rem; }
  .pt-trust__grid { grid-template-columns: 1fr; }
  .pt-trust__item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .pt-trust__item:last-child { border-bottom: 0; }
}

/* Hover-capable devices only get the pointer glow */
@media (hover: none), (pointer: coarse) {
  .pt-mouse-glow { display: none; }
  .pt-card:hover { transform: none; }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pt-site *, .pt-site *::before, .pt-site *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .pt-reveal { opacity: 1; transform: none; }
  .pt-hero__bg { animation: none; }
}

/* WordPress admin bar offset (only when body has admin-bar) */
body.admin-bar .pt-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .pt-header { top: 46px; }
  body.admin-bar .pt-nav { padding-top: 70px; }
}

/* Print */
@media print {
  .pt-header, .pt-footer, .pt-bottom-nav, .pt-wa-float, .pt-mouse-glow,
  .pt-toast-wrap, .pt-hero__scroll, .pt-summary__actions { display: none !important; }
  .pt-site { background: #fff; color: #111; }
  .pt-site::before, .pt-site::after { display: none; }
  .pt-site h1, .pt-site h2, .pt-site h3, .pt-site p, .pt-site strong, .pt-site span { color: #111 !important; }
  .pt-card, .pt-glass, .pt-pagehero { border: 1px solid #ddd; box-shadow: none; background: #fff; }
}
