/* ═══════════════════════════════════════════════════════
   GOBLUE TRIPS — Hurghada, Red Sea
   Bright, friendly, conversion-first travel site.
   ═══════════════════════════════════════════════════════ */

:root {
  --bg: #f6f9fc;
  --card: #ffffff;
  --ink: #102b4a;
  --muted: #5b7290;
  --faint: #8ba0b8;
  --line: #e4ebf3;
  --brand: #0980e6;
  --brand-dark: #0668bd;
  --aqua: #00b8d9;
  --sun: #ffb703;
  --wa: #1fb355;
  --grad: linear-gradient(100deg, #00b8d9, #0980e6);
  --sans: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 10px 34px rgba(16, 43, 74, 0.09);
  --shadow-lg: 0 22px 60px rgba(16, 43, 74, 0.16);
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body { --sans: "IBM Plex Sans Arabic", "Manrope", sans-serif; font-family: var(--sans); }

::selection { background: rgba(9, 128, 230, 0.18); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }

.overline {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}
.overline.light { color: #bfe3ff; }
html[lang="ar"] .overline { letter-spacing: 0.04em; }

.section { max-width: 1200px; margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--pad); }
.section-tight { max-width: 900px; }
.section-head { margin-bottom: clamp(30px, 4vw, 52px); }
.section-sub { color: var(--muted); max-width: 56ch; margin-top: 0.8rem; font-size: 1.05rem; }

.star { color: var(--sun); }

/* ── buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s;
}
.btn-lg { padding: 1em 2.1em; font-size: 1rem; }
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 8px 24px rgba(9, 128, 230, 0.32); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(9, 128, 230, 0.4); }
.btn-soft { color: var(--brand); background: #e5f2fd; }
.btn-soft:hover { background: #d5eafc; transform: translateY(-2px); }
.btn-white { color: var(--ink); background: #fff; box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-wa { color: #fff; background: var(--wa); box-shadow: 0 8px 24px rgba(31, 179, 85, 0.32); }
.btn-wa:hover { background: #189a47; transform: translateY(-2px); }

/* ═══ NAV ═══════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(16, 43, 74, 0.06); }
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px var(--pad);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand-name em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-name.light { color: #fff; }

.nav-links { display: flex; gap: clamp(16px, 2.5vw, 34px); }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 2px;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--brand); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-nav { padding: 0.7em 1.4em; font-size: 0.9rem; }

.mini-sel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45em 0.8em;
  transition: border-color 0.25s;
}
.mini-sel:hover { border-color: var(--brand); }
.mini-sel select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}
.mini-sel select:focus { outline: none; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══ HERO ══════════════════════════════════════ */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(120px, 16vh, 170px) var(--pad) clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-sub { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 46ch; margin: 1.2rem 0 1.8rem; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 1.6rem; }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 1.2rem; }
.trust li { display: flex; align-items: center; gap: 7px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.trust svg { width: 16px; height: 16px; fill: var(--wa); flex-shrink: 0; }

.weather {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55em 1.1em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow);
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18);
  animation: pulse 2.2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse { 50% { opacity: 0.45; } }

.hero-photos {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 420px;
}
.hp { position: relative; margin: 0; border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow-lg); }
.hp img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.hp:hover img { transform: scale(1.04); }
.hp-main { grid-row: 1 / 3; }
.hp-badge {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 14px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.55em 1em;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink);
  box-shadow: var(--shadow);
}

/* ═══ FILTER CHIPS ══════════════════════════════ */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(22px, 3vw, 34px); }
.filter-chips button {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6em 1.35em;
  cursor: pointer;
  transition: all 0.25s;
}
.filter-chips button:hover { border-color: var(--brand); color: var(--brand); }
.filter-chips button.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(9, 128, 230, 0.3); }

/* ═══ TRIP CARDS ════════════════════════════════ */
.trips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.tcard {
  background: var(--card);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tcard-photo { position: relative; aspect-ratio: 4 / 2.9; overflow: hidden; background: #dcebf7; }
.tcard-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.tcard:hover .tcard-photo img { transform: scale(1.06); }
.tcard-price {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: #fff;
  border-radius: 999px;
  padding: 0.45em 1em;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--brand);
  box-shadow: var(--shadow);
}
.tcard-loc {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 12px;
  background: rgba(16, 43, 74, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: 999px;
  padding: 0.4em 0.95em;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.tcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.tcard-body h3 { font-size: 1.22rem; margin-bottom: 4px; }
.tcard-meta { font-size: 0.8rem; font-weight: 700; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
html[lang="ar"] .tcard-meta { letter-spacing: 0; }
.tcard-desc { color: var(--muted); font-size: 0.93rem; flex: 1; margin-bottom: 16px; }
.tcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tcard-from { display: flex; flex-direction: column; line-height: 1.25; }
.tcard-from span { font-size: 0.72rem; font-weight: 600; color: var(--faint); }
.tcard-from strong { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.tcard-btn { padding: 0.65em 1.3em; font-size: 0.88rem; }

/* ═══ FEATURED ══════════════════════════════════ */
.feature-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--pad); }
.feature {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-lg);
}
.feature-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 30, 55, 0.82), rgba(6, 30, 55, 0.12) 65%);
}
.feature-content { position: relative; z-index: 1; color: #fff; padding: clamp(26px, 4vw, 48px); max-width: 640px; }
.feature-content h2 { color: #fff; margin-bottom: 0.6rem; }
.feature-content p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.4rem; font-size: 0.98rem; }

/* ═══ WHY US ════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.why-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-ico {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: #e5f2fd;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.why-ico svg { width: 26px; height: 26px; fill: var(--brand); }
.why-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-card p { color: var(--muted); font-size: 0.9rem; }

/* ═══ HOW IT WORKS ══════════════════════════════ */
.how { max-width: 1200px; margin: 0 auto; padding: clamp(30px, 5vw, 60px) var(--pad) clamp(64px, 9vw, 120px); }
.how-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); counter-reset: step; }
.how-grid li {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.how-num {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.how-grid h3 { font-size: 1.08rem; margin-bottom: 6px; }
.how-grid p { color: var(--muted); font-size: 0.92rem; }

/* ═══ STATS ═════════════════════════════════════ */
.stats { background: linear-gradient(120deg, #073b66, #0980e6 130%); }
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}
.stat strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1.15; }
.stat > span { font-size: 0.85rem; font-weight: 600; color: rgba(255, 255, 255, 0.75); }

/* ═══ REVIEWS ═══════════════════════════════════ */
.deck-wrap { max-width: 760px; margin: 0 auto; }
.deck { position: relative; min-height: 300px; }
.log {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  background: var(--card);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(28px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.log.active { opacity: 1; transform: none; pointer-events: auto; }
.log-stars { color: var(--sun); letter-spacing: 0.18em; font-size: 1rem; }
.log blockquote { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 600; line-height: 1.55; text-align: start; }
.log figcaption { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  background: var(--av, var(--grad));
  flex-shrink: 0;
}
.log figcaption strong { display: block; font-size: 0.95rem; }
.log figcaption div span { font-size: 0.8rem; color: var(--faint); font-weight: 600; }

.deck-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 26px; }
.deck-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s;
}
.deck-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.deck-dots { display: flex; gap: 8px; }
.deck-dots button {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: none;
  background: #cddbea;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.3s var(--ease);
}
.deck-dots button.active { width: 22px; background: var(--brand); }

/* ═══ FAQ ═══════════════════════════════════════ */
.qa-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: none;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: start;
  padding: 20px 0;
  cursor: pointer;
  transition: color 0.25s;
}
.qa-q:hover { color: var(--brand); }
.qa-q i {
  font-style: normal;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #e5f2fd;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s;
}
.qa.open .qa-q i { transform: rotate(45deg); background: var(--brand); color: #fff; }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.qa-a > p { overflow: hidden; color: var(--muted); font-size: 0.95rem; max-width: 66ch; }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa.open .qa-a > p { padding-bottom: 20px; }

/* ═══ BOOK ══════════════════════════════════════ */
.book { background: linear-gradient(180deg, var(--bg), #e9f2fa); }
.book-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 120px) var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.book-contacts { display: flex; flex-direction: column; gap: 10px; margin-top: 1.8rem; }
.bc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
a.bc-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.bc-ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: #e5f2fd;
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.bc-ico.wa { background: #e3f7eb; color: var(--wa); }
.bc-ico svg { width: 22px; height: 22px; }
.bc-row strong { display: block; font-size: 0.95rem; }
.bc-row span:not(.bc-ico) { font-size: 0.85rem; color: var(--muted); font-weight: 600; }

.book-form {
  background: var(--card);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bf-label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); }
html[lang="ar"] .bf-label { letter-spacing: 0.03em; }
.bf-field { display: flex; flex-direction: column; gap: 7px; }
.bf-field label { font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.bf-field input, .bf-field select {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.25s;
}
.bf-field input:focus, .bf-field select:focus { outline: none; border-color: var(--brand); }
.bf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: end; }

.date-chips { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 8px; }
.date-chips button {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.5em 0.85em;
  cursor: pointer;
  transition: all 0.25s;
}
.date-chips button:hover { border-color: var(--brand); color: var(--brand); }
.date-chips button.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  border-radius: 12px;
  width: fit-content;
}
.stepper button {
  width: 42px; height: 44px;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s;
}
.stepper button:hover { color: var(--brand); }
.stepper span { min-width: 2.2ch; text-align: center; font-weight: 800; }
.bf-total strong { font-size: 1.7rem; font-weight: 800; color: var(--brand); line-height: 1.4; }
.bf-note { font-size: 0.78rem; color: var(--faint); text-align: center; font-weight: 600; }

/* ═══ FOOTER ════════════════════════════════════ */
.footer { background: #0b2440; color: #c7d6e8; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 72px) var(--pad);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(26px, 4vw, 48px);
}
.fcol-brand p { margin-top: 12px; font-size: 0.9rem; color: #8fa6c0; max-width: 34ch; }
.fcol-h { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #7c96b5; margin-bottom: 14px; }
html[lang="ar"] .fcol-h { letter-spacing: 0.03em; }
.fcol a, .fcol p, .fcol button {
  display: block;
  color: #c7d6e8;
  text-decoration: none;
  font-size: 0.93rem;
  padding: 4px 0;
  transition: color 0.25s;
}
.fcol button { background: none; border: none; font-family: var(--sans); text-align: start; cursor: pointer; width: 100%; }
.fcol a:hover, .fcol button:hover { color: #fff; }
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px var(--pad);
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #8fa6c0;
}
.footer-bar a { color: #8fa6c0; text-decoration: none; }
.footer-bar a:hover { color: #fff; }

/* ═══ FLOATING WHATSAPP ═════════════════════════ */
.wafloat {
  position: fixed;
  inset-inline-end: 24px;
  bottom: 24px;
  z-index: 80;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(31, 179, 85, 0.4);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.wafloat.show { opacity: 1; transform: none; pointer-events: auto; }
.wafloat svg { width: 28px; height: 28px; }
.wafloat::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(31, 179, 85, 0.45);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.85); opacity: 1; }
  70%, 100% { transform: scale(1.22); opacity: 0; }
}
.wafloat-tip {
  position: absolute;
  inset-inline-end: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55em 1.1em;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.wafloat:hover .wafloat-tip { opacity: 1; }

/* ═══ MOBILE BOOK BAR ═══════════════════════════ */
.mbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 85;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px clamp(16px, 4vw, 24px) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(16, 43, 74, 0.1);
  transform: translateY(105%);
  transition: transform 0.45s var(--ease);
}
.mbar.show { transform: none; }
.mbar-info { display: flex; flex-direction: column; line-height: 1.3; }
.mbar-info span { font-size: 0.72rem; font-weight: 700; color: var(--faint); }
.mbar-info strong { font-size: 1.3rem; font-weight: 800; color: var(--brand); }

/* ═══ MODAL ═════════════════════════════════════ */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; padding: 18px; }
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 24, 44, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.modal.open .modal-backdrop { opacity: 1; }
.modal-shell {
  position: relative;
  margin: auto;
  width: min(880px, 100%);
  max-height: 90vh;
  background: #fff;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden auto;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.modal.open .modal-shell { opacity: 1; transform: none; }
.modal-scene {
  position: relative;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.modal-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 30, 55, 0.78), rgba(6, 30, 55, 0.05) 60%);
}
.modal-scene-text { position: relative; z-index: 1; color: #fff; padding: clamp(20px, 3vw, 32px); }
.modal-crumb { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #bfe3ff; margin-bottom: 4px; }
html[lang="ar"] .modal-crumb { letter-spacing: 0.02em; }
.modal-scene-text h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.modal-close:hover { background: var(--brand); color: #fff; }
.modal-content { padding: clamp(22px, 3.4vw, 40px); }
.modal-meta { font-size: 0.82rem; font-weight: 800; color: var(--aqua); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
html[lang="ar"] .modal-meta { letter-spacing: 0; }
.modal-desc { color: var(--muted); margin-bottom: 22px; max-width: 62ch; }
.modal-h { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
html[lang="ar"] .modal-h { letter-spacing: 0.02em; }
.modal-itin { list-style: none; margin-bottom: 22px; }
.modal-itin li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--muted);
}
.modal-itin li span:first-child { color: var(--brand); font-weight: 800; font-size: 0.85rem; }
.modal-incl { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin-bottom: 24px; }
.modal-incl li { font-size: 0.9rem; color: var(--muted); }
.modal-incl li::before { content: "✓ "; color: var(--wa); font-weight: 800; }
.modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.modal-price { display: flex; flex-direction: column; line-height: 1.25; }
.modal-price span { font-size: 0.72rem; font-weight: 700; color: var(--faint); }
.modal-price strong { font-size: 1.9rem; font-weight: 800; color: var(--brand); }
.modal-actions { display: flex; align-items: center; gap: 12px; }

/* ═══ REVEAL ════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ═══ IMAGE SKELETONS ═══════════════════════════ */
.tcard-photo {
  background: linear-gradient(110deg, #e6eef6 8%, #f3f8fd 18%, #e6eef6 33%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.tcard-photo img { opacity: 0; transition: opacity 0.6s ease, transform 0.6s var(--ease); }
.tcard-photo img.loaded { opacity: 1; }

/* ═══ CARD EXTRAS ═══════════════════════════════ */
.tcard-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  border-radius: 999px;
  padding: 0.42em 0.95em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(16, 43, 74, 0.22);
}
.b-bestseller { background: #ff9500; }
.b-family { background: #16a34a; }
.b-divers { background: #0980e6; }
.b-couples { background: #e0447d; }
.tcard-next {
  position: absolute;
  bottom: 12px;
  inset-inline-end: 12px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4em 0.9em;
  font-size: 0.72rem;
  font-weight: 700;
}
.tcard-rate { display: flex; align-items: center; gap: 5px; font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.tcard-rate span:last-child { color: var(--faint); font-weight: 600; }

/* ═══ SCROLLSPY ═════════════════════════════════ */
.nav-links a.active { color: var(--brand); }

/* ═══ MODAL GALLERY ═════════════════════════════ */
.modal-scene { transition: background-image 0.2s; }
.gal-btn {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.gal-btn:hover { background: var(--brand); color: #fff; }
.gal-prev { inset-inline-start: 14px; }
.gal-next { inset-inline-end: 14px; }
.gal-thumbs {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.gal-thumbs button {
  width: 54px; height: 40px;
  border-radius: 9px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #0b2440;
  opacity: 0.75;
  transition: opacity 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.gal-thumbs button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-thumbs button:hover { opacity: 1; }
.gal-thumbs button.active { opacity: 1; border-color: #fff; transform: translateY(-2px); }
.modal-sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.9rem; font-weight: 700; margin-bottom: 14px; }
.modal-sub .star { font-size: 1rem; }
.modal-sub .msub-muted { color: var(--faint); font-weight: 600; }

/* ═══ BACK TO TOP ═══════════════════════════════ */
.totop {
  position: fixed;
  inset-inline-start: 24px;
  bottom: 24px;
  z-index: 80;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.25s, color 0.25s;
}
.totop.show { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--brand); color: #fff; }
@media (max-width: 860px) { .totop { display: none; } }

/* ═══ TOAST ═════════════════════════════════════ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 300;
  transform: translate(-50%, 14px);
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0.7em 1.5em;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ═══ HERO SLIDESHOW ════════════════════════════ */
.hp-main img { position: absolute; inset: 0; }
.hp-over { opacity: 0; transition: opacity 1.1s ease; }
.hp-badge { z-index: 1; }

/* ═══ RESPONSIVE ════════════════════════════════ */
@media (max-width: 1020px) {
  .trips-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-photos { min-height: 340px; }
  .book-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 64px; left: 12px; right: 12px;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    z-index: 99;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; border-radius: 10px; font-size: 1rem; }
  .nav-links a:hover { background: var(--bg); }
  .burger { display: flex; }
  .btn-nav { display: none; }
  .mbar { display: flex; }
  .wafloat { bottom: calc(78px + env(safe-area-inset-bottom)); inset-inline-end: 16px; width: 50px; height: 50px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .how-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .trips-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .bf-row { grid-template-columns: 1fr; }
  .hero-photos { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 130px; }
  .deck { min-height: 380px; }
  .mini-sel { padding: 0.4em 0.6em; }
}

/* ═══ REDUCED MOTION ════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══ BRAND LOCKUP ══════════════════════════════ */
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-mark svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 8px rgba(10, 111, 208, 0.28)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-tag {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 1px;
}
.foot-brand { margin-bottom: 14px; }
.foot-brand .brand-tag { color: rgba(255, 255, 255, 0.55); }
html[lang="ar"] .brand-tag { letter-spacing: 0.08em; }

/* ═══ MAP ═══════════════════════════════════════ */
.map-wrap {
  position: relative;
  border-radius: var(--r-lg, 24px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  aspect-ratio: 800 / 520;
  max-height: 560px;
}
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-routes path { animation: route-dash 30s linear infinite; }
@keyframes route-dash { to { stroke-dashoffset: -220; } }
.map-pins { position: absolute; inset: 0; }
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  z-index: 2;
}
.map-pin .mp-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(10, 60, 110, 0.35);
  position: relative;
}
.map-pin .mp-dot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(9, 128, 230, 0.55);
  animation: wa-pulse 2.6s ease-out infinite;
}
.map-pin.mp-home .mp-dot { background: #e0447d; }
.map-pin.mp-home .mp-dot::after { border-color: rgba(224, 68, 125, 0.5); }
.map-pin .mp-label {
  background: #fff;
  border-radius: 10px;
  padding: 5px 10px;
  box-shadow: 0 4px 14px rgba(16, 43, 74, 0.18);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  line-height: 1.25;
}
.map-pin .mp-label small { display: block; font-size: 0.68rem; font-weight: 700; color: var(--brand); }
.map-pin:hover .mp-label { background: var(--brand); }
.map-pin:hover .mp-label, .map-pin:hover .mp-label small { color: #fff; }
@media (max-width: 720px) {
  .map-wrap { aspect-ratio: 4 / 3.4; max-height: none; }
  .map-pin .mp-label { font-size: 0.62rem; padding: 3px 7px; }
  .map-pin .mp-label small { font-size: 0.56rem; }
}

/* ═══ GALLERY ═══════════════════════════════════ */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 150px;
  gap: 12px;
}
.gal-grid button {
  border: none;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(110deg, #e6eef6 8%, #f3f8fd 18%, #e6eef6 33%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.gal-grid button:nth-child(1), .gal-grid button:nth-child(6) { grid-row: span 2; }
.gal-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.gal-grid button:hover img { transform: scale(1.06); }
@media (max-width: 720px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
}

/* ═══ LIGHTBOX ══════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(6, 18, 32, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 1200px);
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lb-close, .lb-btn {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.25s;
  z-index: 2;
}
.lb-close:hover, .lb-btn:hover { background: var(--brand); }
.lb-close { top: 22px; inset-inline-end: 22px; }
.lb-btn { top: 50%; transform: translateY(-50%); font-size: 1.6rem; }
.lb-prev { inset-inline-start: 18px; }
.lb-next { inset-inline-end: 18px; }

/* ═══ REVIEWS SUMMARY ═══════════════════════════ */
.rev-sum {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  max-width: 620px;
  margin: 0 auto 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 22px clamp(20px, 3vw, 36px);
}
.rs-score { text-align: center; }
.rs-score strong { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--ink); }
.rs-stars { color: #ffb703; letter-spacing: 2px; margin: 4px 0 2px; }
.rs-score > span { font-size: 0.78rem; font-weight: 700; color: var(--faint); }
.rs-bars { flex: 1; display: flex; flex-direction: column; gap: 7px; }
.rs-row { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 700; color: var(--faint); }
.rs-row i {
  flex: 1;
  height: 7px;
  background: var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.rs-row b { display: block; height: 100%; background: linear-gradient(90deg, #ffb703, #fb8500); border-radius: 99px; }
.rs-bars p { font-size: 0.72rem; font-weight: 600; color: var(--faint); margin-top: 2px; }

/* ═══ INSTALL + DATE-CHIP WEATHER ═══════════════ */
.btn-install { margin-top: 14px; }
.dc-wx { display: block; font-size: 0.64rem; font-weight: 700; color: var(--brand); margin-top: 2px; min-height: 0.9em; }
.date-chips button.active .dc-wx { color: #dff2ff; }

/* ═══ SMART TRIP FINDER ═════════════════════════ */
.finder {
  background: linear-gradient(135deg, #0a5db4, #0980e6 55%, #00b8d9);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 48px);
  color: #fff;
  box-shadow: 0 24px 60px rgba(9, 128, 230, 0.35);
}
.finder-head h2 { color: #fff; margin-bottom: 6px; }
.finder-head p { color: #cfe9ff; margin-bottom: 22px; }
.ai-spark { color: #ffd166; }
.finder-q { font-weight: 800; font-size: 1.1rem; margin: 10px 0 12px; }
.finder-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.finder-opts button {
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  padding: 0.7em 1.4em;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.finder-opts button:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.finder-steps { display: flex; gap: 6px; margin-bottom: 14px; }
.finder-steps i { width: 26px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.3); }
.finder-steps i.on { background: #ffd166; }
.finder-result { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.fr-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fr-card img { width: 100%; height: 150px; object-fit: cover; }
.fr-card > div { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fr-tag { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brand); }
.fr-card h3 { font-size: 1.15rem; }
.fr-card p { font-size: 0.88rem; color: var(--muted); flex: 1; }
.fr-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fr-row strong { font-size: 1.2rem; }
.fr-alt { opacity: 0.92; }
.finder-reset {
  margin-top: 16px;
  background: none;
  border: none;
  color: #cfe9ff;
  font-family: var(--sans);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.88rem;
}
@media (max-width: 720px) { .finder-result { grid-template-columns: 1fr; } }

/* ═══ AI ASSISTANT ══════════════════════════════ */
.ai-fab {
  position: fixed;
  inset-inline-end: 26px;
  bottom: 94px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 9px;
  border: none;
  border-radius: 999px;
  padding: 13px 20px 13px 15px;
  background: linear-gradient(120deg, #0980e6, #00b8d9);
  color: #fff;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 14px 36px rgba(9, 128, 230, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.ai-fab:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(9, 128, 230, 0.55); }
.ai-fab svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .ai-fab { bottom: calc(148px + env(safe-area-inset-bottom)); inset-inline-end: 18px; padding: 12px 16px 12px 13px; }
}

.ai-panel {
  position: fixed;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 350;
  width: min(400px, calc(100vw - 32px));
  height: min(600px, calc(100dvh - 44px));
  background: #fff;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(16, 43, 74, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ai-panel[hidden] { display: none; }
.ai-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(120deg, #0980e6, #00b8d9);
  color: #fff;
}
.ai-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ai-avatar svg { width: 24px; height: 24px; }
.ai-head-txt { flex: 1; line-height: 1.3; }
.ai-head-txt strong { display: block; font-size: 0.98rem; }
.ai-head-txt span { font-size: 0.75rem; opacity: 0.9; display: inline-flex; align-items: center; gap: 6px; }
.ai-close {
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.25s;
}
.ai-close:hover { background: rgba(255, 255, 255, 0.3); }

.ai-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #f2f7fc; }
.ai-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; white-space: pre-line; }
.ai-msg.bot { background: #fff; border: 1px solid var(--line); border-start-start-radius: 4px; align-self: flex-start; color: var(--ink); }
.ai-msg.user { background: var(--brand); color: #fff; border-start-end-radius: 4px; align-self: flex-end; }
.ai-msg a { color: var(--brand); font-weight: 700; }
.ai-msg.user a { color: #fff; }
.ai-msg .btn { margin-top: 8px; font-size: 0.85rem; padding: 0.6em 1.2em; }
.ai-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); animation: ai-blink 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: 0.2s; }
.ai-typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes ai-blink { 0%, 60%, 100% { opacity: 0.3; } 30% { opacity: 1; transform: translateY(-2px); } }

.ai-chips { display: flex; gap: 8px; padding: 0 14px 10px; flex-wrap: wrap; background: #f2f7fc; }
.ai-chips button {
  border: 1px solid var(--brand);
  background: #fff;
  color: var(--brand);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.78rem;
  border-radius: 999px;
  padding: 0.5em 1em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.ai-chips button:hover { background: var(--brand); color: #fff; }

.ai-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.ai-input input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7em 1.2em;
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
}
.ai-input input:focus { outline: none; border-color: var(--brand); }
.ai-mic, .ai-send {
  width: 42px; height: 42px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}
.ai-mic { background: #e5f2fd; color: var(--brand); }
.ai-mic:hover, .ai-mic.rec { background: #e0447d; color: #fff; }
.ai-send { background: var(--brand); color: #fff; }
.ai-send:hover { background: var(--brand-dark); }
.ai-mic svg, .ai-send svg { width: 20px; height: 20px; }

/* ═══ TRIPS TOOLS (search + sort) ═══════════════ */
.trips-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.search-box {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15em 1.2em;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.search-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(9, 128, 230, 0.12); }
.search-box svg { width: 19px; height: 19px; color: var(--faint); flex-shrink: 0; }
.search-box input {
  flex: 1;
  border: none;
  background: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.65em 0;
}
.search-box input:focus { outline: none; }
.sort-sel { padding: 0.6em 1.1em; }
.filter-chips button b { font-weight: 800; opacity: 0.55; margin-inline-start: 4px; }

.show-more { text-align: center; margin-top: 26px; }
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
  font-weight: 600;
}

/* ═══ FAVORITES ═════════════════════════════════ */
.tcard-fav {
  position: absolute;
  top: 52px;
  inset-inline-end: 12px;
  z-index: 2;
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #c3d2e2;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(16, 43, 74, 0.18);
  transition: transform 0.25s var(--ease), color 0.2s;
}
.tcard-fav:hover { transform: scale(1.12); color: #e0447d; }
.tcard-fav.active { color: #e0447d; }
.tcard-fav svg { width: 20px; height: 20px; }

/* ═══ SCROLL PROGRESS ═══════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00b8d9, #0980e6);
}

/* ::: HERO SEARCH ::: */
.hero-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 6px 6px 18px;
  box-shadow: var(--shadow-lg);
  max-width: 540px;
  margin-bottom: 1.4rem;
}
.hero-search svg { width: 20px; height: 20px; color: var(--faint); flex-shrink: 0; }
.hero-search input {
  flex: 1;
  min-width: 0;
  border: none;
  background: none;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.7em 0;
}
.hero-search input:focus { outline: none; }
.hero-search .btn { padding: 0.7em 1.5em; flex-shrink: 0; }
.hero-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(9, 128, 230, 0.12), var(--shadow-lg); }

/* ::: IN-MODAL TRIP REQUEST ::: */
.mform {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  background: #f8fbfe;
}
.mform .bf-label { margin-bottom: 4px; }
.mform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; }
.mform-submit { width: 100%; margin-top: 12px; }
@media (max-width: 520px) { .mform-grid { grid-template-columns: 1fr; } }

/* ::: COMPASS BRAND ::: */
.brand-logo { height: 46px; width: auto; display: block; }
.flogo { height: 120px; width: auto; display: block; margin-bottom: 12px; }
@media (max-width: 640px) { .brand-logo { height: 36px; } }

/* ::: RASTER LOGO (the owner's artwork) ::: */
.brand-logo-img { height: 46px; width: auto; display: block; }
@media (max-width: 640px) { .brand-logo-img { height: 36px; } }
.flogo-img { width: min(300px, 100%); height: auto; display: block; margin-bottom: 14px; }
