:root {
  --ink: #152238;
  --navy: #0d1b2a;
  --indigo: #21304f;
  --red: #b83b3b;
  --gold: #c8a24a;
  --pink: #f6d7d9;
  --mist: #f4f6f7;
  --paper: #fffaf3;
  --line: #d9dde4;
  --muted: #657084;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(13, 27, 42, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* Spam-trap field: present in the DOM for bots, hidden from real visitors */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy);
  color: var(--white);
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
}

.topbar-inner,
.nav-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
}

.topbar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.brand > span {
  white-space: nowrap;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.76rem;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 6px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle span::before {
  transform: translateY(-7px);
}

.nav-toggle span::after {
  transform: translateY(5px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > a,
.menu-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 12px 10px;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  white-space: nowrap;
}

.main-nav > a:hover,
.main-nav > a:focus,
.menu-button:hover,
.menu-button:focus {
  background: var(--mist);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}

.main-nav > a.is-active,
.main-nav > a[aria-current="page"] {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone {
  color: var(--indigo);
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(184, 59, 59, 0.24);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.mega {
  position: absolute;
  left: 50%;
  top: 76px;
  width: min(980px, calc(100% - 32px));
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.mega[hidden] {
  display: none;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mega h3 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: var(--red);
}

.mega a {
  display: block;
  padding: 6px 0;
  color: var(--muted);
  font-weight: 650;
}

.hero {
  position: relative;
  min-height: 520px;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img,
.page-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-media::after,
.page-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(13, 27, 42, 0.88), rgba(13, 27, 42, 0.62), rgba(13, 27, 42, 0.32)),
    linear-gradient(0deg, rgba(13, 27, 42, 0.55), rgba(13, 27, 42, 0));
}

.hero {
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0 52px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}

.hero-copy {
  max-width: 660px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.13rem;
}

label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 12px 11px;
  font-size: 0.98rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: var(--mist);
}

.section.paper {
  background: var(--paper);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head h2,
.page-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.section-head p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.tour-card,
.article-card,
.review-card,
.facility-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(13, 27, 42, 0.06);
}

.card-media {
  height: 230px;
  background: var(--mist);
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.card-body p,
.muted {
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.card-clickable {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card-clickable:hover,
.card-clickable:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(13, 27, 42, 0.14);
  border-color: var(--gold);
  outline: none;
}

.card-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
}

.card-clickable:hover .card-pdf-link,
.card-clickable:focus-visible .card-pdf-link {
  color: var(--gold);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--indigo);
  font-size: 0.78rem;
  font-weight: 800;
}

.feature-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 34px;
  align-items: center;
}

.image-tile {
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.number-list {
  display: grid;
  gap: 14px;
  counter-reset: steps;
}

.number-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

a.number-item {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

a.number-item:hover,
a.number-item:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(13, 27, 42, 0.1);
  border-color: var(--gold, #c8a24a);
  outline: none;
}

.number-item::before {
  counter-increment: steps;
  content: counter(steps);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
}

.map-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

.map-visual {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe8ed;
  box-shadow: var(--shadow);
}

.map-visual img {
  opacity: 0.64;
}

.map-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(184, 59, 59, 0.22);
}

.pin-tokyo { left: 68%; top: 52%; }
.pin-kyoto { left: 51%; top: 58%; }
.pin-hokkaido { left: 76%; top: 16%; }
.pin-okinawa { left: 21%; top: 84%; }
.pin-kanazawa { left: 48%; top: 47%; }

.destination-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.destination-list a {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-weight: 800;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.video-testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 34px;
}

.video-card-media {
  background: #0d1b2a;
  line-height: 0;
}

.video-card-media video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #0d1b2a;
}

.video-card-body {
  padding: 20px 22px 24px;
}

.video-card-body h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.video-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.review-card {
  padding: 22px;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-weight: 900;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: end;
  padding: 30px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}

.newsletter p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-band {
  background: var(--red);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero {
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 54px;
}

.page-hero-content p {
  max-width: 620px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}

.page-hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.page-copy {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
}

.filters {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tour-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tour-card[data-hidden="true"] {
  display: none;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 14px 0;
  color: var(--muted);
  font-weight: 750;
}

.price {
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

.sticky-box {
  position: sticky;
  top: 100px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.itinerary {
  display: grid;
  gap: 14px;
}

.day {
  padding: 18px;
  border-left: 4px solid var(--red);
  background: var(--mist);
  border-radius: 0 8px 8px 0;
}

.builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.builder.builder-full {
  grid-template-columns: minmax(0, 1fr);
  max-width: 760px;
  margin: 0 auto;
}

.form-step {
  display: none;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.form-step.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.planner-box {
  padding: 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}

.planner-box p {
  color: rgba(255, 255, 255, 0.75);
}

.saved-journey {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: min(360px, calc(100% - 36px));
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.saved-journey[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 70;
  width: min(420px, calc(100% - 36px));
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-banner[hidden] {
  display: none;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 26px;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.96rem;
}

.site-footer a {
  display: block;
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-social {
  margin-top: 14px;
}

.footer-social a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--gold);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

@media (max-width: 1550px) and (min-width: 1081px) {
  .nav-actions .phone {
    display: none;
  }

  .main-nav {
    gap: 2px;
  }

  .main-nav > a {
    padding: 12px 7px;
    font-size: 0.94rem;
  }
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .main-nav,
  .nav-actions {
    display: none;
  }

  .site-header.open .main-nav,
  .site-header.open .nav-actions {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
  }

  .nav-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 12px 0;
  }

  .mega {
    position: static;
    width: 100%;
    transform: none;
    box-shadow: none;
  }

  .mega-grid,
  .card-grid,
  .reviews,
  .video-testimonials,
  .tour-list,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-grid,
  .filters {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-layout,
  .map-panel,
  .detail-layout,
  .builder {
    grid-template-columns: 1fr;
  }

  .sticky-box {
    position: static;
  }
}

@media (max-width: 680px) {
  .topbar-inner,
  .section-head,
  .cta-inner,
  .footer-bottom {
    display: grid;
  }

  .topbar-inner {
    gap: 4px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 78px;
  }

  .hero-media::after,
  .page-hero-media::after {
    background: linear-gradient(180deg, rgba(13, 27, 42, 0.66), rgba(13, 27, 42, 0.75));
  }

  .search-grid,
  .filters,
  .card-grid,
  .reviews,
  .video-testimonials,
  .tour-list,
  .split-grid,
  .destination-list,
  .footer-grid,
  .form-grid,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .card-media {
    height: 205px;
  }

  .image-tile,
  .map-visual {
    min-height: 340px;
  }
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(13, 27, 42, 0.28);
  z-index: 999;
  transition: transform 0.18s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
  outline: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
  }
}

/* Calendar & Deals: image-backed cards + details popup */
.deal-card {
  position: relative;
  border-radius: 12px;
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  border: 1px solid rgba(13, 27, 42, 0.06);
  box-shadow: 0 14px 30px rgba(13, 27, 42, 0.16);
}

.deal-card .eyebrow {
  color: var(--gold, #c8a24a);
}

.deal-card h3 {
  color: #fff;
  margin: 4px 0 8px;
}

.deal-card p:not(.eyebrow) {
  color: #e7ebf2;
}

.deal-card .btn-ghost {
  align-self: flex-start;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.94);
  border-color: transparent;
}

.deal-modal[hidden] {
  display: none;
}

.deal-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.deal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.72);
}

.deal-modal-panel {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 70px rgba(13, 27, 42, 0.4);
}

.deal-modal-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  display: block;
}

.deal-modal-body {
  padding: 24px 28px 28px;
}

.deal-modal-highlights {
  margin: 14px 0 20px;
  padding-left: 20px;
  color: var(--ink, #152238);
}

.deal-modal-highlights li {
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.deal-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(13, 27, 42, 0.8);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.deal-modal-close:hover {
  background: var(--navy, #0d1b2a);
}

/* Trip Builder / form validation */
.field-error {
  display: block;
  min-height: 1.1em;
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--red, #b83b3b);
}

.form-grid input.invalid,
.form-grid select.invalid,
.form-grid textarea.invalid {
  border-color: var(--red, #b83b3b);
  box-shadow: 0 0 0 1px var(--red, #b83b3b);
}

[data-form-message]:not(:empty) {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--mist, #f4f6f7);
  color: var(--ink, #152238);
  font-size: 0.9rem;
}

/* Rotating hero images (page-hero-media with multiple .hero-slide images) */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.active {
  opacity: 1;
}

.deal-modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 4px 0 18px;
}

.deal-modal-gallery img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  border-radius: 8px;
}

.deal-modal-gallery:empty {
  display: none;
  margin: 0;
}

/* Package hotel / pricing tables on tour detail pages */
.hotel-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 26px;
  font-size: 0.92rem;
}

.hotel-table th,
.hotel-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}

.hotel-table thead th {
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.pricing-table {
  display: block;
  overflow-x: auto;
  white-space: nowrap;
}

.pricing-table td {
  color: var(--muted);
}

.detail-list {
  margin: 0 0 26px;
  padding-left: 20px;
  color: var(--muted);
}

.detail-list li {
  margin-bottom: 6px;
}

/* Featured package cards (home page) */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.package-card {
  cursor: pointer;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 26px rgba(13, 27, 42, 0.06);
  text-align: left;
  padding: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.package-card:hover,
.package-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(13, 27, 42, 0.14);
  border-color: var(--gold);
  outline: none;
}

.package-card .card-media {
  position: relative;
}

.package-card .card-media .tag {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(13, 27, 42, 0.78);
  color: var(--white);
}

.package-card .card-body p {
  margin: 0 0 10px;
}

.package-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--navy);
}

.package-card:hover .card-cta,
.package-card:focus-visible .card-cta {
  color: var(--gold);
}

/* Package quick-view modal (larger than the day modal) */
.deal-modal-panel.package-modal-panel {
  max-width: 760px;
}

.package-modal-days {
  display: grid;
  gap: 6px;
  margin: 10px 0 18px;
  padding-left: 20px;
  color: var(--ink);
}

.package-modal-days li {
  font-size: 0.9rem;
}

.package-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 4px;
}

/* Real map modal (Google Maps embed) */
.map-modal-panel {
  max-width: 820px;
  padding: 0;
}

.map-modal-frame-wrap {
  padding: 24px 28px 28px;
}

.map-modal-frame-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 10px;
}

.map-pin {
  cursor: pointer;
}

.map-pin::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.map-pin:hover::after,
.map-pin:focus-visible::after {
  opacity: 1;
}

.destination-list button {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

.destination-list button:hover,
.destination-list button:focus-visible {
  border-color: var(--gold);
  color: var(--navy);
  outline: none;
}

/* Tours page: search + sort + result meta + empty state */
.tools-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.tools-row .search-box {
  flex: 1;
  min-width: 220px;
}

.result-meta {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.empty-state {
  display: none;
  padding: 48px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.empty-state.visible {
  display: block;
}

.tour-list[data-empty="true"] {
  display: none;
}

@media (max-width: 980px) {
  .package-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .package-grid {
    grid-template-columns: 1fr;
  }
  .tools-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =====================================================
   Fleet page: intro strip, filmstrip galleries, lightbox
   ===================================================== */

.fleet-intro {
  max-width: 780px;
  margin: 0 auto;
}

.fleet-intro p {
  color: var(--muted);
  font-size: 1.05rem;
}

.fleet-note {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  background: var(--mist);
  color: var(--muted);
  font-size: 0.86rem;
}

.fleet-category {
  padding: 44px 0 8px;
}

.fleet-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.fleet-category-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 0;
}

.fleet-category-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 360px;
  text-align: left;
}

.filmstrip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 340px);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 14px;
  margin: 0 -4px;
  padding-left: 4px;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--mist);
}

.filmstrip::-webkit-scrollbar {
  height: 8px;
}

.filmstrip::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 8px;
}

.filmstrip::-webkit-scrollbar-track {
  background: var(--mist);
  border-radius: 8px;
}

.filmstrip-item {
  scroll-snap-align: start;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  display: block;
  text-align: left;
  font: inherit;
  color: inherit;
}

.filmstrip-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.filmstrip-item:hover img,
.filmstrip-item:focus-visible img {
  transform: scale(1.05);
}

.filmstrip-caption {
  padding: 12px 14px 14px;
  background: var(--white);
  font-size: 0.86rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.filmstrip-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Lightbox */

.fleet-lightbox[hidden] {
  display: none;
}

.fleet-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.fleet-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.9);
}

.fleet-lightbox-panel {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 90vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fleet-lightbox-panel img {
  max-width: 100%;
  max-height: 74vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  background: #000;
}

.fleet-lightbox-caption {
  color: var(--white);
  margin-top: 14px;
  font-size: 0.96rem;
  text-align: center;
  max-width: 640px;
}

.fleet-lightbox-close,
.fleet-lightbox-prev,
.fleet-lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.fleet-lightbox-close:hover,
.fleet-lightbox-prev:hover,
.fleet-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.24);
}

.fleet-lightbox-close {
  top: -4px;
  right: -4px;
}

.fleet-lightbox-prev {
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
}

.fleet-lightbox-next {
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 720px) {
  .fleet-category-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .fleet-category-head p {
    text-align: left;
  }
  .filmstrip-item img {
    height: 200px;
  }
  .fleet-lightbox-prev {
    left: 4px;
  }
  .fleet-lightbox-next {
    right: 4px;
  }
  .fleet-lightbox-close {
    top: 4px;
    right: 4px;
  }
}
