/* =========================================================
   Wayza — Design system
   ========================================================= */
:root {
  --ink: #0a2a3b;
  --ink-2: #274655;
  --navy: #07344b;
  --navy-2: #0b4a66;
  --teal: #075f59;
  --teal-dark: #043f3b;
  --mint: #eaf6f3;
  --mint-2: #d9efea;
  --sand: #faf6ee;
  --sand-2: #f2eadb;
  --coral: #ef6f4c;
  --amber: #f4b73f;
  --white: #ffffff;
  --muted: #475e68;
  --line: #e3ecef;
  --line-strong: #cfe0e4;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(7, 52, 75, 0.06);
  --shadow: 0 12px 32px rgba(7, 52, 75, 0.09);
  --shadow-lg: 0 30px 70px rgba(7, 52, 75, 0.16);
  --font-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 143, 134, .25);
}
.btn-primary:hover { background: var(--teal-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #052a3d; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 24px rgba(239, 111, 76, .22); }
.btn-coral:hover { background: #e15e3b; }
.btn-ghost {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
}
.btn-light:hover { background: rgba(255, 255, 255, .2); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-lg { padding: 17px 28px; font-size: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--teal-dark);
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
  font-size: 12.5px;
  letter-spacing: .01em;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.topbar-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #5fe0c8;
  box-shadow: 0 0 0 4px rgba(95, 224, 200, .14);
}
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar-links a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(7, 52, 75, .06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.04em;
  color: var(--navy);
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--teal) 0%, #16a99b 55%, #0b6f77 100%);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 18px rgba(14, 143, 134, .25);
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: "";
  position: absolute;
  width: 26px; height: 26px;
  border: 1.5px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  right: -8px; bottom: -9px;
}
.logo-mark .icon { width: 20px; height: 20px; stroke-width: 2; }
.logo .dot { color: var(--teal); }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .2s ease, color .2s ease;
}
.nav a:hover { background: var(--mint); color: var(--teal-dark); }
.nav a.is-active { color: var(--teal-dark); font-weight: 600; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: 64px 0 120px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 480px at 78% 8%, rgba(24, 185, 168, .30), transparent 62%),
    radial-gradient(700px 500px at 8% 88%, rgba(244, 183, 63, .12), transparent 60%),
    linear-gradient(160deg, #07344b 0%, #062f44 55%, #052739 100%);
}
.hero::after {
  display: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b7f0e6;
  margin-bottom: 22px;
}
.eyebrow .icon { width: 15px; height: 15px; }
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}
.hero h1 .accent {
  color: #66e3cf;
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 2%; right: 1%; bottom: 4px;
  height: 9px;
  background: rgba(102, 227, 207, .18);
  border-radius: 4px;
  z-index: -1;
}
.hero-lead {
  font-size: 17.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .76);
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .8);
}
.hero-badge .icon { width: 17px; height: 17px; color: #66e3cf; }

/* Hero visual map */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.map-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1.04;
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .08), transparent 40%),
    linear-gradient(160deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .025));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .32);
  padding: 22px;
  backdrop-filter: blur(4px);
}
.map-svg { width: 100%; height: 100%; overflow: visible; }
.map-svg .land { fill: rgba(255, 255, 255, .12); stroke: rgba(255, 255, 255, .18); stroke-width: 1; }
.map-svg .route {
  fill: none;
  stroke: url(#routeGrad);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 7 9;
  animation: dash 18s linear infinite;
}
.map-svg .route.slow { animation-duration: 26s; }
@keyframes dash { to { stroke-dashoffset: -320; } }
.map-svg .node { fill: #66e3cf; }
.map-svg .node-ring { fill: none; stroke: rgba(102, 227, 207, .45); stroke-width: 1.2; }
.map-svg text {
  fill: rgba(255, 255, 255, .85);
  font-size: 11px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: .02em;
}
.floating-card {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}
.floating-card .fc-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--mint); color: var(--teal-dark);
}
.floating-card strong { display: block; font-size: 14px; line-height: 1.2; }
.floating-card span { font-size: 11.5px; color: var(--muted); }
.floating-card.fc-1 { top: 8%; left: -6%; }
.floating-card.fc-2 { bottom: 10%; right: -4%; animation-delay: -3s; }
.floating-card.fc-3 { bottom: 35%; left: -8%; animation-delay: -1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Search card ---------- */
.search-wrap {
  position: relative;
  z-index: 5;
  margin-top: -74px;
}
.search-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  border: 1px solid rgba(227, 236, 239, .9);
}
.search-tabs {
  display: flex;
  gap: 4px;
  padding: 6px 6px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.search-tabs::-webkit-scrollbar { display: none; }
.search-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px 14px 0 0;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  position: relative;
  white-space: nowrap;
}
.search-tab .icon { width: 18px; height: 18px; }
.search-tab:hover { color: var(--ink); background: var(--sand); }
.search-tab.is-active { color: var(--teal-dark); }
.search-tab.is-active::after {
  content: "";
  position: absolute;
  left: 18px; right: 18px; bottom: -1px;
  height: 3px;
  background: var(--teal);
  border-radius: 3px;
}
.search-body {
  background: var(--sand);
  border-radius: 22px;
  padding: 18px;
}
.search-panel { display: none; }
.search-panel.is-active { display: block; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.search-form {
  display: grid;
  grid-template-columns: 1.1fr auto 1.1fr .95fr .95fr .75fr auto;
  gap: 10px;
  align-items: end;
}
.search-form.form-ferry { grid-template-columns: 1.4fr 1fr .7fr 1fr 1fr auto; }
.search-form.form-esim { grid-template-columns: 1.3fr 1fr 1fr auto; }
.search-form.form-car { grid-template-columns: 1.1fr 1fr 1fr 1fr auto; }
.search-form.form-money { grid-template-columns: 1.3fr 1fr 1fr auto; }
.search-form.form-stay { grid-template-columns: 1.4fr .8fr 1fr auto; }
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  padding-left: 2px;
}
.field input, .field select {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0 14px;
  font-size: 14.5px;
  font-weight: 500;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 143, 134, .12);
}
.field .hint { font-size: 11.5px; color: var(--muted); }
.field-icon { position: relative; }
.field-icon .icon {
  position: absolute;
  left: 13px; top: 14px;
  width: 20px; height: 20px;
  color: var(--muted);
  pointer-events: none;
}
.field-icon input, .field-icon select { padding-left: 40px; }
.swap-btn {
  width: 38px; height: 38px;
  margin-bottom: 6px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  align-self: end;
  transition: transform .2s ease, border-color .2s ease;
}
.swap-btn:hover { transform: rotate(180deg); border-color: var(--teal); }
.swap-btn .icon { width: 17px; height: 17px; }
.search-form .btn { height: 50px; }
.search-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  margin: 12px 4px 2px;
}
.search-note .icon { width: 15px; height: 15px; color: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.section.sand { background: var(--sand); }
.section.mint { background: linear-gradient(180deg, var(--mint) 0%, #f4fbf9 100%); }
.section.dark { background: var(--navy); color: #fff; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; }
.section-lead {
  font-size: 16.5px;
  color: var(--ink-2);
  max-width: 600px;
  margin: 0;
}
.section.sand .section-lead { color: #1e3947; }
.section.dark .section-lead { color: rgba(255, 255, 255, .88); }
.section.dark .kicker { color: #66e3cf; }
.section.dark .kicker::before { background: #66e3cf; }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat {
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 30px;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 4px;
}
.stat span { font-size: 13.5px; color: var(--muted); }

/* Service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--mint-2);
}
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--mint);
  color: var(--teal-dark);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.service-icon.coral { background: #fdeee9; color: #d95c3a; }
.service-icon.amber { background: #fdf4e0; color: #b57e13; }
.service-icon.blue { background: #e8f1fb; color: #2a6ea8; }
.service-icon.plum { background: #f1ecf8; color: #6a4c9c; }
.service-icon .icon { width: 25px; height: 25px; }
.service-card h3 { font-size: 19px; margin-bottom: 8px; position: relative; z-index: 1; }
.service-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; flex: 1; position: relative; z-index: 1; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; position: relative; z-index: 1; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.tag.mint { background: var(--mint); color: #033f3a; font-weight: 700; }
.tag.coral { background: #fdeee9; color: #87280d; font-weight: 700; }
.tag.amber { background: #fdf4e0; color: #6b4300; font-weight: 700; }
.tag.blue { background: #e8f1fb; color: #164366; font-weight: 700; }

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 18px; }
.split p { color: var(--muted); font-size: 16px; }
.check-list { list-style: none; display: grid; gap: 14px; margin: 24px 0 30px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.check-list .check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
}
.check-list .check .icon { width: 14px; height: 14px; stroke-width: 2.4; }

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px;
  background:
    radial-gradient(circle at 80% 20%, rgba(14, 143, 134, .14), transparent 55%),
    var(--sand);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  overflow: hidden;
}
.phone {
  width: 270px;
  background: var(--navy);
  border-radius: 38px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(7, 52, 75, .3);
  position: relative;
  z-index: 1;
}
.phone-screen {
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  flex-direction: column;
}
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
}
.phone-notch {
  width: 80px; height: 20px;
  background: var(--navy);
  border-radius: 0 0 12px 12px;
  margin: 0 auto;
}
.phone-head {
  background: linear-gradient(150deg, var(--teal) 0%, #0b7774 100%);
  color: #fff;
  padding: 22px 18px 18px;
  border-radius: 0 0 22px 22px;
}
.phone-head span { font-size: 10.5px; opacity: .8; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.phone-head strong { display: block; font-size: 19px; font-family: var(--font-head); margin-top: 3px; }
.phone-body { padding: 16px; display: grid; gap: 10px; flex: 1; }
.esim-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
}
.esim-row .flag { font-size: 18px; }
.esim-row strong { display: block; font-size: 12px; line-height: 1.2; }
.esim-row span { font-size: 10.5px; color: var(--muted); }
.esim-row .price { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--teal-dark); }
.phone-foot {
  margin: 4px 16px 16px;
  background: var(--mint);
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 10.5px;
  color: var(--teal-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
}
.phone-foot .icon { width: 14px; height: 14px; }
.stage-badge {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(7, 52, 75, .18);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
}
.stage-badge .icon { width: 20px; height: 20px; color: var(--teal); }
.stage-badge.b1 { top: 34px; right: 16px; }
.stage-badge.b2 { bottom: 44px; left: 12px; }

/* Routes */
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.route-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.route-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.route-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.route-path {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
}
.route-path .icon { width: 18px; height: 18px; color: var(--teal); }
.route-meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); }
.route-meta span { display: inline-flex; align-items: center; gap: 5px; }
.route-meta .icon { width: 14px; height: 14px; }
.route-price { display: flex; align-items: flex-end; gap: 6px; }
.route-price strong { font-family: var(--font-head); font-size: 24px; color: var(--navy); line-height: 1; }
.route-price span { font-size: 12px; color: var(--muted); padding-bottom: 3px; }

/* Guides */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.guide-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.city-visual {
  height: 210px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  background-size: cover;
  background-position: center;
  transition: transform .35s ease;
}
.city-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 52, 75, .2) 0%, rgba(7, 52, 75, .88) 100%);
  z-index: 1;
  transition: background .3s ease;
}
.guide-card:hover .city-visual::before {
  background: linear-gradient(180deg, rgba(7, 52, 75, .1) 0%, rgba(7, 52, 75, .75) 100%);
}
.city-visual::after {
  display: none;
}
.city-visual.tunis { background-image: url('/assets/img/cities/tunisie.jpg'); }
.city-visual.marrakech { background-image: url('/assets/img/cities/maroc.jpg'); }
.city-visual.alger { background-image: url('/assets/img/cities/algerie.jpg'); }
.city-visual.djerba { background-image: url('/assets/img/cities/djerba.jpg'); }
.city-visual.casablanca { background-image: url('/assets/img/cities/casablanca.jpg'); }
.city-visual.oran { background-image: url('/assets/img/cities/oran.jpg'); }
.city-visual .city-name {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.city-visual .city-name span { display: block; font-family: var(--font-body); font-size: 11.5px; font-weight: 500; opacity: .82; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; }
.guide-body { padding: 22px; }
.guide-body h3 { font-size: 18px; margin-bottom: 7px; }
.guide-body p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.guide-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.step-num {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 18px;
}
.step:nth-child(2) .step-num { background: var(--teal); }
.step:nth-child(3) .step-num { background: var(--coral); }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.stars { display: flex; gap: 3px; color: var(--amber); margin-bottom: 14px; }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.testi p { font-size: 14.5px; color: var(--ink-2); }
.testi-author { display: flex; align-items: center; gap: 11px; margin-top: 18px; }
.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--mint-2);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.testi-author strong { display: block; font-size: 13.5px; }
.testi-author span { font-size: 12px; color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy) 0%, #0a4757 55%, #0d6f6e 100%);
  color: #fff;
  padding: 56px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .14);
  right: -120px; top: -160px;
  box-shadow: 0 0 0 46px rgba(255, 255, 255, .045), 0 0 0 92px rgba(255, 255, 255, .03);
}
.cta-band h2, .prose .cta-band h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); position: relative; color: #ffffff !important; }
.cta-band p, .prose .cta-band p { color: rgba(255, 255, 255, 0.95) !important; margin: 0; position: relative; font-size: 15px; }
.cta-band .btn-light, .prose .cta-band .btn-light, .cta-band a.btn-light, .prose .cta-band a.btn-light {
  background: #ffffff !important;
  color: var(--navy) !important;
  border: 1px solid #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18) !important;
  text-decoration: none !important;
}
.cta-band .btn-light:hover, .prose .cta-band .btn-light:hover, .cta-band a.btn-light:hover, .prose .cta-band a.btn-light:hover {
  background: #f0fdf9 !important;
  color: var(--teal-dark) !important;
  border-color: #f0fdf9 !important;
  transform: translateY(-2px);
}
.newsletter-form {
  display: flex;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  position: relative;
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 18px;
  height: 46px;
  outline: none;
  font-size: 14px;
}
.newsletter-msg { font-size: 12.5px; color: #b7f0e6; margin: 10px 0 0; min-height: 18px; }

/* Footer */
.site-footer { background: #052a3d; color: rgba(255, 255, 255, .68); padding: 64px 0 30px; margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; max-width: 310px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  place-items: center;
  transition: background .2s ease, border-color .2s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.footer-social .icon { width: 17px; height: 17px; }
.footer-col h4,
.footer-col .footer-title {
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; transition: color .2s ease; }
.footer-col a:hover { color: #66e3cf; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 12.5px;
  flex-wrap: wrap;
}
.footer-bottom .disclaimer { max-width: 720px; color: rgba(255, 255, 255, .95); }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(255, 255, 255, .95); }
.footer-links a:hover { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 82% 0%, rgba(14, 143, 134, .22), transparent 65%),
    linear-gradient(160deg, #07344b 0%, #062f44 100%);
  color: #fff;
  padding: 54px 0 96px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  display: none;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .icon { width: 13px; height: 13px; }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 760px; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .72); max-width: 640px; font-size: 16.5px; margin-bottom: 0; }
.page-hero .hero-badges { margin-top: 22px; }
.page-hero-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.hero-floating-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 290px;
}
.floating-badge-card {
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, .28);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.floating-badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .35);
}
.floating-badge-card .fc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--mint); color: var(--teal-dark);
  flex-shrink: 0;
}
.floating-badge-card strong { display: block; font-size: 14px; line-height: 1.25; color: #07344b; }
.floating-badge-card span { font-size: 11.5px; color: var(--muted); }
@media (max-width: 900px) {
  .page-hero-flex { flex-direction: column; align-items: flex-start; }
  .hero-floating-stack { width: 100%; min-width: 0; margin-top: 20px; }
}

/* Comparator layout */
.comparator-wrap { position: relative; z-index: 5; margin-top: -52px; padding-bottom: 80px; }
.compare-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 26px;
}
.compare-panel .search-form { grid-template-columns: 1.1fr auto 1.1fr .95fr .95fr .75fr auto; }
.compare-panel .search-form.form-ferry { grid-template-columns: 1.4fr 1fr .7fr 1fr 1fr auto; }
.compare-panel .search-form.form-esim { grid-template-columns: 1.3fr 1fr 1fr auto; }
.compare-panel .search-form.form-car { grid-template-columns: 1.1fr 1fr 1fr 1fr auto; }
.compare-panel .search-form.form-money { grid-template-columns: 1.3fr 1fr 1fr auto; }
.compare-panel .search-form.form-stay { grid-template-columns: 1.4fr .8fr 1fr auto; }
.compare-panel .search-form.cols-3 { grid-template-columns: 1.2fr 1fr 1fr auto; }
.compare-panel .search-form.cols-2 { grid-template-columns: 1fr 1fr auto; }

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.results-count { font-size: 14.5px; color: var(--muted); }
.results-count strong { color: var(--ink); }
.results-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sort-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.sort-field select {
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .18s ease;
}
.chip:hover { border-color: var(--teal); color: var(--teal-dark); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }

.results-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 26px;
  align-items: start;
}
.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 96px;
}    .filters h3, .filters .filters-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 16px;
}
.filter-group { padding: 16px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group h4, .filter-group h3 { font-size: 13.5px; margin-bottom: 10px; font-family: var(--font-body); font-weight: 600; }
.filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-2);
  padding: 5px 0;
  cursor: pointer;
}
.filter-group input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--teal);
}
.range-row { display: flex; align-items: center; gap: 10px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--teal); }
.range-value { font-size: 12.5px; font-weight: 600; color: var(--teal-dark); min-width: 62px; text-align: right; }
.filters .reset-link {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: underline;
  background: none;
  border: 0;
  padding: 0;
  margin-top: 8px;
}
.filters .reset-link:hover { color: var(--coral); }

.offers { display: grid; gap: 14px; }
.offer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 20px;
  transition: border-color .2s ease, box-shadow .2s ease;
  position: relative;
}
.offer:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.offer.is-best { border-color: rgba(14, 143, 134, .45); box-shadow: 0 0 0 3px rgba(14, 143, 134, .07); }
.offer-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.airline-badge {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--sand);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.offer-airline { font-size: 13px; font-weight: 600; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge.best { background: var(--mint); color: var(--teal-dark); }
.badge.direct { background: #e8f1fb; color: #256497; }
.badge.bag { background: var(--sand); color: #8a6a20; }
.badge.warn { background: #fdeee9; color: #c54e2d; }
.badge .icon { width: 12px; height: 12px; }
.offer-route {
  display: flex;
  align-items: center;
  gap: 18px;
}
.flight-point { min-width: 84px; }
.flight-point strong {
  display: block;
  font-family: var(--font-head);
  font-size: 21px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.flight-point span { font-size: 12px; color: var(--muted); }
.flight-line {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
}
.flight-line .dur { font-size: 11.5px; color: var(--muted); }
.flight-line .line {
  width: 100%;
  height: 1.5px;
  background: var(--line-strong);
  position: relative;
}
.flight-line .line::before, .flight-line .line::after {
  content: "";
  position: absolute;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  top: -2.8px;
}
.flight-line .line::before { left: 0; }
.flight-line .line::after { right: 0; }
.flight-line .stops { font-size: 11px; color: var(--muted); }
.flight-line .stops.direct { color: var(--teal-dark); font-weight: 600; }
.offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.offer-side {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  gap: 4px;
}
.offer-price { font-family: var(--font-head); font-size: 29px; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.offer-price span { font-size: 12px; color: var(--muted); font-family: var(--font-body); }
.offer-side .total { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.offer-side .btn { margin-top: 6px; }
.offer-side .provider { font-size: 10.5px; color: var(--muted); margin-top: 6px; }
.empty-state {
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 46px 24px;
  text-align: center;
}
.empty-state .icon { width: 34px; height: 34px; color: var(--muted); margin-bottom: 12px; }
.empty-state h3 { font-size: 18px; }
.empty-state p { color: var(--muted); font-size: 14px; margin: 0; }
.disclaimer-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--sand);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 22px;
}
.disclaimer-note .icon { width: 16px; height: 16px; color: var(--teal); margin-top: 2px; }

/* eSIM */
.esim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.esim-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.esim-card.is-best { border-color: rgba(14, 143, 134, .5); }
.esim-card .flag-lg {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--sand);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.esim-card h3 { font-size: 18px; margin-bottom: 4px; }
.esim-card .network { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.esim-price-row { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 4px; }
.esim-price-row strong { font-family: var(--font-head); font-size: 27px; line-height: 1; letter-spacing: -0.03em; color: var(--navy); }
.esim-price-row span { font-size: 12px; color: var(--muted); }
.esim-card .validity { font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.esim-specs { list-style: none; display: grid; gap: 8px; margin: 14px 0 20px; padding-top: 14px; border-top: 1px solid var(--line); }
.esim-specs li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.esim-specs .icon { width: 15px; height: 15px; color: var(--teal); }
.esim-card .btn { margin-top: auto; }
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.promo {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.promo-code {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  background: var(--mint);
  color: var(--teal-dark);
  padding: 8px 12px;
  border-radius: 8px;
}
.promo strong { display: block; font-size: 13.5px; }
.promo span { font-size: 12px; color: var(--muted); }

/* Money */
.money-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}
.summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.summary-card span { font-size: 12px; color: var(--muted); display: block; margin-bottom: 6px; }
.summary-card strong { font-family: var(--font-head); font-size: 24px; letter-spacing: -0.03em; color: var(--navy); }
.summary-card.highlight { background: var(--navy); border-color: var(--navy); color: #fff; }
.summary-card.highlight span { color: rgba(255, 255, 255, .62); }
.summary-card.highlight strong { color: #66e3cf; }
.transfer-offer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.transfer-offer.is-best { border-color: rgba(14, 143, 134, .5); box-shadow: 0 0 0 3px rgba(14, 143, 134, .07); }
.transfer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.transfer-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--sand);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 13px;
  color: var(--navy);
  overflow: hidden;
  flex-shrink: 0;
}
.transfer-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.transfer-brand strong { font-size: 15px; }
.transfer-brand span { display: block; font-size: 11.5px; color: var(--muted); }
.transfer-fees { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.transfer-fees strong { color: var(--ink); font-weight: 600; }
.transfer-amount { text-align: right; }
.transfer-amount .recv { font-family: var(--font-head); font-size: 25px; letter-spacing: -0.03em; color: var(--teal-dark); line-height: 1.1; }
.transfer-amount .rate { font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }

/* Stays */
.stay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stay-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.stay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stay-visual { height: 180px; position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding: 14px; }
.stay-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .3) 100%);
}
.stay-visual .certif { position: relative; z-index: 1; }
.stay-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.stay-body h3 { font-size: 17px; margin-bottom: 4px; }
.stay-loc { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.stay-loc .icon { width: 14px; height: 14px; }
.stay-rating { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin-bottom: 12px; }
.stay-rating .score { background: var(--navy); color: #fff; border-radius: 6px; padding: 3px 7px; font-weight: 700; font-size: 11.5px; }
.stay-rating .stars { margin: 0; }
.stay-rating .stars .icon { width: 13px; height: 13px; }
.stay-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.stay-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; }
.stay-price strong { font-family: var(--font-head); font-size: 21px; color: var(--navy); }
.stay-price span { font-size: 11.5px; color: var(--muted); }

/* Content pages */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin-top: 42px; }
.prose h3 { font-size: 19px; margin-top: 28px; }
.prose p, .prose li { color: var(--ink-2); font-size: 15.5px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 18px; display: grid; gap: 8px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.value-card .service-icon { margin-bottom: 16px; }
.value-card h3 { font-size: 17px; }
.value-card p { font-size: 14px; color: var(--muted); margin: 0; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form textarea {
  width: 100%;
  min-height: 130px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  padding: 12px 14px;
  resize: vertical;
  outline: none;
}
.contact-form textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 143, 134, .12); }
.contact-form select { height: 50px; }
.contact-side { display: grid; gap: 14px; }
.contact-info {
  display: flex;
  gap: 14px;
  background: var(--sand);
  border-radius: var(--radius);
  padding: 18px;
}
.contact-info .icon { color: var(--teal-dark); margin-top: 2px; }
.contact-info strong { display: block; font-size: 14px; margin-bottom: 2px; }
.contact-info span { font-size: 13px; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 20px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 30px 18px 0;
  font-weight: 600;
  font-size: 15px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--teal);
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p, .prose .faq-item p { font-size: 14.5px; color: var(--ink-2) !important; padding-bottom: 18px; margin: 0; line-height: 1.55; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .map-svg .route, .floating-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn-ghost { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding-bottom: 110px; }
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-form .swap-btn { display: none; }
  .search-form .btn { grid-column: span 2; }
  .compare-panel .search-form,
  .compare-panel .search-form.cols-4,
  .compare-panel .search-form.cols-3 { grid-template-columns: 1fr 1fr; }
  .results-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
  .filters h3, .filters .filters-title { grid-column: span 2; }
  .filters .reset-link { grid-column: span 2; }
  .service-grid, .route-grid, .guide-grid, .steps, .testi-grid, .esim-grid, .stay-grid, .value-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 40px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; }
  .topbar-links a:not(:last-child) { display: none; }
}

@media (max-width: 820px) {
  .section { padding: 64px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .split, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .offer { grid-template-columns: 1fr; }
  .offer-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 16px; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; flex-wrap: wrap; }
  .offer-side .btn { margin-top: 0; }
  .money-summary { grid-template-columns: 1fr; }
  .transfer-offer { grid-template-columns: 1fr; }
  .transfer-amount { text-align: left; }
  .promo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .search-tabs { padding-bottom: 4px; }
  .search-tab { padding: 10px 14px; font-size: 13.5px; }
}

@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .topbar-tag span:last-child { display: none; }
  .hero { padding-top: 44px; padding-bottom: 100px; }
  .hero h1 { font-size: 2.3rem; }
  .hero-lead { font-size: 15.5px; }
  .search-body { padding: 14px 10px; }
  .search-form { grid-template-columns: 1fr; }
  .search-form .btn { grid-column: span 1; }
  .compare-panel .search-form,
  .compare-panel .search-form.cols-4,
  .compare-panel .search-form.cols-3,
  .compare-panel .search-form.cols-2 { grid-template-columns: 1fr; }
  .section-title { font-size: 1.7rem; }
  .service-grid, .route-grid, .guide-grid, .steps, .testi-grid, .esim-grid, .stay-grid, .value-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .filters { grid-template-columns: 1fr; }
  .filters h3, .filters .filters-title, .filters .reset-link { grid-column: span 1; }
  .offer-route { gap: 10px; flex-wrap: wrap; }
  .flight-line { order: 3; width: 100%; }
  .flight-point strong { font-size: 19px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 22px; }
  .newsletter-form { flex-direction: column; background: transparent; padding: 0; gap: 10px; }
  .newsletter-form input { background: #fff; border-radius: 999px; height: 50px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .page-hero { padding: 40px 0 86px; }
  .page-hero h1 { font-size: 1.9rem; }
  .footer-links { flex-wrap: wrap; }
}

/* Petits mobiles : logo + sélecteur de langue + menu doivent tenir sur 320 px.
   Le CTA principal reste accessible dans le menu mobile et dans le hero. */
@media (max-width: 480px) {
  .header-inner { gap: 10px; }
  .header-cta { gap: 6px; }
  .header-cta .btn-primary { display: none; }
  /* Spécificité > règles .lang-switch globales, quel que soit l'ordre du fichier. */
  .header-cta .lang-switch { padding: 2px; gap: 1px; }
  .header-cta .lang-switch button { padding: 4px 6px; font-size: 10px; }
  .logo { font-size: 21px; gap: 8px; }
  .logo-mark { width: 34px; height: 34px; border-radius: 10px; }
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px 24px 18px;
  box-shadow: 0 20px 30px rgba(7, 52, 75, .08);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 2px;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a .icon { width: 16px; height: 16px; color: var(--muted); }
.mobile-nav .btn { margin-top: 12px; }

/* ---------- Comparison table ---------- */
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.compare-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.compare-table th {
  background: var(--sand);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 700;
}
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: #fbfdfd; }
.compare-table .link-arrow { font-size: 12.5px; }

/* ---------- Info boxes / lists ---------- */
.note-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #f0fdf9;
  border: 1px solid rgba(14, 143, 134, 0.22);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 26px 0;
}
.note-box .icon { color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.note-box strong { display: block; margin-bottom: 4px; color: var(--navy); font-weight: 700; font-size: 15px; }
.note-box p, .prose .note-box p { margin: 0; font-size: 14px; color: var(--ink-2) !important; line-height: 1.55; }

.article-list { display: grid; gap: 10px; }
.article-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color .2s ease, transform .2s ease;
}
.article-row:hover { border-color: var(--line-strong); transform: translateX(3px); }
.article-row .num {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--mint);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}
.article-row strong { display: block; font-size: 14.5px; }
.article-row span { font-size: 12px; color: var(--muted); }
.article-row .icon { margin-left: auto; color: var(--muted); width: 17px; height: 17px; }
.article-row .tag { margin-left: auto; }
.article-row .row-meta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.article-row .row-meta .icon { margin: 0; }

.guide-hero { background: linear-gradient(150deg, #0f6b78 0%, #13968f 60%, #8ccfc0 100%); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.guide-hero.marrakech { background: linear-gradient(150deg, #8f3f22 0%, #cf6a42 55%, #e9b279 100%); }
.guide-hero.alger { background: linear-gradient(150deg, #1c4763 0%, #377d99 55%, #9ac9c0 100%); }
.guide-hero::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); right: -160px; top: -180px; box-shadow: 0 0 0 50px rgba(255,255,255,.05), 0 0 0 100px rgba(255,255,255,.035); }
.guide-hero .container { position: relative; z-index: 2; }
.guide-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 680px; color: #ffffff !important; }
.guide-hero p { color: rgba(255, 255, 255, 0.95) !important; max-width: 620px; font-size: 16.5px; }
.guide-hero .hero-badges { margin-top: 18px; }
.guide-hero .hero-badge { color: #ffffff !important; font-weight: 500; }
.guide-hero .hero-badge .icon { color: #ffffff !important; }
.guide-hero .breadcrumb, .guide-hero .breadcrumb a, .guide-hero .breadcrumb span { color: rgba(255, 255, 255, 0.85) !important; }
.guide-hero .breadcrumb a:hover { color: #ffffff !important; text-decoration: underline; }
.toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.toc strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.toc a { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; margin: 4px 16px 4px 0; color: var(--teal-dark); font-weight: 500; }
.toc a:hover { text-decoration: underline; }

@media (max-width: 620px) {
  .mobile-nav { padding-left: 18px; padding-right: 18px; }
}

/* Stay visual backgrounds */
.stay-visual { background-size: cover; background-position: center; position: relative; }
.photo-note { position: absolute; right: 10px; bottom: 8px; z-index: 1; font-size: 11px; color: rgba(255,255,255,.85); background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 999px; }
.live-search { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 36px); margin: 26px 0 8px; box-shadow: 0 12px 32px rgba(7,52,75,.08); }
.live-search-head { max-width: 720px; margin-bottom: 18px; }
.live-search-head .section-title { margin: 8px 0; }
.live-widget { min-height: 120px; }
.live-widget iframe { width: 100%; border: 0; border-radius: var(--radius-sm); }
.stay-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.5) 100%); z-index: 0; }
.stay-visual.tunis { background-image: url('/assets/img/cities/tunisie.jpg'); }
.stay-visual.marrakech { background-image: url('/assets/img/cities/maroc.jpg'); }
.stay-visual.alger { background-image: url('/assets/img/cities/algerie.jpg'); }
.stay-visual.djerba { background-image: url('/assets/img/cities/djerba.jpg'); }
.stay-visual.casablanca { background-image: url('/assets/img/cities/casablanca.jpg'); }
.stay-visual.oran { background-image: url('/assets/img/cities/oran.jpg'); }

/* Prose links and focus */
.prose a:not(.btn) { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose a:not(.btn):hover { color: var(--teal); }
.prose .btn, .prose a.btn {
  text-decoration: none !important;
}
.prose .btn-primary, .prose a.btn-primary {
  color: #ffffff !important;
  background: var(--teal);
}
.prose .btn-primary:hover, .prose a.btn-primary:hover {
  background: var(--teal-dark);
  color: #ffffff !important;
}
.prose .btn-light, .prose a.btn-light {
  color: #ffffff !important;
  background: rgba(255, 255, 255, .15);
  border-color: rgba(255, 255, 255, .4);
}
.prose .btn-light:hover, .prose a.btn-light:hover {
  background: rgba(255, 255, 255, .25);
  color: #ffffff !important;
}
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Clean, Discreet AdSense Slots */
.ad-slot-wrapper {
  margin: 36px auto;
  max-width: 970px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ad-slot-wrapper.tight { margin: 24px auto; }
.ad-slot-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}
.ad-slot-box {
  width: 100%;
  min-height: 90px;
  background: rgba(246, 244, 239, 0.6);
  border: 1px dashed rgba(7, 52, 75, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  transition: border-color .2s ease;
}
.ad-slot-box:hover {
  border-color: rgba(14, 143, 134, 0.25);
}
@media (max-width: 768px) {
  .ad-slot-wrapper { margin: 24px auto; }
  .ad-slot-box { min-height: 60px; }
}

/* ============================================================
   i18n — Sélecteur de langue (FR/EN/AR) + support RTL arabe
   ============================================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.72;
}
.lang-switch button:hover { opacity: 1; }
.lang-switch button.is-active { background: #fff; color: #073b4c; opacity: 1; }
/* Le sélecteur vit dans l'en-tête clair : les libellés blancs d'origine
   étaient invisibles sur fond blanc (seul l'onglet actif se voyait). */
.site-header .lang-switch {
  background: var(--mint);
  border-color: var(--line);
}
.site-header .lang-switch button { color: var(--navy); opacity: .62; }
.site-header .lang-switch button:hover { opacity: 1; }
.site-header .lang-switch button.is-active { background: var(--teal); color: #fff; opacity: 1; }
/* Arabe : police avec glyphes arabes + champs alignés à droite */
html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
html[dir="rtl"] .search-form input,
html[dir="rtl"] .search-form select,
html[dir="rtl"] .newsletter-form input { text-align: right; }
html[dir="rtl"] .offer-route, html[dir="rtl"] .flight-line { direction: rtl; }
