/* ===================================================================
   PHAROSTRAVEL — COMPONENT STYLES
   Cards, buttons, forms, badges, services, booking
   =================================================================== */

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font: 700 .85rem 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: .04em;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #1a1405;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  min-height: 44px;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
  box-shadow: 0 6px 18px rgba(200, 150, 62, .35);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.22) 50%, transparent 60%);
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.btn:hover::after {
  transform: rotate(25deg) translateY(100%);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 150, 62, .5);
}
.btn:active { transform: scale(.97); }

/* Feature & action buttons ornamental finish */
.btn-action, .adm-tab-btn, .chip-btn, .ai-chip-btn {
  position: relative;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-action:hover, .adm-tab-btn:hover, .chip-btn:hover, .ai-chip-btn:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(200, 150, 62, 0.25);
  border-color: var(--gold) !important;
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
  box-shadow: none;
}
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }

.btn.line {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn.line:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn.dark-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: none;
}
.btn.dark-ghost:hover {
  background: var(--ink);
  color: var(--stone);
}

.btn.green {
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, .35);
}
.btn.green:hover {
  box-shadow: 0 10px 24px rgba(37, 211, 102, .5);
}

/* ── Tour Cards ────────────────────────────────────────────────────── */
.card {
  background: var(--stone2);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh);
  transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 46px rgba(13, 27, 58, .18);
  border-color: rgba(200, 150, 62, .45);
}

/* Card image area (flush top, luxury layout) */
.card .img {
  height: 230px;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--navy);
}
.card .img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.card:hover .img img { transform: scale(1.06); }

/* Card SVG scene (fallback when no photo) */
.card .img svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform .6s var(--ease);
}
.card:hover .img svg { transform: scale(1.06); }

/* Card tag / badge */
.tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(13, 27, 58, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold2);
  border: 1px solid rgba(228, 184, 102, .4);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font: 600 .75rem 'Inter', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  transition: all .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover .tag {
  border-color: var(--gold2);
  box-shadow: 0 4px 18px rgba(200, 150, 62, .45);
  transform: translateY(-1px);
}

/* Card rug ornament */
.card .rug {
  margin: 0;
  height: 6px;
  background-size: auto 6px;
  border-radius: 0;
}

/* Card body */
.card .body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card .body h3 {
  font-size: 1.22rem;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 2px;
  color: var(--ink);
  transition: color var(--t);
}
.card:hover .body h3 {
  color: var(--gold);
}

.meta {
  display: flex;
  gap: 14px;
  color: var(--mut);
  font: 500 .85rem 'Inter', sans-serif;
  align-items: center;
}

.card .body p {
  margin: 4px 0 12px;
  color: var(--mut);
  font-size: .93rem;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card decorated footer & action buttons (Zero clutter, motion-systemic) */
.pr, .ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(228, 184, 102, 0.22);
  position: relative;
}
.pr::before {
  content: "❖";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--stone2);
  padding: 0 8px;
  font-size: 0.62rem;
  color: rgba(228, 184, 102, 0.65);
  line-height: 1;
  pointer-events: none;
  transition: color 0.35s ease, transform 0.35s ease;
}
.card:hover .pr::before {
  color: var(--gold2, #e4b866);
  transform: translateX(-50%) scale(1.15);
}
.pr.pr-decorated-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pr.pr-clean-showcase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-ornament-sig {
  font-family: var(--font-heading, 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold2, #e4b866);
  opacity: 0.88;
  white-space: nowrap;
}
.pr b, .ft b {
  font: 700 1.2rem var(--font-heading, 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif);
  color: var(--gold2, #e4b866);
  line-height: 1.1;
  display: block;
}
.pr small, .ft small {
  color: var(--mut);
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  display: block;
  margin-bottom: 2px;
  line-height: 1.2;
}
.pr .btn, .ft .btn {
  padding: 9px 14px;
  font-size: .80rem;
  letter-spacing: .02em;
  white-space: nowrap;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  width: 100%;
}
.pr.pr-clean-showcase .btn {
  width: auto;
  padding: 9px 16px;
}
.pr .btn.line, .ft .btn.line {
  padding: 9px 12px;
  font-size: .79rem;
  border-color: rgba(228, 184, 102, 0.38);
}

/* Unified Pharos Gold & Deep Caspian Card Decoration System */
.th-m, .th-f, .th-c, .th-d {
  --ac: var(--gold2, #e4b866);
}

.card {
  box-shadow: var(--sh), inset 0 0 0 1px rgba(228, 184, 102, 0.12);
}
.card .img::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(228, 184, 102, 0.22);
  border-radius: calc(var(--r-md) - 6px) calc(var(--r-md) - 6px) 4px 4px;
  pointer-events: none;
  z-index: 2;
  transition: border-color 0.4s ease, inset 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .img::after {
  border-color: rgba(228, 184, 102, 0.58);
  inset: 6px;
}
.card .rug {
  transition: background-position 0.85s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
  border-top: 1px solid rgba(228, 184, 102, 0.3);
  border-bottom: 1px solid rgba(228, 184, 102, 0.22);
}
.card:hover .rug {
  background-position: 42px 0;
  filter: brightness(1.15);
}

.card.th-m,
.card.th-f,
.card.th-c,
.card.th-d {
  background: linear-gradient(165deg, rgba(16, 32, 64, 0.92) 0%, var(--stone2) 100%);
  border-color: rgba(228, 184, 102, 0.26);
}
[data-theme="light"] .card.th-m,
[data-theme="light"] .card.th-f,
[data-theme="light"] .card.th-c,
[data-theme="light"] .card.th-d {
  background: linear-gradient(165deg, #ffffff 0%, var(--stone2) 100%);
  border-color: rgba(200, 150, 62, 0.32);
}

.card.th-m:hover,
.card.th-f:hover,
.card.th-c:hover,
.card.th-d:hover {
  border-color: var(--gold2, #e4b866);
}

.card .pr b { color: var(--gold2, #e4b866); }

/* ── Booking Portal Layout ─────────────────────────────────────────── */
.book-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 36px;
  align-items: start;
}

.booking-card {
  background: var(--stone2);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  padding: 32px 30px;
  margin-bottom: 24px;
  transition: border-color var(--t);
}
.booking-card:hover {
  border-color: rgba(200, 150, 62, .3);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1405;
  font: 700 1rem 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.step-title h3 {
  font-size: 1.2rem;
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}
.step-title p {
  margin: 2px 0 0;
  font-size: .85rem;
  color: var(--mut);
  font-family: 'Inter', sans-serif;
}

/* Radio Option Tiles */
.opt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.opt-tile {
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px;
  cursor: pointer;
  background: var(--stone);
  transition: var(--t);
  text-align: center;
  position: relative;
}
.opt-tile:hover {
  border-color: var(--gold);
  background: var(--stone2);
}
.opt-tile.active {
  border-color: var(--gold);
  background: rgba(200, 150, 62, .08);
  box-shadow: 0 0 0 2px rgba(200, 150, 62, .25);
}
.opt-tile .opt-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 6px;
}
.opt-tile strong {
  display: block;
  font-size: .92rem;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
}
.opt-tile small {
  color: var(--mut);
  font-size: .78rem;
  display: block;
  margin-top: 3px;
}

/* Sticky Summary Card */
.summary-sticky {
  position: sticky;
  top: 96px;
}
.summary-box {
  background: var(--stone2);
  border-radius: var(--r-md);
  border: 1.5px solid var(--gold);
  box-shadow: var(--sh-hover);
  padding: 30px 26px;
  overflow: hidden;
  position: relative;
}
.summary-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--rug) repeat-x;
}
.summary-box h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
}
.summary-row span:first-child {
  color: var(--mut);
}
.summary-row strong {
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  margin-top: 8px;
  border-top: 2px dashed var(--line);
}
.summary-total b {
  font: 700 1.8rem 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gold);
}
.summary-guarantees {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 8px;
  font-size: .85rem;
  color: var(--mut);
}
.summary-guarantees li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary-guarantees li span {
  color: #25d366;
  font-weight: 700;
}

/* ── Filter tools ──────────────────────────────────────────────────── */
.tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 28px 0 12px;
  align-items: center;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
}

.chip {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: var(--stone2);
  border: 1px solid var(--line);
  font: 500 .82rem 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  transition: var(--t);
}
.chip.on,
.chip:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.tools input,
.tools select {
  padding: 11px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--stone2);
  color: var(--ink);
  font: 400 .95rem 'Inter', sans-serif;
  outline: 0;
  transition: border-color var(--t);
}
.tools input:focus,
.tools select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, .2);
}
.tools input { width: 220px; }
.tools select { width: auto; }

.empty {
  text-align: center;
  color: var(--mut);
  padding: 60px 20px;
  grid-column: 1 / -1;
  font-size: 1.05rem;
}

/* ── Services cards ────────────────────────────────────────────────── */
.sv {
  background: var(--stone2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 38px 24px 24px;
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.sv::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 12px;
  background: var(--rug) repeat-x;
  background-size: auto 12px;
}
.sv:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--sh);
}
.sv-icon {
  width: 66px;
  height: 78px;
  border-radius: 33px 33px 6px 6px;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  background: var(--stone);
  margin-bottom: 14px;
}
.sv h3 { font-size: 1.15rem; margin-bottom: 8px; }
.sv p { margin: 0; color: var(--mut); font-size: .93rem; }
.sv-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.sv-badge {
  font-size: 0.8rem;
  color: var(--mut);
}
.sv-price {
  color: var(--gold);
  font-family: var(--font-heading, 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ── Transport Fleet Cards Alignment ──────────────────────────────── */
.fleet-price-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  gap: 10px;
}
.fleet-seats-badge {
  font-size: 0.82rem;
  color: var(--mut);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.fleet-price-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.15;
}
.fleet-price-val {
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--gold);
  font-family: var(--font-heading, 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif);
  white-space: nowrap;
}
.fleet-price-sub {
  font-size: 0.72rem;
  color: var(--mut);
  font-family: var(--font-body, sans-serif);
  text-align: right;
  white-space: nowrap;
}

/* ── Leadership & Team Showcase (About Page) ────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 1040px;
  margin: 0 auto;
}
.team-card {
  background: linear-gradient(145deg, rgba(13, 27, 58, 0.75), rgba(7, 13, 24, 0.85));
  border: 1.5px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  transition: transform var(--t) var(--ease), border-color var(--t), box-shadow var(--t);
  backdrop-filter: blur(8px);
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 24px rgba(200, 150, 62, 0.25);
}
.team-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.6;
  overflow: hidden;
  background: #091326;
}
.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
  display: block;
}
.team-card:hover .team-photo {
  transform: scale(1.03);
}
.team-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(9, 19, 38, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--gold2);
  color: var(--gold2);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.team-info {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.team-name {
  font-family: var(--font-heading, 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 1.45rem;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}
.team-role {
  color: var(--gold2);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.team-bio {
  color: var(--mut);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 18px;
  flex: 1;
}
.team-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.team-tag {
  background: rgba(200, 150, 62, 0.1);
  border: 1px solid rgba(200, 150, 62, 0.3);
  color: #ffd98a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}
@media (max-width: 820px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ── How it works ──────────────────────────────────────────────────── */
.how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 34px;
  counter-reset: step;
}

.hw {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  counter-increment: step;
}
.hw::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 48px;
  border-radius: 50% 50% 6px 6px;
  background: var(--gold);
  color: #1a1405;
  font: 700 1rem 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  margin-bottom: 14px;
}
.hw h3 { font-size: 1.05rem; margin-bottom: 6px; }
.hw p { margin: 0; color: #c5cde0; font-size: .9rem; }

/* ── About section ─────────────────────────────────────────────────── */
.abv {
  aspect-ratio: 1;
  border-radius: 999px 999px 24px 24px;
  background: linear-gradient(180deg, var(--navy2), #e4a05a);
  border: 10px solid var(--pomegranate);
  outline: 2px solid var(--gold);
  outline-offset: -6px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--sh);
}
.abv svg { width: 100%; height: 100%; }
.abv img { width: 100%; height: 100%; object-fit: cover; }

/* ── Forms ──────────────────────────────────────────────────────────── */
.f {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.f label {
  font: 600 .82rem 'Inter', sans-serif;
  color: var(--mut);
  display: grid;
  gap: 5px;
}
.f input,
.f select,
.f textarea {
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--stone2);
  color: var(--ink);
  font: 400 .95rem 'Lora', serif;
  outline: 0;
  transition: border-color var(--t);
  width: 100%;
}
.f input:focus,
.f select:focus,
.f textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, .2);
}

.r2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Stepper */
.step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--stone);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 6px 10px;
}
.step button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1.1rem;
  border: 0;
  cursor: pointer;
  transition: background var(--t);
}
.step button:hover { background: var(--gold); color: #1a1405; }
.step b {
  min-width: 30px;
  text-align: center;
  font: 700 1.1rem 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Total */
.tot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--stone);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  margin-top: 6px;
  border: 1px solid var(--line);
}
.tot b {
  font: 700 1.6rem 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gold);
}

/* Validation */
.err {
  color: #d34;
  font-size: .8rem;
  display: none;
}
.bad + .err { display: block; }
.bad { border-color: #d34 !important; }

/* Success */
.ok {
  text-align: center;
  padding: 20px 0;
}
.ok i {
  font-style: normal;
  font-size: 3.4rem;
  display: block;
}

/* ── Modal overlay ─────────────────────────────────────────────────── */
.ov {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 14, 30, .65);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
}
.ov.on { display: flex; }

.md {
  background: var(--stone2);
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow: auto;
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
}
.md::before {
  content: "";
  display: block;
  height: 18px;
  margin: -28px -24px 22px;
  background: var(--rug) repeat-x;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

.x {
  position: absolute;
  right: 14px;
  top: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--stone);
  font-size: 1.2rem;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--t);
}
.x:hover { background: var(--line); }

.md ul { padding-left: 20px; color: var(--mut); }
.md h3 { font-size: 1.4rem; margin-bottom: 8px; }

/* ── Destination cards (Ultra-Luxury Overhaul) ───────────────────────── */
.dest-card-wrap {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
}
.dest-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px !important; height: 400px !important;
  
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #0b1528;
  border: 1.5px solid rgba(228, 184, 102, 0.32);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
  isolation: isolate;
  box-sizing: border-box;
}

.dest-card:hover {
  transform: translateY(-8px);
  border-color: rgba(228, 184, 102, 0.85);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65), 0 0 28px rgba(200, 150, 62, 0.3);
}

.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
}

.dest-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.06);
}

.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(6, 13, 30, 0.65) 0%,
    rgba(6, 13, 30, 0.12) 32%,
    rgba(6, 13, 30, 0.76) 68%,
    rgba(6, 13, 30, 0.98) 100%
  );
  pointer-events: none;
  transition: background 0.4s ease;
}

.dest-card:hover::after {
  background: linear-gradient(
    180deg,
    rgba(6, 13, 30, 0.5) 0%,
    rgba(6, 13, 30, 0.08) 32%,
    rgba(6, 13, 30, 0.82) 65%,
    rgba(6, 13, 30, 1) 100%
  );
}

.dest-card-top {
  position: relative;
  z-index: 3;
  padding: 18px 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  gap: 12px;
}

.dest-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 27, 58, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e4b866;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(228, 184, 102, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
  line-height: 1;
  white-space: nowrap;
}

.dest-quick-edit-btn {
  background: rgba(217, 119, 6, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, background 0.2s;
  white-space: nowrap;
}
.dest-quick-edit-btn:hover {
  background: #ea580c;
  transform: scale(1.05);
}

.dest-card .dest-info {
  position: relative;
  z-index: 3;
  padding: 0 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.dest-card h3 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
  line-height: 1.25;
}

.dest-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #d1d9ec;
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.45;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.dest-card-action {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e4b866;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: gap 0.2s ease, color 0.2s ease;
}

.dest-card:hover .dest-card-action {
  gap: 10px;
  color: #f7d794;
}

/* ── Highlight list ────────────────────────────────────────────────── */
.highlights {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.highlights li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--mut);
  border-bottom: 1px solid var(--line);
}
.highlights li:last-child { border-bottom: 0; }
.highlights li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .7rem;
  top: 11px;
}

/* ── Inclusions / exclusions ───────────────────────────────────────── */
.incl-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}
.incl-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: .95rem;
}
.incl-list.yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #25d366;
  font-weight: 700;
}
.incl-list.no li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #d34;
  font-weight: 700;
}

/* ── Back link ─────────────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 .95rem 'Inter', sans-serif;
  color: var(--mut);
  padding: 8px 0;
  transition: color var(--t);
}
.back-link:hover { color: var(--gold); }

/* ── Responsive component adjustments ──────────────────────────────── */
@media (max-width: 820px) {
  .book-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .booking-card {
    padding: 22px 18px;
  }
  .summary-sticky {
    position: static;
    margin-top: 14px;
  }
  .opt-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
  }

  .tools input,
  .tools select { width: 100%; }

  .r2 { grid-template-columns: 1fr; }

  .md {
    max-width: 100%;
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    max-height: 95vh;
  }
  .ov { align-items: flex-end; }

  .dest-card { min-height: 380px !important; height: 380px !important; }

  .card .img { margin: 8px 8px 0; height: 190px; }
}

@media (max-width: 480px) {
  .card .body { padding: 14px 16px 18px; }
  .pr, .ft { flex-direction: column; align-items: stretch; gap: 10px; }
  .pr > div:last-child, .ft > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .pr .btn, .ft .btn { width: 100%; text-align: center; }
  .chips { gap: 6px; }
  .chip { padding: 7px 14px; font-size: .75rem; }
  .opt-grid { grid-template-columns: 1fr; }
}

/* ── Subtle Background Decorations for Booking & Selection Menus ──── */
.booking-card {
  position: relative;
  overflow: hidden;
}
.booking-card::after {
  content: "";
  position: absolute;
  top: -15px;
  right: -15px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, rgba(200, 150, 62, 0.12) 1.5px, transparent 1.5px),
                    radial-gradient(circle, rgba(200, 150, 62, 0.08) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  pointer-events: none;
  opacity: 0.7;
}

.opt-tile {
  background: var(--stone);
  position: relative;
  overflow: hidden;
}
.opt-tile::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, transparent 55%, rgba(200, 150, 62, 0.15) 55%);
  border-top-right-radius: var(--r-sm);
  pointer-events: none;
  transition: background var(--t);
}
.opt-tile.active::before {
  background: linear-gradient(135deg, transparent 40%, rgba(200, 150, 62, 0.35) 40%);
}

/* ── Disabled / Locked Option Tiles & Tour Rule Badges ─────────────── */
.opt-tile.is-disabled {
  opacity: 0.46;
  cursor: not-allowed !important;
  background: rgba(120, 128, 145, 0.08) !important;
  border: 1.5px dashed var(--line) !important;
  box-shadow: none !important;
  transform: none !important;
  filter: grayscale(0.65);
  user-select: none;
}
.opt-tile.is-disabled:hover {
  border-color: var(--line) !important;
  transform: none !important;
  box-shadow: none !important;
}
.opt-tile.is-disabled::before {
  display: none;
}

.opt-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}
.opt-status-badge.is-included {
  background: rgba(37, 211, 102, 0.14);
  color: #16a34a;
  border: 1px solid rgba(37, 211, 102, 0.35);
}
[data-theme="dark"] .opt-status-badge.is-included {
  color: #4ade80;
}
.opt-status-badge.is-price {
  background: rgba(200, 150, 62, 0.16);
  color: var(--gold);
  border: 1px solid rgba(200, 150, 62, 0.4);
}
.opt-status-badge.is-locked {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.28);
}
[data-theme="dark"] .opt-status-badge.is-locked {
  color: #f87171;
}

.tour-rules-banner {
  margin-top: 4px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(13, 27, 58, 0.06), rgba(200, 150, 62, 0.1));
  border: 1px solid rgba(200, 150, 62, 0.45);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink);
}
[data-theme="dark"] .tour-rules-banner {
  background: linear-gradient(135deg, rgba(13, 27, 58, 0.75), rgba(200, 150, 62, 0.14));
}
.tour-rules-banner strong {
  color: var(--gold);
}
.tour-rules-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.tour-rule-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--stone2);
  border: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink);
}

.field-lock-hint {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}
input.is-locked-field {
  background: rgba(200, 150, 62, 0.08) !important;
  border-color: var(--gold) !important;
  cursor: not-allowed;
  font-weight: 600;
}
.step button:disabled {
  opacity: 0.32;
  cursor: not-allowed !important;
  background: var(--line) !important;
  color: var(--mut) !important;
}

/* ── Header 1-Click Language Switcher (Zero-Box Minimal Luxury) ────── */
.hdr-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent !important;
  border: none !important;
  border-radius: 0;
  padding: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
[data-theme="light"] .hdr-lang-pill {
  background: transparent !important;
  border: none !important;
}
.hdr-lang-btn {
  appearance: none;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-heading, 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 6px;
  border-radius: 6px;
  cursor: pointer;
  line-height: 1;
  position: relative;
  transition: color 0.2s ease, transform 0.18s ease, opacity 0.2s ease;
}
header.s .hdr-lang-btn {
  color: var(--mut);
}
.hdr-lang-btn:hover,
header.s .hdr-lang-btn:hover {
  color: var(--gold2, #f4b65c);
}
.hdr-lang-btn.active,
.hdr-lang-btn.is-active {
  background: transparent !important;
  color: var(--gold2, #f4b65c) !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
header.s .hdr-lang-btn.active,
header.s .hdr-lang-btn.is-active {
  color: var(--gold, #c2661a) !important;
}
:root[data-theme="dark"] header.s .hdr-lang-btn.active,
:root[data-theme="dark"] header.s .hdr-lang-btn.is-active {
  color: var(--gold2, #f4b65c) !important;
}
.hdr-lang-btn.active::after,
.hdr-lang-btn.is-active::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* ── Luxury Card & Section Decorative Accents ──────────────────────── */
.card {
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(200, 150, 62, 0.38), transparent 45%, transparent 60%, rgba(200, 150, 62, 0.22));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}
.card:hover::before {
  opacity: 1;
}

.hd {
  position: relative;
}
.hd::after {
  content: "✦";
  display: block;
  margin: 14px auto 0;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 8px;
  opacity: 0.65;
  text-shadow: 0 0 12px rgba(200, 150, 62, 0.45);
}

/* ── Smart Tour Matcher Panel & Non-Overlapping Catalog Toolbar ──── */
.smart-matcher-panel {
  margin-bottom: 24px;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(13, 27, 58, 0.05), rgba(200, 150, 62, 0.09));
  border: 1.5px solid rgba(200, 150, 62, 0.42);
  box-shadow: var(--sh);
  position: relative;
  z-index: 30;
  box-sizing: border-box;
}
[data-theme="dark"] .smart-matcher-panel {
  background: linear-gradient(135deg, rgba(13, 27, 58, 0.85), rgba(22, 42, 82, 0.72));
  border-color: rgba(200, 150, 62, 0.5);
}

.matcher-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.matcher-header-text {
  flex: 1 1 320px;
  min-width: 0;
}
.matcher-title {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.06rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}
.matcher-subtitle {
  color: var(--mut);
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  line-height: 1.45;
}
.matcher-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.matcher-count-badge {
  background: rgba(200, 150, 62, 0.16);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.matcher-reset-btn {
  padding: 7px 14px !important;
  font-size: 0.78rem !important;
  min-height: 36px !important;
  white-space: nowrap;
}

.matcher-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  align-items: stretch !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.matcher-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--mut) !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
.matcher-field > span {
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.matcher-select {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--stone2);
  color: var(--ink);
  font: 500 0.88rem 'Inter', sans-serif;
  cursor: pointer;
  outline: none;
  text-overflow: ellipsis;
  transition: border-color var(--t), box-shadow var(--t);
}
.matcher-select:focus,
.matcher-select:hover {
  border-color: var(--gold);
}

/* 2-Row Catalog Toolbar: Row 1 = Category Chips, Row 2 = Search + Sort */
.tools.catalog-toolbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin: 0 0 28px;
  position: relative;
  z-index: 60;
}
.toolbar-categories-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}
.toolbar-categories-row .chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  flex: 1 1 100%;
}
.toolbar-categories-row .chip {
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.25;
}

.toolbar-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 12px;
  align-items: center;
  width: 100%;
}
.search-autocomplete-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
}
.search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  pointer-events: none;
  opacity: 0.7;
  z-index: 2;
}
.search-autocomplete-wrap input#q {
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 12px 16px 12px 42px !important;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--stone2);
  color: var(--ink);
  font: 400 0.94rem 'Inter', sans-serif;
}
.search-autocomplete-wrap input#q:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.2);
}
.toolbar-sort-wrap {
  width: 100%;
  min-width: 0;
}
.toolbar-sort-wrap select#so {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
  background: var(--stone2);
  color: var(--ink);
  font: 500 0.9rem 'Inter', sans-serif;
  cursor: pointer;
}

/* ── Smart Search Autocomplete Suggestions Box (Floating Overlay) ──── */
.search-suggestions-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 2500;
  background: var(--stone2);
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.45);
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-sizing: border-box;
}
.sug-header {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--mut);
  padding: 6px 10px 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.sug-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
  text-decoration: none;
  color: var(--ink);
}
.sug-item:hover {
  background: rgba(200, 150, 62, 0.15);
  transform: translateX(2px);
}
.sug-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.sug-cat-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}
.sug-cat-tour { background: rgba(200, 150, 62, 0.2); color: var(--gold); border: 1px solid rgba(200, 150, 62, 0.4); }
.sug-cat-service { background: rgba(59, 130, 246, 0.18); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.35); }
.sug-cat-hotel { background: rgba(16, 185, 129, 0.18); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.35); }
.sug-cat-transport { background: rgba(168, 85, 247, 0.18); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.35); }

.matcher-match-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.14);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.35);
  max-width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}
[data-theme="dark"] .matcher-match-pill {
  color: #34d399;
}

@media (max-width: 960px) {
  .matcher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}
@media (max-width: 680px) {
  .smart-matcher-panel {
    padding: 16px 14px !important;
  }
  .matcher-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .toolbar-search-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
}

/* User Profile Badge (Far Right Header Position & Strict All-Caps) */
#user-profile-badge {
  order: 9999 !important;
  margin-left: auto !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-weight: 800 !important;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

#user-profile-badge *,
#user-profile-badge span,
#hdr-user-name {
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  font-weight: 800 !important;
}

/* ── Mobile-First Component Optimizations ──────────────────────────── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
@media (max-width: 680px) {
  .fleet-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.new-review-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
@media (max-width: 680px) {
  .new-review-form {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

.nav-user-profile-card {
  display: none;
}
@media (max-width: 820px) {
  .nav-user-profile-card {
    order: -5;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 300px;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(200, 150, 62, 0.22), rgba(13, 27, 58, 0.65));
    border: 1.5px solid rgba(228, 184, 102, 0.55);
    border-radius: var(--r-md, 12px);
    color: var(--gold, #c8963e);
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    margin-bottom: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s, border-color 0.2s;
  }
  .nav-user-profile-card:active {
    transform: scale(0.97);
  }
}

@media (max-width: 680px) {
  .price-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }
  .conv-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .conv-arrow {
    transform: rotate(90deg) !important;
    margin: 4px auto !important;
  }
  .booking-card {
    padding: 18px 14px !important;
  }
  .card .body {
    padding: 14px 14px 16px !important;
  }
  [style*="minmax(210px"],
  [style*="minmax(220px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Destination Feature Blocks (Azerbaijan Encyclopedia) ───────────── */
.dest-feature-block {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  scroll-margin-top: 105px;
}
.dest-feature-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(13, 27, 58, 0.25);
  border-color: rgba(200, 150, 62, 0.6);
}
.dest-feature-block img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.dest-feature-block:hover img {
  transform: scale(1.04);
}

/* ── PRESTIGIOUS LUXURY TOUR NAVIGATOR & CATEGORY FILTER ───────────── */
.pharos-tour-navigator {
  margin-bottom: 32px;
  position: relative;
  z-index: 40;
}

/* Category Pills Bar (Row 1) */
.cat-pills-track {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  overflow-x: auto !important;
  padding: 6px 4px 14px !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}
.cat-pills-track::-webkit-scrollbar {
  display: none;
}

.cat-pills-track .chip {
  background: rgba(13, 27, 58, 0.72) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(228, 184, 102, 0.3) !important;
  color: #cbd5e1 !important;
  padding: 10px 20px !important;
  border-radius: 99px !important;
  font: 600 0.86rem 'Montserrat', sans-serif !important;
  letter-spacing: 0.03em !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}

.cat-pills-track .chip:hover {
  background: rgba(20, 40, 85, 0.88) !important;
  border-color: var(--gold, #c8963e) !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(200, 150, 62, 0.25) !important;
}

.cat-pills-track .chip.on {
  background: linear-gradient(135deg, var(--gold, #c8963e), #e4b866) !important;
  border-color: var(--gold2, #e4b866) !important;
  color: #070d18 !important;
  -webkit-text-fill-color: #070d18 !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 24px rgba(200, 150, 62, 0.45) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

/* Quick Filters Ribbon (Row 2) */
.filter-ribbon-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  background: linear-gradient(135deg, rgba(13, 27, 58, 0.75), rgba(18, 38, 78, 0.65)) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1.5px solid rgba(200, 150, 62, 0.4) !important;
  border-radius: 16px !important;
  padding: 12px 18px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
  box-sizing: border-box !important;
}

.filter-ribbon-search {
  flex: 1 1 260px !important;
  min-width: 220px !important;
  position: relative !important;
}

.filter-ribbon-search input#q {
  width: 100% !important;
  box-sizing: border-box !important;
  background: rgba(7, 14, 32, 0.85) !important;
  border: 1.5px solid rgba(228, 184, 102, 0.3) !important;
  border-radius: 99px !important;
  padding: 10px 16px 10px 40px !important;
  color: #fff !important;
  font: 500 0.86rem 'Inter', sans-serif !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.filter-ribbon-search input#q:focus {
  border-color: var(--gold, #c8963e) !important;
  box-shadow: 0 0 16px rgba(200, 150, 62, 0.3) !important;
}

.filter-ribbon-search .search-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold2);
  pointer-events: none;
  font-size: 0.9rem;
}

/* Luxury Dropdown Select Pills */
.filter-ribbon-pills {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

.luxury-select-pill {
  position: relative !important;
  display: inline-block !important;
}

.luxury-select-pill select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background: rgba(7, 14, 32, 0.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5z' fill='%23e4b866'/%3E%3C/svg%3E") no-repeat right 12px center !important;
  border: 1.5px solid rgba(228, 184, 102, 0.3) !important;
  border-radius: 99px !important;
  padding: 8px 30px 8px 14px !important;
  color: #e4b866 !important;
  font: 600 0.8rem 'Montserrat', sans-serif !important;
  letter-spacing: 0.02em !important;
  cursor: pointer;
  outline: none !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  max-width: 170px !important;
  text-overflow: ellipsis !important;
}

.luxury-select-pill select::-ms-expand {
  display: none !important;
}

.luxury-select-pill select:hover,
.luxury-select-pill select:focus {
  border-color: var(--gold2, #e4b866) !important;
  box-shadow: 0 0 14px rgba(200, 150, 62, 0.25) !important;
  background-color: rgba(13, 27, 58, 0.95) !important;
}

.filter-status-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 0.82rem !important;
  color: #cbd5e1 !important;
  white-space: nowrap !important;
}

.filter-count-badge {
  background: rgba(200, 150, 62, 0.18) !important;
  border: 1px solid var(--gold, #c8963e) !important;
  color: var(--gold2, #e4b866) !important;
  padding: 4px 12px !important;
  border-radius: 99px !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
}

.filter-reset-link {
  background: none !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 0.78rem !important;
  text-decoration: underline !important;
  cursor: pointer;
  padding: 4px 8px !important;
  transition: color 0.2s ease !important;
}

.filter-reset-link:hover {
  color: #f87171 !important;
}

/* ── SMOOTH SCROLL CAROUSEL / SLIDER FOR TOURS & DESTINATIONS ──────── */
.pharos-scroll-slider {
  position: relative !important;
  width: 100% !important;
}

.slider-nav-btn {
  position: absolute !important;
  top: 155px !important;
  transform: translateY(-50%) !important;
  z-index: 25 !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(13, 27, 58, 0.88) !important;
  backdrop-filter: blur(8px) !important;
  border: 1.5px solid var(--gold, #c8963e) !important;
  color: var(--gold2, #e4b866) !important;
  font-size: 1.4rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.25s ease !important;
  outline: none !important;
}

.slider-nav-btn:hover {
  background: var(--gold, #c8963e) !important;
  color: #070d18 !important;
  transform: translateY(-50%) scale(1.12) !important;
  box-shadow: 0 0 20px rgba(200, 150, 62, 0.6) !important;
}

.slider-nav-btn.prev {
  left: 8px !important;
}

.slider-nav-btn.next {
  right: 8px !important;
}

.scroll-snap-track {
  display: flex !important;
  gap: 24px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  scroll-snap-type: x mandatory !important;
  padding: 10px 4px 20px !important;
  scrollbar-width: thin !important;
  scrollbar-color: var(--gold) rgba(13, 27, 58, 0.3) !important;
}

.scroll-snap-track > * {
  flex: 0 0 340px !important;
  min-width: 320px !important;
  max-width: 380px !important;
  scroll-snap-align: start !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  .cat-pills-track {
    padding: 4px 2px 10px !important;
    gap: 8px !important;
  }
  .cat-pills-track .chip {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }
  .filter-ribbon-bar {
    padding: 10px 12px !important;
    gap: 8px !important;
  }
  .filter-ribbon-search {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  .filter-ribbon-pills {
    width: 100% !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 4px !important;
    scrollbar-width: none !important;
  }
  .filter-ribbon-pills::-webkit-scrollbar {
    display: none;
  }
  .luxury-select-pill select {
    font-size: 0.75rem !important;
    padding: 6px 26px 6px 10px !important;
  }
  .filter-status-pill {
    width: 100% !important;
    justify-content: space-between !important;
    margin-top: 4px !important;
  }
  .scroll-snap-track > * {
    flex: 0 0 85vw !important;
    min-width: 270px !important;
    max-width: 340px !important;
  }
  .slider-nav-btn {
    display: none !important;
  }
}

/* ── STICKY IN-PAGE TOUR SUB-NAVIGATION RIBBON ─────────────────────── */
.tour-subnav-sticky {
  position: sticky !important;
  top: 72px !important;
  z-index: 45 !important;
  background: rgba(7, 14, 30, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(200, 150, 62, 0.3) !important;
  padding: 8px 0 !important;
  margin-bottom: 24px !important;
}

.tour-subnav-track {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  white-space: nowrap !important;
}
.tour-subnav-track::-webkit-scrollbar {
  display: none;
}

.tour-subnav-link {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font: 600 0.8rem 'Montserrat', sans-serif !important;
  padding: 6px 14px !important;
  border-radius: 99px !important;
  border: 1px solid transparent !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.tour-subnav-link:hover,
.tour-subnav-link.active {
  background: rgba(200, 150, 62, 0.15) !important;
  border-color: rgba(228, 184, 102, 0.45) !important;
  color: var(--gold2, #e4b866) !important;
}

/* ── PHAROS LUXURY LIVE SUPPORT LAUNCHER (MIRRORING PHAROS CONCIERGE) ── */
#pharos-tawk-launcher-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999990;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(9, 19, 38, 0.95), rgba(18, 38, 78, 0.95));
  color: #fff;
  border: 1.5px solid rgba(228, 184, 102, 0.65);
  padding: 10px 18px;
  border-radius: 99px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(200, 150, 62, 0.35);
  cursor: pointer;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  user-select: none;
}

#pharos-tawk-launcher-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 22px rgba(200, 150, 62, 0.45);
  border-color: rgba(255, 217, 138, 0.9);
}

#pharos-tawk-launcher-btn .tawk-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

/* Hide default clunky Tawk.to circular widget bubble so only our luxury button is visible */
#tawk-bubble-container,
.tawk-min-container,
.tawk-custom-bubble,
div[class*="tawk-button"] {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Luxury container styling for opened Tawk chat window */
iframe[src*="tawk.to"],
iframe[title*="chat"],
.tawk-max-container {
  border-radius: 18px !important;
  border: 1.5px solid rgba(228, 184, 102, 0.45) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 32px rgba(200, 150, 62, 0.3) !important;
  overflow: hidden !important;
}

@media (max-width: 640px) {
  #pharos-ai-widget-btn {
    bottom: 16px !important;
    left: 12px !important;
    padding: 8px 12px !important;
    font-size: 0.76rem !important;
  }
  #pharos-tawk-launcher-btn {
    bottom: 16px !important;
    right: 12px !important;
    padding: 8px 12px !important;
    font-size: 0.76rem !important;
  }
}






/* ===================================================================
   PHAROS MOBILE RESPONSIVENESS SUITE (SMARTPHONES & TABLETS)
   Universal viewport adaptation, touch comfort, fluid typography,
   no horizontal scroll, and clean assistant positioning.
   =================================================================== */

/* Prevent horizontal overflow across the entire platform */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  -webkit-text-size-adjust: 100%;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* Guard: strictly hide live support launcher on Contact / Tech Support page */
body.page-contact #pharos-tawk-launcher-btn,
body.contact-page #pharos-tawk-launcher-btn,
body[data-page="contact"] #pharos-tawk-launcher-btn,
#contact-page #pharos-tawk-launcher-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Guard: strictly hide live support launcher & AI concierge on Maintenance Break screen */
body.page-maintenance #pharos-tawk-launcher-btn,
body.page-maintenance #pharos-ai-widget-btn,
body.page-maintenance #pharos-ai-chat-window,
body.page-maintenance #tawk-bubble-container,
body.page-maintenance .tawk-min-container,
body.page-maintenance .tawk-custom-bubble,
body.page-maintenance div[class*="tawk"],
body.page-maintenance iframe[src*="tawk.to"],
body.page-maintenance iframe[title*="chat"],
body#maintenance-page #pharos-tawk-launcher-btn,
body#maintenance-page #pharos-ai-widget-btn,
body#maintenance-page #pharos-ai-chat-window,
body[data-page="maintenance"] #pharos-tawk-launcher-btn,
body[data-page="maintenance"] #pharos-ai-widget-btn,
.maintenance-mode-active #pharos-tawk-launcher-btn,
.maintenance-mode-active #pharos-ai-widget-btn,
.maint-container ~ #pharos-tawk-launcher-btn,
.maint-container ~ #pharos-ai-widget-btn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

@media (max-width: 768px) {
  /* Fluid wrap container */
  .wrap {
    padding-left: clamp(14px, 4vw, 20px) !important;
    padding-right: clamp(14px, 4vw, 20px) !important;
    max-width: 100% !important;
  }

  .sec, section {
    padding: clamp(36px, 7vw, 56px) 0 !important;
  }

  /* Grid & Columns Collapse to 1 Column */
  .two, .three, .four, .grid, .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Hero Banner Fluid Scale */
  .page-hero {
    padding: clamp(96px, 16vw, 130px) 0 clamp(24px, 5vw, 36px) !important;
    min-height: auto !important;
  }
  .page-hero h1 {
    font-size: clamp(1.65rem, 7vw, 2.3rem) !important;
    line-height: 1.2 !important;
    margin-bottom: 10px !important;
  }
  .page-hero .lead {
    font-size: clamp(0.9rem, 3.8vw, 1.05rem) !important;
    line-height: 1.5 !important;
    max-width: 100% !important;
  }
  .page-hero .eyebrow {
    font-size: 0.72rem !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 6px !important;
  }
  #book-hero-chips {
    gap: 6px !important;
  }
  #book-hero-chips .tour-rule-chip {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
  }

  /* Cards & Thumbnails Touch Comfort */
  .card, .dest-card, .tour-card, .feature-card {
    border-radius: 18px !important;
  }
  .card:not(:has(.img)):not(:has(.case-figure)),
  .dest-card:not(:has(.img)),
  .feature-card {
    padding: clamp(16px, 4vw, 22px) !important;
  }
  .card:has(.img),
  .card:has(.case-figure) {
    padding: 0 !important;
  }
  .card .img,
  .card .case-figure {
    margin: 8px 8px 0 !important;
    border-radius: 14px !important;
  }
  .card .img {
    height: 205px !important;
  }
  .card .case-figure img {
    height: 195px !important;
  }
  .tour-card img, .dest-card img {
    border-radius: 12px 12px 0 0 !important;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
  }

  /* Destination Encyclopedia Blocks on Mobile */
  .dest-feature-block {
    margin-bottom: 28px !important;
    border-radius: 16px !important;
  }
  .dest-feature-block > div {
    grid-template-columns: 1fr !important;
  }
  .dest-feature-block img {
    height: 220px !important;
    min-height: 220px !important;
    width: 100% !important;
    object-fit: cover !important;
  }

  /* Subnav Ribbon & Pill Tracks Touch Scrolling */
  .tour-subnav, .cat-pills-track {
    padding: 4px 0 10px !important;
    gap: 6px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }

  /* Booking Portal Mobile Layout */
  .booking-portal {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .booking-portal .form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .booking-portal input:not([type="checkbox"]):not([type="radio"]),
  .booking-portal select,
  .booking-portal textarea {
    font-size: 16px !important; /* Prevents auto-zoom in mobile Safari */
    min-height: 44px !important;
  }

  /* Steppers & Pax Count buttons */
  .pax-stepper button,
  .stepper-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.25rem !important;
  }

  /* Team section on mobile */
  .team-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .team-photo-wrap {
    height: 320px !important;
  }

  /* Mobile Floating Assistants */
  #pharos-ai-widget-btn {
    bottom: 14px !important;
    left: 10px !important;
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
  }
  #pharos-tawk-launcher-btn {
    bottom: 14px !important;
    right: 10px !important;
    padding: 8px 14px !important;
    font-size: 0.78rem !important;
  }

  /* AI Concierge Chat Window on Mobile Phone Screen */
  #pharos-ai-chat-window {
    position: fixed !important;
    left: 8px !important;
    right: 8px !important;
    bottom: 64px !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
    height: min(520px, calc(100vh - 80px)) !important;
    border-radius: 18px !important;
    z-index: 999999 !important;
  }
  #pharos-ai-chat-window #ai-chat-input {
    font-size: 16px !important;
    padding: 9px 12px !important;
  }
  #pharos-ai-chat-window #ai-send-btn {
    width: 40px !important;
    height: 40px !important;
  }

  /* Modals on Mobile */
  #pharos-disrespect-modal > div,
  #pharos-onboard-modal > div,
  .pharos-modal-box {
    max-width: calc(100vw - 20px) !important;
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 540px) {
  /* 2-column highlight grid inside destination cards -> 1 column for pristine legibility */
  .dest-feature-block [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .dest-feature-block h3 {
    font-size: 1.35rem !important;
  }
  .tour-rules-chips {
    gap: 4px !important;
  }
  .tour-rule-chip {
    font-size: 0.72rem !important;
    padding: 3px 8px !important;
  }
}

@media (max-width: 400px) {
  /* Narrow smartphone optimization (iPhone SE, small Androids) */
  .logo-text {
    font-size: 0.85rem !important;
  }
  #pharos-ai-widget-btn span#ai-btn-text,
  #pharos-tawk-launcher-btn span#pharos-tawk-btn-label {
    display: none !important;
  }
  #pharos-ai-widget-btn,
  #pharos-tawk-launcher-btn {
    padding: 0 !important;
    border-radius: 50% !important;
    width: 42px !important;
    height: 42px !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* ===================================================================
   PHAROS TRAVEL — MODULES 2–5 ENTERPRISE UX, SEO & CONVERSION SUITE
   Breadcrumbs, Hero SLA, Sticky Mobile CTA, Cases, FAQ Accordion,
   Verified Reviews, Map Directions, Thank You, 404 & Privacy Consent
   =================================================================== */

/* 2.1 Focus-visible & Hero CTA States */
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--gold2, #e4b866) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 4px rgba(200, 150, 62, 0.28) !important;
}

.hero-cta-primary {
  background: linear-gradient(135deg, #e4b866 0%, #c8963e 100%) !important;
  color: #070e1e !important;
  font-weight: 800 !important;
  padding: 15px 28px !important;
  box-shadow: 0 10px 28px rgba(200, 150, 62, 0.45) !important;
}
.hero-cta-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 34px rgba(228, 184, 102, 0.6) !important;
}

/* 2.2 2-Hour SLA Micro-Trigger Badge */
.hero-sla-badge,
.sla-inline-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(13, 27, 58, 0.72);
  border: 1px solid rgba(228, 184, 102, 0.42);
  color: #f8fafc;
  font-size: 0.84rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  line-height: 1.35;
}
.sla-inline-box {
  background: rgba(200, 150, 62, 0.12);
  color: var(--ink);
  border-radius: var(--r-sm, 12px);
}
.hero-sla-badge .sla-icon {
  color: #4ade80;
  font-size: 1rem;
  flex-shrink: 0;
}

/* 2.3 Sticky Mobile CTA Bar (max-width: 768px) */
.pharos-sticky-mobile-cta {
  display: none;
}
@media (max-width: 768px) {
  body:not(.page-book):not(.page-thank-you):not(.page-maintenance):not(.page-blocked) {
    padding-bottom: 92px !important;
  }
  .pharos-sticky-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999980;
    background: rgba(7, 14, 30, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1.5px solid rgba(228, 184, 102, 0.5);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.55);
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  }
  .pharos-sticky-mobile-cta.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .sticky-mobile-inner {
    display: flex;
    gap: 8px;
    align-items: center;
    width: 100%;
  }
  .sticky-mobile-main-btn {
    flex: 1;
    justify-content: center;
    padding: 11px 14px !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    white-space: nowrap;
  }
  .sticky-mobile-wa-btn {
    padding: 11px 14px !important;
    font-size: 0.82rem !important;
    white-space: nowrap;
  }
  .sticky-mobile-sla {
    text-align: center;
    font-size: 0.69rem;
    color: #cbd5e1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* Shift floating chat launchers and back-to-top above Sticky Mobile CTA */
  body.has-sticky-cta #pharos-ai-widget-btn,
  body.has-sticky-cta #pharos-tawk-launcher-btn {
    bottom: 88px !important;
  }
  body.has-sticky-cta .top {
    bottom: 136px !important;
  }
}

/* 2.6 Breadcrumbs (Smart Multi-Level Luxury Bar with Contextual Quick-Jump Pills) */
.pharos-breadcrumbs {
  background: linear-gradient(90deg, rgba(4, 18, 24, 0.95) 0%, rgba(10, 42, 52, 0.90) 50%, rgba(4, 18, 24, 0.95) 100%);
  border-bottom: 1px solid rgba(244, 182, 92, 0.22);
  padding: 9px 0;
  font-size: 0.80rem;
  position: relative;
  z-index: 20;
}
[data-theme="light"] .pharos-breadcrumbs {
  background: linear-gradient(90deg, rgba(247, 249, 248, 0.97) 0%, rgba(238, 244, 243, 0.94) 100%);
  border-bottom: 1px solid rgba(194, 102, 26, 0.22);
}
.bc-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bc-list {
  list-style: none;
  margin: 0;
  padding: 5px 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 182, 92, 0.22);
  box-sizing: border-box;
}
.bc-list::-webkit-scrollbar {
  display: none;
}
[data-theme="light"] .bc-list {
  background: rgba(194, 102, 26, 0.05);
  border-color: rgba(194, 102, 26, 0.24);
}
.bc-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.bc-item.bc-item-current {
  flex: 0 1 auto;
  min-width: 0;
}
.bc-link {
  color: rgba(226, 236, 238, 0.78);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
[data-theme="light"] .bc-link {
  color: var(--mut);
}
.bc-home-svg {
  color: var(--gold2, #f4b65c);
  flex-shrink: 0;
}
[data-theme="light"] .bc-home-svg {
  color: var(--gold, #c2661a);
}
.bc-link:hover {
  color: var(--gold2, #f4b65c);
}
[data-theme="light"] .bc-link:hover {
  color: var(--gold, #c2661a);
}
.bc-sep {
  color: var(--gold2, #f4b65c);
  opacity: 0.6;
  user-select: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}
.bc-current {
  color: var(--gold2, #f4b65c);
  font-weight: 700;
  display: inline-block;
  max-width: 340px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
[data-theme="light"] .bc-current {
  color: #9e4f10;
}
.bc-quick-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.bc-quick-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 99px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  color: rgba(226, 236, 238, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
[data-theme="light"] .bc-quick-pill {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.85);
}
.bc-quick-pill:hover {
  border-color: var(--gold2, #f4b65c);
  color: var(--gold2, #f4b65c);
}
[data-theme="light"] .bc-quick-pill:hover {
  border-color: var(--gold, #c2661a);
  color: var(--gold, #c2661a);
}
.bc-quick-pill.bc-quick-accent {
  border-color: rgba(244, 182, 92, 0.48);
  color: #ffd596;
  background: rgba(244, 182, 92, 0.12);
}
[data-theme="light"] .bc-quick-pill.bc-quick-accent {
  border-color: rgba(194, 102, 26, 0.45);
  color: #9e4f10;
  background: rgba(194, 102, 26, 0.09);
}
@media (max-width: 760px) {
  .pharos-breadcrumbs {
    padding: 7px 0;
    font-size: 0.75rem;
  }
  .bc-quick-links {
    display: none;
  }
  .bc-list {
    width: 100%;
    padding: 4px 10px;
  }
  .bc-current {
    max-width: none;
    overflow: visible;
  }
}

/* 2.7 Internal Cross-Linking Hub */
.pharos-crosslink-sec {
  padding: 48px 0;
  background: var(--stone2);
  border-top: 1px solid var(--line);
}
.crosslink-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.crosslink-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.crosslink-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-md, 18px);
  background: var(--stone);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}
.crosslink-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: var(--sh);
}
.crosslink-icon {
  font-size: 1.55rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.crosslink-card strong {
  display: block;
  font-size: 0.96rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.crosslink-card p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--mut);
  line-height: 1.45;
}
.crosslink-arrow {
  margin-left: auto;
  color: var(--gold);
  font-weight: 700;
  align-self: center;
  flex-shrink: 0;
}

/* 3.1 Realized Cases & Figure / Figcaption (Module 3.1 & 4.4) */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.case-card {
  display: flex;
  flex-direction: column;
}
.case-figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #0d1b3a;
}
.case-figure img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.case-card:hover .case-figure img {
  transform: scale(1.04);
}
.case-figcaption,
.tour-detail-figcaption {
  font-size: 0.78rem;
  color: var(--mut);
  background: var(--stone2);
  padding: 7px 14px;
  border-top: 1px solid var(--line);
  font-style: italic;
}
.tour-detail-figcaption {
  border-radius: 0 0 var(--r-sm, 12px) var(--r-sm, 12px);
  margin-top: 6px;
  border: 1px solid var(--line);
}
.case-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case-meta {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.case-block {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--stone);
  border: 1px solid var(--line);
  font-size: 0.86rem;
}
.case-block p {
  margin: 4px 0 0;
  color: var(--mut);
  line-height: 1.5;
}
.case-lbl {
  color: var(--ink);
  font-size: 0.82rem;
  display: block;
}
.case-result {
  background: rgba(16, 185, 129, 0.07);
  border-color: rgba(16, 185, 129, 0.3);
}
.case-footer {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* 3.2 Accessible FAQ Accordion (Smooth, Zero-Shake CSS Grid Animation) */
.pharos-faq-list {
  display: grid;
  gap: 14px;
}
.faq-acc-item {
  background: var(--stone2);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md, 16px);
  overflow: hidden;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}
.faq-acc-item:hover {
  border-color: rgba(200, 150, 62, 0.48);
}
.faq-acc-item:has(.faq-acc-trigger[aria-expanded="true"]) {
  border-color: var(--gold);
  box-shadow: var(--sh);
}
.faq-acc-header {
  margin: 0;
}
.faq-acc-trigger,
.faq-acc-trigger:hover,
.faq-acc-trigger:active,
.faq-acc-trigger:focus {
  transform: none !important;
}
.faq-acc-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font: 700 1.01rem/1.4 'Montserrat', sans-serif;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: color 0.22s ease;
}
.faq-acc-trigger:hover {
  color: var(--gold);
}
.faq-acc-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(200, 150, 62, 0.14);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.18rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.28s ease, color 0.28s ease;
}
.faq-acc-trigger[aria-expanded="true"] .faq-acc-icon {
  transform: rotate(45deg);
  background: var(--gold);
  color: #070e1e;
}
.faq-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.36s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}
.faq-acc-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
}
.faq-acc-body {
  overflow: hidden;
  padding: 0 22px;
  color: var(--mut);
  font-size: 0.94rem;
  line-height: 1.68;
  transition: padding 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-acc-panel.is-open .faq-acc-body {
  padding: 0 22px 20px;
}
.faq-acc-body p {
  margin: 0;
}
.faq-acc-body a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}

/* ── Pharos Luxury Multilingual Customer Support Chat Window ───────── */
#pharos-live-support-window {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 375px;
  max-width: calc(100vw - 24px);
  height: 525px;
  max-height: calc(100dvh - 110px);
  z-index: 999998;
  background: linear-gradient(160deg, #061022 0%, #0b1f3a 55%, #071326 100%);
  border: 1.5px solid rgba(228, 184, 102, 0.55);
  border-radius: 22px;
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.78), 0 0 32px rgba(200, 150, 62, 0.26);
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #f1f5f9;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: phSupportSlideUp 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
#pharos-live-support-window.is-open {
  display: flex;
}
@keyframes phSupportSlideUp {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.ph-sup-header {
  padding: 15px 18px;
  background: linear-gradient(135deg, rgba(13, 33, 61, 0.96), rgba(200, 150, 62, 0.24));
  border-bottom: 1px solid rgba(228, 184, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ph-sup-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.ph-sup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4b866, #b45309);
  color: #061022;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(228, 184, 102, 0.45);
  position: relative;
}
.ph-sup-avatar-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #061022;
}
.ph-sup-title-wrap {
  min-width: 0;
}
.ph-sup-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffd98a;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ph-sup-subtitle {
  font-size: 0.74rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.ph-sup-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e2e8f0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}
.ph-sup-close:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #f87171;
  color: #fff;
}
.ph-sup-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(228, 184, 102, 0.4) transparent;
}
.ph-sup-msg-agent {
  align-self: flex-start;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(228, 184, 102, 0.32);
  border-left: 3px solid #e4b866;
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #f1f5f9;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.ph-sup-msg-user {
  align-self: flex-end;
  max-width: 86%;
  background: linear-gradient(135deg, #e4b866, #c8963e);
  color: #061022;
  font-weight: 600;
  border-radius: 14px 14px 4px 14px;
  padding: 10px 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  box-shadow: 0 6px 16px rgba(200, 150, 62, 0.32);
}
.ph-sup-quick-wrap {
  padding: 8px 14px 10px;
  border-top: 1px solid rgba(228, 184, 102, 0.16);
  background: rgba(4, 10, 22, 0.65);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ph-sup-quick-btn {
  background: rgba(228, 184, 102, 0.11);
  border: 1px solid rgba(228, 184, 102, 0.38);
  color: #fde68a;
  border-radius: 99px;
  padding: 6px 12px;
  font: 600 0.75rem 'Montserrat', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ph-sup-quick-btn:hover {
  background: linear-gradient(135deg, #e4b866, #c8963e);
  color: #061022;
  border-color: #ffd98a;
}
.ph-sup-footer {
  padding: 10px 12px;
  background: rgba(4, 10, 22, 0.95);
  border-top: 1px solid rgba(228, 184, 102, 0.25);
  display: flex;
  gap: 8px;
  align-items: center;
}
.ph-sup-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(228, 184, 102, 0.32);
  border-radius: 12px;
  padding: 10px 13px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.ph-sup-input:focus {
  border-color: #e4b866;
}
.ph-sup-send {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #e4b866, #c8963e);
  color: #061022;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  #pharos-live-support-window {
    left: 8px !important;
    right: 8px !important;
    bottom: 68px !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
    height: min(490px, calc(100dvh - 88px)) !important;
    border-radius: 18px !important;
    z-index: 1000000 !important;
  }
  .ph-sup-input {
    font-size: 16px !important; /* Prevents iOS Safari auto-zoom */
  }
  .hero-cta-group {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .hero-cta-group .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  .book-layout {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .summary-sticky {
    position: static !important;
  }
}

/* 3.3 Home Verified Reviews Header Pill */
.hrev-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  background: var(--stone2);
  border: 1px solid var(--gold);
  font-size: 0.88rem;
}

/* 3.4 Map & Directions Grid */
.map-directions-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 860px) {
  .map-directions-grid {
    grid-template-columns: 1fr;
  }
}
.dir-items {
  display: grid;
  gap: 14px;
}
.dir-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.dir-icon {
  font-size: 1.3rem;
  line-height: 1.2;
  flex-shrink: 0;
}
.dir-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 2px;
}
.dir-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}

/* 2.4 & 2.5 Thank-You & 404 Page Elements */
.ty-check-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.18);
  border: 2px solid #4ade80;
  color: #4ade80;
  font-size: 2rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.ty-sla-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 26px;
  border-radius: var(--r-md, 18px);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(200, 150, 62, 0.1));
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  margin-bottom: 28px;
}
.ty-sla-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.ty-sla-title {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.ty-sla-text {
  margin: 0;
  font-weight: 700;
  color: #16a34a;
  font-size: 0.96rem;
}
.ty-sum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.ty-sum-item {
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--stone);
  border: 1px solid var(--line);
}
.ty-sum-item small {
  display: block;
  color: var(--mut);
  font-size: 0.76rem;
  margin-bottom: 2px;
}
.err404-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 99px;
  background: rgba(228, 184, 102, 0.18);
  border: 1.5px solid var(--gold2);
  color: var(--gold2);
  font-family: var(--font-heading, 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 14px;
}

/* 5.1 Privacy Policy TOC & Mandatory Consent Checkbox */
.priv-toc-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px 20px;
  font-size: 0.9rem;
}
.priv-toc-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.priv-toc-list a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.privacy-consent-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  font-size: 0.85rem !important;
  color: var(--mut) !important;
  cursor: pointer;
  line-height: 1.45 !important;
  font-weight: 400 !important;
}
.privacy-consent-label input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin-top: 2px !important;
  accent-color: var(--gold);
  flex-shrink: 0;
  cursor: pointer;
}
.privacy-consent-label a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════════════
   REGIONAL PHOTO GALLERY RIBBON, LIGHTBOX, THUMB STRIP & SLIDER DOTS
   ══════════════════════════════════════════════════════════════════════ */

/* 1. Tour Page Regional Photo Gallery Ribbon */
.tour-gallery-ribbon {
  margin: 22px 0 26px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(13, 27, 58, 0.62), rgba(7, 13, 24, 0.78));
  border: 1.5px solid rgba(200, 150, 62, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.tour-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.tour-gallery-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold2, #e4b866);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tour-gallery-hint {
  font-size: 0.74rem;
  color: var(--mut);
}
.tour-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.tour-gal-item {
  margin: 0;
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  border: 1.5px solid rgba(228, 184, 102, 0.26);
  background: #070d18;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.28s ease;
}
.tour-gal-item:hover,
.tour-gal-item.is-active-gal {
  transform: translateY(-3px) scale(1.02);
  border-color: #ffd98a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45), 0 0 14px rgba(200, 150, 62, 0.32);
}
.tour-gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.tour-gal-item:hover img {
  transform: scale(1.08);
}
.tour-gal-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 8px 6px;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 20, 0.94));
  color: #f8fafc;
  font-size: 0.71rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

@media (max-width: 680px) {
  .tour-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .tour-gallery-ribbon {
    padding: 13px 14px;
  }
}

/* 2. Card Gallery Count Pill & Compact Specs Strip */
.card-gallery-pill {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 4;
  background: rgba(6, 12, 24, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(228, 184, 102, 0.48);
  color: #fde68a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  pointer-events: none;
}
.card-specs-strip {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--mut);
}
.card-specs-strip span {
  background: var(--stone2);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

/* 3. Destination Block Mini Thumbnail Strip */
.dest-thumb-strip {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  gap: 7px;
  background: rgba(6, 12, 24, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 5px 7px;
  border-radius: 12px;
  border: 1px solid rgba(228, 184, 102, 0.35);
}
.dest-thumb-btn {
  width: 52px;
  height: 38px;
  padding: 0;
  border-radius: 7px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: #091326;
  cursor: pointer;
  opacity: 0.72;
  transition: transform 0.22s ease, opacity 0.22s ease, border-color 0.22s ease;
}
.dest-thumb-btn:hover,
.dest-thumb-btn.active {
  opacity: 1;
  border-color: #ffd98a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 150, 62, 0.45);
}
.dest-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 4. Interactive Slider Pagination Dots & Active Slide Highlight */
.ph-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.ph-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  border: 1px solid rgba(228, 184, 102, 0.55);
  background: rgba(228, 184, 102, 0.18);
  padding: 0;
  cursor: pointer;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease;
}
.ph-slider-dot.active {
  width: 26px;
  background: linear-gradient(90deg, #ffd98a, #c8963e);
  border-color: #ffd98a;
  box-shadow: 0 0 10px rgba(228, 184, 102, 0.55);
}
.scroll-snap-track .card.is-active-slide {
  border-color: rgba(228, 184, 102, 0.55);
}

/* 5. Booking Page Tour Rules Visual Preview Row */
.tour-rules-visual-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tour-rules-thumb {
  width: 112px;
  height: 82px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid var(--gold2, #e4b866);
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.tour-rules-body {
  flex: 1;
  min-width: 0;
}
.tour-rules-view-link {
  display: inline-block;
  margin-top: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold2, #e4b866);
  text-decoration: underline;
}
@media (max-width: 560px) {
  .tour-rules-visual-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .tour-rules-thumb {
    width: 100%;
    height: 135px;
  }
}

/* 6. Fullscreen Regional Photo Lightbox Modal */
#pharos-regional-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000005;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}
#pharos-regional-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.ph-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 9, 20, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.ph-lb-stage {
  position: relative;
  z-index: 2;
  max-width: min(1080px, 94vw);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ph-lb-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
}
.ph-lb-img {
  max-width: min(980px, 90vw);
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: 16px;
  border: 1.5px solid rgba(228, 184, 102, 0.55);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85);
  object-fit: contain;
  transition: opacity 0.18s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.ph-lb-caption {
  margin-top: 12px;
  padding: 8px 18px;
  border-radius: 99px;
  background: rgba(13, 27, 58, 0.92);
  border: 1px solid rgba(228, 184, 102, 0.4);
  color: #f8fafc;
  font-size: 0.86rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 90vw;
  text-align: center;
}
.ph-lb-counter {
  color: var(--gold2, #e4b866);
  font-family: var(--font-heading, 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif);
  font-weight: 700;
  white-space: nowrap;
}
.ph-lb-close {
  position: fixed;
  top: 20px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(228, 184, 102, 0.55);
  background: rgba(13, 27, 58, 0.9);
  color: #ffd98a;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ph-lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(228, 184, 102, 0.55);
  background: rgba(13, 27, 58, 0.88);
  color: #ffd98a;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ph-lb-nav.prev { left: 18px; }
.ph-lb-nav.next { right: 18px; }
.ph-lb-nav:hover,
.ph-lb-close:hover {
  background: #e4b866;
  color: #061022;
}

