/* Amritsar Miles — Yellow & White taxi theme */

:root {
  --yellow: #FFC107;
  --yellow-dark: #F9A825;
  --yellow-light: #FFF8E1;
  --black: #1A1A1A;
  --gray-700: #424242;
  --gray-500: #757575;
  --gray-200: #EEEEEE;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: 'DM Sans', system-ui, sans-serif;
  --header-h: 72px;
  --sticky-bar-h: 64px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  padding-bottom: var(--sticky-bar-h);
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

@media (max-width: 899px) {
  .container {
    width: 100%;
    padding-inline: 0.75rem;
  }

  .section {
    padding-inline: 0;
  }

  .section .container {
    padding-inline: 0.75rem;
  }

  .slider--routes,
  .slider--tours,
  .slider--packages {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
    width: calc(100% + 1.5rem);
  }

  .slider-frame {
    gap: 0;
    position: relative;
  }

  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  }

  .slider--tours .slider-arrow {
    background: rgba(30, 30, 30, 0.85);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
  }

  .slider-arrow--prev {
    left: 4px;
  }

  .slider-arrow--next {
    right: 4px;
  }

  .slider-arrow:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.04);
  }

  .slider-viewport {
    flex: 1;
    padding-inline: 0;
  }

  .slider-track {
    gap: 0.75rem;
    padding-inline: 0.5rem;
  }

  .slider--routes .slider-track .route-card,
  .slider--tours .slider-track .tour-card,
  .slider--packages .slider-track .package-card {
    flex: 0 0 calc(100% - 1rem);
    max-width: none;
  }

  .route-card--compact .route-tags {
    display: none;
  }

  .package-card--minimal .package-route,
  .package-card--minimal .package-itinerary,
  .package-card--minimal .package-card-desc {
    display: none;
  }

  .package-card--minimal .package-card-header {
    padding: 1rem 1.1rem;
  }

  .package-card--minimal .package-card-body {
    padding: 0 1.1rem 1.1rem;
  }

  .package-card--minimal .package-price {
    font-size: 1.45rem;
  }

  .tour-card--compact {
    padding: 1.15rem;
  }

  .tour-card--compact .tour-route-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.5rem;
  }

  .tour-card--compact h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .tour-card--compact .tour-stats {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
  }

  .tour-card--compact .tour-price {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
}

/* Route / tour / package cards — links */
.route-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.card-more-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--yellow-dark);
}

.card-more-link--light {
  color: var(--yellow);
}

.route-card h3 {
  margin: 0;
}

.tour-card-main h3 a {
  color: var(--yellow);
  text-decoration: none;
}

.section-cta--inline {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Hub & detail pages */
.hub-page {
  padding: 1.5rem 0 3rem;
}

.hub-intro {
  color: var(--gray-700);
  margin-bottom: 2rem;
  max-width: 560px;
}

.hub-group {
  margin-bottom: 2.5rem;
}

.hub-group h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

@media (max-width: 899px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.detail-hero {
  padding: 1.5rem 0;
}

.detail-hero--route {
  background: var(--yellow-light);
}

.detail-hero--tour {
  background: var(--black);
  color: var(--white);
}

.detail-hero--tour .detail-meta,
.detail-hero--tour .detail-price small {
  color: rgba(255, 255, 255, 0.7);
}

.detail-hero-inner {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .detail-hero-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.detail-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
}

.detail-meta {
  color: var(--gray-700);
  margin: 0.35rem 0;
}

.detail-price {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 0.5rem;
}

.detail-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 220px;
}

.detail-body h2 {
  font-size: 1.1rem;
  margin: 1.25rem 0 0.5rem;
}

.detail-list {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.detail-stops {
  list-style: none;
  padding: 0;
}

.detail-stops li {
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.detail-stops li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--yellow-dark);
}

.detail-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.detail-pills span {
  background: var(--yellow-light);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.85rem;
}

.related-section {
  background: var(--yellow-light);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--black);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 9999;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

/* ========== Sticky call bar (always visible on mobile) ========== */
.sticky-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: var(--sticky-bar-h);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}

.btn-call:active {
  transform: scale(0.98);
}

.btn-call--primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-call--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn-call--dark {
  background: var(--black);
  color: var(--yellow);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* ========== Mega call buttons ========== */
.btn-mega {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 3px solid transparent;
}

.btn-mega:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.btn-mega span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}

.btn-mega small {
  font-weight: 500;
  font-size: 0.75rem;
  opacity: 0.85;
}

.btn-mega--call {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow-dark);
}

.btn-mega--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}

.btn-mega--inline {
  display: inline-flex;
  font-size: 1.1rem;
  padding: 1rem 1.5rem;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 3px solid var(--yellow);
  min-height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: var(--header-h);
  gap: 0.5rem 1rem;
  padding: 0.5rem 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Header search ========== */
.header-search {
  position: relative;
  flex: 1;
  min-width: 140px;
  max-width: 280px;
}

.search-toggle-btn,
.search-backdrop,
.search-panel-head,
.search-hint {
  display: none;
}

.search-panel {
  position: relative;
  flex: 1;
  min-width: 0;
}

.header-search-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow-light);
  border: 2px solid var(--gray-200);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search-field:focus-within {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.35);
}

.header-search-icon {
  flex-shrink: 0;
  color: var(--gray-500);
}

.header-search-input {
  width: 100%;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  outline: none;
}

.header-search-input::placeholder {
  color: var(--gray-500);
}

.header-search-input::-webkit-search-cancel-button {
  cursor: pointer;
}

.search-results {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  min-width: 280px;
  max-height: min(360px, 60vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  z-index: 1001;
}

.search-results-empty {
  padding: 1.25rem 1rem;
  font-size: 0.95rem;
  color: var(--gray-700);
  text-align: center;
}

.search-result-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  min-height: 52px;
  text-decoration: none;
  color: var(--black);
  border-bottom: 1px solid var(--gray-200);
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover,
.search-result-item.is-active {
  background: var(--yellow-light);
}

.search-result-type {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--yellow);
  color: var(--black);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  line-height: 1.2;
}

.search-result-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.search-result-sub {
  font-size: 0.85rem;
  color: var(--gray-500);
}

body.search-open {
  overflow: hidden;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 500;
}

.logo-icon {
  font-size: 1.75rem;
}

.logo-text strong {
  color: var(--yellow-dark);
  font-weight: 800;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 3px;
  background: var(--black);
  border-radius: 2px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--yellow-light) 0%, var(--white) 50%, var(--yellow-light) 100%);
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, var(--yellow) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, var(--yellow) 0%, transparent 30%);
  opacity: 0.25;
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.hero h1 .highlight {
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-700);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* ========== Sections ========== */
.section {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head--light h2,
.section-head--light p {
  color: var(--white);
}

.section-label {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--gray-700);
  max-width: 560px;
  margin: 0 auto;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.section-cta p {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

/* ========== Route filters & grid ========== */
.route-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 2px solid var(--gray-200);
  background: var(--white);
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--yellow);
  border-color: var(--yellow-dark);
  color: var(--black);
}

.routes-grid:not(.slider-track) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.route-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.35rem;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.route-card:hover {
  border-color: rgba(255, 193, 7, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.route-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.route-arrow {
  color: var(--yellow-dark);
  font-weight: 800;
  font-size: 1.25rem;
}

.route-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
}

.route-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.route-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--black);
}

.route-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-500);
}

.route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.route-tag {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--yellow-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.route-card-call {
  display: flex;
  margin-top: 1rem;
  gap: 0.5rem;
}

.route-card-call a {
  flex: 1;
  text-align: center;
  padding: 0.65rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.route-card-call a:first-child {
  background: var(--yellow);
  color: var(--black);
}

.route-card-call a:first-child:hover {
  background: var(--yellow-dark);
}

.route-card-call a:last-child {
  background: rgba(37, 211, 102, 0.12);
  color: #128c7e;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.route-card-call a:last-child:hover {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}

/* ========== Tours ========== */
.tours-section {
  background: var(--black);
  color: var(--white);
}

.tours-section .section-label {
  background: var(--yellow);
  color: var(--black);
}

/* ========== Carousels (routes, tours, packages) ========== */
.slider {
  margin-top: 1.5rem;
}

.slider-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.slider-progress {
  flex: 1;
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.slider--tours .slider-progress {
  background: rgba(255, 255, 255, 0.12);
}

.slider-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--yellow-dark), var(--yellow));
  border-radius: 999px;
  transition: width 0.35s ease;
}

.slider-counter {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  white-space: nowrap;
}

.slider--tours .slider-counter {
  color: rgba(255, 255, 255, 0.55);
}

.slider-frame {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slider-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.slider-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.35rem 0.25rem 0.75rem;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-arrow {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s, opacity 0.2s;
}

.slider-arrow:hover:not(:disabled) {
  background: var(--yellow-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transform: scale(1.04);
}

.slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.slider--tours .slider-arrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.slider--tours .slider-arrow:hover:not(:disabled) {
  background: rgba(255, 193, 7, 0.2);
  border-color: var(--yellow);
}

.slider-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.15);
  padding: 0;
  cursor: pointer;
  transition: width 0.3s ease, background 0.25s ease;
}

.slider-dot.is-active {
  width: 28px;
  background: var(--yellow-dark);
}

.slider--tours .slider-dot {
  background: rgba(255, 255, 255, 0.2);
}

.slider--tours .slider-dot.is-active {
  background: var(--yellow);
}

/* Route slides */
.slider--routes .slider-track .route-card {
  flex: 0 0 calc(100% - 0.5rem);
  scroll-snap-align: start;
  min-width: 0;
}

@media (min-width: 640px) {
  .slider--routes .slider-track .route-card {
    flex: 0 0 calc(50% - 0.65rem);
  }
}

@media (min-width: 1024px) {
  .slider--routes .slider-track .route-card {
    flex: 0 0 calc(33.333% - 0.85rem);
  }
}

/* Tour slides */
.slider--tours .slider-track .tour-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
}

/* Package slides */
.slider--packages .slider-track .package-card {
  flex: 0 0 calc(100% - 0.5rem);
  scroll-snap-align: start;
  min-width: 0;
  max-width: 360px;
}

@media (min-width: 640px) {
  .slider--packages .slider-track .package-card {
    flex: 0 0 calc(50% - 0.65rem);
    max-width: none;
  }
}

@media (min-width: 1024px) {
  .slider--packages .slider-track .package-card {
    flex: 0 0 calc(33.333% - 0.85rem);
  }
}

.tours-list {
  display: flex;
  gap: 1.5rem;
}

.tour-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .tour-card {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.tour-card-main h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--yellow);
}

.tour-route-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--black);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.tour-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.tour-price {
  font-size: 1.5rem;
  font-weight: 800;
}

.tour-details h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}

.tour-stops {
  list-style: none;
  margin-bottom: 1rem;
}

.tour-stops li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
  opacity: 0.9;
}

.tour-stops li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--yellow);
}

.tour-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tour-include-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
}

.tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.tour-actions a {
  padding: 0.8rem 1.35rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
}

.tour-actions .btn-call-tour {
  background: var(--yellow);
  color: var(--black);
}

.tour-actions .btn-call-tour:hover {
  background: var(--yellow-dark);
}

.tour-actions .btn-wa-tour {
  background: transparent;
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.45);
}

.tour-actions .btn-wa-tour:hover {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}

/* ========== Packages ========== */
.packages-section {
  background: var(--yellow-light);
}

.packages-grid {
  display: flex;
  gap: 1.5rem;
}

.packages-grid:not(.slider-track) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.package-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.package-card-header {
  background: linear-gradient(135deg, var(--yellow) 0%, #ffe082 100%);
  padding: 1.5rem 1.35rem;
  position: relative;
}

.package-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--black);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.package-card-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  padding-right: 5rem;
}

.package-days {
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

.package-route {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  opacity: 0.85;
}

.package-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.package-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.package-price {
  font-size: 1.75rem;
  font-weight: 800;
}

.package-cab {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.package-itinerary {
  list-style: none;
  margin-bottom: 1.25rem;
  flex: 1;
}

.package-itinerary li {
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--gray-200);
  font-size: 0.9rem;
}

.package-itinerary li:last-child {
  border-bottom: none;
}

.package-itinerary strong {
  display: block;
  color: var(--black);
}

.package-itinerary span {
  color: var(--gray-500);
  font-size: 0.85rem;
}

.package-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.package-lists h5 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  color: var(--gray-500);
}

.package-lists ul {
  list-style: none;
  padding: 0;
}

.package-lists li::before {
  content: '✓ ';
  color: var(--yellow-dark);
  font-weight: 700;
}

.package-lists.excludes li::before {
  content: '✗ ';
  color: var(--gray-500);
}

.package-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.package-actions a {
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.package-actions .pkg-details {
  flex: 1 1 100%;
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}

.package-actions .pkg-details:hover {
  background: var(--black);
  color: var(--yellow);
}

.package-actions .pkg-call {
  flex: 1;
  background: var(--yellow);
  color: var(--black);
  border: 1.5px solid var(--yellow);
}

.package-actions .pkg-call:hover {
  background: var(--yellow-dark);
}

.package-actions .pkg-wa {
  flex: 1;
  background: transparent;
  color: #128c7e;
  border: 1.5px solid rgba(37, 211, 102, 0.4);
}

.package-actions .pkg-wa:hover {
  background: var(--whatsapp);
  color: var(--white);
  border-color: var(--whatsapp);
}

.package-card h3 a {
  color: inherit;
  text-decoration: none;
}

.package-card h3 a:hover {
  text-decoration: underline;
}

.package-card-desc {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.package-more-days {
  font-style: italic;
  color: var(--gray-500) !important;
  border-bottom: none !important;
}

.package-card--compact .package-itinerary {
  margin-bottom: 1rem;
}


.btn-view-all-packages {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 1rem 2rem;
  background: var(--black);
  color: var(--yellow);
  font-weight: 800;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.btn-view-all-packages:hover {
  transform: translateY(-2px);
}

/* ========== Packages hub & inner pages ========== */
.packages-hub .pkg-hub-hero {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-light) 100%);
  padding: 3rem 0;
}

.pkg-hub-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 1rem 0 0.75rem;
}

.pkg-hub-hero p {
  max-width: 640px;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.pkg-hub-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.breadcrumb a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--black);
}

.breadcrumb span:last-child {
  color: var(--black);
  font-weight: 600;
}

.package-detail-page .pkg-hero {
  background: var(--yellow-light);
  padding: 2rem 0 3rem;
  border-bottom: 4px solid var(--yellow);
}

.pkg-hero-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .pkg-hero-inner {
    grid-template-columns: 1.2fr 380px;
    align-items: start;
  }
}

.pkg-hero-badge {
  display: inline-block;
  background: var(--black);
  color: var(--yellow);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pkg-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.pkg-hero-route {
  font-weight: 700;
  color: var(--yellow-dark);
  margin-bottom: 1rem;
}

.pkg-hero-desc {
  color: var(--gray-700);
  margin-bottom: 1.25rem;
  max-width: 600px;
}

.pkg-highlights {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pkg-highlights li {
  background: var(--white);
  border: 2px solid var(--yellow);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pkg-booking-card {
  background: var(--white);
  border: 3px solid var(--yellow);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.pkg-booking-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 600;
}

.pkg-booking-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.25rem 0;
}

.pkg-booking-meta {
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
}

.btn-mega--block {
  width: 100%;
  margin-bottom: 0.75rem;
  justify-content: center;
}

.pkg-itinerary-section {
  background: var(--white);
}

.pkg-itinerary-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}

.pkg-timeline {
  list-style: none;
  max-width: 720px;
  margin: 0 auto;
}

.pkg-timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.pkg-timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 48px;
  bottom: 0;
  width: 3px;
  background: var(--yellow);
}

.pkg-timeline-day {
  width: 72px;
  height: 72px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
  border: 3px solid var(--black);
}

.pkg-timeline-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.pkg-timeline-content p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

.pkg-includes-section {
  background: var(--yellow-light);
}

.pkg-includes-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pkg-includes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pkg-includes-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 2px solid var(--yellow);
}

.pkg-includes-box h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.pkg-includes-box ul {
  list-style: none;
}

.pkg-includes-box li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.pkg-includes-box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--yellow-dark);
  font-weight: 800;
}

.pkg-includes-box--exclude {
  border-color: var(--gray-200);
}

.pkg-includes-box--exclude li::before {
  content: '✗';
  color: var(--gray-500);
}

.pkg-cta-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.pkg-cta-inner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.pkg-cta-inner p {
  opacity: 0.85;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-inline: auto;
}

.pkg-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.pkg-related-section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: center;
}

.packages-grid--related {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.package-card--current {
  opacity: 0.55;
  pointer-events: none;
}

/* ========== Why us ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border: 2px solid var(--yellow-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* ========== Fleet ========== */
.fleet-section {
  background: var(--yellow);
  padding: 3rem 0;
  text-align: center;
}

.fleet-section h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.fleet-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid var(--black);
}

.fleet-card--featured {
  background: var(--black);
  color: var(--white);
  transform: scale(1.05);
}

.fleet-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.fleet-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

.fleet-card--featured p {
  color: rgba(255, 255, 255, 0.7);
}

.fleet-card span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ========== Contact ========== */
.contact-section {
  background: var(--white);
  border-top: 4px solid var(--yellow);
}

.contact-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.contact-text p {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.contact-text address {
  font-style: normal;
  line-height: 1.8;
}

.contact-text a {
  color: var(--black);
  font-weight: 700;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ========== Footer ========== */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem 0;
  padding-bottom: calc(2.5rem + var(--sticky-bar-h));
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-logo strong {
  color: var(--yellow);
}

.site-footer > .container > p:nth-of-type(1) {
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
}

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.5;
}

.footer-credit {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-credit-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.55;
  font-weight: 600;
}

.footer-booklocaly {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--white);
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.45);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.footer-booklocaly:hover {
  transform: translateY(-2px);
  border-color: var(--yellow);
  background: rgba(255, 193, 7, 0.1);
}

.footer-booklocaly-logo {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.footer-booklocaly-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.footer-booklocaly-name {
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--yellow);
  letter-spacing: -0.02em;
}

.footer-booklocaly-url {
  font-size: clamp(0.8rem, 1.25vw, 0.9rem);
  font-weight: 600;
  color: var(--white);
  opacity: 0.85;
  margin-top: 0.125rem;
}

@media (max-width: 480px) {
  .footer-booklocaly {
    flex-direction: column;
    text-align: center;
    padding: 0.75rem 0.625rem;
    width: 100%;
    max-width: 240px;
  }

  .footer-booklocaly-brand {
    align-items: center;
    text-align: center;
  }

  .footer-booklocaly-logo {
    width: 44px;
    height: 44px;
  }
}

/* ========== Modal ========== */
.modal {
  border: none;
  padding: 0;
  max-width: 520px;
  width: 92vw;
  max-height: min(90vh, 100dvh);
  margin: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.modal-content {
  padding: 1.5rem;
  padding-bottom: 1.25rem;
  position: relative;
  max-height: min(90vh, 100dvh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: -0.25rem -0.25rem 0.5rem 0.5rem;
  background: var(--gray-200);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  z-index: 1;
}

.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal .modal-meta {
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.modal .modal-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--yellow-dark);
  margin-bottom: 1rem;
}

.modal ul {
  margin: 1rem 0;
  padding-left: 1.25rem;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
  position: sticky;
  bottom: 0;
  padding-top: 0.75rem;
  background: linear-gradient(to top, var(--white) 85%, transparent);
}

.modal-actions a {
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .modal {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    margin: 0;
    border-radius: 20px 20px 0 0;
    align-self: flex-end;
  }

  .modal[open] {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .modal-content {
    padding: 1.25rem;
    padding-bottom: calc(1rem + var(--sticky-bar-h));
    max-height: 85dvh;
  }

  .modal-actions {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
  }

  .modal-actions a {
    min-height: 52px;
    font-size: 1rem;
  }

  .modal h3 {
    font-size: 1.35rem;
    padding-right: 2.5rem;
  }
}

/* ========== Responsive ========== */
@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
    max-width: 100%;
    justify-content: center;
  }

  .btn-mega {
    min-width: 260px;
  }

  body {
    padding-bottom: 0;
  }

  .sticky-call-bar {
    display: none;
  }

  .site-footer {
    padding-bottom: 2.5rem;
  }
}

.hide-mobile {
  display: none;
}

@media (min-width: 900px) {
  .hide-mobile {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 640px) {
  .slider-arrow {
    width: 36px;
    height: 36px;
  }

  .slider-frame {
    gap: 0.4rem;
  }

  .tour-card {
    padding: 1.35rem;
  }
}

@media (max-width: 899px) {
  .header-search {
    flex: 0 0 auto;
    order: 2;
    max-width: none;
    margin-left: auto;
    margin-right: 0.25rem;
  }

  .search-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: var(--yellow-light);
    color: var(--black);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .search-toggle-btn:active {
    background: var(--yellow);
  }

  .search-panel {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    right: 0;
    top: 0;
    padding: max(0.75rem, env(safe-area-inset-top)) 1rem 1rem;
    background: var(--white);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    max-height: min(88vh, 100dvh);
    overflow: hidden;
    flex-direction: column;
  }

  .header-search.is-open .search-panel {
    display: flex;
  }

  .search-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1095;
    background: rgba(0, 0, 0, 0.45);
    -webkit-tap-highlight-color: transparent;
  }

  .header-search.is-open .search-backdrop {
    display: block;
  }

  .search-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
  }

  .search-panel-title {
    font-weight: 800;
    font-size: 1.1rem;
  }

  .search-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    color: var(--black);
  }

  .header-search-field {
    border-radius: 14px;
    padding: 0.85rem 1rem;
  }

  .header-search-input {
    font-size: 16px;
  }

  .search-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin: 0.5rem 0 0.35rem;
  }

  .search-results {
    position: static;
    min-width: 100%;
    max-height: none;
    flex: 1;
    overflow-y: auto;
    margin-top: 0.5rem;
    border-radius: 12px;
  }

  .search-result-item {
    min-height: 56px;
    padding: 1rem;
  }

  .search-result-title {
    font-size: 1.05rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    border-bottom: 3px solid var(--yellow);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .logo {
    order: 1;
    flex: 1;
    min-width: 0;
  }

  .site-header {
    position: sticky;
    z-index: 900;
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
  }
}

dialog.modal {
  z-index: 10000;
}
