/* ===== Variables & Reset ===== */
:root {
  --primary: #0f4c81;
  --primary-dark: #0a3558;
  --secondary: #3fa9f5;
  --accent: #ff9f1c;
  --accent-hover: #e88a0a;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #2b2d42;
  --text-muted: #5c6370;
  --success: #2ecc71;
  --whatsapp: #25d366;
  --whatsapp-hover: #1da851;
  --whatsapp-soft: rgba(37, 211, 102, 0.12);
  --whatsapp-shadow: rgba(37, 211, 102, 0.35);
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(15, 76, 129, 0.08);
  --shadow-hover: 0 12px 40px rgba(15, 76, 129, 0.14);
  --transition: 0.3s ease;
  --font: "Tajawal", "Cairo", "IBM Plex Sans Arabic", sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  background: rgba(15, 76, 129, 0.4);
  z-index: 1050;
  pointer-events: auto;
  cursor: pointer;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  right: 1rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 700;
  transition: top var(--transition);
}

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

:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: max(1rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

main {
  max-width: 100%;
  overflow-x: clip;
}

.section {
  padding: 4rem 0;
}

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

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-head {
  margin-bottom: 2rem;
}

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

.section-head--center {
  text-align: center;
  margin-inline: auto;
  max-width: 40rem;
}

.section-subtitle--center {
  margin-inline: auto;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(15, 76, 129, 0.08);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

/* ===== Section themes ===== */
.section--offers {
  background: linear-gradient(165deg, #e8f4fc 0%, #f4f9fd 45%, var(--bg) 100%);
  border-block: 1px solid rgba(63, 169, 245, 0.22);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section--offers .section-title {
  font-size: clamp(1.65rem, 4.5vw, 2.15rem);
}

.section--offers .offers-toolbar {
  border: 2px solid rgba(63, 169, 245, 0.28);
  box-shadow: 0 8px 32px rgba(15, 76, 129, 0.1);
}

.section--offers .offers-count {
  font-weight: 600;
  color: var(--primary);
}

.section--about {
  background: var(--card);
  box-shadow: inset 0 1px 0 rgba(15, 76, 129, 0.06);
}

.section--about .container {
  position: relative;
}

.section--about .container::before {
  content: "";
  position: absolute;
  inset-inline-end: max(0px, calc(50% - 570px));
  top: 0;
  bottom: 0;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--secondary));
  opacity: 0.85;
  pointer-events: none;
}

.section-eyebrow--about {
  background: rgba(255, 159, 28, 0.14);
  color: #b86a00;
}

.section--about .about-text p {
  font-size: 1.02rem;
  line-height: 1.85;
}

.section--about .stat-card {
  border: 2px solid rgba(15, 76, 129, 0.08);
  box-shadow: none;
  transition: border-color var(--transition), transform var(--transition);
}

.section--about .stat-card:hover {
  border-color: rgba(63, 169, 245, 0.45);
  transform: translateY(-2px);
}

.section--why {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(63, 169, 245, 0.09), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(255, 159, 28, 0.07), transparent 50%);
  border-block: 1px solid rgba(15, 76, 129, 0.06);
}

.section-eyebrow--why {
  background: rgba(63, 169, 245, 0.15);
  color: #0a6eb8;
}

.feature-card {
  border-inline-start: 4px solid transparent;
}

.feature-card--price {
  border-inline-start-color: var(--accent);
}

.feature-card--dest {
  border-inline-start-color: var(--secondary);
}

.feature-card--support {
  border-inline-start-color: var(--whatsapp);
}

.feature-card--trust {
  border-inline-start-color: var(--primary);
}

.feature-card--human {
  border-inline-start-color: #9b59b6;
}

.section--contact {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, #125a94 100%);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0;
}

.section--contact .section-title {
  color: #fff;
}

.section--contact .section-subtitle {
  color: rgba(255, 255, 255, 0.82);
}

.section-eyebrow--contact {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.section--contact .contact-item {
  background: rgba(255, 255, 255, 0.97);
}

.section--contact .map-placeholder {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.9);
}

.section--contact .map-placeholder strong {
  color: #fff;
}

.section--contact .map-placeholder-note {
  color: rgba(255, 255, 255, 0.75);
}

.section--contact .icon--map {
  color: #fff;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.875rem 1.75rem;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 159, 28, 0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 24px rgba(255, 159, 28, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--primary);
  color: #fff;
}

.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-block {
  width: 100%;
  margin-bottom: 0.75rem;
}

.btn-block:last-child {
  margin-bottom: 0;
}

.header-cta {
  display: none;
}

@media (min-width: 860px) {
  .header-cta {
    display: inline-flex;
    padding-inline: 1.15rem;
    font-size: 0.95rem;
  }
}

.btn-whatsapp,
.offer-share-btn--contact {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp {
  font-size: 1.15rem;
  padding: 1rem 2rem;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  box-shadow: 0 6px 24px var(--whatsapp-shadow);
}

.btn-whatsapp--contact {
  width: auto;
  max-width: none;
  font-size: 0.95rem;
  padding: 0.65rem 1.15rem;
  min-height: auto;
  margin-inline: 0;
  margin-top: 0.35rem;
}

.btn-whatsapp:hover,
.offer-share-btn--contact:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

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

.offer-share {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(15, 76, 129, 0.1);
}

.offer-share-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.offer-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.offer-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1 1 calc(33.333% - 0.35rem);
  min-width: 6.5rem;
  padding: 0.65rem 0.55rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  transition: transform var(--transition), filter var(--transition);
}

.offer-share-btn .icon--platform-brand {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.offer-share-btn-icons {
  position: relative;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

.offer-share-btn-icons .icon--brand {
  width: 2rem;
  height: 2rem;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.offer-share-btn-icons .icon--platform {
  position: absolute;
  inset-inline-start: -0.2rem;
  bottom: -0.2rem;
  width: 0.95rem;
  height: 0.95rem;
  padding: 0.12rem;
  border-radius: 999px;
  background: #fff;
  color: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.offer-share-btn--whatsapp .icon--platform {
  color: var(--whatsapp);
}

.offer-share-btn--messenger .icon--platform {
  color: #0084ff;
}

.offer-share-btn--contact .icon--platform {
  color: var(--whatsapp);
}

.offer-share-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.offer-share-btn--whatsapp {
  background: var(--whatsapp);
}

.offer-share-btn--messenger {
  background: #0084ff;
}

.icon--share {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.offer-share--compact {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  flex: 1 1 100%;
}

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

.offer-share--compact .offer-share-actions {
  gap: 0.4rem;
}

.offer-share--compact .offer-share-btn {
  flex: 1 1 calc(33.333% - 0.3rem);
  min-width: 0;
  padding: 0.5rem 0.35rem;
  font-size: 0.75rem;
  gap: 0.3rem;
}

.offer-share--compact .offer-share-btn-icons {
  width: 1.65rem;
  height: 1.65rem;
}

.offer-share--compact .offer-share-btn-icons .icon--brand {
  width: 1.65rem;
  height: 1.65rem;
}

.offer-share--compact .offer-share-btn-icons .icon--platform {
  width: 0.8rem;
  height: 0.8rem;
  inset-inline-start: -0.15rem;
  bottom: -0.15rem;
}

.offer-footer .offer-share--compact {
  order: -1;
}

@media (max-width: 480px) {
  .offer-share-btn {
    flex: 1 1 100%;
  }
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 76, 129, 0.08);
  transition: box-shadow var(--transition);
  padding-top: env(safe-area-inset-top, 0px);
  overflow: visible;
}

.header.scrolled {
  box-shadow: var(--shadow);
}

/* ===== Floating section title ===== */
.section-float {
  position: fixed;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.5rem);
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  left: auto;
  transform: none;
  z-index: 999;
  max-width: min(42vw, 9.5rem);
  padding: 0.25rem 0.55rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: right;
  border-radius: 6px;
  border: 1px solid rgba(15, 76, 129, 0.1);
  box-shadow: none;
  pointer-events: none;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(6px);
}

.section-float[hidden] {
  display: block;
  opacity: 0;
  visibility: hidden;
}

.section-float:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.section-float-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}

body.menu-open .section-float {
  opacity: 0 !important;
  visibility: hidden !important;
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "logo menu";
  align-items: center;
  height: var(--header-h);
  gap: 0.75rem;
  min-width: 0;
  max-width: 100%;
}

.logo {
  grid-area: logo;
}

.menu-toggle {
  grid-area: menu;
}

.nav {
  display: none;
}

.header-cta {
  grid-area: cta;
}

@media (min-width: 768px) and (max-width: 859px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "logo nav";
  }
}

@media (min-width: 860px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "logo nav cta";
  }
}

@media (min-width: 768px) {

  .nav {
    display: block;
    grid-area: nav;
    min-width: 0;
    justify-self: center;
  }

  .nav-list {
    gap: clamp(0.35rem, 1.5vw, 1rem);
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: clamp(0.78rem, 1.6vw, 0.92rem);
    white-space: nowrap;
  }

  .menu-toggle {
    display: none;
  }

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: clamp(1rem, 4vw, 1.25rem);
  color: var(--primary);
  min-width: 0;
}

.logo span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0;
  line-height: 0;
}

.logo-icon::before {
  content: "";
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.nav-list {
  display: flex;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1101;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-nav {
  position: fixed;
  top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--card);
  padding: 1.25rem max(1rem, env(safe-area-inset-right, 0px)) 1.5rem
    max(1rem, env(safe-area-inset-left, 0px));
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 1100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav a {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.85rem 0;
  display: block;
  border-bottom: 1px solid var(--bg);
  min-height: 44px;
}

/* ===== Mobile-first overrides (phones) ===== */
@media (max-width: 767px) {
  :root {
    --header-h: 60px;
  }

  .nav {
    display: none !important;
  }

  .menu-toggle {
    display: flex !important;
  }

  .header-cta {
    display: none !important;
  }

  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "logo menu";
    height: var(--header-h);
    gap: 0.5rem;
  }

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

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .logo-icon::before {
    width: 1.1rem;
    height: 1.1rem;
  }

  .logo {
    font-size: 1rem;
    gap: 0.45rem;
  }

  .btn {
    padding-inline: 1rem;
    font-size: 0.95rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section-subtitle {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
  }

  .section--offers {
    padding-block: 2.25rem 2.75rem;
  }

  .section--offers .section-head {
    margin-bottom: 1.25rem;
  }

  .section--offers .section-title {
    font-size: 1.45rem;
  }

  .offers-toolbar {
    padding: 0.85rem;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .filters-advanced {
    border-style: solid;
    border-color: rgba(63, 169, 245, 0.25);
    background: var(--card);
  }

  .filters-advanced-summary {
    padding: 0.75rem 0.85rem;
  }

  .filters-advanced-panel {
    padding: 0 0.85rem 0.85rem;
  }

  .filters-grid--advanced {
    gap: 0.75rem;
  }

  .sort-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .sort-wrap select {
    width: 100%;
    max-width: 100%;
  }

  .offer-card-body {
    padding: 1rem;
  }

  .offer-card h3,
  .offer-card-title {
    font-size: 1.12rem;
  }

  .offer-card-price-value {
    font-size: 1.2rem;
  }

  .offer-card-price-badge {
    inset-inline-start: 0.75rem;
    bottom: 0.75rem;
    padding: 0.4rem 0.7rem;
  }

  .offer-meta {
    font-size: 0.8rem;
  }

  .route-chip {
    display: block;
    width: 100%;
  }

  .contact-item {
    padding: 1rem;
    gap: 0.75rem;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-content {
    padding: 1.75rem 0;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content .btn {
    width: 100%;
  }

  .offer-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .offer-footer .btn {
    width: 100%;
  }

  .price {
    font-size: 1.3rem;
  }

  .map-placeholder {
    min-height: 220px;
    padding: 1rem;
  }

  .no-results {
    padding: 2rem 1rem;
    font-size: 0.95rem;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  margin-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: block;
  min-width: 0;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 76, 129, 0.88) 0%, rgba(15, 76, 129, 0.55) 50%, rgba(63, 169, 245, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 3rem 0;
  animation: fadeUp 0.8s ease;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero h1 {
  font-size: clamp(1.65rem, 7vw, 3.25rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  max-width: 100%;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.95;
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-spotlight {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: auto;
  padding-top: clamp(1.25rem, 3vw, 2rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.hero-spotlight-eyebrow {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.65rem;
  text-shadow: 0 1px 8px rgba(15, 76, 129, 0.45);
}

.hero-spotlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .hero-spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.spotlight-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 7.5rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 16px 40px rgba(15, 76, 129, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.65);
  color: inherit;
  text-decoration: none;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.spotlight-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 48px rgba(15, 76, 129, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.75);
}

.spotlight-card-image {
  position: relative;
  flex: 0 0 38%;
  max-width: 9.5rem;
  min-height: 0;
}

.spotlight-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotlight-card-badge {
  position: absolute;
  top: 0.45rem;
  inset-inline-end: 0.45rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.spotlight-card-body {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.85rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.spotlight-card-route {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotlight-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
}

.spotlight-card-teaser {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.spotlight-card-price {
  margin-top: 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.spotlight-card-price small {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

html.has-hero-spotlight .section--offers {
  padding-top: clamp(2.25rem, 5vw, 3.25rem);
}

/* ===== About & Features ===== */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

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

.stat-card {
  background: var(--card);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-card dd {
  margin: 0;
}

.stat-card strong {
  display: block;
  font-size: 1.75rem;
  color: var(--secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.feature-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
  color: var(--primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 600px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

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

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

  .features-grid .feature-card:last-child {
    grid-column: span 1;
  }
}

@media (min-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ===== Offers section ===== */
.offers-tabs-wrap {
  margin-bottom: 1rem;
}

.offers-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--primary) 8%, transparent);
}

.offers-tabs-groups {
  display: contents;
}

.offers-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border: none;
  border-radius: calc(var(--radius-lg) - 4px);
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    box-shadow var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.offers-tab:hover {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}

.offers-tab:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.offers-tab.is-active {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 18%, transparent);
}

.offers-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  direction: ltr;
  unicode-bidi: isolate;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #fb7185, #e11d48);
}

.offers-toolbar {
  background: var(--card);
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
  min-width: 0;
}

.filters-quick {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.filters-route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  min-width: 0;
}

.featured-toggle {
  display: flex;
  flex: 1;
  width: 100%;
  min-width: 0;
  cursor: pointer;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

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

.featured-toggle-face {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  height: 48px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 0 0.75rem;
  border-radius: var(--radius);
  border: 2px solid #e8edf2;
  background: var(--bg);
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.featured-toggle-input:focus-visible + .featured-toggle-face {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.featured-toggle-input:checked + .featured-toggle-face {
  border-color: color-mix(in srgb, var(--accent) 45%, #e8edf2);
  background: #fffaf3;
  box-shadow: inset 0 0 0 1px rgba(255, 159, 28, 0.15);
}

.featured-toggle-field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.filter-field--featured {
  grid-column: 1 / -1;
  min-width: 0;
}

.featured-toggle-icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  line-height: 1;
  color: var(--accent);
  background: rgba(255, 159, 28, 0.14);
  transition:
    transform var(--transition),
    background var(--transition);
}

.featured-toggle-input:checked + .featured-toggle-face .featured-toggle-icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}

.featured-toggle-title {
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-toggle-track {
  flex-shrink: 0;
  position: relative;
  width: 2.85rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #c8d4e0;
  padding: 3px;
  transition: background var(--transition);
}

.featured-toggle-knob {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 76, 129, 0.22);
  transition: transform var(--transition);
  transform: translateX(0);
}

.featured-toggle-input:checked + .featured-toggle-face .featured-toggle-track {
  background: linear-gradient(90deg, var(--accent-hover), var(--accent));
}

html[dir="ltr"] .featured-toggle-input:checked + .featured-toggle-face .featured-toggle-knob {
  transform: translateX(1.25rem);
}

html[dir="rtl"] .featured-toggle-input:checked + .featured-toggle-face .featured-toggle-knob {
  transform: translateX(-1.25rem);
}

@media (max-width: 767px) {
  .featured-toggle-face {
    padding-inline: 0.65rem;
    gap: 0.45rem;
  }

  .featured-toggle-title {
    font-size: 0.9375rem;
  }
}

@media (max-width: 360px) {
  .featured-toggle-title {
    white-space: normal;
    line-height: 1.25;
  }

  .featured-toggle-track {
    width: 2.5rem;
  }
}

.filters-advanced {
  border: 2px dashed rgba(15, 76, 129, 0.12);
  border-radius: var(--radius);
  background: rgba(248, 250, 252, 0.85);
  min-width: 0;
}

.filters-advanced-summary {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  user-select: none;
  min-height: 48px;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.filters-advanced-summary::-webkit-details-marker {
  display: none;
}

.filters-advanced-summary::after {
  content: "▾";
  position: absolute;
  inset-inline-start: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform var(--transition);
}

.filters-advanced {
  position: relative;
}

.filters-advanced[open] .filters-advanced-summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.filters-advanced-title {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.95rem;
  padding-inline-start: 1.75rem;
}

.filters-advanced-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.filters-advanced-panel {
  padding: 0 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.filters-grid--advanced {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  width: 100%;
  min-width: 0;
}

.search-wrap {
  position: relative;
}

.search-wrap input {
  width: 100%;
  max-width: 100%;
  padding-block: 0.875rem;
  padding-inline-start: 2.75rem;
  padding-inline-end: 1rem;
  border: 2px solid #e8edf2;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  transition: border-color var(--transition);
}

.search-wrap::before {
  content: "🔍";
  position: absolute;
  inset-inline-start: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
}

.search-wrap input:focus {
  outline: none;
  border-color: var(--secondary);
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.filter-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.filter-field select,
.filter-field input[type="number"],
.filter-field input[type="date"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 2px solid #e8edf2;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  background: var(--bg);
}

.filter-field--checkbox {
  justify-content: center;
  padding-block: 0.25rem;
}

.filter-field--checkbox .checkbox-label {
  min-height: 44px;
  align-items: center;
}

.input-date,
.ltr-num:not(.offers-tab-count) {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

.ltr-num:not(.offers-tab-count) {
  display: inline-block;
}

.offers-tab-count.ltr-num {
  display: inline-flex;
  text-align: center;
}

.route-chip {
  font-weight: 600;
  color: var(--primary);
}

.filter-field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-calendar-hint {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.price-calendar-field {
  grid-column: 1 / -1;
}

.price-calendar {
  border: 2px solid #e8edf2;
  border-radius: var(--radius);
  padding: 0.85rem;
  background: var(--bg);
}

.price-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.price-calendar-month {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
}

.price-calendar-nav {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #e8edf2;
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--primary);
}

.price-calendar-nav:hover {
  border-color: var(--secondary);
}

.price-calendar-weekdays,
.price-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.price-calendar-weekday {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-bottom: 0.25rem;
}

.price-calendar-day,
.price-calendar-pad {
  min-height: 3.25rem;
  border-radius: 10px;
}

.price-calendar-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.25rem 0.15rem;
  border: 2px solid transparent;
  background: #f4f7fa;
  font-family: inherit;
  cursor: default;
}

.price-calendar-day.has-flight {
  cursor: pointer;
  background: #fff;
  border-color: #e8edf2;
}

.price-calendar-day.has-flight:hover {
  border-color: var(--secondary);
}

.price-calendar--availability .price-calendar-day.has-flight:not(.is-selected) {
  background: rgba(0, 168, 150, 0.12);
  border-color: rgba(0, 168, 150, 0.35);
}

.price-calendar--availability .price-calendar-day,
.price-calendar--availability .price-calendar-pad {
  min-height: 2.5rem;
}

.price-calendar-day.is-selected {
  border-color: var(--secondary);
  background: rgba(0, 168, 150, 0.08);
  box-shadow: 0 0 0 1px var(--secondary);
}

.price-calendar-day.is-empty {
  opacity: 0.45;
  background: transparent;
}

.price-calendar-day-num {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
}

.price-calendar-day-price {
  font-size: 0.65rem;
  line-height: 1.1;
  color: var(--text-muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.price-calendar-clear {
  margin-top: 0.75rem;
  width: 100%;
  min-height: 44px;
  border: none;
  background: transparent;
  color: var(--secondary);
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.offer-date-picker {
  margin-block: 1.5rem;
}

.offer-child-card.is-selected-date {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px var(--secondary);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: auto !important;
  cursor: pointer;
  font-size: 0.95rem !important;
  color: var(--text) !important;
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.sort-wrap select {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  border: 2px solid #e8edf2;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  background: var(--bg);
}

.offers-count {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.offers-help {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.offers-help code {
  font-size: 0.85em;
  background: var(--bg);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

@media (min-width: 640px) {
  .offer-direct-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.offer-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 76, 129, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  animation: fadeUp 0.5s ease backwards;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(63, 169, 245, 0.25);
}

.offer-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  display: block;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.offer-card-image-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 35%,
    rgba(15, 23, 42, 0.55) 100%
  );
}

.offer-card-image .media-slider {
  position: absolute;
  inset: 0;
}

.offer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offer-card:hover .offer-card-image .media-slider-slide:first-child img {
  transform: scale(1.03);
}

.badge-featured {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  z-index: 5;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(255, 159, 28, 0.45);
}

.offer-card-price-badge {
  position: absolute;
  z-index: 4;
  inset-inline-start: 1rem;
  bottom: 1rem;
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(15, 76, 129, 0.18);
  line-height: 1.2;
}

.offer-card-price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.offer-card-price-unit {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.favorite-btn {
  position: absolute;
  z-index: 4;
  top: 0.75rem;
  inset-inline-start: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.875rem;
  height: 2.875rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.9) 100%);
  box-shadow:
    0 6px 18px rgba(15, 76, 129, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
  -webkit-tap-highlight-color: transparent;
}

.favorite-btn:hover {
  transform: scale(1.08);
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    0 10px 24px rgba(15, 76, 129, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.favorite-btn:active {
  transform: scale(0.96);
}

.favorite-btn:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.favorite-btn-icon {
  width: 1.28rem;
  height: 1.28rem;
  display: block;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.favorite-btn-path {
  fill: transparent;
  stroke: #94a3b8;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    fill 0.3s ease,
    stroke 0.3s ease,
    filter 0.3s ease;
}

.favorite-btn:hover .favorite-btn-path {
  stroke: #64748b;
}

.favorite-btn.is-favorite {
  background: linear-gradient(160deg, #ffffff 0%, #fff1f2 55%, #ffe4e6 100%);
  border-color: rgba(244, 63, 94, 0.28);
  box-shadow:
    0 8px 22px rgba(244, 63, 94, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.favorite-btn.is-favorite .favorite-btn-path {
  fill: url(#favorite-heart-gradient);
  stroke: transparent;
  filter: drop-shadow(0 2px 5px rgba(225, 29, 72, 0.35));
}

.favorite-btn.is-favorite .favorite-btn-icon {
  transform: scale(1.06);
}

.favorite-btn.is-animating .favorite-btn-icon {
  animation: favorite-heart-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes favorite-heart-pop {
  0% {
    transform: scale(0.85);
  }
  40% {
    transform: scale(1.32);
  }
  100% {
    transform: scale(1.06);
  }
}

.favorite-btn--hero {
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  left: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
}

.offer-card-body {
  padding: 1.15rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.offer-card-head {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.offer-card-route {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.offer-card-route-label {
  font-weight: 500;
  opacity: 0.85;
}

.offer-card-route-arrow {
  display: inline-block;
  margin: 0 0.15rem;
  color: var(--secondary);
  font-weight: 700;
}

.offer-card-title {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--primary);
  margin: 0;
}

.offer-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

.offer-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(15, 76, 129, 0.06);
  border: 1px solid rgba(15, 76, 129, 0.08);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  max-width: 100%;
}

.offer-card-chip-icon {
  font-size: 0.85em;
  opacity: 0.85;
}

.offer-card-chip--source {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.15);
}

.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.route-chip {
  word-break: break-word;
}

.offer-meta span {
  background: var(--bg);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.offer-source {
  font-weight: 600;
  color: var(--primary);
  background: var(--accent-muted, rgba(15, 76, 129, 0.08));
}

.offer-source-line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.95rem;
  background: var(--bg);
  border: 1px solid var(--line, rgba(0, 0, 0, 0.08));
  border-radius: 8px;
  width: fit-content;
  max-width: 100%;
}

.offer-source-label {
  color: var(--text-muted);
  font-weight: 500;
}

.detail-price-box .offer-source-line {
  width: 100%;
  margin-bottom: 0.75rem;
}

.offer-card h3,
.offer-card-title {
  font-size: 1.28rem;
  color: var(--primary);
  margin-bottom: 0;
}

.offer-card h3 a,
.offer-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.offer-card h3 a:hover,
.offer-card-title a:hover {
  color: var(--secondary);
}

.offer-card--skeleton {
  min-height: 380px;
  background: linear-gradient(90deg, #eef2f6 0%, #f8fafc 50%, #eef2f6 100%);
  background-size: 200% 100%;
  animation: shimmer 1.2s ease-in-out infinite;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.offer-dates {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}

.offer-dates-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  border: 2px solid currentColor;
  border-radius: 3px;
  opacity: 0.85;
  position: relative;
}

.offer-dates-icon::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 2px;
  right: 2px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: -3px 0 0 currentColor, 3px 0 0 currentColor;
}

.offer-card .desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 76, 129, 0.08);
}

.offer-card-cta {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.65rem 0.75rem;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 12px;
  white-space: nowrap;
  line-height: 1.2;
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

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

.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

/* ===== Media slider (cards + offer hero) ===== */
.media-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.media-slider-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  height: 100%;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.media-slider-viewport[dir="rtl"] {
  direction: rtl;
}

.media-slider-viewport[dir="ltr"] {
  direction: ltr;
}

.media-slider-viewport::-webkit-scrollbar {
  display: none;
}

.media-slider-track {
  display: flex;
  height: 100%;
  direction: inherit;
}

.media-slider-slide {
  flex: 0 0 100%;
  height: 100%;
  min-width: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.media-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.media-slider-dots {
  position: absolute;
  bottom: 0.55rem;
  inset-inline: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  z-index: 2;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
}

.media-slider--rtl .media-slider-dots {
  direction: rtl;
}

/* Gallery nav: LTR — previous left, next right. RTL — next left, previous right. */
.media-slider-btn--prev {
  left: 0.5rem;
  right: auto;
}

.media-slider-btn--next {
  right: 0.5rem;
  left: auto;
}

html[dir="rtl"] .media-slider-btn--prev {
  left: auto;
  right: 0.5rem;
}

html[dir="rtl"] .media-slider-btn--next {
  right: auto;
  left: 0.5rem;
}

.media-slider-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.media-slider-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.media-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  direction: ltr;
  unicode-bidi: isolate;
}

.media-slider-btn::before {
  content: "";
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  border: solid currentColor;
  border-width: 0 2.5px 2.5px 0;
  box-sizing: border-box;
}

.media-slider-btn--prev::before {
  transform: rotate(135deg);
}

.media-slider-btn--next::before {
  transform: rotate(-45deg);
}

html[dir="rtl"] .media-slider-btn--prev::before {
  transform: rotate(-45deg);
}

html[dir="rtl"] .media-slider-btn--next::before {
  transform: rotate(135deg);
}

.media-slider--card .media-slider-btn {
  width: 1.75rem;
  height: 1.75rem;
}

.media-slider--card .media-slider-btn::before {
  width: 0.38rem;
  height: 0.38rem;
  border-width: 0 2px 2px 0;
}

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

.media-slider--hero .media-slider-dots {
  bottom: 1rem;
}

@media (max-width: 767px) {
  .media-slider-btn {
    width: 1.65rem;
    height: 1.65rem;
  }

  .media-slider-btn::before {
    width: 0.36rem;
    height: 0.36rem;
    border-width: 0 2px 2px 0;
  }
}

@media (max-width: 479px) {
  .offer-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .offer-footer .btn {
    width: 100%;
  }

  .price {
    font-size: 1.35rem;
  }

  .section {
    padding: 2.75rem 0;
  }

  .hero {
    min-height: 75vh;
  }

  .hero-content {
    padding: 2rem 0;
  }

  .hero-content .btn {
    width: 100%;
  }

  .offers-toolbar {
    padding: 1rem;
  }

  .container {
    width: min(1140px, 94vw);
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .filters-grid--advanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-grid--advanced .filter-field--wide,
  .filters-grid--advanced .filter-field--checkbox {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .filters-advanced {
    border: none;
    background: transparent;
    padding: 0;
  }

  .filters-advanced-panel {
    padding: 0;
    gap: 1rem;
  }

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

  .filters-grid--advanced .filter-field--wide,
  .filters-grid--advanced .filter-field--checkbox {
    grid-column: 1 / -1;
  }
}

@media (min-width: 640px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--card);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-item-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  background: var(--bg);
  color: var(--primary);
}

.contact-item-icon--whatsapp {
  color: var(--whatsapp);
  background: var(--whatsapp-soft);
}

.icon {
  display: block;
  object-fit: contain;
}

.icon--contact {
  width: 1.35rem;
  height: 1.35rem;
}

.icon--map {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-inline: auto;
}

.icon--social {
  width: 1.25rem;
  height: 1.25rem;
}

.icon--btn {
  width: 1.35rem;
  height: 1.35rem;
}

.contact-item h3.contact-item-title,
.contact-item h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  font-style: normal;
}

.contact-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item a:not(.btn-whatsapp) {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-item a:not(.btn-whatsapp):hover {
  color: var(--secondary);
}

.map-placeholder {
  background: linear-gradient(135deg, #dce8f3, #eef4f9);
  border-radius: var(--radius-lg);
  min-height: 280px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
  border: 2px dashed rgba(15, 76, 129, 0.2);
  text-align: center;
  padding: 1.5rem;
  margin: 0;
}

.map-placeholder-note {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.map-placeholder-icon {
  margin-bottom: 0.5rem;
}

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

/* ===== Footer ===== */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer .logo {
  color: #fff;
}

.footer .logo-icon {
  background: rgba(255, 255, 255, 0.2);
}

.footer-tagline {
  margin-top: 1rem;
  opacity: 0.85;
  max-width: 28rem;
}

.footer-heading,
.footer-links h4,
.footer-social h4 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background var(--transition), transform var(--transition), color var(--transition);
}

.social-link:hover {
  transform: translateY(-2px);
  color: #fff;
}

.social-link--facebook:hover {
  background: #1877f2;
}

.social-link--instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link--x:hover {
  background: #000;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.85;
}

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

/* ===== Offer detail page ===== */
.offer-detail-hero {
  position: relative;
  min-height: min(360px, 50vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.offer-detail-hero .hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 1.5rem 0 2rem;
  width: min(1140px, 94vw);
  margin-inline: auto;
}

.offer-detail-hero .hero-text h1 {
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  line-height: 1.25;
}

.offer-breadcrumb {
  padding-top: calc(var(--header-h) + 0.35rem);
  padding-bottom: 0;
  padding-inline: max(3vw, 0.5rem);
}

.offer-breadcrumb .back-link {
  margin-bottom: 0.35rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1.5rem;
  word-break: break-word;
}

.gallery-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr));
}

.offer-detail-hero .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(15, 76, 129, 0.9), transparent 60%);
  pointer-events: none;
}

.offer-detail-content {
  padding: 2.5rem 0 4rem;
}

.offer-flight-summary {
  background: linear-gradient(135deg, rgba(63, 169, 245, 0.08), rgba(15, 76, 129, 0.05));
  border: 1px solid rgba(15, 76, 129, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem 1.15rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
}

.offer-flight-summary-route {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px dashed rgba(15, 76, 129, 0.16);
}

.offer-flight-summary-cities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(100%, 24rem);
  gap: 1rem;
}

.offer-flight-summary-city {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
  text-align: center;
}

.offer-flight-summary-city-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-flight-summary-city-name {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
}

.offer-flight-summary-path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: min(100%, 24rem);
  color: var(--secondary);
  flex-shrink: 0;
}

.offer-flight-summary-line {
  flex: 1;
  max-width: 5rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(63, 169, 245, 0.15), var(--secondary));
}

.offer-flight-summary-line:last-child {
  background: linear-gradient(90deg, var(--secondary), rgba(63, 169, 245, 0.15));
}

.offer-flight-summary-plane {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 76, 129, 0.12);
  font-size: 1.35rem;
  line-height: 1;
  transform: scaleX(-1);
  transform-origin: center center;
  padding-top: 0.08em;
}

.offer-flight-summary-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.offer-flight-summary-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.offer-flight-summary-item {
  display: grid;
  grid-template-columns: minmax(6.5rem, 7.5rem) 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.offer-flight-summary-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-muted);
}

.offer-flight-summary-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.offer-flight-summary-time {
  display: inline-block;
  margin-inline-start: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(63, 169, 245, 0.12);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

.offer-flight-summary-badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 800;
}

.offer-flight-summary-badge--direct {
  background: rgba(37, 211, 102, 0.14);
  color: #128c7e;
}

@media (max-width: 560px) {
  .offer-flight-summary-cities {
    gap: 0.65rem;
  }

  .offer-flight-summary-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

.detail-grid {
  display: grid;
  gap: 2rem;
}

.detail-main h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.detail-price-box {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-right: 4px solid var(--accent);
}

.detail-price-box .price {
  margin-bottom: 0.5rem;
}

.detail-heading {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--primary);
}

.detail-services {
  list-style: disc;
  margin-right: 1.25rem;
  color: var(--text-muted);
}

.detail-services li {
  margin-bottom: 0.35rem;
}

.detail-hotel {
  margin-top: 1rem;
}

.price-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.price-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.detail-kid-prices-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.75rem 0 0.5rem;
}

.detail-kid-prices {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.detail-kid-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.92rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--primary) 5%, var(--card));
}

.detail-kid-price-label {
  color: var(--text-muted);
  font-weight: 600;
}

.detail-kid-price-value {
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  font-size: 1.2rem;
}

.detail-heading--compact {
  font-size: 1rem;
  margin: 1rem 0 0.5rem;
}

.offer-compact-block {
  margin-top: 0.75rem;
}

.offer-compact-block--baggage {
  margin-top: 1rem;
}

.offer-compact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.offer-compact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-width: min(100%, 11rem);
  flex: 1 1 auto;
  max-width: 100%;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius);
  border: 1px solid #e8edf2;
  background: var(--bg);
  font-size: 0.78rem;
  line-height: 1.35;
}

.offer-compact-item--baggage {
  min-width: min(100%, 14rem);
  padding: 0.48rem 0.72rem;
  font-size: 0.82rem;
}

.offer-compact-block--kids .offer-compact-item {
  min-width: min(100%, 10rem);
  padding: 0.4rem 0.62rem;
  font-size: 0.8rem;
}

.offer-compact-block--addons .offer-compact-item {
  min-width: min(100%, 10rem);
  padding: 0.4rem 0.62rem;
  font-size: 0.8rem;
}

.offer-compact-item-label {
  color: var(--text-muted);
  font-weight: 600;
}

.offer-compact-item-value {
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 1.12rem;
}

.offer-compact-item-meta {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
  margin-inline-start: auto;
}

.offer-compact-weight {
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  font-size: 0.82rem;
}

.offer-compact-price {
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
  font-size: 1.22rem;
  line-height: 1.15;
}

.offer-compact-included {
  font-weight: 700;
  color: var(--secondary);
  white-space: nowrap;
}

.offer-compact-sep {
  width: 1px;
  align-self: stretch;
  min-height: 0.9em;
  margin-block: 0.1em;
  background: color-mix(in srgb, var(--primary) 22%, #cbd5e1);
  flex-shrink: 0;
}

.offer-kid-prices {
  margin-top: 0.5rem;
}

.whatsapp-lead {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.loading--offset,
.error-state--offset {
  margin-top: 6rem;
}

.detail-list {
  margin: 1.5rem 0;
}

.detail-list h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.detail-list ul {
  list-style: disc;
  margin-right: 1.25rem;
  color: var(--text-muted);
}

.detail-list li {
  margin-bottom: 0.35rem;
}

.detail-notes {
  background: #fff8eb;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: #6b5a3e;
  margin-top: 1.5rem;
}

.offer-children {
  margin-top: 2rem;
}

.offer-children-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .offer-children-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.offer-child-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  background: var(--card);
  border: 1px solid #e8edf2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.offer-child-body {
  flex: 1;
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
}

.offer-child-label {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
  flex-shrink: 0;
}

.offer-child-dates {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.offer-child-desc {
  flex: 1 1 auto;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.offer-child-price {
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: auto;
  padding-top: 0.65rem;
}

.offer-child-price small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.offer-child-body .btn {
  flex-shrink: 0;
  margin-top: 0.65rem;
}

.gallery {
  margin-top: 2.5rem;
}

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

.gallery-grid img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
  cursor: pointer;
  transition: transform var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

.whatsapp-section {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e8edf2;
}

/* Related offers (offer detail pages) */
.related-offers {
  padding: 2.5rem 0 3.5rem;
  background: var(--bg);
  border-top: 1px solid #e8edf2;
}

.related-offers-title {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  color: var(--primary);
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.related-offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 560px) {
  .related-offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .related-offers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.related-offer-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.related-offer-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.related-offer-card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.related-offer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.related-offer-card:hover .related-offer-card-image img {
  transform: scale(1.04);
}

.related-offer-card-image .badge-featured {
  top: 0.65rem;
  right: 0.65rem;
}

.related-offer-card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.related-offer-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.related-offer-title {
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.35;
}

.related-offer-price {
  margin-top: auto;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

.related-offer-price small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ===== Image lightbox (offer gallery & cards) ===== */
body.is-lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  padding: 0;
  border: none;
  margin: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  max-height: none;
  background: transparent;
  overflow: visible;
}

.image-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.image-lightbox::backdrop {
  background: rgba(15, 76, 129, 0.82);
}

.image-lightbox-inner {
  position: relative;
  width: min(96vw, 980px);
  max-height: min(92vh, 900px);
  margin: auto;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: auto;
  padding: 0.75rem;
  box-shadow: var(--shadow-hover);
}

.image-lightbox-figure {
  margin: 0;
}

.image-lightbox-img {
  display: block;
  width: 100%;
  max-height: min(78vh, 720px);
  object-fit: contain;
  background: #0a1628;
  border-radius: var(--radius);
}

.image-lightbox-caption-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.35rem 0.25rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.image-lightbox-counter {
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
}

.image-lightbox-close {
  position: absolute;
  top: 0.85rem;
  left: auto;
  right: 0.85rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.image-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  display: grid;
  place-items: center;
  direction: ltr;
  unicode-bidi: isolate;
}

.image-lightbox-nav::before {
  content: "";
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border: solid currentColor;
  border-width: 0 2.5px 2.5px 0;
  box-sizing: border-box;
}

.image-lightbox-prev::before {
  transform: rotate(135deg);
}

.image-lightbox-next::before {
  transform: rotate(-45deg);
}

.image-lightbox-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.image-lightbox-prev {
  left: 0.85rem;
  right: auto;
}

.image-lightbox-next {
  right: 0.85rem;
  left: auto;
}

html[dir="rtl"] .image-lightbox-prev {
  left: auto;
  right: 0.85rem;
}

html[dir="rtl"] .image-lightbox-next {
  right: auto;
  left: 0.85rem;
}

html[dir="rtl"] .image-lightbox-prev::before {
  transform: rotate(-45deg);
}

html[dir="rtl"] .image-lightbox-next::before {
  transform: rotate(135deg);
}

.back-link:hover {
  color: var(--primary);
}

.loading,
.error-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.error-state a {
  color: var(--secondary);
  font-weight: 600;
}

@media (min-width: 768px) {
  .detail-grid {
    gap: 2.5rem;
  }

  .offer-detail-hero .hero-text {
    padding: 2rem 0 2.5rem;
  }
}

@media (min-width: 992px) {
  .detail-grid {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }

  .detail-price-box {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 404 page ===== */
.page-404 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-404-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 1rem 3rem;
}

.page-404-inner {
  max-width: 36rem;
  text-align: center;
}

.page-404-code {
  font-size: clamp(4rem, 18vw, 7rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(15, 76, 129, 0.12);
  margin-bottom: 0.5rem;
}

.page-404-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.page-404-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

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