/**
 * Fifty Fifty Tours — Public Design System
 * RTL-first (Arabic). LTR overrides via html[dir="ltr"].
 */

/* ==========================================================================
   Self-hosted Cairo (400 + 700) — font-display: swap
   ========================================================================== */

/* arabic */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cairo/cairo-arabic-400.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cairo/cairo-arabic-700.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* latin-ext */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cairo/cairo-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cairo/cairo-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cairo/cairo-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/cairo/cairo-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Design Tokens
   ========================================================================== */

:root {
  --brand-primary: #1B6BFF;
  --brand-primary-dark: #0B4FD6;
  --brand-navy: #001A3D;
  --brand-navy-soft: #0A2A55;
  --brand-accent: #4A9DE0;
  --bg-soft: #F5F7FB;
  --text: #1A2433;
  --text-muted: #64748B;
  --success: #16A34A;
  --warning: #F59E0B;
  --danger: #DC2626;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 26, 61, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 26, 61, 0.12);
  --container: 1200px;
  --header-height: 80px;
  --transition: 0.25s ease;
  --white: #ffffff;
  --border: rgba(0, 26, 61, 0.08);
  --border-strong: rgba(0, 26, 61, 0.14);
  --overlay-hero: linear-gradient(180deg, rgba(0, 26, 61, 0.55) 0%, rgba(0, 26, 61, 0.75) 100%);
  --overlay-dark: linear-gradient(135deg, rgba(0, 26, 61, 0.92) 0%, rgba(10, 42, 85, 0.88) 100%);
  --font: "Cairo", system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  direction: rtl;
}

html[dir="ltr"] {
  direction: ltr;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-primary);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brand-navy);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.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;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary-rixos,
.btn-outline-rixos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn-primary-rixos {
  background: var(--brand-primary);
  color: var(--white);
  border: 2px solid var(--brand-primary);
  box-shadow: 0 8px 20px rgba(27, 107, 255, 0.25);
}

.btn-primary-rixos:hover,
.btn-primary-rixos:focus-visible {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 79, 214, 0.3);
  transform: translateY(-1px);
}

.btn-outline-rixos {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.btn-outline-rixos:hover,
.btn-outline-rixos:focus-visible {
  background: var(--brand-primary);
  color: var(--white);
}

.btn-primary-rixos.btn-sm,
.btn-outline-rixos.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-primary-rixos.btn-lg,
.btn-outline-rixos.btn-lg {
  min-height: 54px;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-primary-rixos:disabled,
.btn-outline-rixos:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Author display:inline-flex must not override the HTML hidden attribute */
.btn-primary-rixos[hidden],
.btn-outline-rixos[hidden],
.booking-actions [hidden] {
  display: none !important;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-navy);
}

.form-control,
.form-select {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(27, 107, 255, 0.12);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

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

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: var(--danger);
}

.form-error {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--danger);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--brand-primary);
  flex-shrink: 0;
}

.form-check-label {
  font-size: 0.92rem;
  color: var(--text-muted);
}

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

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

/* ==========================================================================
   Site Header (overrides Bootstrap .navbar defaults)
   ========================================================================== */

.site-header {
  position: absolute;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  width: 100%;
  min-height: var(--header-height, 84px);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header > .container {
  height: 100%;
}

.site-header:not(.is-solid):not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(0, 26, 61, 0.55) 0%, rgba(0, 26, 61, 0.15) 70%, transparent 100%);
}

.site-header.is-solid,
.site-header.is-scrolled {
  position: fixed;
  background: rgba(0, 26, 61, 0.96);
  box-shadow: 0 4px 24px rgba(0, 26, 61, 0.18);
}

/* Blur on a pseudo-element so it does NOT trap position:fixed mobile nav */
.site-header.is-solid::before,
.site-header.is-scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(12px);
  pointer-events: none;
}

/* Reset Bootstrap navbar layout */
.site-header .navbar {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1rem;
  width: 100%;
  min-height: var(--header-height, 84px);
  padding: 0.65rem 0;
  flex-direction: row !important;
}

.site-header .navbar-brand {
  display: inline-flex !important;
  align-items: center;
  flex-shrink: 0;
  margin: 0 !important;
  padding: 0 !important;
  order: 1;
}

.site-header .navbar-brand img {
  display: block;
  height: 85px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.site-header .navbar-tools {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  order: 3;
  margin: 0;
}

.site-header .navbar-toggler {
  display: none;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  align-items: center;
  justify-content: center;
}

.site-header .navbar-collapse {
  display: flex !important;
  flex-basis: auto !important;
  flex-grow: 1 !important;
  flex-shrink: 1 !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 1.25rem;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  order: 2;
}

.site-header .navbar-nav {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 1 auto !important;
  gap: 0.15rem;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.site-header .nav-item {
  position: relative;
  list-style: none;
}

.site-header .nav-link {
  display: inline-flex !important;
  align-items: center;
  padding: 0.5rem 0.8rem !important;
  margin: 0 !important;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white) !important;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
  background: transparent !important;
  border: 0 !important;
  transition: color var(--transition), opacity var(--transition);
}

.site-header .nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0.8rem;
  bottom: 0.1rem;
  height: 2px;
  background: transparent;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition), background var(--transition);
}

.site-header .nav-link:hover::after,
.site-header .nav-link.active::after {
  transform: scaleX(1);
  background: var(--brand-accent);
}

.site-header .nav-link.active,
.site-header .nav-link:hover {
  color: var(--brand-accent) !important;
}

.site-header .navbar-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.75rem;
  flex-shrink: 0;
  margin: 0 !important;
}

.site-header .lang-dropdown {
  position: relative;
}

.site-header .lang-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
}

.site-header .lang-toggle:hover,
.site-header .lang-dropdown.is-open .lang-toggle {
  background: rgba(255, 255, 255, 0.18);
}

.site-header .lang-chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.site-header .lang-dropdown.is-open .lang-chevron {
  transform: rotate(180deg);
}

.site-header .lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  inset-inline-end: 0;
  min-width: 150px;
  padding: 0.35rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1100;
}

.site-header .lang-dropdown.is-open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-header .lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: none;
}

.site-header .lang-menu a:hover,
.site-header .lang-menu a.active {
  background: var(--bg-soft);
  color: var(--brand-primary);
}

.site-header .btn-book-now {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 1.2rem;
  border-radius: 10px;
  background: var(--brand-primary);
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(27, 107, 255, 0.3);
}

.site-header .btn-book-now:hover {
  background: var(--brand-primary-dark);
  color: var(--white) !important;
}

.site-header .navbar-toggler-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.site-header .navbar-toggler-icon::before,
.site-header .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: currentColor;
}

.site-header .navbar-toggler-icon::before { top: -7px; }
.site-header .navbar-toggler-icon::after { top: 7px; }

.site-header .navbar-toggler.is-active .navbar-toggler-icon { background: transparent; }
.site-header .navbar-toggler.is-active .navbar-toggler-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.site-header .navbar-toggler.is-active .navbar-toggler-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
  .site-header .navbar-tools {
    order: 2;
    margin-inline-start: auto;
  }

  .site-header .navbar-toggler {
    display: inline-flex !important;
  }

  .site-header .lang-toggle {
    min-height: 44px;
    padding: 0.35rem 0.65rem;
    gap: 0.3rem;
  }

  .site-header .lang-toggle__label {
    max-width: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header .lang-menu {
    inset-inline-end: auto;
    inset-inline-start: 0;
  }

  .site-header .navbar-collapse {
    position: fixed !important;
    top: var(--header-height, 84px);
    inset-inline: 0;
    bottom: 0;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0;
    padding: 1.25rem !important;
    background: var(--brand-navy) !important;
    overflow-y: auto !important;
    transform: translateX(110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1100;
    width: 100% !important;
    max-width: 100% !important;
    height: calc(100vh - var(--header-height, 84px)) !important;
    max-height: none !important;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    order: 4;
  }

  html[dir="ltr"] .site-header .navbar-collapse {
    transform: translateX(-110%);
  }

  .site-header .navbar-collapse.is-open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-header .navbar-nav {
    flex-direction: column !important;
    align-items: stretch !important;
    flex: 0 0 auto !important;
    width: 100%;
    margin: 0 0 1rem !important;
  }

  .site-header .navbar-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100%;
  }

  .site-header .navbar-actions .btn-book-now {
    width: 100%;
    justify-content: center;
  }

  .site-header .navbar-brand img {
    height: 46px;
    max-width: 150px;
  }
}

/* Keep older generic selectors as aliases (non-Bootstrap conflict safe) */
.navbar-brand img { height: 56px; width: auto; }
.btn-book-now { color: var(--white); }

/* ==========================================================================
   Page Hero
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: calc(var(--header-height) + 3rem) 5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
  width: 100%;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-hero);
  z-index: 1;
}

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

.page-hero__content {
  max-width: 720px;
}

.page-hero__title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.page-hero__subtitle {
  margin-bottom: 1.25rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.page-hero__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-hero__breadcrumbs a {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero__breadcrumbs a:hover {
  color: var(--white);
}

.page-hero__breadcrumbs .sep {
  opacity: 0.5;
}

.page-hero__breadcrumbs .current {
  color: var(--brand-accent);
  font-weight: 600;
}

.page-hero--tall {
  min-height: 520px;
}

.page-hero--home {
  min-height: 640px;
  align-items: center;
  padding-bottom: 3.5rem;
  overflow: hidden;
  background-image: none;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.page-hero--home .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 4;
}

.page-hero--listing {
  min-height: 480px;
  align-items: center;
  padding-bottom: 3.5rem;
  overflow: hidden;
}

.page-hero--listing .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 4;
  width: 100%;
}

.page-hero--listing .page-hero__content {
  max-width: 720px;
  margin-bottom: 0;
}

.page-hero--listing .search-bar--hero {
  max-width: 100%;
  width: 100%;
  margin-top: 1.75rem;
  margin-inline: 0;
  align-self: stretch;
}

.page-hero--listing .page-hero__wave svg {
  height: 100px;
}

.section--listing {
  padding-top: 1.25rem;
}

.page-hero--about {
  min-height: 460px;
  padding-bottom: 4rem;
}

.page-hero--contact {
  min-height: 420px;
  padding-bottom: 4rem;
}

.page-hero--faq {
  min-height: 420px;
  padding-bottom: 4rem;
}

.page-hero--cms {
  min-height: 400px;
  padding-bottom: 3.75rem;
}

.section--cms-page {
  padding-top: 1.25rem;
  padding-bottom: 4.5rem;
}

.cms-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 1.5rem;
  align-items: start;
}

.cms-page {
  padding: 1.75rem 1.85rem 2rem;
}

.cms-page__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0, 26, 61, 0.08);
}

.cms-page__icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(27, 107, 255, 0.1);
  color: var(--brand-primary);
  font-size: 1.45rem;
}

.cms-page__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1.35;
}

.cms-page__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.cms-page__body {
  color: var(--brand-navy);
  font-size: 1.02rem;
  line-height: 1.85;
}

.cms-page__body p {
  margin: 0 0 1.1rem;
}

.cms-page__body p:last-child {
  margin-bottom: 0;
}

.cms-page__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.cms-page__list:last-child {
  margin-bottom: 0;
}

.cms-page__list li {
  position: relative;
  padding: 0.85rem 1rem;
  padding-inline-start: 2.6rem;
  background: rgba(245, 247, 251, 0.95);
  border: 1px solid rgba(0, 26, 61, 0.06);
  border-radius: 14px;
  color: var(--brand-navy);
  line-height: 1.65;
}

.cms-page__list li::before {
  content: "";
  position: absolute;
  top: 1.15rem;
  inset-inline-start: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(27, 107, 255, 0.12);
}

.cms-page__empty {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
}

.cms-aside {
  display: grid;
  gap: 1rem;
}

.cms-aside__card {
  display: grid;
  gap: 0.75rem;
  text-align: center;
  padding: 1.5rem 1.35rem;
}

.cms-aside__icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(27, 107, 255, 0.1);
  color: var(--brand-primary);
  font-size: 1.5rem;
}

.cms-aside__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.cms-aside__text {
  margin: 0 0 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.cms-aside__card .btn-outline-rixos,
.cms-aside__card .btn-primary-rixos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.cms-aside__links {
  padding: 1.25rem 1.35rem;
}

.cms-aside__links-title {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.cms-aside__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.cms-aside__nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color var(--transition);
}

.cms-aside__nav a:hover {
  color: var(--brand-primary);
}

.cms-aside__nav i {
  color: var(--brand-primary);
  font-size: 0.8rem;
}

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

  .cms-aside {
    order: 2;
  }
}

@media (max-width: 575.98px) {
  .cms-page {
    padding: 1.35rem 1.2rem 1.5rem;
  }

  .cms-page__head {
    gap: 0.85rem;
  }

  .cms-page__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 1.25rem;
  }

  .cms-page__title {
    font-size: 1.15rem;
  }
}

.section--contact {
  padding-top: 1.25rem;
}

.section--faq {
  padding-top: 1.25rem;
}

.faq-support-card {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.section--about-story {
  padding-top: 1.25rem;
}

.about-story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.about-story__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.section-title--start {
  display: block;
  text-align: start;
}

.section-title--start::before,
.section-title--start::after {
  display: none;
}

.about-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.about-story__media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.about-why {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-why__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-why__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.about-why__list li:last-child {
  margin-bottom: 0;
}

.about-why__check {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(27, 107, 255, 0.1);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-why__list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--brand-navy);
}

.about-why__list span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.about-why__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-stat {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.5rem 1rem;
  text-align: center;
}

.about-stat__value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand-primary);
  line-height: 1;
}

.about-stat__label {
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .about-story,
  .about-why {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr 1fr;
  }
}

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

.listing-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.listing-toolbar__count {
  font-weight: 600;
  color: var(--text-muted);
}

.listing-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.listing-toolbar__sort .form-select {
  width: auto;
  min-width: 180px;
  min-height: 42px;
}

.filters-sidebar.is-collapsed .filters-sidebar__body {
  display: none;
}

@media (min-width: 992px) {
  .filters-sidebar.is-collapsed .filters-sidebar__body {
    display: block;
  }

  .filters-sidebar__toggle {
    display: none;
  }
}

.page-hero--home::before {
  background: linear-gradient(
    180deg,
    rgba(0, 26, 61, 0.55) 0%,
    rgba(0, 26, 61, 0.28) 42%,
    rgba(0, 26, 61, 0.35) 100%
  );
}

.page-hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
  width: 100%;
}

.page-hero__wave svg {
  display: block;
  width: 100%;
  height: 110px;
}

/* ==========================================================================
   Search Bar (floating over hero)
   ========================================================================== */

.search-bar {
  position: relative;
  z-index: 10;
  margin-top: -3.5rem;
  margin-bottom: 2.5rem;
  width: 100%;
}

.search-bar--hero {
  margin-top: 1.75rem;
  margin-bottom: 0;
  width: min(100%, 1080px);
  max-width: 1080px;
  margin-inline: auto;
}

.search-bar__card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 26, 61, 0.14);
  padding: 1.35rem 1.75rem;
  overflow: hidden;
  max-width: 100%;
}

.search-bar__form {
  display: grid;
  grid-template-columns: 1.35fr 1.1fr auto auto;
  gap: 1.1rem;
  align-items: end;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.search-bar__field {
  min-width: 0;
  max-width: 100%;
}

.search-bar__field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.search-bar__field .form-control,
.search-bar__field .form-select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  border-radius: 12px;
  border-color: #d9e2ef;
  box-sizing: border-box;
}

.search-bar__submit {
  min-height: 48px;
  padding-inline: 1.35rem 1.5rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  white-space: nowrap;
}

.search-bar__submit-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.search-bar.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.search-bar.is-loading .search-bar__submit {
  position: relative;
  color: transparent;
}

.search-bar.is-loading .search-bar__submit::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: rixos-spin 0.7s linear infinite;
}

@keyframes rixos-spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding-block: 5rem;
}

.section--home-experiences {
  padding-top: 1.25rem;
  padding-bottom: 4.5rem;
}

.section--soft {
  background: var(--bg-soft);
}

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

.section-header {
  text-align: center;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
}

.section-header--tight {
  margin-bottom: 2.25rem;
}

.section-header--row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: none;
  text-align: center;
  margin-bottom: 2rem;
}

.section-header--row .section-title {
  grid-column: 2;
  margin-bottom: 0;
}

.section-header__link {
  grid-column: 1;
  justify-self: start;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800;
  color: var(--brand-navy);
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 48px;
  height: 12px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.85;
  transform: translateY(-50%);
}

.section-title::before {
  inset-inline-end: calc(100% + 14px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 12'%3E%3Cpath fill='%234A9DE0' d='M0 8c8-4 16-8 24-8s16 4 24 8'/%3E%3Cpath fill='%231B6BFF' d='M0 10c8-3 16-6 24-6s16 3 24 6'/%3E%3C/svg%3E");
}

.section-title::after {
  inset-inline-start: calc(100% + 14px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 12'%3E%3Cpath fill='%234A9DE0' d='M48 8c-8-4-16-8-24-8S8 4 0 8'/%3E%3Cpath fill='%231B6BFF' d='M48 10c-8-3-16-6-24-6S8 7 0 10'/%3E%3C/svg%3E");
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* ==========================================================================
   Experience Cards
   ========================================================================== */

.experience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.experience-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.experience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.experience-card:hover img {
  transform: scale(1.06);
}

.experience-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 26, 61, 0.82) 100%);
}

.experience-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}

/* ==========================================================================
   Tour / Activity Cards
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tour-card,
.activity-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.tour-card:hover,
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tour-card__media,
.activity-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
}

.tour-card__media img,
.activity-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tour-card__media picture,
.activity-card__media picture,
.experience-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.page-hero > picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  pointer-events: none;
}

.experience-card picture {
  position: absolute;
  inset: 0;
}

.tour-card:hover .tour-card__media img,
.activity-card:hover .activity-card__media img {
  transform: scale(1.05);
}

.tour-card__badges,
.activity-card__badges {
  position: absolute;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  z-index: 2;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--brand-primary);
  color: var(--white);
}

.card-badge--accent {
  background: var(--brand-accent);
}

.card-badge--success {
  background: var(--success);
}

.tour-card__favorite,
.activity-card__favorite {
  position: absolute;
  top: 0.75rem;
  inset-inline-end: 0.75rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-muted);
  box-shadow: 0 4px 12px rgba(0, 26, 61, 0.12);
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.tour-card__favorite:hover,
.activity-card__favorite:hover {
  transform: scale(1.08);
}

.tour-card__favorite.is-active,
.activity-card__favorite.is-active {
  color: var(--danger);
}

.tour-card__favorite.is-active svg,
.activity-card__favorite.is-active svg {
  fill: var(--danger);
}

.tour-card__body,
.activity-card__body {
  padding: 1.15rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tour-card__meta,
.activity-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.tour-card__rating,
.activity-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--warning);
}

.tour-card__rating span,
.activity-card__rating span {
  color: var(--text-muted);
  font-weight: 500;
}

.tour-card__location,
.activity-card__location {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tour-card__title,
.activity-card__title {
  margin-bottom: 0.65rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-card__details,
.activity-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.tour-card__detail,
.activity-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tour-card__footer,
.activity-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.tour-card__price,
.activity-card__price {
  display: flex;
  flex-direction: column;
}

.tour-card__price-label,
.activity-card__price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tour-card__price-value,
.activity-card__price-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.tour-card__price-value small,
.activity-card__price-value small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tour-card__btn,
.activity-card__btn {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   Filters Sidebar
   ========================================================================== */

.listing-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.filters-sidebar {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.filters-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--brand-navy);
  color: var(--white);
}

.filters-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.filters-sidebar__toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.filters-sidebar__body {
  padding: 1.25rem;
}

.filter-group {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.filter-group:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.filter-group__title {
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
}

.filter-check:last-child {
  margin-bottom: 0;
}

.filter-check input {
  accent-color: var(--brand-primary);
  width: 16px;
  height: 16px;
}

.filter-range {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-range .form-control {
  min-height: 40px;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
}

.filters-sidebar__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.filters-sidebar.is-collapsed .filters-sidebar__body {
  display: none;
}

/* ==========================================================================
   Why Cards (features row)
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.why-card__icon {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(27, 107, 255, 0.1);
  color: var(--brand-primary);
  font-size: 1.5rem;
}

.why-card__title {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.why-card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Booking Journey (homepage process)
   ========================================================================== */

.booking-journey {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.booking-journey::before {
  content: "";
  position: absolute;
  top: 42px;
  inset-inline: 8%;
  height: 0;
  border-top: 2px dashed #c5d5ea;
  z-index: 0;
}

.booking-journey__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: 0.35rem;
}

.booking-journey__icon-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
}

.booking-journey__icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid #cfe0f8;
  background: var(--white);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 28px rgba(27, 107, 255, 0.12);
}

.booking-journey__badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(27, 107, 255, 0.3);
}

.booking-journey__title {
  margin-bottom: 0.45rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.booking-journey__text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Legacy booking-steps (forms / booking flow) */

.booking-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  counter-reset: booking-step;
  margin-bottom: 2.5rem;
}

.booking-step {
  flex: 1;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  counter-increment: booking-step;
}

.booking-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  inset-inline-start: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 2px;
  background: var(--border-strong);
}

.booking-step.is-complete:not(:last-child)::after,
.booking-step.is-active:not(:last-child)::after {
  background: var(--brand-primary);
}

.booking-step__number {
  width: 44px;
  height: 44px;
  margin-inline: auto;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 2px solid var(--border-strong);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.booking-step__number::before {
  content: counter(booking-step);
}

.booking-step.is-active .booking-step__number {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(27, 107, 255, 0.3);
}

.booking-step.is-complete .booking-step__number {
  background: var(--success);
  border-color: var(--success);
  color: var(--white);
}

.booking-step.is-complete .booking-step__number::before {
  content: "✓";
}

.booking-step__label {
  display: block;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.35;
}

.booking-step.is-active .booking-step__label,
.booking-step.is-complete .booking-step__label {
  color: var(--brand-navy);
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 3.75rem 2.75rem;
  color: var(--white);
  background-color: var(--brand-navy);
  background-size: cover;
  background-position: center;
  min-height: 220px;
  display: flex;
  align-items: center;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 26, 61, 0.82) 0%, rgba(0, 26, 61, 0.55) 55%, rgba(0, 26, 61, 0.35) 100%);
  z-index: 1;
}

html[dir="ltr"] .cta-banner::before {
  background: linear-gradient(270deg, rgba(0, 26, 61, 0.82) 0%, rgba(0, 26, 61, 0.55) 55%, rgba(0, 26, 61, 0.35) 100%);
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.cta-banner__inner--center {
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-banner__content {
  max-width: 640px;
}

.cta-banner__title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
}

.cta-banner__text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin: 0;
}

.cta-banner__actions {
  flex-shrink: 0;
}

.cta-banner .btn-primary-rixos,
.cta-banner__btn {
  background: var(--brand-primary) !important;
  color: var(--white) !important;
  border-color: var(--brand-primary) !important;
  box-shadow: 0 10px 28px rgba(27, 107, 255, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 52px;
  padding-inline: 1.5rem;
  border-radius: 12px;
}

.cta-banner .btn-primary-rixos:hover,
.cta-banner__btn:hover {
  background: var(--brand-primary-dark) !important;
  color: var(--white) !important;
  border-color: var(--brand-primary-dark) !important;
}

.cta-banner__btn-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.82);
  padding-top: 3.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: var(--brand-accent);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 1.75rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__brand img {
  height: 110px;
  margin-bottom: 1rem;
}

.site-footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
}

.site-footer__heading {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.site-footer__links li {
  margin-bottom: 0.55rem;
}

.site-footer__links a {
  font-size: 0.9rem;
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.site-footer__contact-item svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  opacity: 0.85;
}

.site-footer__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.site-footer__social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background var(--transition), border-color var(--transition);
}

.site-footer__social a:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__bottom-links {
  display: flex;
  gap: 1.25rem;
}

/* ==========================================================================
   Contact Info Cards
   ========================================================================== */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.contact-info-card__icon {
  width: 56px;
  height: 56px;
  margin-inline: auto;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(27, 107, 255, 0.1);
  color: var(--brand-primary);
}

.contact-info-card__title {
  margin-bottom: 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.contact-info-card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info-card__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--brand-primary);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-search {
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
  position: relative;
}

.faq-search .form-control {
  padding-inline-start: 2.75rem;
}

.faq-search__icon {
  position: absolute;
  inset-inline-start: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.faq-list {
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item.is-open {
  box-shadow: var(--shadow-lg);
}

.faq-item.is-hidden {
  display: none;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  text-align: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand-navy);
  background: var(--white);
  transition: color var(--transition);
}

.faq-item__question:hover {
  color: var(--brand-primary);
}

.faq-item__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--brand-primary);
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform var(--transition), background var(--transition);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: var(--brand-primary);
  color: var(--white);
}

.faq-item__answer {
  display: none;
  padding: 0 1.25rem 1.15rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

.faq-empty {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  display: none;
}

.faq-empty.is-visible {
  display: block;
}

/* ==========================================================================
   Tour Detail — Gallery + Booking Widget
   ========================================================================== */

.page-hero--detail {
  --page-hero-wave-h: 90px;
  min-height: 420px;
  padding-block: calc(var(--header-height) + 2.5rem) 0;
  align-items: flex-end;
  overflow: hidden;
  background-color: var(--brand-navy);
  background-size: cover;
  background-position: center;
}

.page-hero--detail::before {
  display: block;
  background: linear-gradient(
    180deg,
    rgba(0, 26, 61, 0.72) 0%,
    rgba(0, 26, 61, 0.55) 42%,
    rgba(0, 26, 61, 0.78) 100%
  );
}

.page-hero--detail .container {
  position: relative;
  z-index: 4;
  width: 100%;
  /* Keep copy above the absolute wave curve */
  padding-bottom: calc(var(--page-hero-wave-h) + 1.5rem);
}

.page-hero--detail .page-hero__content {
  max-width: 760px;
}

.page-hero--detail .page-hero__breadcrumbs {
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.page-hero--detail .page-hero__breadcrumbs a {
  color: rgba(255, 255, 255, 0.92);
}

.page-hero--detail .page-hero__breadcrumbs .current {
  color: var(--white);
}

.page-hero--detail .page-hero__title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.page-hero--detail .page-hero__subtitle {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.35);
}

.page-hero--detail .page-hero__wave svg {
  height: var(--page-hero-wave-h);
}

.section--tour-detail {
  padding-top: 1rem;
  margin-top: -1.25rem;
  position: relative;
  z-index: 5;
}

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

.tour-detail-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.tour-gallery:not(:has(.tour-gallery__thumbs)) {
  grid-template-columns: 1fr;
}

.tour-specs:has(.tour-specs__item:nth-child(4):last-child),
.tour-specs:has(.tour-specs__item:nth-child(5):last-child) {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.tour-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 0.75rem;
  align-items: stretch;
  direction: ltr;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  height: clamp(360px, 48vw, 520px);
}

.tour-gallery__main {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #0B1F3A;
}

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

.tour-gallery__badge {
  position: absolute;
  top: 0.85rem;
  inset-inline-start: 0.85rem;
  z-index: 2;
}

.tour-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0 0.15rem 0 0;
  background: transparent;
  height: 100%;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 42, 92, 0.35) transparent;
}

.tour-gallery__thumbs::-webkit-scrollbar {
  width: 5px;
}

.tour-gallery__thumbs::-webkit-scrollbar-thumb {
  background: rgba(10, 42, 92, 0.35);
  border-radius: 999px;
}

.tour-gallery__thumb {
  flex: 0 0 auto;
  width: 100%;
  height: 92px;
  aspect-ratio: auto;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.85;
  padding: 0;
  background: none;
  transition: opacity var(--transition), border-color var(--transition);
}

.tour-gallery__thumb:hover,
.tour-gallery__thumb.is-active {
  opacity: 1;
  border-color: var(--brand-primary);
}

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

.tour-detail-header {
  margin-top: 1.35rem;
  margin-bottom: 1.25rem;
}

.tour-detail-header__title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--brand-navy);
}

.tour-detail-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.tour-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(27, 107, 255, 0.08);
  color: var(--brand-navy);
  font-size: 0.85rem;
  font-weight: 600;
}

.tour-detail-chip--rating {
  color: var(--warning);
}

.tour-detail-chip--rating span {
  color: var(--text-muted);
  font-weight: 500;
}

.tour-detail-header__text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 52rem;
}

.tour-specs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.tour-specs__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1rem;
  border-inline-end: 1px solid #e8eef6;
}

.tour-specs__item:last-child {
  border-inline-end: 0;
}

.tour-specs__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(27, 107, 255, 0.1);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.tour-specs__label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.tour-specs__value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-navy);
}

.tour-tabs {
  padding: 1.35rem 1.5rem 1.5rem;
}

.tour-tabs .tab-content > .tab-pane {
  display: none;
}

.tour-tabs .tab-content > .tab-pane.active,
.tour-tabs .tab-content > .tab-pane.show {
  display: block;
}

.tour-tabs .tab-content > .tab-pane.fade {
  opacity: 1;
  transition: none;
}

.tour-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.tour-tabs__btn {
  border: 0;
  background: none;
  padding: 0.65rem 0;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  cursor: pointer;
}

.tour-tabs__btn.is-active,
.tour-tabs__btn.active,
.tour-tabs__btn[aria-selected="true"] {
  color: var(--brand-primary);
}

.tour-tabs__btn.is-active::after,
.tour-tabs__btn.active::after,
.tour-tabs__btn[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
}

.tour-description {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.tour-highlights__title {
  margin: 1.5rem 0 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.tour-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.tour-timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  position: relative;
  padding-bottom: 1.25rem;
}

.tour-timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 18px;
  inset-inline-start: calc(0.35rem + 7px);
  width: 2px;
  bottom: 0;
  background: #d7e4f7;
}

.tour-timeline__item--has-time:not(:last-child)::before {
  inset-inline-start: calc(64px + 0.75rem + 7px);
}

.tour-timeline__time {
  flex: 0 0 64px;
  width: 64px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-primary);
  padding-top: 0.15rem;
}

.tour-timeline__dot {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin-top: 0.3rem;
  border-radius: 50%;
  background: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(27, 107, 255, 0.15);
  position: relative;
  z-index: 1;
}

.tour-timeline__body {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--brand-navy);
  line-height: 1.55;
}

.tour-timeline__body strong {
  display: block;
  font-weight: 700;
  word-break: normal;
  overflow-wrap: anywhere;
}

.booking-widget {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 1.35rem 1.4rem 1.5rem;
}

.booking-widget__top {
  margin-bottom: 1rem;
}

.booking-widget__fav {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0;
  margin-bottom: 0.65rem;
  cursor: pointer;
  position: static;
  width: auto;
  height: auto;
  box-shadow: none;
  border-radius: 0;
}

.booking-widget__fav:hover,
.booking-widget__fav.is-active {
  color: var(--danger);
}

.booking-widget__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.booking-widget__price {
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.booking-widget__price-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.booking-widget__price-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-primary);
}

.booking-widget__price-value small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.booking-widget__field {
  margin-bottom: 1rem;
}

.booking-widget__total {
  margin: 0.25rem 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.booking-widget__total strong {
  color: var(--brand-navy);
}

.booking-widget__submit {
  width: 100%;
  min-height: 48px;
  margin-top: 0.25rem;
}

.booking-widget__note {
  margin-top: 0.85rem;
  margin-bottom: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.tour-side-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.25rem;
}

.tour-side-card__title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.tour-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tour-side-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  font-size: 0.9rem;
  color: var(--text);
}

.tour-side-list li:last-child {
  margin-bottom: 0;
}

.tour-side-card--help {
  text-align: center;
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}

.tour-side-card__help-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: rgba(27, 107, 255, 0.12);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.tour-side-card--help p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Counters (+ / -)
   ========================================================================== */

.counter-group {
  margin-bottom: 1rem;
}

.counter-group__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.counter-group__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-navy);
}

.counter-group__hint {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.counter-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.counter-control__btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  color: var(--brand-navy);
  font-size: 1.15rem;
  font-weight: 700;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.counter-control__btn:hover:not(:disabled) {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--white);
}

.counter-control__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.counter-control__value {
  min-width: 2rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--brand-navy);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.5rem;
}

.pagination {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.pagination__item {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-strong);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.pagination__item:hover:not(.is-disabled):not(.is-active) {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.pagination__item.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--white);
}

.pagination__item.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination__dots {
  min-width: auto;
  border: none;
  background: transparent;
  color: var(--text-muted);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-muted { color: var(--text-muted); }
.text-primary { color: var(--brand-primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-center { text-align: center; }
.text-end { text-align: end; }
.text-start { text-align: start; }

html[dir="ltr"] .text-end { text-align: right; }
html[dir="ltr"] .text-start { text-align: left; }

.d-flex { display: flex; }
.d-block { display: block; }
.w-100 { width: 100%; }
.align-center { align-items: center; }
.justify-between,
.justify-content-between { justify-content: space-between; }
.align-items-start { align-items: flex-start; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.25rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1.5rem; }
.me-1 { margin-inline-end: 0.25rem; }
.ms-1 { margin-inline-start: 0.25rem; }
.small { font-size: 0.875rem; }

.invalid-feedback {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--danger);
}
.invalid-feedback.d-block,
.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
  display: block;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -0.75rem;
}

.row > * {
  box-sizing: border-box;
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-inline: 0.75rem;
}

.g-3, .gy-3 { --bs-gutter-y: 1rem; }
.g-4, .gy-4 { --bs-gutter-y: 1.5rem; }
.g-3, .g-4 {
  margin-inline: calc(var(--bs-gutter-x, 1.5rem) / -2);
  row-gap: var(--bs-gutter-y, 0);
}
.g-3 > *, .g-4 > * {
  padding-inline: calc(var(--bs-gutter-x, 1.5rem) / 2);
}

.col-sm-6,
.col-md-6,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8 { width: 100%; }

@media (min-width: 576px) {
  .col-sm-6 { width: 50%; }
}

@media (min-width: 768px) {
  .col-md-6 { width: 50%; }
}

@media (min-width: 992px) {
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.3333%; }
  .col-lg-5 { width: 41.6667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.3333%; }
  .col-lg-8 { width: 66.6667%; }
  .mb-lg-5 { margin-bottom: 3rem; }
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}
.alert-danger {
  color: #991b1b;
  background: #fef2f2;
  border-color: #fecaca;
}
.alert-warning {
  color: #92400e;
  background: #fffbeb;
  border-color: #fde68a;
}
.alert-success {
  color: #166534;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-pill--primary {
  background: rgba(27, 107, 255, 0.12);
  color: var(--brand-primary);
}

/* ==========================================================================
   LTR Adjustments
   ========================================================================== */

html[dir="ltr"] .booking-step:not(:last-child)::after {
  inset-inline-start: calc(50% + 28px);
}

html[dir="ltr"] .faq-search .form-control {
  padding-inline-start: 2.75rem;
  padding-inline-end: 1rem;
}

html[dir="ltr"] .search-bar__form {
  direction: ltr;
}

html[dir="ltr"] .search-bar__form .search-bar__field label,
html[dir="ltr"] .search-bar__form .form-control {
  text-align: left;
}

/* ==========================================================================
   Responsive — 992px
   ========================================================================== */

@media (max-width: 992px) {
  .experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .listing-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static;
  }

  .filters-sidebar__toggle {
    display: inline-flex;
  }

  .filters-sidebar.is-collapsed .filters-sidebar__body {
    display: none;
  }

  .tour-detail-layout {
    grid-template-columns: 1fr;
  }

  .tour-detail-aside {
    position: static;
  }

  .tour-gallery {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .tour-gallery__main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 16 / 10;
    min-height: 0;
    max-height: 420px;
  }

  .tour-gallery__thumbs {
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding: 0.15rem 0;
    gap: 0.55rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .tour-gallery__thumb {
    flex: 0 0 96px;
    width: 96px;
    max-width: 96px;
    height: 72px;
  }

  .tour-specs {
    grid-template-columns: 1fr 1fr;
  }

  .tour-specs__item:nth-child(2n) {
    border-inline-end: 0;
  }

  .booking-widget {
    position: static;
  }

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

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

  .search-bar__submit {
    grid-column: 1 / -1;
  }

  .cta-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .booking-steps {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .booking-step:not(:last-child)::after {
    display: none;
  }
}

/* ==========================================================================
   Responsive — 768px
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .page-hero {
    min-height: 360px;
    padding-bottom: 4rem;
  }

  .page-hero--detail {
    padding-bottom: 0;
  }

  .page-hero--home {
    min-height: 460px;
  }

  .search-bar {
    margin-top: -2.5rem;
  }

  .search-bar__form {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 3rem;
  }

  .section--home-experiences {
    padding-top: 0.5rem;
    padding-bottom: 2.75rem;
  }

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

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

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .tour-gallery__thumbs {
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .tour-gallery__thumb {
    flex: 0 0 88px;
    width: 88px;
    max-width: 88px;
    height: 66px;
  }
}

/* ==========================================================================
   Responsive — 576px
   ========================================================================== */

@media (max-width: 576px) {
  .container {
    padding-inline: 1rem;
  }

  .navbar-brand img {
    height: 44px;
  }

  .page-hero__title {
    font-size: 1.5rem;
  }

  .section-title::before,
  .section-title::after {
    display: none;
  }

  .experience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

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

  .cta-banner {
    padding: 2.5rem 1.25rem;
  }

  .search-bar__card {
    padding: 1rem;
  }

  .booking-widget {
    padding: 1.15rem;
  }

  .tour-specs {
    grid-template-columns: 1fr;
  }

  .tour-specs__item {
    border-inline-end: 0;
    border-bottom: 1px solid #e8eef6;
  }

  .tour-specs__item:last-child {
    border-bottom: 0;
  }

  .pagination__item {
    min-width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   Homepage refinements (Stage 04 polish)
   ========================================================================== */

.page-hero__content--center {
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  padding-bottom: 0;
}

.page-hero__content--center .page-hero__subtitle {
  margin-bottom: 0;
}

.search-bar--overlap {
  margin-top: -5.5rem;
  margin-bottom: 1.5rem;
}

.search-bar--hero {
  margin-top: 1.75rem;
  margin-bottom: 0;
  width: min(100%, 1080px);
  max-width: 1080px;
  margin-inline: auto;
}

.search-bar__form {
  grid-template-columns: 1.35fr 1.1fr auto auto;
}

.search-bar__input-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.search-bar__input-wrap > i {
  position: absolute;
  inset-inline-start: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-primary);
  pointer-events: none;
  z-index: 2;
}

.search-bar__input-wrap .form-control,
.search-bar__input-wrap .form-select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding-inline-start: 2.35rem;
  box-sizing: border-box;
}

/* iOS/Safari date inputs have a huge intrinsic min-width that overflows RTL cards */
.search-bar__input-wrap input[type="date"] {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

/* Keep one calendar icon (ours); native indicator stays clickable but invisible */
.search-bar__input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.search-bar__input-wrap input[type="date"]::-webkit-date-and-time-value {
  text-align: start;
  margin: 0;
}

.counter-control {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid #d9e2ef;
  border-radius: 12px;
  padding: 0.3rem;
  min-height: 48px;
  min-width: 132px;
  justify-content: space-between;
}

.counter-control .counter-btn,
.counter-control__btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: #f3f7fc;
  color: var(--brand-primary);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.counter-control input,
.counter-control__value {
  width: 42px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 700;
  color: var(--brand-navy);
  display: inline-block;
}

.experience-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
}

.experience-card {
  aspect-ratio: 3 / 4.25;
  border-radius: 18px;
}

.experience-card__overlay {
  gap: 0.35rem;
  padding: 1.15rem 1rem 1.35rem;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, transparent 22%, rgba(0, 26, 61, 0.88) 100%);
}

.experience-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: var(--white);
  margin-bottom: 0.15rem;
  opacity: 0.95;
}

.experience-card__title {
  font-size: 1.05rem;
  font-weight: 800;
}

.experience-card__text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.experience-card__cta {
  width: 36px;
  height: 36px;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.section-footer--start {
  text-align: start;
  margin-top: 1.5rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: none;
}

.link-arrow:hover {
  color: var(--brand-primary-dark);
}

/* Featured tours carousel */

.tours-carousel {
  position: relative;
  padding-inline: 1.25rem;
}

.tours-carousel__track {
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.15rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tours-carousel__track::-webkit-scrollbar {
  display: none;
}

.tours-carousel__track > .tour-card {
  flex: 0 0 calc((100% - 4.6rem) / 5);
  min-width: 220px;
  scroll-snap-align: start;
}

.tours-carousel__nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--brand-primary);
  box-shadow: 0 8px 24px rgba(0, 26, 61, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

.tours-carousel__nav--prev {
  inset-inline-start: -8px;
}

.tours-carousel__nav--next {
  inset-inline-end: -8px;
}

.tours-carousel__nav:hover {
  background: var(--brand-primary);
  color: var(--white);
}

.tour-card--home {
  box-shadow: 0 10px 28px rgba(0, 26, 61, 0.08);
  border-radius: 16px;
}

.tour-card--home .tour-card__title {
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.tour-card--home .tour-card__details {
  margin-bottom: 0.65rem;
}

.tour-card__excerpt {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.tour-card__btn--full {
  width: 100%;
  justify-content: center;
  min-height: 44px;
  border-radius: 10px;
  margin-top: auto;
}

.card-badge {
  border-radius: 8px;
}

.why-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg, 0 14px 40px rgba(0, 26, 61, 0.1));
  overflow: hidden;
}

.why-panel .why-card {
  box-shadow: none;
  border-radius: 0;
  border-inline-end: 1px solid #e8eef6;
  padding: 1.75rem 1.1rem;
}

.why-panel .why-card:last-child {
  border-inline-end: 0;
}

.why-panel .why-card:hover {
  transform: none;
  background: #f8fbff;
}

.why-panel .why-card__icon {
  background: transparent;
  color: var(--brand-primary);
  font-size: 1.85rem;
  width: auto;
  height: auto;
  margin-bottom: 0.85rem;
}

.why-panel .why-card__title {
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.card-badge--popular { background: #16a34a; }
.card-badge--featured { background: var(--brand-primary); }
.card-badge--new { background: #f59e0b; }

.site-footer__bottom--center {
  justify-content: center;
  text-align: center;
}

.site-footer__social--column {
  margin-top: 0;
}

@media (max-width: 1199.98px) {
  .experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tours-carousel__track > .tour-card {
    flex-basis: calc((100% - 2.3rem) / 3);
  }

  .booking-journey {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1rem;
  }

  .booking-journey::before {
    display: none;
  }

  .why-panel {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-panel .why-card:nth-child(3) {
    border-inline-end: 0;
  }

  .site-footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 991.98px) {
  .search-bar__form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .search-bar__submit {
    grid-column: 1 / -1;
    justify-content: center;
  }

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

  .section-header--row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .section-header--row .section-title,
  .section-header__link {
    grid-column: 1;
    justify-self: center;
  }

  .tours-carousel__track > .tour-card {
    flex-basis: calc((100% - 1.15rem) / 2);
  }

  .why-panel {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .page-hero--home {
    min-height: 520px;
    padding-bottom: 2.75rem;
  }

  .page-hero__wave svg {
    height: 72px;
  }

  .page-hero--detail {
    --page-hero-wave-h: 72px;
  }

  .search-bar--hero {
    margin-top: 1.25rem;
  }

  .section--home-experiences {
    padding-top: 0.75rem;
  }

  .search-bar--overlap {
    margin-top: -3.5rem;
  }

  .search-bar__form {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-bar__card {
    padding: 1.15rem 1.1rem;
  }

  .search-bar__field--people .counter-control {
    width: 100%;
    max-width: 100%;
  }

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

  .experience-card {
    aspect-ratio: 16 / 10;
  }

  .tours-carousel {
    padding-inline: 0;
  }

  .tours-carousel__nav {
    display: none;
  }

  .tours-carousel__track > .tour-card {
    flex-basis: 85%;
  }

  .booking-journey {
    grid-template-columns: 1fr;
  }

  .why-panel {
    grid-template-columns: 1fr;
  }

  .why-panel .why-card {
    border-inline-end: 0;
    border-bottom: 1px solid #e8eef6;
  }

  .why-panel .why-card:last-child {
    border-bottom: 0;
  }

  .cta-banner {
    padding: 2.5rem 1.35rem;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .section-title::before,
  .section-title::after {
    display: none;
  }
}

/* ==========================================================================
   Booking Wizard + Confirmation (Stage 05)
   ========================================================================== */

.booking-page {
  padding-block: calc(var(--header-height) + 1.5rem) 4rem;
  background: var(--bg-soft);
}

.booking-page__breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.booking-page__breadcrumbs a { color: inherit; text-decoration: none; }
.booking-page__breadcrumbs a:hover { color: var(--brand-primary); }
.booking-page__breadcrumbs .sep { margin-inline: 0.35rem; opacity: 0.5; }
.booking-page__breadcrumbs .current { color: var(--brand-navy); font-weight: 600; }

.booking-page__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.35rem;
}

.booking-page__subtitle {
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.booking-panel__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 1.25rem;
}

.booking-readonly {
  background: #f8fafc;
  display: flex;
  align-items: center;
  color: var(--brand-navy);
  font-weight: 600;
}

.booking-note {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: #eef5ff;
  color: var(--brand-navy);
  border: 1px solid #d6e6ff;
}

.booking-note i { color: var(--brand-primary); font-size: 1.2rem; margin-top: 0.1rem; }
.booking-note p { font-size: 0.9rem; color: var(--text-muted); }

.booking-availability {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f7a45;
}

.booking-availability.is-unavailable { color: #b42318; }

.traveler-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.traveler-tabs__btn {
  border: 1px solid #d7e0ee;
  background: #fff;
  color: var(--brand-navy);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-weight: 700;
  font-size: 0.85rem;
}

.traveler-tabs__btn.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.traveler-tabs__btn.has-error {
  border-color: #dc3545;
  color: #b42318;
  box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.25);
}

.traveler-tabs__btn.has-error.is-active {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
  box-shadow: none;
}

.booking-traveler-alert {
  margin-bottom: 1rem;
}

.booking-traveler-alert.is-hidden,
.booking-traveler-alert[hidden] {
  display: none !important;
}

.traveler-pane[hidden] { display: none !important; }

.booking-reuse {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--brand-navy);
  cursor: pointer;
}

.extras-grid {
  display: grid;
  gap: 0.85rem;
}

.extra-card {
  position: relative;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border: 1.5px solid #dce5f2;
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.extra-card input { position: absolute; opacity: 0; pointer-events: none; }

.extra-card__check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #c9d6e8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
}

.extra-card.is-selected {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(27, 107, 255, 0.12);
}

.extra-card.is-selected .extra-card__check {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.extra-card__name { display: block; font-weight: 800; color: var(--brand-navy); }
.extra-card__desc { display: block; font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }
.extra-card__price { display: block; margin-top: 0.45rem; font-weight: 700; color: var(--brand-primary); }

.booking-confirm-box {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.booking-confirm-box__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.55rem;
  color: var(--brand-navy);
  font-size: 0.95rem;
}

.booking-confirm-box__line.is-hidden,
.booking-confirm-box__line[hidden] {
  display: none !important;
}

.booking-confirm-box__line strong {
  font-weight: 800;
  white-space: nowrap;
}

.booking-confirm-box hr {
  margin: 0.65rem 0 0.85rem;
  border: 0;
  border-top: 1px solid rgba(0, 26, 61, 0.1);
}

.booking-confirm-box__total {
  margin-bottom: 0;
  font-weight: 700;
}

.booking-confirm-box__total strong {
  color: var(--brand-primary);
  font-size: 1.15rem;
}

.booking-payment-note { font-size: 0.9rem; color: var(--text-muted); }
.booking-payment-note i { color: #0f7a45; }

.booking-agree a {
  color: var(--brand-primary);
  font-weight: 700;
  text-decoration: underline;
}

.booking-agree a:hover {
  color: var(--brand-primary-dark);
}

.booking-agree-alert {
  margin-bottom: 0.85rem;
}

.booking-agree-alert.is-hidden,
.booking-agree-alert[hidden] {
  display: none !important;
}

.booking-agree.is-invalid-agree {
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(220, 53, 69, 0.45);
  border-radius: 12px;
  background: rgba(220, 53, 69, 0.06);
}

.booking-page .detail-whatsapp-bar {
  margin-top: 0;
  margin-bottom: 1.35rem;
}

.booking-help__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #25D366 !important;
  border-color: #25D366 !important;
}

.booking-help__whatsapp:hover {
  background: #1ebe57 !important;
  border-color: #1ebe57 !important;
}

.booking-summary__lines .is-hidden,
.booking-summary__lines [hidden] {
  display: none !important;
}

.booking-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.booking-actions .is-hidden {
  display: none !important;
}

.booking-secure-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.booking-summary { position: sticky; top: calc(var(--header-height) + 1.25rem); }
.booking-summary__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.booking-summary__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.75rem;
}
.booking-summary__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.booking-summary__meta i { color: var(--brand-primary); margin-inline-end: 0.35rem; }
.booking-summary__heading {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.65rem;
}
.booking-summary__lines { display: grid; gap: 0.45rem; font-size: 0.9rem; margin-bottom: 0.85rem; }
.booking-summary__total {
  padding-top: 0.75rem;
  border-top: 1px dashed #d7e0ee;
  font-weight: 800;
  color: var(--brand-navy);
}
.booking-summary__total strong { color: var(--brand-primary); font-size: 1.15rem; }

.booking-why__list li {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

/* Confirmation */
.confirm-page {
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.08), transparent 34%),
    radial-gradient(circle at top right, rgba(27, 107, 255, 0.08), transparent 30%),
    var(--bg-soft);
  padding-bottom: 4rem;
}

.confirm-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0b1f3a 0%, #163a66 48%, #1b6bff 100%);
  padding-block: calc(var(--header-height) + 2.5rem) 4rem;
  color: #fff;
}

.confirm-hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.confirm-hero__badge {
  width: 78px;
  height: 78px;
  margin-inline: auto;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  box-shadow: 0 12px 34px rgba(34, 197, 94, 0.4);
}

.confirm-hero__eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
}

.confirm-hero__title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
}

.confirm-hero__text {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 1.35rem;
  max-width: 42rem;
  margin-inline: auto;
}

.confirm-booking-number {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(8, 24, 48, 0.22);
  padding: 1rem 1.2rem;
  display: inline-block;
  min-width: min(100%, 420px);
  color: var(--brand-navy);
}

.confirm-booking-number__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.confirm-booking-number__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.confirm-booking-number__row strong {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: #16a34a;
  letter-spacing: 0.03em;
}

.confirm-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 38px;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 0;
  background: #eef5ff;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.confirm-body { margin-top: -1.75rem; position: relative; z-index: 2; }

.confirm-card { overflow: hidden; }

.confirm-card__media {
  margin: -1.25rem -1.25rem 1rem;
}

.confirm-card__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.confirm-card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

.confirm-card__name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--brand-navy);
  margin-bottom: 0.85rem;
}

.confirm-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.confirm-card__meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.confirm-card__details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.confirm-card__details li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.confirm-card__details li span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}

.confirm-summary-total strong { color: var(--brand-primary); font-size: 1.2rem; }

.confirm-payment-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1rem 0;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-weight: 700;
  font-size: 0.9rem;
}

.confirm-safe {
  display: flex;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: #f0fdf4;
  color: #166534;
}

.confirm-safe i { font-size: 1.35rem; }

.confirm-channels__head {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.confirm-channels__hint { color: var(--text-muted); }

.confirm-channels__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
}

.confirm-channel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 118px;
  padding: 1rem;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(15, 35, 70, 0.04);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.confirm-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 35, 70, 0.1);
  border-color: transparent;
  color: inherit;
}

.confirm-channel__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  background: var(--brand-primary);
}

.confirm-channel__label {
  font-weight: 800;
  color: var(--brand-navy);
}

.confirm-channel__go {
  position: absolute;
  inset-inline-end: 0.85rem;
  inset-block-start: 0.85rem;
  color: var(--text-muted);
  opacity: 0.55;
}

.confirm-channel--phone .confirm-channel__icon { background: #0f766e; }
.confirm-channel--whatsapp .confirm-channel__icon { background: #16a34a; }
.confirm-channel--viber .confirm-channel__icon { background: #7360f2; }
.confirm-channel--botim .confirm-channel__icon { background: #0284c7; }
.confirm-channel--telegram .confirm-channel__icon { background: #229ed9; }
.confirm-channel--email .confirm-channel__icon { background: #2563eb; }
.confirm-channel--facebook .confirm-channel__icon { background: #1877f2; }
.confirm-channel--twitter .confirm-channel__icon { background: #111827; }
.confirm-channel--instagram .confirm-channel__icon { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.confirm-channel--youtube .confirm-channel__icon { background: #ff0000; }
.confirm-channel--tiktok .confirm-channel__icon { background: #010101; }

.confirm-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.confirm-timeline li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.confirm-timeline__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #eef5ff;
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.confirm-timeline li.is-done .confirm-timeline__icon {
  background: #dcfce7;
  color: #16a34a;
}

.confirm-timeline p {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.confirm-sent-box {
  background: #f8fbff;
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  height: 100%;
}

.confirm-info {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}

.confirm-info__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--brand-navy);
}

.confirm-info__card {
  height: 100%;
  padding: 1rem;
  border-radius: 14px;
  background: var(--bg-soft);
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .booking-summary { position: static; }
}

@media (max-width: 768px) {
  .confirm-hero {
    padding-block: calc(var(--header-height) + 1.5rem) 3.25rem;
  }

  .confirm-card__media {
    margin: -1rem -1rem 1rem;
  }

  .confirm-card__media img { height: 180px; }

  .confirm-channels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .booking-actions .btn-primary-rixos,
  .booking-actions .btn-outline-rixos {
    width: 100%;
  }
}

/* Tour detail video */
.tour-video {
  margin: 1.25rem 0 0;
}
.tour-video__title {
  margin: 0 0 .75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-navy, #0A2A5C);
}
.tour-video__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #0B1F3A;
  box-shadow: 0 10px 30px rgba(10, 42, 92, .12);
}
.tour-video__frame iframe,
.tour-video__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   Item reviews (tour / activity detail)
   ========================================================================== */

.item-reviews {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.item-reviews__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.item-reviews__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.item-reviews__count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.item-reviews__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.item-review {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.item-review:first-child {
  border-top: 0;
  padding-top: 0;
}

.item-review__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.item-review__name {
  font-weight: 700;
  color: var(--brand-navy);
}

.item-review__stars {
  color: var(--warning);
  letter-spacing: 0.05em;
}

.item-review__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.item-review__comment {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.item-reviews__empty {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.item-review-form {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.item-review-form__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-navy);
}

.item-review-form__hint {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.item-review-form__form .form-group {
  margin-bottom: 1rem;
}

.review-honeypot {
  position: absolute !important;
  inset-inline-start: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
  pointer-events: none;
}

.review-rating-input {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.2rem;
}

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

.review-rating-input label {
  cursor: pointer;
  font-size: 1.45rem;
  color: #d1d5db;
  transition: color 0.15s ease, transform 0.15s ease;
}

.review-rating-input label:hover,
.review-rating-input label:hover ~ label,
.review-rating-input input:checked ~ label {
  color: var(--warning);
}

.review-rating-input label:hover {
  transform: scale(1.08);
}

/* ==========================================================================
   Detail page WhatsApp bar
   ========================================================================== */

.detail-whatsapp-bar {
  position: relative;
  z-index: 6;
  margin-top: -1.75rem;
  margin-bottom: 0.25rem;
  padding-block: 0.25rem 0.5rem;
}

.detail-whatsapp-bar .container {
  display: flex;
  justify-content: center;
}

.detail-whatsapp-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.detail-whatsapp-bar__link:hover {
  background: #1ebe57;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

.detail-whatsapp-bar__link i {
  font-size: 1.3rem;
  line-height: 1;
}

.detail-whatsapp-bar__text {
  white-space: nowrap;
}

.detail-whatsapp-bar__number {
  letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0.95;
}

body.has-sticky-detail-bar {
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}

.detail-whatsapp-bar--sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  margin: 0;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.detail-whatsapp-bar__card {
  pointer-events: auto;
  width: min(100%, 420px);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.4rem 0.4rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 36px rgba(0, 26, 61, 0.18);
  border: 1px solid rgba(0, 26, 61, 0.06);
}

.is-rtl .detail-whatsapp-bar__card {
  padding: 0.4rem 1.05rem 0.4rem 0.4rem;
}

.detail-whatsapp-bar__price {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-right: 15px;
}

.detail-whatsapp-bar__eyebrow {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b93a7;
  line-height: 1.2;
}

.detail-whatsapp-bar__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem 0.45rem;
}

.detail-whatsapp-bar__amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a6bff;
  line-height: 1.1;
  white-space: nowrap;
}

.detail-whatsapp-bar__amount small {
  font-size: 0.72rem;
  font-weight: 700;
  margin-inline-start: 0.15rem;
}

.detail-whatsapp-bar__amount--text {
  font-size: 1rem;
  color: var(--brand-navy);
}

.detail-whatsapp-bar__unit {
  font-size: 0.78rem;
  font-weight: 600;
  color: #8b93a7;
  white-space: nowrap;
}

.detail-whatsapp-bar__was {
  font-size: 0.82rem;
  font-weight: 600;
  color: #9aa3b5;
  text-decoration: line-through;
  white-space: nowrap;
}

.detail-whatsapp-bar__was small {
  font-size: 0.68rem;
}

.detail-whatsapp-bar__book {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  min-width: 7.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: #1a6bff;
  color: #fff !important;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgb(0 62 255 / 32%);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.detail-whatsapp-bar__book:hover {
  background: #e85f00;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 106, 0, 0.38);
}

.detail-whatsapp-bar__book i {
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 576px) {
  .detail-whatsapp-bar {
    margin-top: -1.25rem;
  }

  .detail-whatsapp-bar__link {
    min-height: 40px;
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }

  .detail-whatsapp-bar__link i {
    font-size: 1.15rem;
  }

  .detail-whatsapp-bar__text,
  .detail-whatsapp-bar__number {
    white-space: normal;
  }

  .detail-whatsapp-bar--sticky {
    padding-inline: 0.75rem;
  }

  .detail-whatsapp-bar__card {
    width: 100%;
    padding-inline-start: 0.9rem;
  }

  .is-rtl .detail-whatsapp-bar__card {
    padding-inline: 0.4rem 0.9rem;
  }

  .detail-whatsapp-bar__amount {
    font-size: 1.2rem;
  }

  .detail-whatsapp-bar__book {
    min-width: 6.5rem;
    min-height: 46px;
    padding-inline: 1.1rem;
    font-size: 0.95rem;
  }
}
