:root {
  --dark: #102f33;
  --muted: #5f7478;
  --bg: #f1fbfb;
  --card: #ffffff;
  --teal: #18a6b5;
  --teal-dark: #0f93a2;
  --orange: #ed6a5a;
  --yellow: #f7b32b;
  --border: rgba(16, 47, 51, .10);
  --shadow: 0 22px 65px rgba(16, 47, 51, .13);
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background:
    radial-gradient(circle at top left, rgba(24, 166, 181, .18), transparent 34rem),
    radial-gradient(circle at top right, rgba(247, 179, 43, .15), transparent 34rem),
    var(--bg);
  overflow-x: hidden;
}

body.dark-mode {
  --bg: #081c1f;
  --card: #102f33;
  --dark: #f3ffff;
  --muted: #bdd2d5;
  --border: rgba(255, 255, 255, .13);
}

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

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

.section {
  padding: 72px 0;
}

.page-hero {
  padding: 86px 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 950;
}

h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .94;
  letter-spacing: -.07em;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -.055em;
  line-height: 1;
}

h3 {
  color: var(--dark);
}

p {
  color: var(--muted);
  line-height: 1.6;
  font-weight: 750;
}

.hero-sub {
  max-width: 760px;
  font-size: clamp(17px, 2vw, 22px);
  margin-top: 18px;
}

.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 100;
  width: min(var(--max), calc(100% - 48px));
  margin: 16px auto 0;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 55px rgba(16, 47, 51, .12);
}

.dark-mode .nav {
  background: rgba(10, 31, 35, .88);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 950;
  flex-shrink: 0;
}

.brand img {
  width: 42px !important;
  height: 42px !important;
  object-fit: contain !important;
  border-radius: 14px !important;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(24, 166, 181, .13);
}

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

.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--dark);
  font-weight: 950;
  cursor: pointer;
}

.primary-action,
.primary-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(24, 166, 181, .26);
}

.terms-btn {
  width: 46px;
  height: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(24, 166, 181, .10);
  color: var(--dark);
}

.terms-btn:hover,
.terms-btn.active {
  background: rgba(24, 166, 181, .14);
}

.terms-btn svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.orange-btn {
  background: var(--orange) !important;
  box-shadow: 0 16px 34px rgba(237, 106, 90, .24) !important;
}

.menu-btn {
  display: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: 62px;
  height: 62px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #25d366;
  color: white;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(37, 211, 102, .35);
}

.footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer p {
  max-width: 640px;
}

.loading-state {
  color: var(--muted);
  font-weight: 900;
}

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

  .nav {
    border-radius: 28px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .terms-btn {
    display: none;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

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

@media (max-width: 760px) {
  .container,
  .nav-wrap {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 52px 0;
  }
}

/* ===== Home Page ===== */

.hero {
  padding: 88px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 42px;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-card {
  overflow: hidden;
  border-radius: 36px;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.trip-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.trip-img {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: #dff6f8;
}

.trip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--yellow);
  color: #102f33;
  font-size: 13px;
  font-weight: 950;
  text-transform: capitalize;
}

.trip-body {
  padding: 18px;
}

.trip-body h3 {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 950;
}

.meta span {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.trip-body p {
  margin: 0 0 16px;
}

.price {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 27px;
  font-weight: 950;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f5fbfc;
  border: 1px solid #dbeaec;
  color: #102f33;
  font-size: 13px;
  font-weight: 950;
}

.trip-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trip-actions a {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.testimonial-card,
.team-card {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stars {
  color: var(--yellow);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.team-card img {
  width: 100% !important;
  height: 210px !important;
  border-radius: 24px !important;
  object-fit: cover !important;
  margin-bottom: 14px;
}

.team-role {
  display: block;
  color: var(--muted);
  font-weight: 950;
  margin-bottom: 10px;
}

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

.section-head h2 {
  margin-bottom: 0;
}

.section-link {
  color: var(--teal);
  font-weight: 950;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    height: 320px;
  }
}

@media (max-width: 760px) {
  .trip-actions {
    grid-template-columns: 1fr;
  }

  .hero-card img,
  .trip-img {
    height: 240px;
  }
}

/* ===== Trips + Trip Details Pages ===== */

.trips-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.trips-search {
  width: min(420px, 100%);
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--dark);
  outline: none;
  font-weight: 800;
}

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

.detail-main,
.side-panel {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.detail-main > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.detail-content,
.side-panel {
  padding: 26px;
}

.detail-content h2 {
  margin: 0 0 14px;
}

.detail-content h3 {
  margin: 28px 0 12px;
  font-size: 24px;
}

.detail-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 16px;
  background: #f7fbfb;
  border: 1px solid #e2ecee;
  color: #102f33;
  font-weight: 950;
}

.side-panel h2 {
  color: var(--orange);
  font-size: 36px;
}

.side-panel .primary-action {
  width: 100%;
  margin-top: 14px;
}

@media (max-width: 980px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .trips-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .detail-main > img {
    height: 260px;
  }
}

/* ===== Feedbacks Page ===== */

.feedback-hero-note {
  max-width: 720px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feedback-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feedback-card .stars {
  color: var(--yellow);
  font-size: 21px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.feedback-card blockquote {
  margin: 0;
  color: var(--dark);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 800;
}

.feedback-card footer {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-weight: 950;
}

.feedback-empty {
  grid-column: 1 / -1;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .feedback-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Team Page ===== */

.team-hero-note {
  max-width: 720px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.team-page-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.team-page-card img {
  width: 92px !important;
  height: 92px !important;
  border-radius: 28px !important;
  object-fit: cover !important;
  margin-bottom: 16px;
  background: #f5fbfc;
  border: 1px solid var(--border);
}

.team-page-card h3 {
  margin: 0 0 6px;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.035em;
}

.team-page-role {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-weight: 950;
}

.team-page-card p {
  margin: 0;
}

.team-empty {
  grid-column: 1 / -1;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== About + Contact Pages ===== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.info-card {
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-card strong {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(24, 166, 181, .12);
  color: var(--teal);
  font-size: 22px;
}

.info-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -.035em;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 18px;
  background: #f7fbfb;
  border: 1px solid #e2ecee;
  color: #102f33;
  font-weight: 950;
}

.contact-item span {
  color: #62797d;
  font-size: 14px;
}

.contact-box {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  box-shadow: var(--shadow);
}

.contact-box p,
.contact-box .eyebrow {
  color: rgba(255, 255, 255, .86);
}

.contact-box h2 {
  color: white;
}

.contact-box .primary-action {
  width: 100%;
  margin-top: 14px;
  background: white;
  color: #102f33;
}

@media (max-width: 980px) {
  .info-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== Custom Trip Page ===== */

.custom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: start;
}

.custom-note {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: white;
  box-shadow: var(--shadow);
}

.custom-note p,
.custom-note .eyebrow {
  color: rgba(255, 255, 255, .86);
}

.custom-note h2 {
  color: white;
}

.form-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 15px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-weight: 950;
  color: var(--dark);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  color: #102f33;
  outline: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

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

.form-message {
  min-height: 22px;
  margin: 0;
  font-weight: 900;
}

.form-message.success {
  color: #168a50;
}

.form-message.error {
  color: #c73c30;
}

@media (max-width: 980px) {
  .custom-layout,
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Reservation Ticket Page ===== */

.ticket-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background:
    radial-gradient(circle at 8% 5%, rgba(24, 166, 181, .20), transparent 34rem),
    radial-gradient(circle at 92% 92%, rgba(247, 179, 43, .18), transparent 34rem),
    #f4fbfb;
}

.ticket-card {
  width: min(1040px, 100%);
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(16, 47, 51, .10);
  border-radius: 30px;
  background: rgba(255, 255, 255, .96);
  color: #102f33;
  box-shadow: 0 30px 90px rgba(16, 47, 51, .18);
}

.ticket-topbar,
.ticket-footer,
.ticket-brand,
.ticket-meta,
.ticket-panel-title {
  display: flex;
  align-items: center;
}

.ticket-topbar,
.ticket-footer {
  justify-content: space-between;
  gap: 16px;
}

.ticket-brand {
  gap: 12px;
  min-width: 0;
}

.ticket-brand img {
  width: 58px !important;
  height: 58px !important;
  object-fit: contain !important;
  padding: 7px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(16, 47, 51, .10);
  box-shadow: 0 10px 26px rgba(16, 47, 51, .08);
}

.ticket-brand strong,
.ticket-meta strong,
.ticket-panel-title strong {
  display: block;
  color: #102f33;
}

.ticket-brand strong {
  font-size: 26px;
  line-height: 1;
}

.ticket-brand small,
.ticket-meta span,
.ticket-panel-title span {
  display: block;
  color: #62797d;
  font-weight: 900;
}

.ticket-meta {
  flex-direction: column;
  align-items: flex-end;
  padding: 12px 16px;
  border-radius: 18px;
  background: #f7fbfb;
  border: 1px solid #dfecee;
}

.ticket-meta strong {
  font-size: 24px;
}

.ticket-hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 28px;
  border-radius: 26px;
  border: 1px solid rgba(24, 166, 181, .18);
  background:
    linear-gradient(135deg, rgba(24, 166, 181, .12), rgba(247, 179, 43, .10)),
    #f9fdfd;
}

.ticket-label {
  margin: 0 0 8px;
  color: #62797d;
  font-weight: 950;
}

.ticket-hero-panel h1 {
  margin: 0;
  color: #102f33;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0;
}

.ticket-trip-line,
.ticket-muted-line,
.ticket-note-text {
  margin: 10px 0 0;
  color: #62797d;
  font-weight: 850;
}

.ticket-status-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #18a6b5, #0f93a2);
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(24, 166, 181, .22);
}

.ticket-data {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ticket-data div {
  min-height: 94px;
  padding: 15px;
  border-radius: 18px;
  background: #f7fbfb;
  border: 1px solid #dfecee;
}

.ticket-data span {
  display: block;
  color: #62797d;
  font-size: 13px;
  font-weight: 900;
}

.ticket-data strong {
  display: block;
  margin-top: 5px;
  color: #102f33;
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.ticket-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.ticket-panel {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #dfecee;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 47, 51, .07);
}

.ticket-panel-title {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ticket-panel-title strong {
  text-align: end;
}

.ticket-money-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ticket-money-grid div {
  padding: 14px;
  border-radius: 16px;
  background: #f7fbfb;
  border: 1px solid #dfecee;
}

.ticket-money-grid span,
.ticket-list small {
  display: block;
  color: #62797d;
  font-weight: 850;
}

.ticket-money-grid strong {
  display: block;
  margin-top: 6px;
  color: #102f33;
  font-size: 20px;
}

.ticket-list {
  display: grid;
  gap: 10px;
}

.ticket-list-empty {
  color: #62797d;
  font-weight: 850;
}

.ticket-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #f8fbfb;
  border: 1px solid #e3eff1;
}

.ticket-list-row span {
  color: #102f33;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.ticket-list-row small {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
}

.ticket-list-row strong {
  padding: 5px 9px;
  border-radius: 999px;
  color: #0f93a2;
  background: rgba(24, 166, 181, .10);
  font-size: 13px;
}

.ticket-public-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  color: #0f93a2;
  background: rgba(24, 166, 181, .10);
  font-weight: 950;
}

.ticket-footer {
  padding-top: 2px;
}

.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
}

.ticket-actions .primary-action {
  width: auto;
  min-width: 170px;
  justify-content: center;
  text-align: center;
}

.ticket-share {
  background: linear-gradient(135deg, #1fa864, #26c77a);
}

@media (max-width: 760px) {
  .ticket-page {
    padding: 18px;
  }

  .ticket-card {
    padding: 18px;
    border-radius: 24px;
  }

  .ticket-topbar,
  .ticket-footer,
  .ticket-hero-panel {
    align-items: stretch;
  }

  .ticket-topbar,
  .ticket-footer {
    flex-direction: column;
  }

  .ticket-meta {
    align-items: flex-start;
    width: 100%;
  }

  .ticket-hero-panel,
  .ticket-data,
  .ticket-columns,
  .ticket-money-grid {
    grid-template-columns: 1fr;
  }

  .ticket-hero-panel {
    padding: 22px;
  }

  .ticket-hero-panel h1 {
    font-size: 34px;
  }

  .ticket-data {
    gap: 10px;
  }

  .ticket-actions,
  .ticket-actions .primary-action {
    width: 100%;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 0;
  }

  body {
    background: white !important;
  }

  .ticket-page {
    min-height: auto !important;
    display: block !important;
    padding: 0 !important;
    background: white !important;
  }

  .ticket-card {
    width: 190mm !important;
    margin: 0 auto !important;
    padding: 8mm !important;
    gap: 4mm !important;
    border-radius: 8mm !important;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    break-inside: avoid !important;
  }

  .ticket-hero-panel {
    padding: 6mm !important;
    border-radius: 6mm !important;
  }

  .ticket-hero-panel h1 {
    font-size: 28px !important;
  }

  .ticket-data {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .ticket-data div,
  .ticket-panel,
  .ticket-money-grid div,
  .ticket-list-row {
    box-shadow: none !important;
    break-inside: avoid !important;
  }

  .ticket-data div {
    min-height: auto !important;
    padding: 4mm !important;
  }

  .ticket-columns {
    grid-template-columns: 1fr 1fr !important;
  }

  .ticket-print,
  .ticket-actions,
  .form-message {
    display: none !important;
  }
}

/* ===== Feedback + Ticket Production Polish ===== */
.hidden {
  display: none !important;
}

.rating-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.rating-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rating-option label {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--dark);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(16, 47, 51, .08);
}

.rating-option input:checked + label,
.rating-option label:hover {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff;
  border-color: transparent;
}

.feedback-link-state {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 950;
  line-height: 1.8;
}

.feedback-link-state.error {
  color: #b8322b;
}

.feedback-link-state.success {
  color: #147a49;
}

.feedback-card {
  overflow-wrap: anywhere;
}

.feedback-card .stars {
  letter-spacing: 0;
}

.ticket-card {
  border: 1px solid rgba(16, 47, 51, .10);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,252,252,.94)),
    white;
}

.ticket-left h1,
.ticket-right strong {
  letter-spacing: 0;
}

.ticket-data {
  align-items: stretch;
}

.ticket-data div {
  min-height: 86px;
}

.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.ticket-actions .primary-action {
  width: auto;
  min-width: 170px;
  justify-content: center;
  text-align: center;
}

.ticket-share {
  background: linear-gradient(135deg, #1fa864, #26c77a);
}

@media print {
  .ticket-actions {
    display: none !important;
  }
}

/* ===== Enhancement 1: Header + General Polish ===== */

.nav {
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 70px rgba(16, 47, 51, .16);
}

.brand span {
  letter-spacing: -.04em;
}

.nav-links a,
.primary-action,
.primary-btn,
.icon-btn,
.trip-card,
.feedback-card,
.team-page-card,
.info-card,
.contact-panel,
.form-card,
.detail-main,
.side-panel {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background .22s ease,
    border-color .22s ease,
    color .22s ease;
}

.nav-links a:hover {
  color: var(--teal);
}

.primary-action:hover,
.primary-btn:hover {
  transform: translateY(-2px);
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(24, 166, 181, .35);
}

.trip-card:hover,
.feedback-card:hover,
.team-page-card:hover,
.info-card:hover,
.contact-panel:hover,
.form-card:hover,
.detail-main:hover,
.side-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(16, 47, 51, .18);
}

.whatsapp-float {
  transition: transform .22s ease, box-shadow .22s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 54px rgba(37, 211, 102, .42);
}

/* better focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(24, 166, 181, .30);
  outline-offset: 3px;
}

/* smoother images */
.trip-img img,
.hero-card img,
.detail-main > img {
  transition: transform .45s ease;
}

.trip-card:hover .trip-img img,
.hero-card:hover img,
.detail-main:hover > img {
  transform: scale(1.035);
}

/* ===== Enhancement 2: Home Hero Polish ===== */

.hero {
  position: relative;
  padding: 104px 0 68px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 40px auto auto 4%;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  background: rgba(24, 166, 181, .12);
  filter: blur(18px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 30px;
  width: 230px;
  height: 230px;
  border-radius: 999px;
  background: rgba(237, 106, 90, .10);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(54px, 8.5vw, 104px);
  line-height: .88;
  letter-spacing: -.085em;
}

.hero-sub {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions {
  margin-top: 30px;
}

.hero-actions .primary-action {
  min-height: 52px;
  padding-inline: 26px;
}

.hero-card {
  position: relative;
  border-radius: 42px;
  transform: rotate(1.2deg);
}

.hero-card::before {
  content: "Next escape";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--yellow);
  color: #102f33;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(16, 47, 51, .16);
}

.hero-card::after {
  content: "Tirhal handles the details";
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  max-width: 220px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  color: #102f33;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(16, 47, 51, .18);
  backdrop-filter: blur(12px);
}

.hero-card img {
  height: 460px;
  filter: saturate(1.05) contrast(1.02);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stat {
  min-width: 130px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid var(--border);
  box-shadow: 0 12px 34px rgba(16, 47, 51, .08);
}

.dark-mode .hero-stat {
  background: rgba(255, 255, 255, .06);
}

.hero-stat strong {
  display: block;
  color: var(--dark);
  font-size: 25px;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero {
    padding-top: 78px;
  }

  .hero-card {
    transform: none;
  }

  .hero-card img {
    height: 340px;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .hero-card::after {
    left: 16px;
    right: 16px;
    max-width: none;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* ===== Enhancement 3: Trip Cards Polish ===== */

.trip-card {
  position: relative;
  isolation: isolate;
  border-radius: 32px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.90)),
    var(--card);
}

.dark-mode .trip-card {
  background:
    linear-gradient(180deg, rgba(16,47,51,.96), rgba(16,47,51,.90)),
    var(--card);
}

.trip-card::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24,166,181,.35), transparent);
  opacity: .9;
}

.trip-img {
  height: 235px;
  border-radius: 0 0 28px 28px;
}

.trip-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,47,51,.08), transparent 42%),
    linear-gradient(0deg, rgba(16,47,51,.24), transparent 48%);
  pointer-events: none;
}

.badge {
  top: 16px;
  left: 16px;
  padding: 9px 14px;
  box-shadow: 0 12px 28px rgba(16,47,51,.18);
}

.trip-body {
  padding: 20px;
}

.trip-body h3 {
  font-size: 34px;
  margin-bottom: 10px;
}

.trip-body p {
  min-height: 68px;
  font-size: 15px;
  line-height: 1.52;
}

.meta {
  margin-bottom: 14px;
}

.meta span {
  position: relative;
}

.meta span + span::before {
  content: "•";
  margin-right: 8px;
  color: var(--orange);
}

.price {
  font-size: 30px;
  letter-spacing: -.04em;
}

.chips {
  margin-bottom: 20px;
}

.chip {
  background: rgba(245,251,252,.92);
  box-shadow: 0 8px 18px rgba(16,47,51,.05);
}

.trip-actions {
  gap: 11px;
}

.trip-actions .primary-action {
  box-shadow: none;
}

.trip-actions .orange-btn {
  background: linear-gradient(135deg, var(--orange), #f08255) !important;
}

@media (max-width: 760px) {
  .trip-img {
    height: 225px;
  }

  .trip-body h3 {
    font-size: 31px;
  }

  .trip-body p {
    min-height: auto;
  }
}

/* ===== Enhancement 4: Trip Details Polish ===== */

.detail-layout {
  align-items: start;
}

.detail-main {
  border-radius: 36px;
  overflow: hidden;
}

.detail-main > img {
  height: 470px;
  filter: saturate(1.05) contrast(1.02);
}

.detail-content {
  padding: 30px;
}

.detail-content .chips:first-child {
  margin-bottom: 22px;
}

.detail-content h2 {
  max-width: 720px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: .96;
  letter-spacing: -.07em;
}

.detail-content > p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
}

.detail-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-size: 26px;
  letter-spacing: -.035em;
}

.detail-content h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(237, 106, 90, .12);
}

.detail-list li {
  min-height: 54px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(245,251,252,.92));
}

.detail-list li strong {
  color: var(--orange);
  white-space: nowrap;
}

.side-panel {
  position: sticky;
  top: 110px;
  border-radius: 34px;
  padding: 28px;
}

.side-panel::before {
  content: "";
  display: block;
  width: 52px;
  height: 6px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

.side-panel h2 {
  margin-bottom: 12px;
  font-size: 42px;
  letter-spacing: -.055em;
}

.side-panel p {
  margin: 0 0 14px;
}

.side-panel .primary-action {
  min-height: 52px;
}

.trip-detail-note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(24, 166, 181, .10);
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .side-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .detail-content {
    padding: 22px;
  }

  .detail-main > img {
    height: 280px;
  }

  .detail-content h2 {
    font-size: 38px;
  }

  .detail-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== Enhancement 5: Feedbacks + Team Polish ===== */

.feedback-card,
.testimonial-card,
.team-page-card,
.team-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.feedback-card::before,
.testimonial-card::before,
.team-page-card::before,
.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top right, rgba(24, 166, 181, .12), transparent 45%),
    radial-gradient(circle at bottom left, rgba(247, 179, 43, .10), transparent 45%);
  opacity: .9;
}

.feedback-card::after,
.testimonial-card::after {
  content: "“";
  position: absolute;
  right: 20px;
  bottom: -32px;
  color: rgba(24, 166, 181, .12);
  font-size: 150px;
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.feedback-card blockquote,
.testimonial-card p {
  position: relative;
  z-index: 2;
}

.feedback-card .stars,
.testimonial-card .stars {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(247, 179, 43, .13);
  color: var(--yellow);
  font-size: 18px;
  letter-spacing: 1px;
}

.feedback-card footer,
.testimonial-card strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(24, 166, 181, .10);
  color: var(--dark);
  font-size: 14px;
  font-weight: 950;
}

.team-page-card,
.team-card {
  text-align: left;
}

.team-page-card img,
.team-card img {
  box-shadow: 0 16px 36px rgba(16, 47, 51, .16);
}

.team-page-card h3,
.team-card h3 {
  margin-top: 4px;
}

.team-page-role,
.team-role,
.team-card strong {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(237, 106, 90, .10);
  color: var(--orange);
  font-size: 14px;
  font-weight: 950;
}

.team-page-card p,
.team-card p {
  margin-top: 14px;
}

.team-grid .team-page-card:nth-child(3n+2),
#homeTeam .team-card:nth-child(3n+2) {
  transform: translateY(18px);
}

.team-grid .team-page-card:nth-child(3n+2):hover,
#homeTeam .team-card:nth-child(3n+2):hover {
  transform: translateY(12px);
}

@media (max-width: 980px) {
  .team-grid .team-page-card:nth-child(3n+2),
  #homeTeam .team-card:nth-child(3n+2) {
    transform: none;
  }

  .team-grid .team-page-card:nth-child(3n+2):hover,
  #homeTeam .team-card:nth-child(3n+2):hover {
    transform: translateY(-4px);
  }
}

/* ===== Enhancement 6: Mobile + Final Consistency ===== */

/* safer page width */
body {
  min-width: 320px;
}

/* keep nav always clean */
.nav-wrap {
  max-width: var(--max);
}

.nav {
  position: relative;
}

.nav-links.open {
  z-index: 200;
}

/* prevent long text breaking layout */
h1,
h2,
h3,
p,
.trip-body,
.detail-content,
.side-panel,
.feedback-card,
.team-page-card {
  overflow-wrap: anywhere;
}

/* consistent section separation */
.section + .section {
  padding-top: 34px;
}

/* consistent button feel */
.primary-action,
.primary-btn,
.orange-btn {
  text-align: center;
  line-height: 1.15;
}

/* make cards equal and clean */
.grid > .trip-card,
.grid > .feedback-card,
.grid > .testimonial-card,
.grid > .team-page-card,
.grid > .team-card,
.grid > .info-card {
  height: 100%;
}

/* better dark-mode chips/list readability */
.dark-mode .chip,
.dark-mode .detail-list li,
.dark-mode .contact-item {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  color: #f3ffff;
}

.dark-mode .field input,
.dark-mode .field textarea,
.dark-mode .field select,
.dark-mode .trips-search {
  background: rgba(255, 255, 255, .92);
  color: #102f33;
}

/* mobile nav fixes */
@media (max-width: 980px) {
  .nav-wrap {
    top: 10px;
    margin-top: 10px;
  }

  .nav {
    min-height: 68px;
    padding: 10px;
    gap: 10px;
  }

  .brand span {
    font-size: 20px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .primary-btn {
    min-height: 44px;
    padding: 10px 14px;
    font-size: 13px;
  }

  .icon-btn {
    width: 44px;
    height: 44px;
  }

  .nav-links {
    top: 76px;
  }

  .nav-links a {
    padding: 14px 16px;
  }
}

/* tablet/card fixes */
@media (max-width: 860px) {
  h1 {
    font-size: clamp(44px, 12vw, 72px);
  }

  h2 {
    font-size: clamp(32px, 9vw, 48px);
  }

  .page-hero {
    padding-top: 64px;
  }

  .section-head {
    display: block;
  }

  .section-link {
    display: inline-flex;
    margin-top: 12px;
  }

  .trip-body h3 {
    font-size: 32px;
  }

  .trip-body p {
    min-height: auto;
  }

  .meta span + span::before {
    display: none;
  }
}

/* phone fixes */
@media (max-width: 560px) {
  .container,
  .nav-wrap {
    width: calc(100% - 24px);
  }

  .nav {
    border-radius: 24px;
  }

  .brand img {
    width: 38px !important;
    height: 38px !important;
  }

  .brand span {
    font-size: 18px;
  }

  .primary-btn {
    display: none;
  }

  .page-hero {
    padding: 54px 0 28px;
  }

  .hero {
    padding: 58px 0 38px;
  }

  .hero h1 {
    letter-spacing: -.075em;
  }

  .hero-sub {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .primary-action {
    width: 100%;
  }

  .hero-card {
    border-radius: 28px;
  }

  .hero-card::before {
    top: 12px;
    left: 12px;
  }

  .hero-card::after {
    right: 12px;
    bottom: 12px;
    left: 12px;
    font-size: 13px;
  }

  .trip-card {
    border-radius: 26px;
  }

  .trip-img {
    height: 220px;
  }

  .trip-body {
    padding: 17px;
  }

  .trip-actions {
    grid-template-columns: 1fr;
  }

  .trip-actions a {
    min-height: 46px;
  }

  .chips {
    gap: 6px;
  }

  .chip {
    font-size: 12.5px;
  }

  .detail-main,
  .side-panel,
  .feedback-card,
  .team-page-card,
  .info-card,
  .contact-panel,
  .form-card {
    border-radius: 24px;
  }

  .detail-main > img {
    height: 240px;
  }

  .detail-content,
  .side-panel,
  .form-card,
  .contact-panel,
  .info-card,
  .feedback-card,
  .team-page-card {
    padding: 20px;
  }

  .detail-content h2 {
    font-size: 36px;
  }

  .detail-list li {
    padding: 12px;
  }

  .contact-item {
    align-items: flex-start;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

/* very small phones */
@media (max-width: 380px) {
  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .nav-actions {
    gap: 6px;
  }

  .brand span {
    display: none;
  }
}

/* ticket print final safety */
@media print {
  html,
  body {
    width: 210mm !important;
    min-width: 210mm !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .ticket-page {
    width: 210mm !important;
  }
}

/* ===== Enhancement 7: Glassy Sticky Header + Scroll Progress ===== */

.nav-wrap {
  position: fixed !important;
  top: 14px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 999 !important;
  width: min(var(--max), calc(100% - 48px)) !important;
  margin: 0 !important;
}

.nav {
  position: relative !important;
  overflow: hidden !important;
  min-height: 74px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.52)) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow:
    0 24px 70px rgba(16,47,51,.16),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
  backdrop-filter: blur(22px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.35) !important;
}

.dark-mode .nav {
  background:
    linear-gradient(135deg, rgba(8,28,31,.72), rgba(16,47,51,.58)) !important;
  border-color: rgba(255,255,255,.14) !important;
  box-shadow:
    0 24px 70px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.10) !important;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.45), transparent 32%),
    radial-gradient(circle at 88% 100%, rgba(24,166,181,.18), transparent 38%);
  opacity: .9;
}

.nav > * {
  position: relative;
  z-index: 2;
}

/* page scroll progress line inside navbar */
.nav-progress {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  z-index: 3;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(16,47,51,.08);
}

.dark-mode .nav-progress {
  background: rgba(255,255,255,.12);
}

.nav-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--yellow), var(--orange));
  box-shadow: 0 0 18px rgba(24,166,181,.35);
  transition: width .08s linear;
}

/* when user scrolls */
body.has-scrolled .nav {
  min-height: 66px !important;
  box-shadow:
    0 18px 55px rgba(16,47,51,.18),
    inset 0 1px 0 rgba(255,255,255,.65) !important;
}

body.has-scrolled .brand img {
  width: 38px !important;
  height: 38px !important;
}

body.has-scrolled .icon-btn {
  width: 42px;
  height: 42px;
}

body.has-scrolled .primary-btn {
  min-height: 44px;
}

/* add space because navbar is fixed */
body {
  padding-top: 104px;
}

/* prevent ticket page from getting navbar spacing */
body:has(.ticket-page) {
  padding-top: 0;
}

/* mobile */
@media (max-width: 980px) {
  .nav-wrap {
    top: 10px !important;
    width: calc(100% - 24px) !important;
  }

  body {
    padding-top: 96px;
  }

  .nav-links {
    top: 78px !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.78)) !important;
    backdrop-filter: blur(22px) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.25) !important;
  }

  .dark-mode .nav-links {
    background:
      linear-gradient(135deg, rgba(8,28,31,.94), rgba(16,47,51,.84)) !important;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    width: calc(100% - 20px) !important;
  }

  .nav {
    min-height: 68px !important;
  }

  .nav-progress {
    left: 12px;
    right: 12px;
    bottom: 6px;
  }
}

/* ===== Footer Enhancement: Pages + Backend Social Links ===== */

.footer {
  margin-top: 70px;
  padding: 54px 0 28px;
  background:
    radial-gradient(circle at top left, rgba(24,166,181,.16), transparent 32rem),
    linear-gradient(135deg, #102f33, #164950);
  color: white;
}

.footer a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 52px !important;
  height: 52px !important;
  border-radius: 16px;
  object-fit: contain;
  background: white;
  padding: 5px;
}

.footer-logo strong {
  display: block;
  font-size: 28px;
  letter-spacing: -.045em;
}

.footer-brand p {
  max-width: 420px;
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
}

.footer-col h3 {
  margin: 0 0 16px;
  color: white;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-link {
  width: fit-content;
  font-weight: 850;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  color: white !important;
  font-weight: 950;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.footer-social:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

/* ===== Footer Social Icons Vertical ===== */

.footer-socials {
  display: grid !important;
  gap: 12px !important;
}

.footer-social {
  width: 100% !important;
  min-height: 52px !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  padding: 0 16px !important;
  border-radius: 18px !important;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.footer-social span {
  font-size: 15px;
  font-weight: 950;
}

.footer-social.whatsapp:hover {
  background: rgba(37, 211, 102, .18) !important;
}

.footer-social.instagram:hover {
  background: rgba(225, 48, 108, .18) !important;
}

.footer-social.facebook:hover {
  background: rgba(24, 119, 242, .18) !important;
}

/* ===== Footer Contact Links Final Clean Style ===== */

.footer .footer-socials {
  display: grid !important;
  gap: 13px !important;
  align-items: start !important;
}

.footer .footer-social {
  width: fit-content !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 11px !important;
  color: rgba(255,255,255,.82) !important;
}

.footer .footer-social:hover {
  transform: translateX(4px) !important;
  color: white !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.footer .footer-social svg {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
}

.footer .footer-social span {
  font-size: 15px !important;
  font-weight: 950 !important;
}

/* ===== Home: Tirhal Album ===== */

.album-section {
  position: relative;
}

.album-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr 1fr;
  grid-auto-rows: 190px;
  gap: 14px;
}

.album-item {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.album-item:nth-child(1) {
  grid-row: span 2;
}

.album-item:nth-child(4) {
  grid-column: span 2;
}

.album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}

.album-item:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.03);
}

.album-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16,47,51,.04), transparent 40%),
    linear-gradient(0deg, rgba(16,47,51,.24), transparent 45%);
  pointer-events: none;
}

.album-empty {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 900;
}

@media (max-width: 900px) {
  .album-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .album-item:nth-child(1),
  .album-item:nth-child(4) {
    grid-row: span 1;
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .album-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }
}

/* ===== Home Album Carousel + Lightbox ===== */

.album-section {
  overflow: hidden;
}

.album-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
}

.album-track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform .65s cubic-bezier(.22, .8, .2, 1);
}

.album-slide {
  flex: 0 0 360px;
  height: 260px;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.album-slide:nth-child(2n) {
  height: 315px;
}

.album-slide:nth-child(3n) {
  height: 230px;
}

.album-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease, filter .45s ease;
}

.album-slide:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.03);
}

.album-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.album-control {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--dark);
  cursor: pointer;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(16,47,51,.08);
}

.album-control:hover {
  transform: translateY(-2px);
}

.album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 20, 22, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.album-lightbox.open {
  display: flex;
}

.album-lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 26px;
  box-shadow: 0 28px 90px rgba(0,0,0,.45);
}

.album-lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: white;
  font-size: 30px;
  cursor: pointer;
}

.album-lightbox-close:hover {
  background: rgba(255,255,255,.24);
}

@media (max-width: 760px) {
  .album-slide {
    flex-basis: 78vw;
    height: 240px;
  }

  .album-slide:nth-child(2n),
  .album-slide:nth-child(3n) {
    height: 240px;
  }
}

/* ===== Home Carousels Final Polish ===== */

.home-carousel-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 0 18px;
}

.home-carousel-track {
  display: flex !important;
  gap: 18px;
  align-items: stretch;
  will-change: transform;
  transition: transform .75s cubic-bezier(.22, .8, .2, 1);
}

.home-carousel-track > * {
  flex: 0 0 360px;
  max-width: 360px;
}

#homeFeedbacks.home-carousel-track > *,
#homeTeam.home-carousel-track > * {
  flex-basis: 340px;
  max-width: 340px;
}

.home-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.home-carousel-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--dark);
  cursor: pointer;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(16,47,51,.08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.home-carousel-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(16,47,51,.14);
}

/* album image polish */
.album-carousel {
  padding: 8px 0 18px;
}

.album-track {
  align-items: center;
}

.album-slide {
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.4);
}

.album-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16,47,51,.05), transparent 42%),
    linear-gradient(0deg, rgba(16,47,51,.30), transparent 52%);
}

.album-slide::after {
  content: "Open";
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #102f33;
  font-size: 13px;
  font-weight: 950;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease;
}

.album-slide:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.album-slide img {
  filter: saturate(1.08) contrast(1.03);
}

.album-slide:nth-child(odd) {
  transform: rotate(-1deg);
}

.album-slide:nth-child(even) {
  transform: rotate(1deg);
}

.album-slide:hover {
  z-index: 4;
}

.album-lightbox img {
  background: white;
}

/* mobile */
@media (max-width: 760px) {
  .home-carousel-track > *,
  #homeFeedbacks.home-carousel-track > *,
  #homeTeam.home-carousel-track > * {
    flex-basis: 82vw;
    max-width: 82vw;
  }

  .home-carousel-wrap {
    overflow: hidden;
  }

  .album-slide:nth-child(odd),
  .album-slide:nth-child(even) {
    transform: none;
  }
}

/* ===== Auto Carousels: Remove Buttons ===== */

.home-carousel-controls,
.album-controls {
  display: none !important;
}

.home-carousel-wrap,
.album-carousel {
  padding-bottom: 8px !important;
}

/* ===== Home Sections: Seamless Looping Scroll ===== */

@keyframes tirhalLoopLeft {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--tirhal-loop-distance, -50%), 0, 0);
  }
}

.home-carousel-wrap,
.album-carousel {
  overflow: hidden !important;
}

.home-carousel-track.tirhal-marquee,
.album-track.tirhal-marquee {
  width: max-content !important;
  display: flex !important;
  gap: 18px !important;
  align-items: stretch !important;
  transition: none !important;
  will-change: transform;
  animation: tirhalLoopLeft var(--tirhal-loop-duration, 48s) linear infinite !important;
}

.album-track.tirhal-marquee {
  gap: 16px !important;
  align-items: center !important;
  animation-duration: var(--tirhal-loop-duration, 52s) !important;
}

#homeFeedbacks.tirhal-marquee {
  animation-duration: var(--tirhal-loop-duration, 56s) !important;
}

#homeTeam.tirhal-marquee {
  animation-duration: var(--tirhal-loop-duration, 60s) !important;
}

.home-carousel-track.tirhal-marquee:hover,
.album-track.tirhal-marquee:hover {
  animation-play-state: running !important;
}

.home-carousel-controls,
.album-controls {
  display: none !important;
}

.tirhal-marquee > * {
  flex-shrink: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-carousel-track.tirhal-marquee,
  .album-track.tirhal-marquee {
    animation: none !important;
    transform: none !important;
  }
}

/* smoother album image movement */
.album-slide {
  cursor: pointer;
}

.album-slide img {
  transform: translateZ(0);
}

/* ===== Scroll Sections: Fade Edges + Remove Album Open Badge ===== */

/* remove Open badge from album images */
.album-slide::after {
  display: none !important;
  content: none !important;
}

/* fading edge container */
.home-carousel-wrap,
.album-carousel {
  position: relative !important;
  overflow: hidden !important;
}

/* left/right fade for trips, feedbacks, team, album */
.home-carousel-wrap::before,
.home-carousel-wrap::after,
.album-carousel::before,
.album-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
  width: 90px;
  pointer-events: none;
}

.home-carousel-wrap::before,
.album-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), rgba(255,255,255,0));
}

.home-carousel-wrap::after,
.album-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), rgba(255,255,255,0));
}

/* dark mode fade */
.dark-mode .home-carousel-wrap::before,
.dark-mode .album-carousel::before {
  background: linear-gradient(90deg, var(--bg), rgba(16,47,51,0));
}

.dark-mode .home-carousel-wrap::after,
.dark-mode .album-carousel::after {
  background: linear-gradient(270deg, var(--bg), rgba(16,47,51,0));
}

/* stronger fade on large sections */
.album-carousel::before,
.album-carousel::after {
  width: 120px;
}

/* mobile fade smaller */
@media (max-width: 760px) {
  .home-carousel-wrap::before,
  .home-carousel-wrap::after,
  .album-carousel::before,
  .album-carousel::after {
    width: 48px;
  }
}

/* ===== Trip Details Booking Wizard ===== */

.booking-wizard-section {
  margin-top: 34px;
}

.booking-wizard {
  border-radius: 36px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.booking-wizard-head {
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(24,166,181,.16), transparent 28rem),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(245,251,252,.92));
  border-bottom: 1px solid var(--border);
}

.booking-wizard-head h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -.065em;
}

.booking-wizard-head p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.booking-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 26px 0;
}

.booking-step-pill {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(24,166,181,.10);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 950;
}

.booking-step-pill.active {
  background: var(--teal);
  color: white;
}

.booking-panel {
  padding: 26px;
  display: grid;
  gap: 22px;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.booking-field {
  display: grid;
  gap: 8px;
}

.booking-field label {
  font-weight: 950;
  color: var(--dark);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  color: #102f33;
  font-weight: 800;
  outline: none;
}

.booking-field textarea {
  min-height: 110px;
  resize: vertical;
}

.booking-seat-map {
  padding: 20px;
  border-radius: 28px;
  background: #f6fbfb;
  border: 1px solid var(--border);
}

.booking-bus-front {
  width: fit-content;
  margin: 0 auto 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #102f33;
  color: white;
  font-size: 13px;
  font-weight: 950;
}

.booking-seats {
  max-width: 360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 58px);
  gap: 10px;
  justify-content: center;
}

.booking-seat {
  width: 58px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  color: var(--dark);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(16,47,51,.08);
}

.booking-seat:hover {
  transform: translateY(-2px);
}

.booking-seat.selected {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.booking-seat-gap {
  width: 58px;
  height: 48px;
}

.booking-summary {
  padding: 18px;
  border-radius: 24px;
  background: rgba(247,179,43,.13);
  border: 1px solid rgba(247,179,43,.28);
  color: var(--dark);
  font-weight: 900;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.booking-message {
  margin: 0;
  min-height: 24px;
  font-weight: 950;
}

.booking-message.success {
  color: #168a50;
}

.booking-message.error {
  color: #c73c30;
}

.book-now-side {
  margin-top: 12px;
}

@media (max-width: 860px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }

  .booking-seats {
    grid-template-columns: repeat(4, 52px);
  }

  .booking-seat,
  .booking-seat-gap {
    width: 52px;
  }
}

/* ===== Booking Wizard Popup Modal ===== */

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 6000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(5, 20, 22, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.booking-modal.open {
  display: flex;
}

.booking-modal-card {
  width: min(1040px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 34px;
  background: var(--card);
  box-shadow: 0 34px 110px rgba(0,0,0,.34);
  position: relative;
}

.booking-modal-close {
  position: sticky;
  top: 16px;
  margin-left: auto;
  margin-right: 16px;
  margin-bottom: -58px;
  z-index: 20;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(16,47,51,.12);
  color: var(--dark);
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.booking-modal-close:hover {
  background: var(--orange);
  color: white;
}

.booking-modal .booking-wizard-section {
  margin: 0 !important;
}

.booking-modal .booking-wizard {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 34px !important;
}

.booking-modal .booking-wizard-head {
  padding-right: 76px;
}

body.booking-modal-open {
  overflow: hidden;
}

@media (max-width: 760px) {
  .booking-modal {
    padding: 10px;
    align-items: flex-start;
  }

  .booking-modal-card {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 26px;
  }

  .booking-modal .booking-wizard,
  .booking-modal .booking-wizard-section {
    border-radius: 26px !important;
  }

  .booking-modal-close {
    top: 10px;
    margin-right: 10px;
  }

  .booking-modal .booking-wizard-head {
    padding-right: 64px;
  }
}

/* ===== Booking Wizard Multi Step ===== */

.booking-step-view {
  display: none;
}

.booking-step-view.active {
  display: grid;
  gap: 22px;
}

.booking-step-title {
  margin: 0;
  font-size: 30px;
  letter-spacing: -.04em;
}

.booking-step-subtitle {
  margin: -12px 0 0;
  color: var(--muted);
  font-weight: 850;
}

.booking-step-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
}

.booking-step-nav .primary-action {
  min-width: 130px;
}

.booking-step-nav .secondary-action {
  min-width: 130px;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--dark);
  font-weight: 950;
  cursor: pointer;
}

.booking-step-nav .secondary-action:hover {
  transform: translateY(-2px);
}

.booking-review {
  display: grid;
  gap: 10px;
}

.booking-review-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.booking-review-row span {
  color: var(--muted);
  font-weight: 850;
}

.booking-review-row strong {
  text-align: right;
  color: var(--dark);
}

.booking-steps {
  padding-bottom: 18px;
}

.booking-step-pill {
  opacity: .55;
}

.booking-step-pill.active {
  opacity: 1;
}

.booking-step-pill.done {
  opacity: 1;
  background: rgba(22, 138, 80, .12);
  color: #168a50;
}

@media (max-width: 560px) {
  .booking-step-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .booking-step-nav .primary-action,
  .booking-step-nav .secondary-action {
    width: 100%;
  }

  .booking-review-row {
    display: grid;
  }

  .booking-review-row strong {
    text-align: left;
  }
}

/* ===== Booking Wizard Date Cards ===== */

.booking-card-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.booking-option-card {
  min-height: 112px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: white;
  color: #102f33;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 12px 30px rgba(16,47,51,.08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.booking-option-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(16,47,51,.14);
}

.booking-option-card.selected {
  border-color: var(--teal);
  background: linear-gradient(135deg, rgba(24,166,181,.13), rgba(247,179,43,.12));
}

.booking-option-card strong {
  display: block;
  font-size: 21px;
  margin-bottom: 7px;
}

.booking-option-card span {
  display: block;
  color: var(--muted);
  font-weight: 850;
}

.booking-option-card small {
  display: inline-flex;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(24,166,181,.10);
  color: var(--teal-dark);
  font-weight: 950;
}

.dark-mode .booking-option-card {
  background: rgba(255,255,255,.92);
  color: #102f33;
}

/* ===== Booking Wizard Final: Activities + Total ===== */

.booking-total-box {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(24,166,181,.12), rgba(247,179,43,.14));
  border: 1px solid rgba(24,166,181,.20);
}

.booking-total-box strong {
  display: block;
  font-size: 30px;
  color: var(--dark);
  letter-spacing: -.04em;
}

.booking-total-box span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 950;
  text-transform: capitalize;
}

.booking-option-card small.selected-label {
  background: var(--teal);
  color: white;
}

.booking-field-full {
  grid-column: 1 / -1;
}

/* ===== Booking unavailable seats ===== */

.booking-seat.unavailable,
.booking-seat:disabled {
  background: rgba(220, 38, 38, .14) !important;
  color: #b91c1c !important;
  border-color: rgba(220, 38, 38, .35) !important;
  opacity: .45 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.booking-seat.unavailable::after {
  content: "×";
  display: block;
  font-size: 11px;
  line-height: 1;
  margin-top: 2px;
}

/* ===== Booking payment choice ===== */

#bookingPaymentOptions {
  margin-bottom: 18px;
}

#bookingPaymentOptions .booking-option-card strong {
  font-size: 20px;
}

#bookingPaymentOptions .booking-option-card.selected {
  border-color: var(--teal);
  box-shadow: 0 20px 55px rgba(24,166,181,.20);
}

/* ===== Booking Wizard Professional Progress Bar ===== */

.booking-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 18px 0 24px;
  margin: 4px 0 12px;
}

.booking-steps::before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: 35px;
  height: 4px;
  border-radius: 999px;
  background: rgba(24,166,181,.12);
  z-index: 0;
}

.booking-steps::after {
  content: "";
  position: absolute;
  left: 7%;
  top: 35px;
  width: var(--booking-progress, 0%);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  z-index: 1;
  transition: width .35s ease;
}

.booking-step-pill {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0;
  background: transparent !important;
  color: var(--muted);
  font-size: 0;
  opacity: 1;
}

.booking-step-pill::before {
  content: attr(data-step);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef8f9;
  color: #76bec7;
  border: 4px solid #fff;
  box-shadow: 0 8px 22px rgba(16,47,51,.08);
  font-size: 15px;
  font-weight: 950;
  transition: .25s ease;
}

.booking-step-pill::after {
  content: attr(data-label);
  font-size: 13px;
  font-weight: 950;
  color: var(--muted);
  white-space: nowrap;
}

.booking-step-pill.active::before {
  background: var(--teal);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(24,166,181,.28);
}

.booking-step-pill.done::before {
  content: "✓";
  background: #168a50;
  color: white;
}

.booking-step-pill.skipped {
  opacity: .55;
}

.booking-step-pill.skipped::before {
  content: "–";
  background: #f4f7f7;
  color: #8da0a3;
}

.booking-step-pill.active::after,
.booking-step-pill.done::after {
  color: var(--dark);
}

@media (max-width: 760px) {
  .booking-steps {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 18px;
  }

  .booking-steps::before,
  .booking-steps::after {
    display: none;
  }

  .booking-step-pill::after {
    font-size: 12px;
  }
}


/* ===== Trip Details Professional Sections ===== */

.trip-details-card,
.trip-detail-card,
.details-card,
.side-panel,
.trip-info-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(16,47,51,.08);
}

.trip-details-section-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 42px rgba(16,47,51,.07);
}

.trip-details-section-card + .trip-details-section-card {
  margin-top: 18px;
}

.trip-details-section-title {
  margin: 0 0 10px;
  font-size: 22px;
  color: var(--dark);
  letter-spacing: -.03em;
}

.trip-details-section-text {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.75;
}

.trip-details-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.trip-details-mini-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: white;
  box-shadow: 0 12px 26px rgba(16,47,51,.06);
}

.trip-details-mini-card span {
  display: block;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
  margin-bottom: 6px;
}

.trip-details-mini-card strong {
  display: block;
  color: var(--dark);
  font-size: 18px;
}

.dark-mode .trip-details-section-card,
.dark-mode .trip-details-mini-card {
  background: rgba(255,255,255,.92);
  color: #102f33;
}

/* ===== Remove large auto trip data sections ===== */
#tripDetailsRoot .trip-details-section-card {
  display: none !important;
}

#tripDetailsRoot .trip-details-section-card.visible-trip-section {
  display: block !important;
}

/* ===== Trip Details V2 ===== */

.trip-detail-showcase {
  padding-top: 26px;
}

.detail-page-v2 {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
}

.trip-detail-main-v2 {
  background: rgba(255,255,255,.88);
}

.trip-detail-gallery {
  position: relative;
  background: #e9f6f7;
}

.trip-detail-hero-image {
  width: 100%;
  height: min(58vw, 620px);
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.trip-detail-thumbs {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.76);
  backdrop-filter: blur(16px);
}

.trip-detail-thumbs button {
  width: 92px;
  height: 66px;
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  cursor: pointer;
  opacity: .82;
}

.trip-detail-thumbs button.active {
  opacity: 1;
  border-color: var(--orange);
  box-shadow: 0 10px 24px rgba(237,106,90,.24);
}

.trip-detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-detail-empty-gallery {
  padding: 14px 24px;
  color: var(--muted);
  font-weight: 850;
}

.trip-detail-content-v2 h1 {
  max-width: 780px;
  margin: 0 0 16px;
  color: var(--dark);
  font-size: clamp(48px, 6vw, 86px);
  line-height: .9;
  letter-spacing: 0;
}

.trip-detail-content-v2 > p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.65;
}

.trip-detail-top-chips {
  margin-bottom: 24px;
}

.trip-detail-stats,
.trip-detail-date-grid,
.trip-detail-hotel-grid,
.trip-detail-included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.trip-detail-stats div,
.trip-detail-date-card,
.trip-detail-hotel-card,
.trip-detail-included-grid div,
.trip-detail-panel-mini {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 26px rgba(16,47,51,.06);
}

.trip-detail-stats span,
.trip-detail-date-card span,
.trip-detail-hotel-card span,
.trip-detail-included-grid span,
.trip-detail-panel-mini span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.trip-detail-stats strong,
.trip-detail-date-card strong,
.trip-detail-hotel-card strong,
.trip-detail-included-grid strong,
.trip-detail-panel-mini strong {
  color: var(--dark);
  font-size: 18px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.trip-detail-hotel-photo-card {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 164px 1fr;
  gap: 0;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.trip-detail-no-hotel-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background:
    radial-gradient(circle at top left, rgba(24,166,181,.18), transparent 42%),
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,244,229,.88));
}

.trip-detail-no-hotel-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.5;
}

.hotel-album-card {
  cursor: pointer;
}

.hotel-album-card:hover,
.hotel-album-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(24, 166, 181, .34);
  box-shadow: 0 22px 54px rgba(16, 47, 51, .14);
  outline: none;
}

.hotel-album-card:hover > img,
.hotel-album-card:focus-visible > img {
  transform: scale(1.035);
}

.trip-detail-hotel-photo-card .hotel-album-count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(16, 47, 51, .14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.trip-detail-hotel-photo-card img,
.trip-detail-hotel-photo-placeholder {
  width: 100%;
  height: 164px;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(93,201,207,.28), rgba(255,136,45,.18));
  transition: transform .28s ease;
}

.trip-detail-hotel-photo-placeholder {
  display: grid;
  place-items: center;
  color: var(--dark);
  font-weight: 950;
}

.trip-detail-hotel-photo-card > div {
  padding: 16px;
}

.trip-detail-hotel-photo-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.trip-detail-hotel-photo-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal-700);
  font-weight: 950;
  text-decoration: none;
}

.trip-detail-hotel-mini-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 12px;
}

.trip-detail-hotel-mini-gallery img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(40, 74, 80, 0.12);
}

.hotel-album-lightbox {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 18, 20, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hotel-album-lightbox.open {
  display: flex;
}

body.hotel-album-open {
  overflow: hidden;
}

.hotel-album-panel {
  position: relative;
  width: min(1080px, 96vw);
  max-height: min(900px, 92dvh);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255,255,255,.94), rgba(226,249,250,.9) 52%, rgba(255,241,220,.9));
  box-shadow: 0 36px 120px rgba(0, 0, 0, .42);
}

.hotel-album-head {
  padding-right: 56px;
}

.hotel-album-head span,
.hotel-album-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hotel-album-head h2 {
  margin: 4px 0 0;
  color: var(--dark);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.hotel-album-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.hotel-album-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 15px;
  background: rgba(255, 255, 255, .78);
  color: var(--dark);
  font-size: 30px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(16, 47, 51, .10);
}

.hotel-album-stage {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  overflow: hidden;
  background: #07191b;
}

.hotel-album-stage img {
  width: 100%;
  height: min(62vh, 560px);
  min-height: 280px;
  object-fit: contain;
  display: block;
  background: #07191b;
}

.hotel-album-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 48px;
  height: 58px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  color: var(--dark);
  font-size: 38px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(0,0,0,.20);
}

.hotel-album-nav.previous {
  left: 14px;
}

.hotel-album-nav.next {
  right: 14px;
}

.hotel-album-meta {
  text-align: center;
}

.hotel-album-strip {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 2px 8px;
}

.hotel-album-strip button {
  flex: 0 0 86px;
  height: 66px;
  border: 2px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  background: rgba(255,255,255,.56);
  cursor: pointer;
}

.hotel-album-strip button.active {
  border-color: var(--teal);
}

.hotel-album-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trip-program-section {
  display: grid;
  gap: 18px;
}

.trip-program-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.trip-program-head .eyebrow {
  margin: 0 0 6px;
}

.trip-program-head > span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(24, 166, 181, .12);
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.trip-program-intro {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.trip-program-intro p,
.trip-program-note p,
.trip-program-freeform p {
  margin: 0;
}

.trip-program-days {
  display: grid;
  gap: 12px;
}

.trip-program-day {
  border: 1px solid rgba(40, 74, 80, .11);
  border-radius: 22px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(226,249,250,.62));
  box-shadow: 0 12px 26px rgba(16,47,51,.055);
}

.trip-program-day > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 136, 45, .14);
  color: var(--orange);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.trip-program-day h3 {
  margin: 10px 0 0;
  color: var(--dark);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

.trip-program-day ul {
  display: grid;
  gap: 9px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.trip-program-day li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.trip-program-day li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--orange));
}

.trip-program-note {
  border: 1px solid rgba(255, 136, 45, .25);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 245, 232, .82);
  color: #79522f;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.55;
}

.trip-program-freeform {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.trip-price-scope-section {
  display: grid;
  gap: 18px;
}

.trip-price-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.trip-price-scope-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(40, 74, 80, .12);
  border-radius: 24px;
  padding: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 14px 30px rgba(16, 47, 51, .055);
}

.trip-price-scope-card::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--orange));
}

.trip-price-scope-card.included {
  background: linear-gradient(135deg, rgba(228, 250, 247, .9), rgba(255, 255, 255, .88));
}

.trip-price-scope-card.excluded {
  background: linear-gradient(135deg, rgba(255, 246, 236, .95), rgba(255, 255, 255, .88));
}

.trip-price-scope-card > span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(24, 166, 181, .12);
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.trip-price-scope-card.excluded > span {
  background: rgba(255, 136, 45, .14);
  color: var(--orange);
}

.trip-price-scope-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.trip-price-scope-card li,
.trip-price-scope-card p {
  position: relative;
  margin: 0;
  padding-inline-start: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.55;
}

.trip-price-scope-card li::before,
.trip-price-scope-card p::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}

.trip-price-scope-card.excluded li::before,
.trip-price-scope-card.excluded p::before {
  background: var(--orange);
}

.trip-hotels-hero .container {
  max-width: 980px;
}

.hotel-share-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.trip-hotels-page {
  padding-top: 20px;
}

.hotel-share-section-head {
  align-items: flex-end;
}

.hotel-share-section-head > span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(24, 166, 181, .16);
  border-radius: 999px;
  background: rgba(24, 166, 181, .10);
  color: var(--teal-700);
  font-weight: 950;
}

.public-hotel-share-grid {
  display: grid;
  gap: 18px;
}

.public-hotel-share-card {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(40, 74, 80, .12);
  border-radius: 30px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 22px 70px rgba(16, 47, 51, .10);
}

.public-hotel-share-media {
  position: relative;
  min-height: 330px;
  border: 0;
  padding: 0;
  background: linear-gradient(135deg, rgba(226, 249, 250, .9), rgba(255, 245, 232, .85));
  cursor: pointer;
}

.public-hotel-share-media:disabled {
  cursor: default;
}

.public-hotel-share-media img,
.public-hotel-share-placeholder {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.public-hotel-share-placeholder {
  color: var(--muted);
  font-size: 22px;
  font-weight: 950;
}

.hotel-share-photo-count {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  color: var(--dark);
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(16, 47, 51, .12);
}

.public-hotel-share-content {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: clamp(22px, 4vw, 38px);
}

.public-hotel-share-content > span {
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.public-hotel-share-content h2 {
  margin: 0;
  color: var(--dark);
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

.public-hotel-share-content p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 820;
  line-height: 1.6;
}

.public-hotel-share-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.public-hotel-share-thumbs button {
  width: 74px;
  height: 58px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .78);
  border-radius: 14px;
  padding: 0;
  background: #fff;
  box-shadow: 0 8px 18px rgba(16, 47, 51, .10);
  cursor: pointer;
}

.public-hotel-share-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.public-hotel-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.public-hotel-share-actions .secondary-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(24, 166, 181, .22);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(24, 166, 181, .10);
  color: var(--teal-700);
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}

.hotel-share-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 24, 29, .72);
  backdrop-filter: blur(14px);
}

.hotel-share-lightbox.open {
  display: flex;
}

.hotel-share-lightbox-panel {
  position: relative;
  width: min(1120px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 30px;
  padding: 18px;
  background: rgba(247, 251, 252, .96);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .26);
}

.hotel-share-lightbox-close {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(18, 53, 62, .08);
  color: var(--dark);
  font-size: 30px;
  font-weight: 950;
  cursor: pointer;
}

.hotel-share-lightbox-head {
  padding-inline-end: 58px;
}

.hotel-share-lightbox-head span {
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hotel-share-lightbox-head h2 {
  margin: 4px 0 4px;
  color: var(--dark);
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1;
}

.hotel-share-lightbox-head p {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 820;
}

.hotel-share-lightbox-stage {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #0b2028;
}

.hotel-share-lightbox-stage img {
  width: 100%;
  max-height: min(62dvh, 680px);
  object-fit: contain;
  display: block;
}

.hotel-share-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 58px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .86);
  color: var(--dark);
  font-size: 34px;
  font-weight: 950;
  cursor: pointer;
}

.hotel-share-lightbox-nav.previous {
  inset-inline-start: 12px;
}

.hotel-share-lightbox-nav.next {
  inset-inline-end: 12px;
}

.hotel-share-lightbox-meta {
  display: flex;
  justify-content: center;
  margin: 12px 0;
  color: var(--muted);
  font-weight: 900;
}

.hotel-share-lightbox-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.hotel-share-lightbox-strip button {
  flex: 0 0 86px;
  height: 62px;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.hotel-share-lightbox-strip button.active {
  border-color: var(--teal);
}

.hotel-share-lightbox-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[dir="rtl"] .trip-detail-hotel-photo-card .hotel-album-count {
  right: auto;
  left: 12px;
}

html[dir="rtl"] .hotel-album-head {
  padding-right: 0;
  padding-left: 56px;
}

html[dir="rtl"] .hotel-album-close {
  right: auto;
  left: 16px;
}

.trip-detail-booking-panel {
  display: grid;
  gap: 10px;
  position: sticky;
  top: 118px;
  align-self: start;
}

.trip-detail-booking-panel .primary-action {
  margin-top: 4px;
}

.trip-detail-booking-panel .trip-detail-note {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .detail-page-v2 {
    grid-template-columns: 1fr;
  }

  .trip-detail-booking-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .trip-detail-showcase {
    padding-top: 10px;
  }

  .trip-detail-hero-image {
    height: 330px;
    min-height: 330px;
  }

  .trip-detail-thumbs {
    position: static;
    border-radius: 0;
    border-inline: 0;
  }

  .trip-detail-content-v2 h1 {
    font-size: 46px;
  }

  .trip-detail-content-v2 > p {
    font-size: 17px;
  }
}

/* ===== Center Navbar Tabs ===== */

.site-header .nav-inner,
.public-header .nav-inner,
.nav-inner {
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
}

.site-header .nav-links,
.public-header .nav-links,
.nav-links {
  justify-self: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
}

.site-header .nav-actions,
.public-header .nav-actions,
.nav-actions {
  justify-self: end !important;
}

.site-header .brand,
.public-header .brand,
.brand {
  justify-self: start !important;
}

@media (max-width: 900px) {
  .site-header .nav-inner,
  .public-header .nav-inner,
  .nav-inner {
    display: flex !important;
  }

  .site-header .nav-links,
  .public-header .nav-links,
  .nav-links {
    justify-self: unset !important;
  }
}

/* ===== Final Navbar Center Fix - Actual Structure ===== */

.nav {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.nav .brand {
  margin-right: auto !important;
  z-index: 10 !important;
}

.nav .nav-links {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: max-content !important;
  max-width: 55vw !important;
  z-index: 5 !important;
}

.nav .nav-actions {
  margin-left: auto !important;
  z-index: 10 !important;
}

@media (max-width: 900px) {
  .nav .nav-links {
    position: fixed !important;
    left: 18px !important;
    right: 18px !important;
    top: 74px !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }
}

/* ===== Full Arabic / English Support ===== */

html[dir="rtl"] body {
  font-family: "Cairo", "Tajawal", "Noto Kufi Arabic", system-ui, sans-serif;
  text-align: right;
}

html[dir="rtl"] .nav,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .nav-links,
html[dir="rtl"] .brand,
html[dir="rtl"] .booking-step-nav,
html[dir="rtl"] .booking-grid,
html[dir="rtl"] .booking-review-row {
  direction: rtl;
}

html[dir="rtl"] .nav .brand {
  margin-left: auto !important;
  margin-right: 0 !important;
}

html[dir="rtl"] .nav .nav-actions {
  margin-right: auto !important;
  margin-left: 0 !important;
}

html[dir="rtl"] .booking-option-card,
html[dir="rtl"] .booking-field,
html[dir="rtl"] .booking-review-row strong,
html[dir="rtl"] .booking-review-row span {
  text-align: right;
}

html[dir="rtl"] .booking-review-row strong {
  text-align: left;
}

html[dir="rtl"] .primary-action,
html[dir="rtl"] .secondary-action,
html[dir="rtl"] .primary-btn,
html[dir="rtl"] .nav-links a {
  letter-spacing: 0;
}

html[dir="rtl"] .booking-step-pill::after {
  direction: rtl;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  text-align: right;
  direction: rtl;
}

html[dir="rtl"] .booking-seat-map,
html[dir="rtl"] .booking-seats {
  direction: ltr;
}

html[dir="rtl"] .booking-modal-close {
  left: 16px;
  right: auto;
}

/* ===== RTL Cards Alignment Fix ===== */

html[dir="rtl"] .section-head,
html[dir="rtl"] .home-section-head,
html[dir="rtl"] .page-hero .container {
  text-align: right !important;
}

html[dir="rtl"] .section-head .eyebrow,
html[dir="rtl"] .home-section-head .eyebrow {
  margin-right: 0 !important;
  margin-left: auto !important;
  text-align: right !important;
}

html[dir="rtl"] .home-carousel-wrap,
html[dir="rtl"] .home-carousel-track,
html[dir="rtl"] .team-grid,
html[dir="rtl"] .feedback-grid,
html[dir="rtl"] .cards-grid {
  direction: rtl !important;
}

html[dir="rtl"] .feedback-card,
html[dir="rtl"] .team-card,
html[dir="rtl"] .trip-card,
html[dir="rtl"] .story-card {
  direction: rtl !important;
  text-align: right !important;
}

html[dir="rtl"] .feedback-card *,
html[dir="rtl"] .team-card *,
html[dir="rtl"] .trip-card *,
html[dir="rtl"] .story-card * {
  text-align: right;
}

html[dir="rtl"] .feedback-card .stars,
html[dir="rtl"] .rating-stars {
  direction: ltr !important;
  text-align: center !important;
  justify-content: center !important;
}

html[dir="rtl"] .feedback-card .quote,
html[dir="rtl"] .feedback-card blockquote {
  margin-right: auto !important;
  margin-left: 0 !important;
}

html[dir="rtl"] .team-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

html[dir="rtl"] .team-card img,
html[dir="rtl"] .team-card .team-avatar,
html[dir="rtl"] .team-card .member-photo {
  align-self: flex-end !important;
}

html[dir="rtl"] .team-card .role,
html[dir="rtl"] .team-card .badge,
html[dir="rtl"] .team-role,
html[dir="rtl"] .member-role {
  align-self: flex-start !important;
  text-align: right !important;
}

html[dir="rtl"] .home-carousel-track.tirhal-marquee,
html[dir="rtl"] .album-track.tirhal-marquee {
  direction: ltr !important;
}

html[dir="rtl"] .home-carousel-track.tirhal-marquee > *,
html[dir="rtl"] .album-track.tirhal-marquee > * {
  direction: rtl !important;
}

html[dir="rtl"] .container {
  direction: rtl;
}

html[dir="rtl"] .section-head h2,
html[dir="rtl"] .home-section-head h2 {
  max-width: 900px;
  margin-right: 0 !important;
  margin-left: auto !important;
}

@media (max-width: 760px) {
  html[dir="rtl"] .section-head,
  html[dir="rtl"] .home-section-head {
    text-align: right !important;
  }
}

/* ===== RTL Home Cards Final Alignment Fix ===== */

html[dir="rtl"] #homeFeedbacks,
html[dir="rtl"] #homeTeam {
  direction: ltr !important;
}

html[dir="rtl"] #homeFeedbacks > *,
html[dir="rtl"] #homeTeam > * {
  direction: rtl !important;
}

html[dir="rtl"] #homeFeedbacks .feedback-card,
html[dir="rtl"] #homeTeam .team-card {
  text-align: right !important;
  align-items: flex-start !important;
}

html[dir="rtl"] .feedback-card blockquote,
html[dir="rtl"] .feedback-card footer,
html[dir="rtl"] .team-card h3,
html[dir="rtl"] .team-card p,
html[dir="rtl"] .team-card strong,
html[dir="rtl"] .team-role {
  width: 100% !important;
  text-align: right !important;
}

html[dir="rtl"] .team-card img {
  align-self: center !important;
  margin-inline: auto !important;
}

html[dir="rtl"] .team-role {
  display: inline-flex !important;
  width: fit-content !important;
  max-width: 100% !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
}

html[dir="rtl"] .feedback-card .stars {
  direction: ltr !important;
  width: fit-content !important;
  margin-inline-start: auto !important;
  margin-inline-end: auto !important;
}

html[dir="rtl"] .feedback-card::after {
  left: 28px !important;
  right: auto !important;
}

html[dir="rtl"] .home-section-head,
html[dir="rtl"] .section-head {
  display: grid !important;
  justify-items: end !important;
  text-align: right !important;
}

html[dir="rtl"] .home-section-head .eyebrow,
html[dir="rtl"] .section-head .eyebrow {
  justify-self: end !important;
  text-align: right !important;
}

html[dir="rtl"] .home-section-head h2,
html[dir="rtl"] .section-head h2 {
  justify-self: end !important;
  text-align: right !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ===== Terms Page ===== */

.terms-layout {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.terms-card {
  padding: 26px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 48px rgba(16,47,51,.08);
}

.terms-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -.03em;
  color: var(--dark);
}

.terms-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.8;
}

html[dir="rtl"] .terms-card {
  text-align: right;
}

/* ===== Public Mobile Nav Final Fix ===== */

.mobile-nav-item {
  display: none !important;
}

@media (max-width: 900px) {
  .nav-wrap {
    top: 8px !important;
    z-index: 900 !important;
  }

  .nav {
    min-height: 66px !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    border-radius: 24px !important;
  }

  .nav .brand {
    min-width: 0 !important;
    margin-right: auto !important;
  }

  .nav .brand span {
    max-width: 112px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .nav .nav-actions {
    flex-shrink: 0 !important;
    gap: 6px !important;
    margin-left: 0 !important;
  }

  .nav .primary-btn {
    display: none !important;
  }

  .nav .menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .nav .nav-links {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    top: calc(env(safe-area-inset-top) + 86px) !important;
    z-index: 920 !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100vh - 108px) !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 12px !important;
    transform: none !important;
    border: 1px solid var(--border) !important;
    border-radius: 22px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .86)) !important;
    box-shadow: 0 24px 70px rgba(16, 47, 51, .18) !important;
    backdrop-filter: blur(24px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.2) !important;
  }

  .dark-mode .nav .nav-links {
    background: linear-gradient(135deg, rgba(8, 28, 31, .97), rgba(16, 47, 51, .88)) !important;
  }

  .nav .nav-links.open {
    display: flex !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .nav .nav-links a {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 13px 14px !important;
  }

  .mobile-nav-item {
    display: flex !important;
  }

  html[dir="rtl"] .nav .brand {
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  html[dir="rtl"] .nav .nav-actions {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html[dir="rtl"] .nav .nav-links a {
    text-align: center !important;
  }
}

html.public-menu-open,
html.public-menu-open body {
  overflow-x: hidden;
}

/* ===== Client Data Form ===== */

.client-data-hero {
  padding-bottom: 30px;
}

.client-data-layout {
  max-width: 860px;
}

.client-data-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 70px rgba(16,47,51,.12);
}

.client-data-card label {
  color: var(--dark);
  font-weight: 900;
}

.client-data-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.client-data-actions .primary-action {
  border: 0;
  cursor: pointer;
}

.share-link-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,251,251,.86));
}

.share-link-card label {
  font-weight: 900;
  color: var(--dark);
}

.share-link-card input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  color: var(--dark);
  font-weight: 800;
}

.share-link-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 640px) {
  .client-data-card {
    padding: 18px;
    border-radius: 22px;
  }

  .client-data-actions {
    justify-content: stretch;
  }

  .client-data-actions .primary-action {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .nav .brand span {
    max-width: 88px !important;
  }

  .nav .icon-btn {
    width: 40px !important;
    height: 40px !important;
  }
}

/* ===== Public Mobile Conversion Polish ===== */

@media (max-width: 720px) {
  html {
    scroll-padding-top: 94px;
  }

  .container,
  .nav-wrap {
    width: calc(100% - 24px) !important;
  }

  .section {
    padding: 44px 0 !important;
  }

  .nav-wrap {
    top: max(8px, env(safe-area-inset-top)) !important;
    margin-top: 8px !important;
  }

  .nav {
    min-height: 64px !important;
    padding: 8px !important;
    border-radius: 26px !important;
  }

  .nav .brand {
    gap: 8px !important;
  }

  .nav .brand img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 13px !important;
  }

  .nav .brand span {
    max-width: 106px !important;
    font-size: 20px !important;
  }

  .nav .icon-btn,
  .nav .menu-btn {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
  }

  .nav .nav-links {
    top: calc(env(safe-area-inset-top) + 78px) !important;
    left: 12px !important;
    right: 12px !important;
  }

  .page-hero {
    padding: 44px 0 24px !important;
  }

  h1,
  h2,
  .hero h1,
  .trip-detail-content-v2 h1,
  .booking-wizard-head h2 {
    letter-spacing: 0 !important;
  }

  .hero {
    padding: 48px 0 32px !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(46px, 15vw, 66px) !important;
    line-height: .96 !important;
  }

  .hero-sub {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .hero-actions .primary-action,
  .trip-actions .primary-action,
  .trip-actions a {
    width: 100% !important;
    min-height: 56px !important;
  }

  .hero-card {
    border-radius: 26px !important;
  }

  .hero-card img {
    height: min(78vw, 340px) !important;
  }

  .hero-stats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .hero-stat {
    min-height: auto !important;
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .home-section-head h2,
  .section-head h2 {
    font-size: clamp(34px, 10vw, 48px) !important;
    line-height: 1.02 !important;
  }

  .home-carousel-track > *,
  #homeFeedbacks.home-carousel-track > *,
  #homeTeam.home-carousel-track > * {
    flex-basis: min(86vw, 350px) !important;
    max-width: min(86vw, 350px) !important;
  }

  .trip-card,
  .feedback-card,
  .team-card,
  .card {
    border-radius: 24px !important;
  }

  .trip-img {
    height: 210px !important;
  }

  .trip-body h3 {
    font-size: 28px !important;
    letter-spacing: 0 !important;
  }

  .detail-page-v2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
  }

  .trip-detail-booking-panel {
    order: 2 !important;
    gap: 10px !important;
    padding: 18px !important;
    border-radius: 26px !important;
  }

  .trip-detail-booking-panel h2 {
    margin: 0 !important;
    font-size: clamp(38px, 12vw, 50px) !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .trip-detail-booking-panel > p:not(.eyebrow):not(.trip-detail-note) {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .trip-detail-panel-mini,
  .trip-detail-note {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .trip-detail-note {
    margin: 0 !important;
    background: rgba(24, 166, 181, .10) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .trip-detail-booking-panel .primary-action {
    min-height: 54px !important;
    margin-top: 0 !important;
  }

  .trip-detail-main-v2,
  .trip-detail-gallery {
    border-radius: 26px !important;
  }

  .trip-detail-hero-image {
    height: min(76vw, 330px) !important;
    min-height: 260px !important;
  }

  .trip-detail-empty-gallery {
    padding: 12px 16px !important;
    text-align: center !important;
  }

  .trip-detail-content-v2 h1 {
    font-size: clamp(40px, 13vw, 58px) !important;
    line-height: .98 !important;
  }

  .trip-detail-content-v2 > p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .trip-detail-stats,
  .trip-detail-date-grid,
  .trip-detail-hotel-grid,
  .trip-detail-included-grid,
  .trip-price-scope-grid,
  .trip-program-days {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }

  .trip-program-head {
    display: grid !important;
    gap: 8px !important;
  }

  .trip-program-day {
    padding: 16px !important;
  }

  .hotel-share-hero-actions,
  .public-hotel-share-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .public-hotel-share-card {
    grid-template-columns: 1fr !important;
    border-radius: 24px !important;
  }

  .public-hotel-share-media,
  .public-hotel-share-media img,
  .public-hotel-share-placeholder {
    min-height: 250px !important;
  }

  .public-hotel-share-content {
    padding: 20px !important;
  }

  .public-hotel-share-content h2 {
    font-size: clamp(28px, 10vw, 42px) !important;
  }

  .hotel-share-section-head {
    display: grid !important;
    gap: 10px !important;
  }

  .hotel-share-lightbox {
    padding: 8px !important;
  }

  .hotel-share-lightbox-panel {
    max-height: calc(100dvh - 16px) !important;
    border-radius: 24px !important;
    padding: 12px !important;
  }

  .hotel-share-lightbox-nav {
    width: 40px !important;
    height: 50px !important;
  }

  .hotel-album-lightbox {
    padding: 8px !important;
  }

  .hotel-album-panel {
    width: 100% !important;
    max-height: calc(100dvh - 16px) !important;
    padding: 12px !important;
    border-radius: 24px !important;
    gap: 10px !important;
  }

  .hotel-album-head {
    padding-right: 52px !important;
  }

  html[dir="rtl"] .hotel-album-head {
    padding-right: 0 !important;
    padding-left: 52px !important;
  }

  .hotel-album-head h2 {
    font-size: clamp(28px, 9vw, 38px) !important;
  }

  .hotel-album-stage {
    min-height: 230px !important;
    border-radius: 20px !important;
  }

  .hotel-album-stage img {
    height: min(54dvh, 460px) !important;
    min-height: 230px !important;
  }

  .hotel-album-nav {
    width: 42px !important;
    height: 50px !important;
    border-radius: 15px !important;
    font-size: 32px !important;
  }

  .hotel-album-strip button {
    flex-basis: 72px !important;
    height: 58px !important;
    border-radius: 14px !important;
  }

  .trip-details-section-card {
    padding: 18px !important;
    border-radius: 22px !important;
  }

  .booking-modal {
    align-items: stretch !important;
    padding: 8px !important;
  }

  .booking-modal-card {
    width: 100% !important;
    max-height: calc(100dvh - 16px) !important;
  }

  .booking-modal .booking-wizard-head {
    padding: 22px 62px 18px 18px !important;
  }

  .booking-steps {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding: 14px 18px 0 !important;
  }

  .booking-step-pill {
    flex: 0 0 auto !important;
  }

  .booking-panel {
    padding: 18px !important;
  }

  .booking-actions,
  .booking-step-nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .whatsapp-float {
    right: 14px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    width: 54px !important;
    height: 54px !important;
  }
}

@media (max-width: 420px) {
  .container,
  .nav-wrap {
    width: calc(100% - 20px) !important;
  }

  .nav {
    gap: 6px !important;
  }

  .nav .brand span {
    max-width: 92px !important;
  }

  .nav .icon-btn,
  .nav .menu-btn {
    width: 44px !important;
    height: 44px !important;
    flex-basis: 44px !important;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(42px, 16vw, 58px) !important;
  }

  .hero-card img {
    height: 280px !important;
  }
}

/* ===== Public Trip Detail Conversion Polish ===== */

.trip-availability-chip {
  background: rgba(38, 172, 125, .13) !important;
  border-color: rgba(38, 172, 125, .28) !important;
  color: #13785b !important;
}

.trip-detail-panel-status {
  justify-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(38, 172, 125, .14);
  color: #13785b;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.trip-detail-trust-grid,
.trip-detail-availability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.trip-detail-trust-grid > div,
.trip-detail-availability-grid > div {
  min-height: 106px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(235,250,250,.66));
  box-shadow: 0 12px 28px rgba(16,47,51,.06);
}

.trip-detail-trust-grid span,
.trip-detail-availability-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.trip-detail-trust-grid strong,
.trip-detail-availability-grid strong {
  color: var(--dark);
  font-size: 17px;
  line-height: 1.28;
}

.trip-detail-similar-section {
  padding-top: 28px;
}

.trip-detail-similar-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.trip-public-notes-section {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .92), rgba(229, 248, 248, .72)),
    radial-gradient(circle at top right, rgba(255, 196, 61, .18), transparent 32%);
}

.trip-public-notes-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.trip-public-notes-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  color: var(--dark);
  font-weight: 850;
  line-height: 1.55;
}

.trip-public-notes-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  box-shadow: 0 8px 20px rgba(41, 187, 196, .18);
}

html[dir="rtl"] .trip-public-notes-list li {
  padding: 14px 42px 14px 16px;
}

html[dir="rtl"] .trip-public-notes-list li::before {
  left: auto;
  right: 16px;
}

@media (max-width: 720px) {
  .trip-detail-trust-grid,
  .trip-detail-availability-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .trip-detail-trust-grid > div,
  .trip-detail-availability-grid > div {
    min-height: 96px;
    padding: 14px;
    border-radius: 18px;
  }

  .trip-detail-trust-grid strong,
  .trip-detail-availability-grid strong {
    font-size: 15px;
  }

  .trip-detail-similar-section {
    padding-top: 18px;
  }
}

@media (max-width: 420px) {
  .trip-detail-trust-grid,
  .trip-detail-availability-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== Homepage Egypt Destination Map ===== */

.hero-card.hero-map-card {
  min-height: 470px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 196, 61, .28), transparent 28%),
    radial-gradient(circle at 18% 20%, rgba(41, 187, 196, .22), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(229, 248, 248, .78));
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 34px 80px rgba(16, 47, 51, .16);
}

.hero-card.hero-map-card::before {
  content: "Destination map";
}

.hero-card.hero-map-card::after {
  content: "Tap any pin to view trips";
}

.hero-card.hero-map-card.map-empty::after {
  display: none;
}

.egypt-map-loading {
  min-height: 470px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 950;
}

.egypt-destination-map {
  position: relative;
  min-height: 470px;
  height: 100%;
  isolation: isolate;
}

.egypt-map-topline {
  position: absolute;
  top: 70px;
  left: 22px;
  right: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.egypt-map-topline span,
.egypt-map-topline strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .72);
  color: #102f33;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(16, 47, 51, .1);
  backdrop-filter: blur(14px);
}

.egypt-map-topline span {
  color: var(--teal);
  text-transform: uppercase;
}

.egypt-map-canvas {
  position: absolute;
  inset: 24px 18px 18px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(42, 187, 196, .15), rgba(255, 196, 61, .1)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 18px);
}

.egypt-map-svg {
  position: absolute;
  inset: 7% 4% 5%;
  width: 92%;
  height: 88%;
  filter: drop-shadow(0 24px 34px rgba(16, 47, 51, .14));
}

.egypt-mainland,
.egypt-sinai {
  fill: rgba(255, 255, 255, .74);
  stroke: rgba(16, 47, 51, .18);
  stroke-width: 5;
  stroke-linejoin: round;
}

.egypt-sinai {
  fill: rgba(255, 242, 220, .72);
}

.egypt-nile,
.egypt-red-sea {
  fill: none;
  stroke-linecap: round;
  stroke-width: 8;
}

.egypt-nile {
  stroke: rgba(41, 187, 196, .74);
}

.egypt-red-sea {
  stroke: rgba(237, 106, 90, .5);
}

.egypt-delta {
  fill: rgba(41, 187, 196, .14);
  stroke: rgba(41, 187, 196, .44);
  stroke-width: 4;
}

.egypt-map-pins {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.egypt-map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #102f33;
  text-decoration: none;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.egypt-map-pin:hover,
.egypt-map-pin:focus-visible {
  z-index: 9;
}

.egypt-map-pin-dot {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--coral), var(--yellow));
  border: 3px solid rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px rgba(237, 106, 90, .34);
}

.egypt-map-pin-dot::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: inherit;
  border: 1px solid rgba(237, 106, 90, .36);
  animation: egyptPinPulse 2.4s ease-out infinite;
}

.egypt-map-pin-name {
  max-width: 126px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .72);
  color: #102f33;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 10px 24px rgba(16, 47, 51, .1);
  backdrop-filter: blur(12px);
}

.egypt-map-pin-card {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 16px);
  width: min(210px, 62vw);
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .78);
  box-shadow: 0 20px 44px rgba(16, 47, 51, .18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
  backdrop-filter: blur(16px);
}

.egypt-map-pin:hover .egypt-map-pin-card,
.egypt-map-pin:focus-visible .egypt-map-pin-card {
  opacity: 1;
  transform: translate(-50%, 0);
}

.egypt-map-pin-card strong {
  color: #102f33;
  font-size: 17px;
  line-height: 1.1;
}

.egypt-map-pin-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.egypt-map-pin-card em {
  color: var(--teal);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.dark-mode .hero-card.hero-map-card {
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 196, 61, .18), transparent 28%),
    radial-gradient(circle at 18% 20%, rgba(41, 187, 196, .18), transparent 34%),
    linear-gradient(145deg, rgba(14, 31, 42, .92), rgba(13, 53, 58, .86));
  border-color: rgba(255, 255, 255, .1);
}

.dark-mode .egypt-map-canvas {
  background:
    linear-gradient(110deg, rgba(42, 187, 196, .16), rgba(255, 196, 61, .08)),
    rgba(255, 255, 255, .03);
}

.dark-mode .egypt-mainland,
.dark-mode .egypt-sinai {
  fill: rgba(255, 255, 255, .1);
  stroke: rgba(255, 255, 255, .2);
}

.dark-mode .egypt-map-pin-name,
.dark-mode .egypt-map-pin-card,
.dark-mode .egypt-map-topline span,
.dark-mode .egypt-map-topline strong {
  background: rgba(14, 31, 42, .82);
  border-color: rgba(255, 255, 255, .12);
  color: #f7ffff;
}

@keyframes egyptPinPulse {
  0% {
    opacity: .76;
    transform: scale(.72);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@media (max-width: 980px) {
  .hero-card.hero-map-card,
  .egypt-destination-map,
  .egypt-map-loading {
    min-height: 410px;
  }

  .egypt-map-topline {
    top: 58px;
  }
}

@media (max-width: 760px) {
  .hero-card.hero-map-card,
  .egypt-destination-map,
  .egypt-map-loading {
    min-height: 380px;
  }

  .hero-card.hero-map-card::after {
    display: none;
  }

  .egypt-map-topline {
    top: 16px;
    left: 16px;
    right: 16px;
  }

  .egypt-map-topline strong {
    display: none;
  }

  .egypt-map-canvas {
    inset: 14px;
  }

  .egypt-map-pin-name {
    max-width: 90px;
    padding-inline: 8px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .hero-card.hero-map-card,
  .egypt-destination-map,
  .egypt-map-loading {
    min-height: 330px;
  }

  .egypt-map-svg {
    inset: 10% 0 4%;
    width: 100%;
  }

  .egypt-map-pin-name {
    display: none;
  }
}

/* ===== Homepage Search Hero ===== */

body.public-home,
body:has(.home-search-hero) {
  padding-top: 0 !important;
}

.hero.home-search-hero {
  min-height: 720px;
  padding: 172px 0 92px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(13, 58, 64, .95), rgba(24, 166, 181, .48)),
    #0e3b42;
  color: #fff;
}

.hero.home-search-hero::before,
.hero.home-search-hero::after {
  display: none;
}

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

.home-hero-media {
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(42, 187, 196, .22), rgba(237, 106, 90, .18)),
    #0e3b42;
}

.home-hero-media img,
.home-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.01);
}

.home-hero-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9, 31, 35, .58), rgba(9, 31, 35, .24) 42%, rgba(9, 31, 35, .66)),
    radial-gradient(circle at 50% 34%, rgba(24, 166, 181, .18), transparent 42%);
}

.home-search-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.home-search-copy {
  width: min(940px, 100%);
  display: grid;
  justify-items: center;
}

.home-search-hero .eyebrow {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .26);
}

.home-search-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 92px !important;
  line-height: .94;
  letter-spacing: 0 !important;
  text-shadow: 0 18px 46px rgba(0, 0, 0, .34);
}

.home-search-hero .hero-sub {
  max-width: 760px;
  color: rgba(255, 255, 255, .88);
  font-size: 22px !important;
  line-height: 1.48;
  text-shadow: 0 10px 28px rgba(0, 0, 0, .26);
}

.home-trip-search {
  width: min(790px, 100%);
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .52);
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .24);
  backdrop-filter: blur(22px);
}

.home-trip-search-field {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 0 12px 0 22px;
}

.home-trip-search-field span {
  color: rgba(16, 47, 51, .58);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.home-trip-search-field input {
  width: 100%;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #102f33;
  font-size: 20px;
  font-weight: 950;
  outline: 0;
}

.home-trip-search-field input::placeholder {
  color: rgba(16, 47, 51, .48);
}

.home-trip-search .primary-action,
.home-trip-search-custom {
  min-height: 54px;
  flex: 0 0 auto;
  padding-inline: 24px;
  box-shadow: none;
  white-space: nowrap;
}

.home-trip-search-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(237, 106, 90, .14);
  color: #0f3a40;
  font-weight: 950;
}

.home-trip-search-custom:hover,
.home-trip-search-custom:focus-visible {
  background: rgba(237, 106, 90, .22);
}

.home-search-hero .hero-stats {
  justify-content: center;
  margin-top: 28px;
}

.home-search-hero .hero-stat {
  min-width: 160px;
  background: rgba(255, 255, 255, .82);
  border-color: rgba(255, 255, 255, .58);
  text-align: left;
  backdrop-filter: blur(16px);
}

.dark-mode .home-trip-search {
  background: rgba(14, 31, 42, .82);
  border-color: rgba(255, 255, 255, .14);
}

.dark-mode .home-trip-search-field span,
.dark-mode .home-trip-search-field input,
.dark-mode .home-trip-search-custom {
  color: #f7ffff;
}

.dark-mode .home-trip-search-field input::placeholder {
  color: rgba(247, 255, 255, .54);
}

.dark-mode .home-trip-search-custom {
  background: rgba(237, 106, 90, .22);
}

html[dir="rtl"] .home-trip-search-field {
  text-align: right;
  padding: 0 22px 0 12px;
}

@media (max-width: 1100px) {
  .home-search-hero h1 {
    font-size: 76px !important;
  }

  .home-search-hero .hero-sub {
    font-size: 20px !important;
  }
}

@media (max-width: 760px) {
  .hero.home-search-hero {
    min-height: auto;
    padding: 138px 0 54px !important;
  }

  .home-search-hero h1 {
    font-size: 52px !important;
    line-height: 1;
  }

  .home-search-hero .hero-sub {
    font-size: 18px !important;
  }

  .home-trip-search {
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 28px;
  }

  .home-trip-search-field {
    min-height: 66px;
    padding: 10px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .62);
  }

  .dark-mode .home-trip-search-field {
    background: rgba(255, 255, 255, .07);
  }

  .home-trip-search-field input {
    font-size: 18px;
  }

  .home-trip-search .primary-action,
  .home-trip-search-custom {
    width: 100%;
    min-height: 56px;
  }

  .home-search-hero .hero-stats {
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  .home-search-hero h1 {
    font-size: 43px !important;
  }
}

/* Viewport-level public mobile menu. The nav bar itself is clipped/glassy, so
   the opened menu is moved to body on phones and styled here. */
@media (max-width: 900px) {
  .nav {
    overflow: visible !important;
  }

  body > .nav-links.public-mobile-menu-panel {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    top: calc(env(safe-area-inset-top) + 88px) !important;
    z-index: 10080 !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: auto !important;
    max-width: none !important;
    max-height: calc(100dvh - 112px) !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 12px !important;
    transform: none !important;
    border: 1px solid rgba(120, 205, 211, .34) !important;
    border-radius: 24px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(241, 252, 251, .92)) !important;
    box-shadow: 0 26px 76px rgba(16, 47, 51, .28) !important;
    backdrop-filter: blur(24px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.2) !important;
  }

  body > .nav-links.public-mobile-menu-panel.open {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  body > .nav-links.public-mobile-menu-panel a {
    width: 100% !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 16px !important;
    border: 1px solid rgba(25, 159, 170, .14) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .62) !important;
    color: var(--ink) !important;
    font-weight: 900 !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(16, 47, 51, .08) !important;
  }

  body > .nav-links.public-mobile-menu-panel a.active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  }

  body > .nav-links.public-mobile-menu-panel .mobile-nav-item {
    display: flex !important;
  }

  html[dir="rtl"] body > .nav-links.public-mobile-menu-panel a {
    text-align: center !important;
  }
}

.dark-mode body > .nav-links.public-mobile-menu-panel {
  border-color: rgba(120, 205, 211, .22) !important;
  background: linear-gradient(135deg, rgba(8, 28, 31, .98), rgba(16, 47, 51, .94)) !important;
  box-shadow: 0 26px 76px rgba(0, 0, 0, .42) !important;
}

.dark-mode body > .nav-links.public-mobile-menu-panel a {
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  color: rgba(247, 255, 255, .92) !important;
}
