/* ============================================
   MARRAKECHSTORY — Editorial travel-magazine
   Palette: sand / espresso / cream · Playfair + Source Sans 3
   ============================================ */

:root {
  /* Editorial palette */
  --espresso:      #14110F;
  --charcoal:      #1E1C1A;
  --sand:          #C9B99A;
  --sand-dark:     #B5A486;
  --sand-light:    #D9CDB5;
  --bg-page:       #FAF8F4;
  --section-cream: #FAFAF8;
  --section-sand:  #F5F5F0;

  /* Brand tokens — terracotta over the editorial sand palette */
  --brand:         #e0432a;
  --brand-deep:    #b8331e;
  --brand-soft:    #fbe4dc;
  --brand-accent:  #e0432a;     /* used for italic emphasis */

  /* Ink scale (warm dark earth) */
  --ink:    #2A2118;
  --ink-2:  #3D3329;
  --ink-3:  #7A6E5E;
  --ink-4:  #5C4F3A;

  /* Surfaces */
  --paper:   #FAFAF8;
  --paper-2: #F5F5F0;
  --sand-2:  #D9CDB5;
  --palm:    #14110F;
  --line:    #E8E3D6;

  /* Rounded corners everywhere */
  --radius:    14px;
  --radius-lg: 22px;

  /* Subtle shadows only */
  --shadow-soft:  0 1px 2px rgba(20,17,15,.04), 0 8px 24px rgba(20,17,15,.05);
  --shadow-md:    0 1px 3px rgba(20,17,15,.06), 0 12px 28px rgba(20,17,15,.08);
  --shadow-lg:    0 2px 6px rgba(20,17,15,.06), 0 24px 50px rgba(20,17,15,.10);
  --shadow-brand: 0 12px 32px rgba(184,153,106,.25);
  --shadow-card:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px -1px rgba(0,0,0,.08);

  /* Tracking */
  --tr-kicker: .15em;
  --tr-button: .10em;
}

/* ─── Editorial typography ─────────────────────────────── */
html, body {
  background: var(--bg-page);
  color: var(--ink-2);
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .serif, .ms-hero-h1, .itin-q, .auth-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif !important;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--ink);
}
h3, h4 { font-weight: 700; }
em, .serif em, h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--brand-accent);
  font-weight: inherit;
}

/* Eyebrow / kicker / nav / button text */
.eyebrow, .ms-hero-eyebrow, .itin-step-pill, .nav-links a, .btn,
[class*="-eyebrow"], [class*="kicker"] {
  font-family: 'Inter', -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: var(--tr-kicker);
  font-weight: 600;
}

/* ─── Sharp corners everywhere (except circular utilities) ─── */
.card, .cat-card, .opt-card, .form-counter, .fld input, .fld select, .fld textarea,
.btn, .btn-primary, .btn-outline, .btn-ink, .chip, .filter-chip, .cat-tab-v2,
.itin-form, .itin-preview, .itin-shell > *, .itin-chip, .itin-step-pill,
.dur-pkg-card, .rental-card, .auth-modal, .auth-backdrop .auth-modal,
.ms-qb-modal, .ms-tweak-modal, .ms-picker-modal, .ms-qb-field input, .ms-qb-field textarea,
.rcal, .rcal-cell, .rcal-nav, .mc-toggle, .mc-stop, .mc-night-ctrl button,
.day-nav-pill, .day-nav-arrow, .itin-ctx-banner, .taste-chip,
input, select, textarea, button,
.weather-widget, .hero-stat-card,
.reiseplaner-cta-tab-full, .reiseplaner-special-tab,
.ms-qb-transport, .ms-qb-transport-addr,
.itin-summary, .itin-contact-card, .itin-tl-card {
  border-radius: 0 !important;
}
/* keep circular utilities + avatars */
.auth-avatar, .auth-widget-btn-icon, .ms-cred-num,
.itin-contact-avatar, .itin-tl-dot,
.fab, .chat-fab, .ms-fab, .back-to-top,
.day-nav-arrow, .mc-night-ctrl button, .auth-widget-btn-icon,
.mc-remove {
  border-radius: 50% !important;
}

/* Buttons — editorial sand */
.btn, .btn-primary, .btn-outline, .btn-ink {
  font-size: 12px;
  letter-spacing: var(--tr-button);
  padding: 14px 28px;
  border-radius: 0 !important;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary {
  background: var(--brand) !important;
  color: #fff !important;
  border: 1px solid var(--brand) !important;
  box-shadow: none !important;
}
.btn-primary:hover {
  background: var(--brand-deep) !important;
  border-color: var(--brand-deep) !important;
  transform: none !important;
}
.btn-outline {
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--ink) !important;
}
.btn-outline:hover { background: var(--ink) !important; color: #fff !important; }

/* Alternating section backgrounds */
.section { padding: 80px 0; }
.section:nth-of-type(odd)  { background: var(--section-cream); }
.section:nth-of-type(even) { background: var(--section-sand); }
.itin-section { background: var(--section-sand) !important; }
.itin-section .itin-shell .itin-form { background: #fff; }

/* Soft border instead of decorative shadow on cards */
.cat-card { box-shadow: var(--shadow-card) !important; border: 1px solid var(--line); }

/* Tags / chips — editorial */
.tag, .chip, .filter-chip, .itin-chip, .taste-chip {
  background: #F5F0E8 !important;
  color: var(--ink) !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
  padding: 4px 10px;
}
.filter-chip.active, .taste-chip.active, .cat-tab-v2.active {
  background: var(--ink) !important;
  color: #fff !important;
  border-color: var(--ink) !important;
}

/* Eyebrow style */
.eyebrow {
  font-size: 12px !important;
  letter-spacing: var(--tr-kicker);
  text-transform: uppercase;
  color: var(--ink-3) !important;
  font-weight: 500;
}
.eyebrow::before { content: "— "; }

/* Inputs — quiet, no radius */
input, select, textarea {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  font-family: 'Source Sans 3', sans-serif;
  color: var(--ink) !important;
  padding: 10px 12px;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--brand) !important;
  outline-offset: 0;
  border-color: var(--brand) !important;
}

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

html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.serif { font-family: 'Fraunces', 'Times New Roman', serif; font-weight: 500; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ------- layout helpers ------- */
.wrap { width: min(1280px, 92vw); margin: 0 auto; }
.wrap-wide { width: min(1440px, 96vw); margin: 0 auto; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: var(--brand);
}

.section { padding: 110px 0; position: relative; }
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 14px 0 18px;
  text-wrap: balance;
}
.section-head h2 em {
  font-style: italic;
  color: var(--brand);
  font-weight: 400;
}
.section-head p {
  color: var(--ink-3);
  font-size: 18px;
  max-width: 580px;
  text-wrap: pretty;
}

/* ------- buttons ------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(225,67,42,.36); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 16px 0;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(253,250,246,.78);
  backdrop-filter: saturate(140%) blur(18px);
  border-color: rgba(26,19,16,.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-logo .logo-mark {
  width: 38px; height: 38px;
  background: var(--brand);
  border-radius: 9px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-brand);
  position: relative;
  overflow: hidden;
}
.nav-logo .logo-mark svg { color: #fff; width: 22px; height: 22px; }
.nav.over-hero .nav-logo,
.nav.over-hero .nav-links a,
.nav.over-hero .nav-cta { color: #fff; }
.nav.over-hero .nav-links a:hover { color: var(--brand-soft); }

.nav-links { display: flex; gap: 6px; font-size: 14px; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(26,19,16,.05); }
.nav.over-hero .nav-links a:hover { background: rgba(255,255,255,.12); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
  background: #2a0e06;
  isolation: isolate;
  perspective: 1400px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 20%, rgba(255,196,140,.45), transparent 60%),
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(225,67,42,.4), transparent 60%),
    linear-gradient(180deg, #3a1108 0%, #6e1d0d 38%, #c83a20 78%, #f3b08f 100%);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: .5;
}
/* parallax layers */
.hero-layer { position: absolute; left: 0; right: 0; pointer-events: none; will-change: transform; }
.layer-sun {
  top: 14%;
  display: grid; place-items: center;
}
.layer-sun .sun {
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #ffe1a8 0%, #ffb061 35%, #e25c22 60%, transparent 70%);
  filter: blur(2px);
  box-shadow: 0 0 120px 30px rgba(255,170,90,.35);
  animation: sunPulse 8s ease-in-out infinite;
}
@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: .95; }
  50% { transform: scale(1.05); opacity: 1; }
}
.layer-mountains { bottom: 28%; }
.layer-mountains svg { width: 100%; height: 200px; display: block; }
.layer-medina { bottom: 8%; }
.layer-medina svg { width: 100%; height: 240px; display: block; }
.layer-palms { bottom: 0; }
.layer-palms svg { width: 100%; height: 280px; display: block; }
.layer-ground {
  bottom: 0; height: 90px;
  background: linear-gradient(180deg, #3a1108 0%, #1a0703 100%);
}

.hero-content {
  position: relative; z-index: 4;
  padding: 200px 0 140px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.06);
  animation: fadeUp .8s .1s both;
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #6df27c; box-shadow: 0 0 10px #6df27c; animation: pulse 1.6s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(54px, 9.4vw, 144px);
  line-height: .92;
  letter-spacing: -0.045em;
  margin: 22px 0 26px;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(180deg, #fff 0%, #ffd29b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: inline-block; animation: heroSlide 1s cubic-bezier(.2,.7,.2,1) both; }
.hero-title .line:nth-child(1) span { animation-delay: .15s; }
.hero-title .line:nth-child(2) span { animation-delay: .3s; }
.hero-title .line:nth-child(3) span { animation-delay: .45s; }
@keyframes heroSlide {
  from { transform: translateY(110%) rotate(2deg); opacity: 0; }
  to { transform: translateY(0) rotate(0); opacity: 1; }
}
@keyframes fadeUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(16px, 1.2vw, 18px);
  color: rgba(255,255,255,.82);
  margin: 0 0 36px;
  animation: fadeUp 1s .7s both;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 1s .85s both; }

/* stat strip */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,.16);
  margin-top: 80px;
  animation: fadeUp 1s 1s both;
}
.hero-stats .stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stats .num {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stats .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.6);
}

@media (max-width: 700px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-stats .num { font-size: 32px; }
}

/* marquee */
.marquee {
  position: relative; z-index: 4;
  display: flex; gap: 60px;
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  margin-top: 60px;
}
.marquee-track {
  display: flex; gap: 60px;
  flex-shrink: 0;
  animation: marquee 38s linear infinite;
}
.marquee span {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 32px;
  font-weight: 300;
  white-space: nowrap;
  opacity: .85;
}
.marquee span svg { vertical-align: middle; margin: 0 14px; opacity: .6; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ============================================
   FLIGHTS
   ============================================ */
.flights {
  background: #fff;
  position: relative;
}
.flight-search {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-top: -120px;
  position: relative;
  z-index: 5;
}
.flight-search-tabs {
  display: flex; gap: 8px;
  margin-bottom: 26px;
}
.flight-tab {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  background: var(--paper-2);
  color: var(--ink-2);
  transition: all .2s;
}
.flight-tab.active { background: var(--ink); color: #fff; }

.flight-fields {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr 0.9fr 130px;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.flight-field {
  background: #fff;
  padding: 14px 18px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.flight-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}
.flight-field input, .flight-field select {
  border: none; background: transparent; padding: 0;
  font-size: 16px; font-weight: 500;
  outline: none;
}
.flight-field .city-code {
  font-size: 11px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}
.flight-search-submit {
  background: var(--brand); color: #fff;
  border: none;
  padding: 0 28px;
  display: grid; place-items: center;
  font-weight: 500;
  font-size: 14px;
  gap: 6px;
  transition: background .2s;
}
.flight-search-submit:hover { background: var(--brand-deep); }

.swap-cities {
  position: absolute;
  left: 100%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  box-shadow: var(--shadow-soft);
  transition: transform .3s;
}
.swap-cities:hover { transform: translate(-50%, -50%) rotate(180deg); }

.flight-meta {
  display: flex; gap: 24px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-3);
  align-items: center;
  flex-wrap: wrap;
}
.flight-meta .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--paper-2);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
}
.flight-meta .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #18a957;
  animation: pulse 1.4s infinite;
}

@media (max-width: 1080px) {
  .flight-fields { grid-template-columns: 1fr 1fr 1fr; }
  .flight-search-submit { grid-column: 1 / -1; padding: 18px; }
}
@media (max-width: 700px) {
  .flight-fields { grid-template-columns: 1fr 1fr; }
}

/* flight results */
.flight-results { margin-top: 56px; }
.flight-results-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 24px;
}
.flight-results-head h3 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}
.flight-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.flight-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.airline-logo {
  width: 80px; height: 56px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #d4002b, #b80024);
  border-radius: 10px;
  color: #fff;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.airline-logo::after {
  content: ""; position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
}
.flight-route {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}
.flight-time { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 400; line-height: 1; }
.flight-iata { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.flight-bar {
  position: relative;
  height: 1px; background: var(--line);
  min-width: 140px;
}
.flight-bar::before,
.flight-bar::after {
  content: ""; position: absolute; top: 50%;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink);
  transform: translateY(-50%);
}
.flight-bar::before { left: 0; }
.flight-bar::after { right: 0; }
.flight-bar .plane {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  color: var(--brand);
}
.flight-bar .duration {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--ink-3);
  background: #fff; padding: 0 8px;
  white-space: nowrap;
}
.flight-iata.right { text-align: right; }
.flight-time.right { text-align: right; }
.flight-price {
  text-align: right;
}
.flight-price .amount {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--brand);
}
.flight-price .amount sub { font-size: 14px; color: var(--ink-3); margin-left: 2px; font-family: 'Inter', sans-serif; vertical-align: baseline; }
.flight-price .lbl { font-size: 11px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.1em; }

@media (max-width: 700px) {
  .flight-card { grid-template-columns: 1fr; gap: 16px; }
  .flight-route { grid-template-columns: 1fr 1fr; }
  .flight-bar { display: none; }
}

/* ============================================
   PACKAGES
   ============================================ */
.packages {
  background: var(--paper);
  position: relative;
}
.pkg-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.pkg-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
  display: flex; align-items: center; gap: 8px;
}
.pkg-tab .num {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--brand);
}
.pkg-tab.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.pkg-tab.active .num { color: #fff; }

.pkg-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px) {
  .pkg-grid { grid-template-columns: 1fr; }
}

.pkg-hero {
  position: sticky; top: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.pkg-hero-img {
  position: absolute; inset: 0;
  background-color: #6b3a22;
  background-image: linear-gradient(135deg, #8a3a1f 0%, #c75a32 50%, #ffae7c 100%);
  background-size: cover; background-position: center;
  transition: transform .8s;
}
.pkg-hero:hover .pkg-hero-img { transform: scale(1.04); }
.pkg-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7) 100%);
}
.pkg-hero-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 30px;
  color: #fff;
}
.pkg-hero-info .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
}
.pkg-hero-info h3 {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pkg-hero-info .price {
  display: flex; align-items: end; gap: 8px;
  font-family: 'Fraunces', serif;
  font-size: 30px;
  margin-top: 16px;
}
.pkg-hero-info .price sub { font-size: 14px; color: rgba(255,255,255,.7); font-family: 'Inter', sans-serif; vertical-align: baseline; }
.pkg-badges { display: flex; gap: 8px; margin-top: 14px; }
.pkg-badges .b {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
}

/* timeline */
.timeline {
  position: relative;
  padding-left: 38px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 14px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand), var(--sand-2));
  border-radius: 2px;
}
.tl-day {
  position: relative;
  padding-bottom: 32px;
}
.tl-day:last-child { padding-bottom: 0; }
.tl-marker {
  position: absolute;
  left: -38px; top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  z-index: 2;
}
.tl-day.active .tl-marker {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 6px var(--brand-soft);
}
.tl-content {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  transition: all .25s;
}
.tl-content:hover { border-color: var(--brand); box-shadow: var(--shadow-soft); transform: translateX(4px); }
.tl-day-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.tl-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.tl-desc { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.tl-items {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0; padding: 0; list-style: none;
}
.tl-items li {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--paper-2);
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.tl-items li svg { color: var(--brand); }
.tl-meta {
  display: flex; gap: 16px; align-items: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
}
.tl-meta .pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}

/* ============================================
   CATALOG (activities/restaurants/camps)
   ============================================ */
.catalog {
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.catalog::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z M40 12 L68 40 L40 68 L12 40 Z' fill='none' stroke='%23e1432a' stroke-width='.5' opacity='.08'/%3E%3C/svg%3E");
  opacity: .8;
  pointer-events: none;
}
.catalog > * { position: relative; }

.cat-tabs {
  display: inline-flex;
  background: #fff;
  border-radius: 999px;
  padding: 6px;
  border: 1px solid var(--line);
  margin-bottom: 36px;
  box-shadow: var(--shadow-soft);
}
.cat-tab {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: all .25s;
  display: inline-flex; align-items: center; gap: 8px;
}
.cat-tab .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-3);
}
.cat-tab.active {
  background: var(--brand);
  color: #fff;
}
.cat-tab.active .count { background: rgba(255,255,255,.22); color: #fff; }

.cat-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-chip {
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  transition: all .2s;
}
.filter-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter-chip:hover:not(.active) { border-color: var(--ink-3); }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1200px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cat-grid { grid-template-columns: 1fr; } }
/* Itineraries inherit — same 4-col layout, same card size */
#itineraries .cat-grid.reiseplaner-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1200px) { #itineraries .cat-grid.reiseplaner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { #itineraries .cat-grid.reiseplaner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { #itineraries .cat-grid.reiseplaner-grid { grid-template-columns: 1fr; } }

.cat-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  display: flex; flex-direction: column;
  position: relative;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.cat-img {
  aspect-ratio: 4/3;
  background-color: var(--sand-2);
  background-image: linear-gradient(135deg, var(--sand) 0%, var(--brand-soft) 100%);
  background-size: cover; background-position: center;
  position: relative;
  overflow: hidden;
}
.cat-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.4) 100%);
  opacity: 0; transition: opacity .3s;
}
.cat-card:hover .cat-img::after { opacity: 1; }
.cat-img-content {
  position: absolute; inset: auto 12px 12px;
  z-index: 2;
  display: flex; gap: 6px;
}
.cat-tag {
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.cat-tag.brand { background: var(--brand); color: #fff; }
.cat-fav {
  position: absolute; top: 12px; right: 12px;
  z-index: 2;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  transition: all .2s;
}
.cat-fav:hover { background: #fff; transform: scale(1.1); }
.cat-fav.active { color: var(--brand); }
.cat-body {
  padding: 20px 22px 24px;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
}
.cat-rating {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
}
.cat-rating .stars { color: var(--brand); }
.cat-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.15;
}
.cat-area {
  font-size: 12px;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 4px;
}
.cat-desc { font-size: 14px; color: var(--ink-2); margin: 4px 0; line-height: 1.5; }
.cat-foot {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.cat-price {
  display: flex; flex-direction: column; gap: 2px;
}
.cat-price .amount { font-family: 'Fraunces', serif; font-size: 22px; color: var(--brand); font-weight: 500; }
.cat-price .lbl { font-size: 10px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.1em; }
.cat-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid; place-items: center;
  transition: all .25s;
}
.cat-card:hover .cat-arrow { background: var(--brand); transform: rotate(-45deg); }

/* ============================================
   CARS
   ============================================ */
.cars {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cars::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  opacity: .25;
  pointer-events: none;
}
.cars .section-head h2 { color: #fff; }
.cars .section-head p { color: rgba(255,255,255,.7); }

.car-categories {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.car-cat {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  transition: all .2s;
}
.car-cat.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.car-cat:hover:not(.active) { background: rgba(255,255,255,.1); }

.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .car-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .car-grid { grid-template-columns: 1fr; } }

.car-card {
  background: linear-gradient(135deg, #2a201a, #1a1310);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform .35s, border-color .35s;
}
.car-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.car-card::before {
  content: "";
  position: absolute;
  top: -50%; right: -30%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(225,67,42,.18), transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.car-card:hover::before { opacity: 1; }
.car-img {
  aspect-ratio: 16/10;
  background-color: #2a201a;
  background-image: linear-gradient(135deg, #2a201a 0%, #4a3528 100%);
  background-size: cover; background-position: center;
  border-radius: 12px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.car-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,.35) 100%);
}
.car-cat-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.car-name {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.car-sub {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin: 0 0 18px;
}
.car-specs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.car-spec { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.car-spec svg { color: var(--brand); }
.car-spec span { font-size: 11px; color: rgba(255,255,255,.7); }
.car-foot {
  display: flex; justify-content: space-between; align-items: end;
}
.car-price .amount {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  color: var(--brand);
  font-weight: 500;
}
.car-price .lbl {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.car-book {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.car-book:hover { background: #fff; color: var(--brand); }

/* ============================================
   FORM
   ============================================ */
.form-section {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.form-shell {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 360px 1fr;
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) { .form-shell { grid-template-columns: 1fr; } }

.form-side {
  background: var(--brand);
  color: #fff;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.form-side::before {
  content: "";
  position: absolute; bottom: -50px; right: -50px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.form-side::after {
  content: "";
  position: absolute; top: -30px; left: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.form-side h3 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
  position: relative;
}
.form-side p {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  margin: 0 0 36px;
  position: relative;
}
.form-steps {
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.form-step {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px;
  opacity: .5;
  transition: opacity .3s;
}
.form-step.active { opacity: 1; }
.form-step.done { opacity: .8; }
.form-step .n {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  flex-shrink: 0;
}
.form-step.active .n { background: #fff; color: var(--brand); }
.form-step.done .n { background: #fff; color: var(--brand); }

.form-body {
  padding: 48px;
  position: relative;
}
.form-step-head {
  margin-bottom: 32px;
}
.form-step-head h4 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.form-step-head p { color: var(--ink-3); margin: 0; font-size: 15px; }

.fld {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 18px;
}
.fld label {
  font-size: 13px; font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.fld label .hint { color: var(--ink-3); font-weight: 400; font-size: 12px; }
.fld input, .fld select, .fld textarea {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .fld-row { grid-template-columns: 1fr; } }

.opt-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 700px) { .opt-grid { grid-template-columns: repeat(2, 1fr); } }
.opt-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  padding: 16px 14px;
  cursor: pointer;
  text-align: left;
  transition: all .2s;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
}
.opt-card:hover { border-color: var(--ink-3); }
.opt-card.active {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.opt-card.active::after {
  content: "✓";
  position: absolute; top: 10px; right: 12px;
  color: var(--brand); font-weight: 600;
}
.opt-card .ico { color: var(--brand); }
.opt-card .ttl { font-weight: 600; font-size: 14px; }
.opt-card .sub { font-size: 12px; color: var(--ink-3); }

.form-counter {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: var(--paper);
  border-radius: 12px;
  border: 1px solid var(--line);
}
.form-counter .name { font-weight: 500; font-size: 14px; }
.form-counter .sub { font-size: 12px; color: var(--ink-3); }
.counter-btns { display: flex; align-items: center; gap: 14px; }
.counter-btns button {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all .2s;
}
.counter-btns button:hover { border-color: var(--brand); color: var(--brand); }
.counter-btns .val { font-family: 'Fraunces', serif; font-size: 22px; min-width: 24px; text-align: center; }

.form-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.form-nav .progress { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); }

.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .check {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  margin: 0 auto 24px;
  display: grid; place-items: center;
  animation: pop .6s cubic-bezier(.5,1.5,.3,1.2);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: #fff;
  padding: 100px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "MARRAKECH";
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Fraunces', serif;
  font-size: 30vw;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,.03);
  pointer-events: none;
  white-space: nowrap;
}
.footer > * { position: relative; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 72px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,.5);
  margin: 0 0 18px;
}
.footer-links a {
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  transition: color .2s, padding .2s;
}
.footer-links a:hover { color: var(--brand); padding-left: 6px; }
.footer-tag {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
  max-width: 320px;
  margin: 16px 0 28px;
  line-height: 1.2;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-family: 'JetBrains Mono', monospace;
}

/* ============================================
   REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink); }

::selection { background: var(--brand); color: #fff; }

/* ============================================
   HERO V2 — exclusive, refined
   ============================================ */
.hero-v2 {
  position: relative;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
  background: #1a0703;
  isolation: isolate;
  padding-bottom: 80px;
}
.hero-v2-bg { position: absolute; inset: 0; z-index: 0; }
.hero-v2-img {
  position: absolute; inset: -10% 0 0 0;
  background-size: cover;
  background-position: center 30%;
  filter: saturate(.95) contrast(1.05);
}
.hero-v2-tint {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, transparent 0%, rgba(15,5,3,.28) 60%, rgba(10,3,1,.45) 100%),
    linear-gradient(180deg, rgba(15,5,3,.2) 0%, rgba(10,3,1,.02) 40%, rgba(15,5,3,.42) 100%);
}
.hero-v2-grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  opacity: .5;
}
.hero-v2-sun {
  position: absolute;
  top: 12%; left: 50%;
  width: 280px; height: 280px;
  margin-left: -140px;
  background: radial-gradient(circle, rgba(255,200,140,.7) 0%, rgba(225,67,42,.3) 35%, transparent 70%);
  filter: blur(20px);
  z-index: 1;
  animation: heroSunPulse 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroSunPulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.08); opacity: 1; }
}
.hero-v2-ornament {
  position: absolute;
  width: 90px; height: 150px;
  top: 100px;
  z-index: 2;
  opacity: .8;
  pointer-events: none;
}
.hero-v2-ornament.left { left: 5%; }
.hero-v2-ornament.right { right: 5%; transform: scaleX(-1); }
@media (max-width: 900px) { .hero-v2-ornament { display: none; } }

.hero-v2-content {
  position: relative; z-index: 3;
  padding: 200px 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-v2-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.06);
  animation: heroFade .9s .1s both;
}
.hero-v2-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffd29b; box-shadow: 0 0 10px #ffae7c;
  animation: pulse 1.6s infinite;
}
.hero-v2-hello {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 2.8vw, 38px);
  letter-spacing: -0.01em;
  margin: 28px 0 8px;
  color: rgba(255,255,255,.85);
  animation: heroFade 1s .25s both;
}
.hero-v2-brand {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(56px, 9.4vw, 142px);
  line-height: .95;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
  text-wrap: balance;
  animation: heroFade 1.1s .35s both;
}
.hero-v2-brand span { display: inline-block; margin-right: .25em; }
.hero-v2-brand em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(180deg, #fff 0%, #ffd29b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-v2-sub {
  max-width: 580px;
  font-size: clamp(15px, 1.15vw, 17px);
  color: rgba(255,255,255,.78);
  margin: 0 auto 32px;
  text-wrap: pretty;
  animation: heroFade 1.1s .55s both;
}
.hero-v2-cta {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
  animation: heroFade 1.1s .7s both;
}
.hero-v2-stats {
  display: inline-flex; align-items: center; gap: 36px;
  margin-top: 64px;
  padding: 20px 40px;
  border-top: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  border-radius: 0;
  animation: heroFade 1.1s .85s both;
}
.hero-v2-stats > div { display: flex; flex-direction: column; gap: 2px; align-items: center; }
.hero-v2-stats .num {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-v2-stats .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.55);
}
.hero-v2-stats .sep { width: 1px; height: 24px; background: rgba(255,255,255,.18); }
@media (max-width: 700px) {
  .hero-v2-stats { gap: 18px; padding: 16px 18px; }
  .hero-v2-stats .num { font-size: 20px; }
  .hero-v2-stats .lbl { font-size: 9px; }
}

@keyframes heroFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-v2-scroll {
  position: absolute;
  bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 4;
  width: 22px; height: 36px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 14px;
  display: grid; place-items: start center;
  padding-top: 6px;
  pointer-events: none;
  opacity: .6;
}
.hero-v2-scroll span {
  width: 2px; height: 8px;
  background: #fff;
  border-radius: 1px;
  animation: scrollHint 1.6s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ===== flight help — centered toggle → expanded box ===== */
.hero-flight-cta-wrap {
  width: 100%;
  margin-top: 36px;
  display: flex;
  justify-content: center;
  animation: heroFade 1.1s 1s both;
}
.hero-flight-cta-wrap.expanded {
  justify-content: stretch;
}
.hero-flight-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: rgba(255,255,255,.9);
  padding: 10px 20px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.hero-flight-toggle:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.4);
}
.hero-flight-route {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.hero-flight-arrow-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #ffae7c;
  padding: 4px 10px; background: rgba(255,174,124,.15);
  border-radius: 999px; white-space: nowrap; flex-shrink: 0;
}
.flight-help-close {
  margin-left: auto; background: none; border: none;
  color: rgba(255,255,255,.5); font-size: 18px;
  cursor: pointer; padding: 0 4px; line-height: 1;
  transition: color .15s;
}
.flight-help-close:hover { color: #fff; }
.flight-help-fld.narrow { flex: 0 0 140px; min-width: 130px; }
.flight-pax {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; overflow: hidden;
}
.flight-pax button {
  background: none; border: none; color: rgba(255,255,255,.8);
  width: 36px; height: 38px; font-size: 18px; cursor: pointer;
  transition: background .15s;
}
.flight-pax button:hover { background: rgba(255,255,255,.12); }
.flight-pax span {
  flex: 1; text-align: center; color: #fff; font-size: 15px; font-weight: 600;
}
.fs2 {
  background: rgba(20,12,8,.85);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 24px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  color: #fff;
}
.fs2-head { display: flex; align-items: center; gap: 24px; margin-bottom: 18px; flex-wrap: wrap; }
.fs2-eyebrow {
  display: flex; align-items: center; gap: 18px; flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  flex-wrap: wrap;
}
.fs2-eyebrow .live {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  background: rgba(110, 220, 130, .2);
  border-radius: 999px;
  color: #afebbc;
}
.fs2-eyebrow .live span {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6df27c; box-shadow: 0 0 8px #6df27c;
  animation: pulse 1.4s infinite;
}
.fs2-tabs { display: flex; gap: 6px; }
.fs2-tab {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  transition: all .2s;
}
.fs2-tab.active { background: #fff; color: var(--ink); border-color: #fff; }

.fs2-fields {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr 1fr 160px;
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.fs2-field {
  background: rgba(255,255,255,.04);
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 3px;
  position: relative;
  transition: background .2s;
}
.fs2-field:hover { background: rgba(255,255,255,.07); }
.fs2-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.fs2-field input {
  background: transparent; border: none; padding: 0;
  color: #fff;
  font-size: 15px; font-weight: 500;
  outline: none;
  color-scheme: dark;
}
.fs2-field .code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,.5);
}
.fs2-swap {
  position: absolute;
  right: -16px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  z-index: 5;
  transition: transform .3s;
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
}
.fs2-swap:hover { transform: translateY(-50%) rotate(180deg); }
.fs2-submit {
  background: var(--brand);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s;
}
.fs2-submit:hover { background: var(--brand-deep); }
.spinner-w {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1080px) {
  .fs2-fields { grid-template-columns: 1fr 1fr 1fr; }
  .fs2-submit { grid-column: 1 / -1; padding: 16px; }
  .fs2-swap { display: none; }
}
@media (max-width: 700px) {
  .fs2-fields { grid-template-columns: 1fr 1fr; }
  .hero-v2 { padding-bottom: 60px; }
}

/* ============================================
   NAV — language + currency switchers
   ============================================ */
.nav-ctl {
  display: flex; align-items: center; gap: 6px;
}
.nav-ctl-compact .nav-pill-btn {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  min-width: 0;
  box-shadow: 0 2px 8px rgba(225,67,42,.25);
}
.nav-pill {
  position: relative;
}
.nav-pill-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--brand);
  border: 1px solid var(--brand);
  color: #fff;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 4px 14px rgba(225,67,42,.35);
}
.nav.scrolled .nav-pill-btn,
body:not(.nav-over-hero) .nav-pill-btn {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.nav-pill-btn:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(225,67,42,.45); }
.nav-pill-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow-md);
  z-index: 80;
}
.nav-pill-menu button {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink);
  border-radius: 10px;
  transition: background .15s;
}
.nav-pill-menu button:hover { background: var(--paper-2); }
.nav-pill-menu button.active { background: var(--brand-soft); color: var(--brand); font-weight: 600; }
.nav-pill-menu .flag { font-size: 16px; }
.nav-pill-menu .menu-head {
  padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
}

/* ===== package view-toggle + included grid ===== */
.pkg-view-tabs {
  display: flex; gap: 6px;
  margin-bottom: 24px;
  background: var(--paper-2);
  padding: 6px;
  border-radius: 999px;
  width: fit-content;
}
.pkg-view-tab {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.pkg-view-tab.active { background: var(--ink); color: #fff; }

.pkg-incl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 700px) { .pkg-incl-grid { grid-template-columns: 1fr; } }
.pkg-incl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.pkg-incl-card.not { background: #fffaf6; }
.pkg-incl-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.pkg-incl-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
}
.pkg-incl-icon.yes { background: #def5e5; color: #1a7f44; }
.pkg-incl-icon.no  { background: #fde2dc; color: #b8331e; }
.pkg-incl-head h4 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0;
}
.pkg-incl-card ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.pkg-incl-card li {
  display: flex; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.4;
}
.pkg-incl-card li svg { flex-shrink: 0; margin-top: 3px; color: #1a7f44; }
.pkg-incl-card.not li svg { color: #b8331e; }

.pkg-incl-cta {
  grid-column: 1 / -1;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.pkg-incl-cta > div:first-child { color: #fff; }
.pkg-incl-cta .btn-primary { padding: 14px 24px; }

/* ===== Make Your Own tab ===== */
.pkg-tab-custom { border: 1.5px dashed rgba(225,67,42,.5) !important; }
.pkg-tab-custom.active { border-color: var(--brand) !important; }
.pkg-custom-cta {
  background: linear-gradient(135deg, #1a0905 0%, #2e0f08 60%, #1a0905 100%);
  border-radius: var(--radius); padding: 64px 48px;
  border: 1px solid rgba(225,67,42,.25);
  text-align: center; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.pkg-custom-inner { max-width: 560px; }

/* ===== Terms & Refund ===== */
.pkg-terms {
  display: flex; flex-direction: column; gap: 28px;
  padding: 8px 0;
}
.pkg-terms-block h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.5); margin: 0 0 14px; font-weight: 500;
}
.terms-table {
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px; overflow: hidden;
}
.terms-row {
  display: grid; grid-template-columns: 1fr 1fr;
  padding: 11px 16px; border-bottom: 1px solid rgba(255,255,255,.07);
  font-size: 14px; color: rgba(255,255,255,.85);
}
.terms-row:last-child { border-bottom: none; }
.terms-row.head {
  background: rgba(255,255,255,.05);
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.45);
}
.terms-row .bad { color: #ff7c7c; font-weight: 500; }
.terms-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.terms-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5;
}
.terms-list li svg { flex-shrink: 0; color: #6df27c; margin-top: 2px; }
.pkg-terms-block p {
  font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.65; margin: 0;
}
.pkg-terms-note {
  display: flex; align-items: flex-start; gap: 10px;
  background: rgba(255,255,255,.04); border-radius: 8px;
  padding: 14px 16px; font-size: 12px;
  color: rgba(255,255,255,.45); line-height: 1.5;
  border: 1px solid rgba(255,255,255,.08);
}
.pkg-terms-note svg { flex-shrink: 0; margin-top: 1px; }

/* ===== Catalog v2 tabs ===== */
.cat-tabs-v2 {
  display: flex; gap: 6px; flex-wrap: nowrap;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
}
.cat-tabs-v2::-webkit-scrollbar { height: 4px; }
.cat-tabs-v2::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
/* In the itineraries section, force everything onto a single tight line */
#itineraries .cat-tabs-v2 .cat-tab-v2 {
  flex: 0 1 auto;
  min-width: 0;
  padding: 9px 12px;
  font-size: 12.5px;
  gap: 6px;
  white-space: nowrap;
}
#itineraries .cat-tabs-v2 .cat-tab-v2 .count {
  padding: 1px 6px;
  font-size: 9.5px;
}
#itineraries .reiseplaner-special-tab {
  padding: 9px 14px;
}
@media (max-width: 900px) {
  #itineraries .cat-tabs-v2 .cat-tab-v2 { font-size: 11px; padding: 7px 10px; }
}

/* Full-width Lag din reise CTA below the tab row, in our featured brand color */
.reiseplaner-cta-bar {
  margin: 6px 0 28px;
}
.reiseplaner-cta-tab-full {
  display: block; width: 100%;
  padding: 14px 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep, #b8331e) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(225,67,42,.35);
  letter-spacing: .01em;
  transition: transform .15s, box-shadow .15s;
}
.reiseplaner-cta-tab-full:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(225,67,42,.45);
}
.cat-tab-v2 {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  background: transparent;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s;
  flex: 1;
  min-width: 140px;
  justify-content: center;
}
.cat-tab-v2 .ico { display: grid; place-items: center; opacity: .7; transition: opacity .2s; }
.cat-tab-v2 .count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink-3);
}
.cat-tab-v2:hover { background: var(--paper-2); color: var(--ink); }
.cat-tab-v2:hover .ico { opacity: 1; }
.cat-tab-v2.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(225,67,42,.3);
}
.cat-tab-v2.active .ico { opacity: 1; }
.cat-tab-v2.active .count { background: rgba(255,255,255,.22); color: #fff; }
@media (max-width: 900px) {
  .cat-tab-v2 { min-width: auto; flex: 1 1 calc(50% - 8px); padding: 10px 14px; }
  .cat-tab-v2 span:not(.ico):not(.count) { font-size: 12px; }
}

/* logo image variant */
.nav-logo .logo-img {
  width: 40px; height: 40px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
}

/* hero v2 — rotating images */
.hero-v2-bg .hero-v2-img {
  position: absolute;
  inset: -10% 0 0 0;
  background-size: cover;
  background-position: center 30%;
  filter: saturate(.95) contrast(1.05);
  opacity: 0;
  transition: opacity 1.6s ease, transform 8s linear;
}
.hero-v2-bg .hero-v2-img.active { opacity: 1; }

/* ============================================
   LIVE ITINERARY BUILDER
   ============================================ */
.itin-section {
  background: linear-gradient(180deg, var(--paper) 0%, var(--sand) 100%);
  position: relative;
}
.itin-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 1080px) {
  .itin-shell { grid-template-columns: 1fr; }
}

.itin-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 30px 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
  height: 860px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
}
/* Preview grows with its content so the whole page scrolls through it */
.itin-preview {
  height: auto;
  max-height: none;
  overflow: visible;
}
@media (max-width: 1080px) {
  .itin-form { position: static; height: auto; max-height: none; }
}

.itin-form .itin-stepper { margin-bottom: 18px; padding-bottom: 16px; flex-shrink: 0; }
.itin-form .itin-q { font-size: 20px; margin: 0 0 16px; }
.itin-form .form-nav { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); flex-shrink: 0; }
.itin-form .itin-ctx-banner { flex-shrink: 0; margin-bottom: 12px; }

.itin-stepper {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.itin-step-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  transition: all .2s;
}
.itin-step-pill .n {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  border: 1px solid var(--line);
}
.itin-step-pill:hover { background: #fff; color: var(--ink); border-color: var(--line); }
.itin-step-pill.active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.itin-step-pill.active .n { background: var(--brand); color: #fff; border-color: var(--brand); }
.itin-step-pill.done .n { background: var(--brand); color: #fff; border-color: var(--brand); }
.itin-step-pill.done { color: var(--brand); }

.itin-step-body {
  animation: itinFade .35s ease;
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;       /* room for scrollbar */
}
.itin-step-body::-webkit-scrollbar { width: 6px; }
.itin-step-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.itin-step-body::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

/* Tighter cards inside the form so everything fits */
.itin-form .opt-card { padding: 10px 12px; gap: 4px; min-height: 0; }
.itin-form .opt-card .ttl { font-size: 13px; }
.itin-form .opt-card .sub { font-size: 11px; line-height: 1.3; }
.itin-form .opt-card .ico { font-size: 16px; }
.itin-form .opt-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
@media (max-width: 700px) { .itin-form .opt-grid { grid-template-columns: repeat(2, 1fr); } }
.itin-form .form-counter { padding: 10px 12px; }
.itin-form .form-counter .name { font-size: 13px; }
.itin-form .form-counter .sub  { font-size: 11px; }
.itin-form .fld label { font-size: 11px; }
.itin-form .fld input,
.itin-form .fld select,
.itin-form .fld textarea { padding: 8px 10px; font-size: 13px; }
.itin-form .rcal { padding: 10px 12px; }
.itin-form .rcal-months { gap: 14px; }
.itin-form .rcal-cell { font-size: 12px; }
.itin-form .rental-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
.itin-form .rental-card img { height: 64px; }
@keyframes itinFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.itin-q {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}

.itin-counter-grid { display: flex; flex-direction: column; gap: 10px; }

/* ----- RIGHT — live preview ----- */
.itin-preview {
  background: linear-gradient(160deg, #1a1310 0%, #2a1410 50%, #b8331e 200%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 30px 80px rgba(26,19,16,.25);
  position: relative;
  overflow: hidden;
  min-height: 600px;
}
.itin-preview::before {
  content: "";
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(225,67,42,.32), transparent 70%);
  pointer-events: none;
}
.itin-preview::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 3px 3px;
  pointer-events: none;
}
.itin-preview > * { position: relative; z-index: 1; }
.itin-preview-head {
  display: flex; justify-content: space-between; align-items: start; gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.itin-preview-meta {
  display: flex; gap: 14px;
  text-align: right;
}
.itin-preview-meta > div {
  display: flex; flex-direction: column; gap: 2px;
}
.itin-preview-meta .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.55);
}
.itin-preview-meta .val {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
}

.itin-timeline {
  position: relative;
  padding-left: 30px;
  max-height: 720px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.itin-timeline::-webkit-scrollbar { width: 5px; }
.itin-timeline::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 5px; }
.itin-timeline::before {
  content: "";
  position: absolute;
  left: 10px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, #ffae7c, rgba(255,174,124,.1));
  border-radius: 2px;
}
.itin-day {
  position: relative;
  padding-bottom: 16px;
  animation: itinDayIn .45s ease both;
}
@keyframes itinDayIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.itin-marker {
  position: absolute;
  left: -30px; top: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand);
  border: 2px solid #1a1310;
  display: grid; place-items: center;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(225,67,42,.25);
}
.itin-marker .day-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}

.itin-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 16px 18px;
  transition: background .2s, transform .2s;
}
.itin-card:hover { background: rgba(255,255,255,.09); transform: translateX(2px); }
.itin-card-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.itin-card-ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,174,124,.18);
  color: #ffae7c;
  display: grid; place-items: center;
}
.itin-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.6);
}
.itin-card-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  color: #fff;
}
.itin-card-desc {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.4;
  margin: 0 0 10px;
}
.itin-card-chips {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin-bottom: 10px;
}
.itin-chip {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
}
.itin-card-foot {
  display: flex; gap: 14px;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.itin-card-foot span { display: inline-flex; align-items: center; gap: 6px; }

/* ============================================
   DURATION SLIDER
   ============================================ */
.dur-display {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 28px;
  padding: 20px 24px;
  background: var(--sand);
  border-radius: 16px;
  border: 1px solid var(--border);
  min-height: 76px;
  align-items: center;
}
.dur-num {
  font-family: 'Fraunces', serif;
  font-size: 56px;
  font-weight: 500;
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.03em;
}
.dur-right { display: flex; flex-direction: column; gap: 3px; }
.dur-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.dur-nights {
  font-size: 13px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.03em;
}
.dur-zero {
  font-size: 15px;
  color: var(--ink-3);
  font-style: italic;
}
.dur-slider-wrap {
  position: relative;
  padding-bottom: 28px;
  margin-bottom: 20px;
}
.dur-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand) calc(var(--val, 23.3%) ), var(--border) calc(var(--val, 23.3%)));
  outline: none;
  cursor: pointer;
}
.dur-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(225,67,42,.5);
  cursor: grab;
  transition: box-shadow .15s, transform .15s;
}
.dur-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.15); box-shadow: 0 4px 16px rgba(225,67,42,.6); }
.dur-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(225,67,42,.5);
  cursor: grab;
}
.dur-ticks {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 20px;
}
.dur-tick {
  position: absolute;
  transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--ink-3);
}
.dur-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dur-preset {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.dur-preset:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.dur-preset.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ============================================
   ITINERARY TIMELINE (new)
   ============================================ */
.itin-tl {
  padding: 4px 0 8px;
  max-height: 720px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.itin-tl::-webkit-scrollbar { width: 5px; }
.itin-tl::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 5px; }
.itin-tl-row {
  display: flex;
  gap: 0;
  animation: tlRowIn .5s ease both;
}
@keyframes tlRowIn {
  from { opacity: 0; transform: translateX(-14px); }
  to { opacity: 1; transform: translateX(0); }
}
.itin-tl-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 44px;
  padding-top: 4px;
}
.itin-tl-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,174,124,.15);
  border: 1.5px solid rgba(255,174,124,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 0 0 5px rgba(255,174,124,.08);
  transition: transform .2s;
}
.itin-tl-row:hover .itin-tl-dot { transform: scale(1.12); }
.itin-tl-line {
  width: 2px;
  flex: 1;
  min-height: 16px;
  background: linear-gradient(180deg, rgba(255,174,124,.4), rgba(255,174,124,.07));
  margin: 4px 0;
  border-radius: 2px;
}
.itin-tl-card {
  flex: 1;
  padding: 10px 14px 18px;
}
.itin-tl-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.itin-tl-day-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffae7c;
}
.itin-tl-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.04em;
}
.itin-tl-title {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.itin-tl-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.45;
  margin-bottom: 8px;
}
.itin-tl-stay {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,.45);
}

/* ============================================
   TIMELINE FLOATING EMOJIS + EMPTY STATE
   ============================================ */
.itin-floats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.itin-float {
  position: absolute;
  bottom: -30px;
  animation: floatUp linear infinite;
  opacity: 0;
  user-select: none;
}
@keyframes floatUp {
  0%   { transform: translateY(0) rotate(-10deg); opacity: 0; }
  10%  { opacity: .18; }
  85%  { opacity: .12; }
  100% { transform: translateY(-110%) rotate(10deg); opacity: 0; }
}
.itin-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 60px 24px;
  text-align: center;
}
.itin-empty-icon { font-size: 52px; line-height: 1; animation: emptyBob 3s ease-in-out infinite; }
@keyframes emptyBob {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}
.itin-empty p {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  max-width: 260px;
  line-height: 1.5;
  margin: 0;
}

/* ============================================
   INSTAGRAM (follow-only)
   ============================================ */
.ig-follow-wrap { padding: 20px 0; }

/* ============================================
   INSTAGRAM (legacy grid — kept for reference)
   ============================================ */
.ig {
  background: var(--paper);
  padding-bottom: 80px;
}
.ig-header {
  display: flex; justify-content: center;
  margin-bottom: 28px;
}
.ig-handle {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 22px 14px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  max-width: 560px;
  width: 100%;
  transition: transform .2s, box-shadow .2s;
}
.ig-handle:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.ig-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fdf497, #fd5949 50%, #d6249f 75%, #285AEB 100%);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ig-name {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ig-count { font-size: 12px; color: var(--ink-3); }
@media (max-width: 600px) {
  .ig-handle { flex-wrap: wrap; }
  .ig-handle .btn { width: 100%; justify-content: center; margin-left: 0 !important; }
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 980px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }

.ig-post {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  display: block;
}
.ig-post img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.ig-post:hover img { transform: scale(1.06); }
.ig-post-hover {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.7) 100%);
  color: #fff;
  padding: 16px;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 6px;
  opacity: 0;
  transition: opacity .25s;
}
.ig-post:hover .ig-post-hover { opacity: 1; }
.ig-hover-stats {
  display: flex; gap: 14px;
  font-size: 13px;
  font-weight: 500;
}
.ig-hover-stats span { display: inline-flex; align-items: center; gap: 6px; }
.ig-hover-cap { font-size: 13px; font-style: italic; font-family: 'Fraunces', serif; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  background: var(--paper);
  padding-bottom: 140px;
}
.contact-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 540px;
  position: relative;
}
.contact-card::before {
  content: "";
  position: absolute; top: -80px; left: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(225,67,42,.4), transparent 65%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .contact-card { grid-template-columns: 1fr; }
}

.contact-info {
  padding: 56px;
  position: relative;
  color: #fff;
}
@media (max-width: 600px) { .contact-info { padding: 36px 28px; } }

.contact-rows {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px;
}
.contact-row {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  transition: all .2s;
}
.contact-row[href]:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,174,124,.4);
}
.contact-row-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(225,67,42,.2);
  color: var(--brand);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-row-lbl {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,.5);
}
.contact-row-val {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.contact-cta-row {
  display: flex; gap: 10px; flex-wrap: wrap;
}

.contact-map {
  position: relative;
  background: #2a1410;
  min-height: 320px;
}
.contact-map iframe {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  filter: saturate(.7) hue-rotate(-12deg) brightness(.95) contrast(1.05);
}
.contact-map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  pointer-events: none;
}
.pin-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--brand);
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(225,67,42,.6);
  position: relative;
}
.pin-dot::after {
  content: ""; position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  animation: pinPulse 2s infinite;
}
@keyframes pinPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
.pin-label {
  background: var(--ink);
  color: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* footer contact list */
.footer-contact-list {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 24px;
}
.footer-contact-list a, .footer-contact-list span {
  display: inline-flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.75);
  font-size: 14px;
  transition: color .2s;
}
.footer-contact-list a:hover { color: var(--brand); }

/* ============================================
   INSTAGRAM SCROLL WIDGET
   ============================================ */
.ig-scroll-widget {
  position: fixed;
  right: 24px;
  bottom: 110px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
  transition: opacity .4s ease, transform .4s ease;
}
.ig-scroll-widget.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.ig-scroll-btn {
  position: relative;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(220,39,67,.45);
  transition: transform .2s, box-shadow .2s;
  z-index: 2;
}
.ig-scroll-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(220,39,67,.55); }
.ig-scroll-icon { display: block; }
.ig-scroll-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #dc2743;
  animation: igDotPulse 2s ease-in-out infinite;
}
@keyframes igDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}
.ig-scroll-ring {
  position: absolute;
  inset: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid rgba(220,39,67,.5);
  animation: igRingExpand 2.4s ease-out infinite;
  pointer-events: none;
  z-index: 1;
}
.ig-scroll-ring-2 { animation-delay: 1.2s; }
@keyframes igRingExpand {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(2.2); opacity: 0; }
}
.ig-scroll-popup {
  background: #fff;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 12px 48px rgba(0,0,0,.16);
  width: 230px;
  animation: igPopupIn .25s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes igPopupIn {
  from { opacity: 0; transform: scale(.85) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.ig-scroll-popup-head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
}
.ig-scroll-avatar {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
  padding: 2px;
  flex-shrink: 0;
}
.ig-scroll-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; }
.ig-scroll-name { font-weight: 700; font-size: 13px; color: var(--ink); }
.ig-scroll-followers { font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.ig-scroll-desc { font-size: 12px; color: var(--ink-2); line-height: 1.5; margin: 0 0 12px; }
.ig-scroll-cta {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; padding: 10px 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity .15s, transform .15s;
}
.ig-scroll-cta:hover { opacity: .9; transform: translateY(-1px); }

/* ============================================
   WHATSAPP FLOATING WIDGET
   ============================================ */
.wa-widget {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 12px;
}
.wa-btn {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.5);
  position: relative;
  transition: transform .25s;
}
.wa-btn:hover { transform: scale(1.08); }
.wa-pulse {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2s infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wa-hint {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
  gap: 2px;
  max-width: 240px;
  position: relative;
  animation: waHintIn .4s ease;
}
.wa-hint::after {
  content: "";
  position: absolute;
  right: 24px; bottom: -8px;
  width: 16px; height: 16px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.wa-hint strong { font-size: 14px; }
.wa-hint span { font-size: 12px; color: var(--ink-3); }
@keyframes waHintIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.wa-panel {
  background: #fff;
  border-radius: 18px;
  width: 320px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  overflow: hidden;
  animation: waHintIn .35s ease;
}
.wa-panel-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: #075e54;
  color: #fff;
}
.wa-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand);
  display: grid; place-items: center;
}
.wa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-panel-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.wa-panel-info strong { font-size: 14px; }
.wa-panel-info span { font-size: 11px; opacity: .75; display: inline-flex; align-items: center; gap: 6px; }
.wa-online { width: 8px; height: 8px; border-radius: 50%; background: #4ee06f; animation: pulse 1.4s infinite; }
.wa-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  display: grid; place-items: center;
}
.wa-bubble {
  background: #ece5dd;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L20 0 L40 20 L20 40 Z' fill='%23dad3c8' fill-opacity='.4'/%3E%3C/svg%3E");
  padding: 22px 18px;
}
.wa-bubble {
  font-size: 13px;
  color: var(--ink);
}
.wa-bubble {
  background: #ece5dd;
}
.wa-bubble {
  position: relative;
}
.wa-bubble::before {
  content: "";
  display: block;
  background: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  max-width: 240px;
  box-shadow: 0 1px 1px rgba(0,0,0,.1);
}
.wa-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 14px;
  font-weight: 500;
  font-size: 14px;
}
.wa-cta:hover { background: #1eb952; }

@media (max-width: 600px) {
  .wa-widget { bottom: 16px; right: 16px; }
  .wa-btn { width: 54px; height: 54px; }
  .wa-btn svg { width: 24px; height: 24px; }
  .wa-panel { width: calc(100vw - 32px); max-width: 320px; }
}

/* Use simpler wa-bubble without ::before tricks */
.wa-bubble { padding: 18px; font-size: 13px; line-height: 1.4; color: var(--ink); }
.wa-bubble::before { display: none !important; }

/* ── Flight help box ── */
.flight-help-box {
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 16px;
  padding: 20px 24px;
  max-width: 760px;
  width: 100%;
}
.flight-help-head {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 16px;
}
.flight-help-icon { font-size: 28px; line-height: 1; }
.flight-help-title {
  font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 3px;
}
.flight-help-sub { font-size: 13px; color: rgba(255,255,255,.7); }
.flight-help-fields {
  display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap;
}
.flight-help-fld { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 120px; }
.flight-help-fld label { font-size: 11px; color: rgba(255,255,255,.6); font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
.flight-help-fld input {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px; padding: 9px 12px; color: #fff; font-size: 14px;
  outline: none; width: 100%;
}
.flight-help-fld input:focus { border-color: rgba(255,255,255,.5); }
.flight-help-fld input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .6; }
.flight-help-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--terra); color: #fff;
  padding: 10px 20px; border-radius: 8px; border: none;
  font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.flight-help-btn:hover { background: #c8521e; }
.flight-help-sent {
  display: flex; align-items: center; gap: 10px;
  color: #7fe8a0; font-size: 14px; font-weight: 500; padding: 6px 0;
}

/* ── Vilkår black text ── */
.pkg-terms {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  color: #1a0a05;
}
.pkg-terms h3, .pkg-terms h4 { color: #1a0a05; }
.pkg-terms p, .pkg-terms li { color: #3a2a22; }
.pkg-terms .terms-list li { color: #3a2a22; }
.pkg-terms .terms-contact a, .pkg-terms .terms-contact span { color: #3a2a22; }
.pkg-terms .terms-contact a:hover { color: var(--terra); }
.pkg-terms .terms-row { color: #3a2a22; }
.pkg-terms .terms-row.head { color: #1a0a05; font-weight: 700; }
.pkg-terms .terms-row .bad { color: #c0392b; }
.pkg-terms .terms-row .good { color: #27ae60; }
.pkg-terms .pkg-terms-note { color: rgba(26,10,5,.6); border-color: rgba(26,10,5,.15); }
.pkg-terms .pkg-terms-note span { color: rgba(26,10,5,.65); }
.pkg-terms .pkg-incl-head h4, .pkg-terms-header h3 { color: #1a0a05; }
.pkg-terms .terms-table { border-color: rgba(26,10,5,.12); }
.pkg-terms .terms-row { border-color: rgba(26,10,5,.08); }

/* ── Duration package cards ── */
.dur-pkg-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
@media (max-width: 900px) { .dur-pkg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .dur-pkg-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
.dur-pkg-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 3px;
  padding: 14px 8px;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.dur-pkg-card:hover { border-color: var(--terra); background: rgba(224,107,60,.08); }
.dur-pkg-card.active { border-color: var(--terra); background: rgba(224,107,60,.14); box-shadow: 0 0 0 3px rgba(224,107,60,.18); }
.dur-pkg-days { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 500; color: var(--ink); line-height: 1; }
.dur-pkg-card.active .dur-pkg-days { color: var(--terra); }
.dur-pkg-nights { font-size: 11px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace; }
.dur-pkg-label { font-size: 11px; font-weight: 600; color: var(--ink-2); margin-top: 4px; }
.dur-pkg-sub { font-size: 10px; color: var(--ink-3); font-style: italic; }

/* ── Terms contact block ── */
.terms-contact {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 10px; padding: 12px 14px;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
}
.terms-contact a, .terms-contact span {
  font-size: 13px; color: rgba(255,255,255,.75);
  text-decoration: none; font-family: 'JetBrains Mono', monospace;
}
.terms-contact a:hover { color: #ffae7c; text-decoration: underline; }
.terms-row .good { color: #7fe8a0; font-weight: 600; }

/* ── Terms header ── */
.pkg-terms-header { margin-bottom: 16px; }

/* ── Already booked checkboxes ── */
.already-booked-check {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; padding: 10px 14px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 10px;
}
.already-booked-check input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0;
  accent-color: var(--terra); cursor: pointer;
}
.already-booked-check span { font-size: 14px; color: var(--ink-2); }
.already-booked-group { display: flex; flex-direction: column; gap: 0; }

/* ============================================
   TIMELINE TIMES
   ============================================ */
.tl-time {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: #ffae7c;
  background: rgba(255,174,124,.12);
  border: 1px solid rgba(255,174,124,.2);
  border-radius: 4px;
  padding: 1px 5px;
  margin-right: 5px;
  vertical-align: middle;
  flex-shrink: 0;
}
.tl-items li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ============================================
   PACKAGE MAP OVERLAY (Morocco route)
   ============================================ */
.pkg-map-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 130px;
  height: 104px;
  background: rgba(10,5,3,.65);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}
.pkg-map-overlay svg { width: 100%; height: 100%; }
.pkg-map-land {
  fill: rgba(255,255,255,.1);
  stroke: rgba(255,255,255,.25);
  stroke-width: .8;
}
.pkg-map-route {
  stroke: #ffae7c;
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pkg-map-dot {
  fill: rgba(255,174,124,.3);
  stroke: #ffae7c;
  stroke-width: 1.2;
}
.pkg-map-dot.first { fill: #ffae7c; stroke: #fff; stroke-width: 1; }
.pkg-map-dot.last  { fill: #e1432a; stroke: #fff; stroke-width: 1; }
.pkg-map-label {
  fill: rgba(255,255,255,.85);
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ============================================
   CATALOG MODAL
   ============================================ */
.cat-modal-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(26,19,16,.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .2s ease;
}
.cat-modal {
  background: #fff;
  border-radius: 20px;
  width: min(640px, 96vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(26,19,16,.35);
  position: relative;
  animation: slideUp .25s ease;
}
.cat-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  transition: background .2s;
}
.cat-modal-close:hover { background: rgba(0,0,0,.6); }
.cat-modal-img {
  height: 260px;
  background-size: cover; background-position: center;
  border-radius: 20px 20px 0 0;
  position: relative;
}
.cat-modal-tag {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.cat-modal-body { padding: 28px 32px 32px; }
.cat-modal-rating {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px; font-size: 14px;
}
.cat-modal-rating .stars { color: #ffb800; }
.cat-modal-reviews { color: var(--ink-3); }
.cat-modal-title {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.1;
  margin: 0 0 8px;
  color: var(--ink);
}
.cat-modal-area {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; color: var(--ink-3);
  margin-bottom: 16px;
}
.cat-modal-desc {
  font-size: 15px; line-height: 1.65;
  color: var(--ink-2); margin: 0 0 20px;
}
.cat-modal-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.cat-modal-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; font-size: 13px;
  color: var(--ink-2);
}
.cat-modal-price-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 20px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.cat-modal-cta { padding: 13px 22px; font-size: 15px; }
.cat-modal-atmosphere {
  font-size: 13px; color: var(--ink-3); font-style: italic;
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 16px; padding: 10px 12px;
  background: var(--paper-2); border-radius: 8px;
  border: 1px solid var(--line);
}
.cat-modal-perfect {
  margin: 0 0 16px;
}
.cat-modal-perfect-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cat-modal-perfect-chip {
  display: inline-flex; align-items: center;
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px;
  font-size: 12px; color: var(--ink-2);
}
.cat-duration {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--ink-3); margin-top: 3px;
  font-family: 'JetBrains Mono', monospace;
}
.cat-modal-duration {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-3); margin: 2px 0 10px;
  font-family: 'JetBrains Mono', monospace;
}
.cat-modal-wto {
  font-size: 13.5px; color: var(--ink-2);
  background: var(--paper-2); border-left: 2px solid #e0432a;
  padding: 10px 14px; margin: 0 0 16px; line-height: 1.5;
}
.cat-modal-wto strong {
  color: #e0432a; font-weight: 600; margin-right: 4px;
}
.cat-modal-perk {
  display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(135deg, rgba(225,67,42,.08), rgba(225,67,42,.03));
  border: 1px solid rgba(225,67,42,.25);
  border-radius: 10px; padding: 10px 14px;
  margin: 0 0 16px;
}
.cat-modal-perk-label {
  font-size: 10.5px; letter-spacing: 1.2px; text-transform: uppercase;
  color: #e0432a; font-family: 'JetBrains Mono', monospace; font-weight: 600;
}
.cat-modal-perk-text {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.45;
}
.cat-modal-practical {
  margin: 0 0 16px;
}
.cat-modal-practical-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 5px;
}
.cat-modal-practical-list li {
  font-size: 12.5px; color: var(--ink-3);
  padding: 5px 10px 5px 14px;
  border-left: 2px solid var(--line);
  line-height: 1.4;
}
.cat-modal-included {
  margin: 0 0 16px;
}
.cat-modal-included-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.cat-modal-included-list li {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--ink-2);
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 6px 12px;
}
.cat-modal-included-list li svg {
  color: #2a7c5a; flex-shrink: 0;
}
.cat-modal-offers {
  margin: 0 0 20px;
}
.cat-modal-offers-title {
  font-size: 11px; font-family: 'JetBrains Mono', monospace; letter-spacing: .08em;
  text-transform: uppercase; color: #e0432a; margin-bottom: 10px;
}
.cat-modal-offers-list {
  display: flex; flex-direction: column; gap: 6px;
}
.cat-modal-offer-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px; background: var(--paper-2);
  border-radius: 8px; font-size: 14px; color: var(--ink-2);
  border: 1px solid var(--line);
}
.cat-modal-offer-price {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  color: #e0432a; white-space: nowrap; font-weight: 600;
}
@media (max-width: 600px) {
  .cat-modal-body { padding: 20px; }
  .cat-modal-title { font-size: 22px; }
  .cat-modal-price-row { flex-direction: column; align-items: flex-start; }
  .cat-modal-cta { width: 100%; justify-content: center; }
}

/* ============================================
   AUTH MODAL
   ============================================ */
.auth-backdrop {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(26,19,16,.8);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn .25s ease;
}
.auth-modal {
  background: #fff;
  border-radius: 22px;
  width: min(440px, 96vw);
  padding: 40px 36px;
  box-shadow: 0 32px 80px rgba(26,19,16,.35);
  position: relative;
  animation: slideUp .3s ease;
  text-align: center;
}
.auth-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--paper-2); color: var(--ink-3);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.auth-close:hover { background: var(--line); }
.auth-logo img {
  width: 54px; height: 54px;
  border-radius: 14px; object-fit: cover;
  margin: 0 auto 18px;
  display: block;
}
.auth-title {
  font-family: 'Fraunces', serif;
  font-size: 24px; font-weight: 400;
  letter-spacing: -0.02em; margin: 0 0 10px;
  color: var(--ink);
}
.auth-sub {
  font-size: 14px; color: var(--ink-3);
  line-height: 1.55; margin: 0 0 24px;
}
.auth-google-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px; border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff; color: var(--ink);
  font-size: 15px; font-weight: 500;
  transition: border-color .2s, box-shadow .2s;
  cursor: pointer;
  margin-bottom: 16px;
}
.auth-google-btn:hover { border-color: var(--ink-3); box-shadow: var(--shadow-soft); }
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0; color: var(--ink-3); font-size: 12px;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--line);
}
.auth-row { display: flex; gap: 10px; }
.auth-alt-btn { flex: 1; justify-content: center; }
.auth-skip {
  display: block; margin-top: 20px;
  font-size: 12px; color: var(--ink-3);
  cursor: pointer;
  transition: color .2s;
}
.auth-skip:hover { color: var(--ink); }
.auth-back {
  display: block; text-align: left;
  font-size: 13px; color: var(--ink-3);
  margin-bottom: 20px; cursor: pointer;
}
.auth-fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.auth-err { font-size: 13px; color: var(--brand); margin: 0; }
.auth-switch { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.auth-switch button { color: var(--brand); cursor: pointer; text-decoration: underline; }

/* Auth nav widget */
.auth-widget-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 500;
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.35);
  transition: all .2s;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.auth-widget-btn:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.nav:not(.over-hero) .auth-widget-btn {
  color: var(--ink); background: transparent; border-color: var(--line);
}
.nav:not(.over-hero) .auth-widget-btn:hover { background: var(--paper-2); border-color: var(--ink-3); }
/* Itinerary builder gets the soft brand wash as background */
.itin-section { background: var(--brand-soft, #fbe4dc) !important; }
.itin-section .itin-shell { background: #fff; }

.period-summary {
  margin-top: 10px; padding: 8px 14px;
  background: #fff; border: 1px solid var(--brand);
  border-radius: 10px;
  display: inline-block;
  font-size: 13px; color: var(--brand-deep, #b8331e); font-weight: 600;
}

/* Taste-step categorized sections */
.taste-section { margin-top: 18px; }
.taste-section:first-child { margin-top: 4px; }
.taste-section-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink); margin-bottom: 10px;
}
.taste-section-meta {
  font-size: 11px; color: var(--ink-3);
  background: var(--paper-2); padding: 2px 8px; border-radius: 999px;
  font-weight: 500; letter-spacing: 0;
}
.taste-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px; }
.taste-more {
  margin-top: 6px; font-size: 12px; font-weight: 600;
  background: transparent; border: none; color: var(--brand);
  cursor: pointer; padding: 4px 0;
}
.taste-more:hover { text-decoration: underline; }
.taste-chip {
  font-size: 12px; padding: 7px 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; cursor: pointer; color: var(--ink);
  transition: all .15s; text-align: left; line-height: 1.2;
}
.taste-chip:hover { border-color: var(--brand); }
.taste-chip.active {
  background: var(--brand); color: #fff; border-color: var(--brand);
}

/* ─── Range calendar (booking.com style) ─── */
.rcal { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; position: relative; }
.rcal-bar { position: absolute; top: 16px; right: 18px; display: flex; gap: 6px; z-index: 2; }
.rcal-nav {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--ink);
}
.rcal-nav:hover { background: var(--paper-2); border-color: var(--brand); }
.rcal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 720px) { .rcal-months { grid-template-columns: 1fr; gap: 16px; } }
.rcal-month-head {
  text-align: center; font-weight: 600; font-size: 14px; margin-bottom: 10px;
  text-transform: capitalize; color: var(--ink);
}
.rcal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.rcal-wd {
  font-size: 11px; text-align: center; padding: 4px 0;
  color: var(--ink-3); font-weight: 600;
}
.rcal-cell {
  aspect-ratio: 1; border: none; background: transparent;
  font-size: 13px; color: var(--ink); cursor: pointer;
  border-radius: 8px; padding: 0;
  transition: background .12s, color .12s;
}
.rcal-cell:not(:disabled):hover { background: var(--brand-soft); }
.rcal-cell.past { color: #ccc; cursor: not-allowed; }
.rcal-cell.start, .rcal-cell.end {
  background: var(--brand) !important; color: #fff; font-weight: 700;
  border-radius: 8px;
}
.rcal-cell.in, .rcal-cell.in-hover {
  background: var(--brand-soft); color: var(--brand-deep, #b8331e);
  border-radius: 0;
}
.rcal-cell.in-hover { opacity: .7; }

/* ─── Multi-city stops ─── */
.multicity-toggle { display: flex; gap: 8px; margin: 6px 0 10px; }
.mc-toggle {
  flex: 1; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.mc-toggle.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.multicity-stops { display: flex; flex-direction: column; gap: 8px; }
.mc-stop {
  display: grid; grid-template-columns: 1fr auto auto; gap: 8px;
  align-items: center;
  padding: 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
}
.mc-stop select {
  border: none; background: transparent; font-size: 14px; font-weight: 500;
  color: var(--ink); cursor: pointer;
}
.mc-night-ctrl { display: inline-flex; align-items: center; gap: 8px; }
.mc-night-ctrl button {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 14px; line-height: 1;
}
.mc-night-ctrl button:hover { border-color: var(--brand); color: var(--brand); }
.mc-night-ctrl span { font-size: 13px; font-weight: 600; min-width: 36px; text-align: center; }
.mc-remove {
  width: 26px; height: 26px; border-radius: 50%;
  border: none; background: transparent; color: var(--ink-3);
  cursor: pointer; font-size: 12px;
}
.mc-remove:hover { color: var(--brand); }
.mc-add {
  padding: 8px 14px; border-radius: 999px; border: 1px dashed var(--brand);
  background: transparent; color: var(--brand); cursor: pointer;
  font-size: 13px; font-weight: 600; align-self: flex-start;
}
.mc-add:hover { background: var(--brand-soft); }
.mc-balance { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.mc-balance.ok   { color: #1f8a4c; font-weight: 600; }
.mc-balance.over { color: var(--brand); font-weight: 600; }

/* ─── Rental car cards in Still step ─── */
.rental-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; margin-top: 12px;
}
.rental-card {
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0;
  overflow: hidden; text-align: left;
  transition: all .15s;
}
.rental-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.rental-card.active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.rental-card img { width: 100%; height: 90px; object-fit: cover; display: block; }
.rental-card-body { padding: 8px 10px; }
.rental-card-name { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.rental-card-spec { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; line-height: 1.3; }
.rental-card-price { font-size: 12px; font-weight: 600; color: var(--brand); margin-top: 4px; }

/* Day-by-day navigator in the Smak step (kept compact so the form panel stays the same size) */
.day-nav {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.day-nav-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  font-size: 16px; line-height: 1; color: var(--ink);
  flex-shrink: 0;
}
.day-nav-arrow:hover:not(:disabled) { background: var(--brand-soft); border-color: var(--brand); color: var(--brand); }
.day-nav-arrow:disabled { opacity: .35; cursor: not-allowed; }
.day-nav-pills {
  display: flex; gap: 4px; overflow-x: auto;
  flex: 1; padding: 2px;
}
.day-nav-pills::-webkit-scrollbar { height: 3px; }
.day-nav-pills::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.day-nav-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 11.5px; font-weight: 500; color: var(--ink-3);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .15s;
}
.day-nav-pill:hover { color: var(--ink); border-color: var(--ink-3); }
.day-nav-pill.filled { background: var(--brand-soft); color: var(--brand-deep, #b8331e); border-color: var(--brand); }
.day-nav-pill.active { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 4px 10px rgba(225,67,42,.3); }
.day-meta {
  font-size: 12px; color: var(--ink-3);
  margin: 0 0 14px;
}

/* Per-slot blocks in the preview timeline */
.itin-day-block { margin-top: 8px; }
.itin-day-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.65); margin-bottom: 4px; font-weight: 600;
}

/* Catalog QuickBook — transport-not-included callout */
.ms-qb-transport {
  grid-column: 1 / -1;
  padding: 12px 14px;
  background: var(--brand-soft, #fbe4dc);
  border: 1px solid var(--brand);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 8px;
}
.ms-qb-transport-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.ms-qb-transport-row input { margin-top: 2px; accent-color: var(--brand); }
.ms-qb-transport-row span { display: flex; flex-direction: column; gap: 2px; }
.ms-qb-transport-row strong { font-size: 13px; font-weight: 600; color: var(--ink); }
.ms-qb-transport-row em {
  font-size: 11px; color: var(--ink-3); font-style: italic;
}
.ms-qb-transport-addr {
  padding: 8px 10px; font-size: 12px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff;
}

/* Contact summary at the top of the itinerary preview */
.itin-contact-card {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 18px;
  padding: 12px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
}
.itin-contact-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #ffae7c, var(--brand));
  color: #fff; font-weight: 700; font-size: 18px;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-family: 'Fraunces', serif;
}
.itin-contact-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.itin-contact-meta strong { color: #fff; font-size: 15px; }
.itin-contact-meta span {
  font-size: 11px; color: rgba(255,255,255,.72);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Live summary inside the itinerary preview — populated as the user fills the form */
.itin-summary {
  display: flex; flex-direction: column; gap: 4px;
  margin: 18px 0 0;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
}
.itin-sum-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  animation: itinFade .35s ease;
}
.itin-sum-row:last-child { border-bottom: none; }
.itin-sum-k { color: rgba(255,255,255,.72); font-size: 12px; }
.itin-sum-v { color: #fff; font-weight: 500; word-break: break-word; }
.itin-empty-soft {
  margin-top: 18px; padding: 16px;
  text-align: center; font-size: 13px;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(255,255,255,.18);
  border-radius: 12px;
}

.reiseplaner-special-tab {
  background: #fff !important;
  border: 1px dashed var(--brand) !important;
  color: var(--brand) !important;
  font-weight: 600;
}
.reiseplaner-special-tab:hover { background: var(--brand-soft) !important; }

.itin-ctx-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; margin-bottom: 18px;
  background: linear-gradient(135deg, #fff5ed 0%, #fbe4dc 100%);
  border: 1px solid var(--brand);
  border-radius: 14px;
}
.itin-ctx-banner > div { display: flex; flex-direction: column; gap: 2px; }
.itin-ctx-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--brand); font-weight: 600;
}
.itin-ctx-banner strong { font-size: 16px; color: var(--ink); }
.itin-ctx-meta { font-size: 12px; color: var(--ink-3); }
.itin-ctx-clear {
  width: 28px; height: 28px; border-radius: 50%;
  background: transparent; border: 1px solid var(--ink-3);
  color: var(--ink); cursor: pointer; font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.itin-ctx-clear:hover { background: var(--ink); color: #fff; }

.auth-widget-btn-icon {
  width: 36px; height: 36px;
  padding: 0; gap: 0;
  justify-content: center;
  border-radius: 50%;
}
.auth-widget-user {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 5px; border-radius: 999px;
  border: 1px solid var(--line); cursor: pointer;
  transition: all .2s;
}
.auth-widget-user:hover { border-color: var(--brand); }
.auth-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.auth-avatar.large { width: 40px; height: 40px; font-size: 17px; }
.auth-name { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.auth-user-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; min-width: 220px;
  box-shadow: var(--shadow-md);
  z-index: 200; overflow: hidden;
  animation: slideUp .18s ease;
}
.auth-user-menu-header {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.auth-menu-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 11px 18px;
  font-size: 14px; color: var(--ink-2);
  text-align: left; cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}
.auth-menu-item:hover { background: var(--paper-2); }

/* ============================================
   ANIMATIONS (shared)
   ============================================ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============================================
   FLIGHTS — Norway ↔ Morocco affiliate section
   ============================================ */
.flights-section {
  background: var(--paper);
  padding: 96px 0 80px;
}
.flight-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
  margin-bottom: 32px;
}
.flight-form-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px 14px;
  align-items: end;
}
.flight-field { display: flex; flex-direction: column; gap: 6px; }
.flight-field label {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
}
.flight-field-from, .flight-field-to { min-width: 0; }
.flight-field-trip, .flight-field-out, .flight-field-ret,
.flight-field-pax, .flight-field-cabin, .flight-field-cur {
  grid-column: span 1;
}
.flight-form-grid > .flight-field-trip { grid-column: 1 / 2; }
.flight-form-grid > .flight-field-out  { grid-column: 2 / 3; }
.flight-form-grid > .flight-field-ret  { grid-column: 3 / 4; }
.flight-form-grid > .flight-field-pax  { grid-column: 1 / 2; }
.flight-form-grid > .flight-field-cabin{ grid-column: 2 / 3; }
.flight-form-grid > .flight-field-cur  { grid-column: 3 / 4; }
.flight-select,
.flight-field input[type="date"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
}
.flight-select:focus,
.flight-field input[type="date"]:focus {
  outline: none;
  border-color: #e0432a;
  background: #fff;
}
.flight-swap {
  align-self: end;
  margin-bottom: 6px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #e0432a;
  cursor: pointer;
  transition: transform .25s ease;
}
.flight-swap:hover { transform: rotate(180deg); }
.flight-trip-toggle, .flight-cur-toggle {
  display: inline-flex;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.flight-trip-toggle button, .flight-cur-toggle button {
  flex: 1;
  padding: 11px 14px;
  background: transparent;
  border: 0;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  font-family: inherit;
}
.flight-trip-toggle button.active, .flight-cur-toggle button.active {
  background: #e0432a;
  color: #fff;
}
.flight-pax-details {
  position: relative;
}
.flight-pax-details summary {
  list-style: none;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  font-size: 14px;
  cursor: pointer;
}
.flight-pax-details summary::-webkit-details-marker { display: none; }
.flight-pax-details[open] summary { background: #fff; border-color: #e0432a; }
.flight-pax-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  z-index: 20;
  display: flex; flex-direction: column; gap: 10px;
}
.flight-pax-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13.5px;
}
.flight-pax-label { color: var(--ink-2); }
.flight-pax-control { display: inline-flex; align-items: center; gap: 12px; }
.flight-pax-control button {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
  font-size: 16px; line-height: 1;
}
.flight-pax-control button:disabled { opacity: .35; cursor: not-allowed; }
.flight-pax-control span { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.flight-form-error {
  margin: 16px 0 0;
  padding: 10px 14px;
  background: rgba(225,67,42,.07);
  border-left: 2px solid #e0432a;
  font-size: 13px;
  color: #8c3a1c;
  border-radius: 6px;
}
.flight-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  align-items: center;
}
.flight-cta { white-space: nowrap; }
.flight-cta.disabled {
  opacity: .45;
  pointer-events: none;
}
.flight-plan {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #e0432a;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
}
.flight-plan:hover { text-decoration: underline; }

/* Route intelligence */
.flight-intel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 24px;
}
.flight-intel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.flight-intel-badge {
  font-size: 10.5px; letter-spacing: 1.4px; text-transform: uppercase;
  color: #e0432a; font-family: 'JetBrains Mono', monospace;
  background: rgba(225,67,42,.08);
  padding: 4px 10px; border-radius: 999px;
}
.flight-intel-head strong {
  font-size: 17px;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
}
.flight-intel-pill {
  font-size: 11px; letter-spacing: .6px;
  padding: 3px 9px; border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  font-weight: normal;
}
.flight-intel-pill.direct { background: rgba(42,124,90,.12); color: #2a7c5a; }
.flight-intel-pill.stop { background: var(--paper-2); color: var(--ink-3); }
.flight-intel-note {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px;
}
.flight-intel-carriers {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  margin-bottom: 18px;
}
.flight-intel-label {
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-3); margin-right: 6px;
}
.flight-intel-carrier {
  font-size: 12px;
  padding: 3px 9px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}
.flight-season-title {
  font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px;
  font-family: 'JetBrains Mono', monospace;
}
.flight-season-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.flight-season-cell {
  text-align: center;
  font-size: 11px;
  padding: 8px 4px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--ink-2);
}
.flight-season-cell.direct { background: rgba(42,124,90,.18); color: #1f5d44; }
.flight-season-cell.stop { background: rgba(225,67,42,.08); color: #8c3a1c; }
.flight-season-legend {
  display: flex; gap: 18px; font-size: 12px; color: var(--ink-3);
  margin-top: 4px;
}
.flight-season-legend .lg {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 2px; margin-right: 6px; vertical-align: middle;
}
.flight-season-legend .lg-direct { background: rgba(42,124,90,.4); }
.flight-season-legend .lg-stop { background: rgba(225,67,42,.25); }

/* Affiliate disclosure */
.flight-disclosure {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 8px;
}
.flight-disclosure strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 8px;
}
.flight-disclosure p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-3);
  margin: 0;
}

/* Responsive — flight form */
@media (max-width: 800px) {
  .flight-form-grid {
    grid-template-columns: 1fr;
  }
  .flight-form-grid > .flight-field-trip,
  .flight-form-grid > .flight-field-out,
  .flight-form-grid > .flight-field-ret,
  .flight-form-grid > .flight-field-pax,
  .flight-form-grid > .flight-field-cabin,
  .flight-form-grid > .flight-field-cur {
    grid-column: 1 / -1;
  }
  .flight-swap {
    align-self: center;
    margin: -4px auto;
    transform: rotate(90deg);
  }
  .flight-swap:hover { transform: rotate(270deg); }
  .flight-cta-row { flex-direction: column; align-items: stretch; }
  .flight-plan { margin-left: 0; text-align: center; }
}

/* ============================================
   MOTION — primitives, page entrance, micro-interactions
   ============================================ */
:root {
  --ease-content: cubic-bezier(0.16, 1, 0.3, 1);   /* out-expo, content reveals */
  --ease-page:    cubic-bezier(0.7, 0, 0.2, 1);    /* page transitions / curtains */
  --dur-fast:     200ms;
  --dur-mid:      600ms;
  --dur-slow:     1200ms;
  --brand-terra:  #e1432a;
}

/* Upgrade .reveal easing to out-expo (was custom curve) */
.reveal {
  transition: opacity .9s var(--ease-content), transform .9s var(--ease-content);
}

/* Page entrance — terracotta sweep on first load */
.ms-page-entrance {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--brand-terra);
  pointer-events: none;
  transform-origin: top center;
}
.ms-page-entrance.phase-in {
  animation: msPageIn 300ms var(--ease-page) forwards;
}
.ms-page-entrance.phase-out {
  animation: msPageOut 1.2s var(--ease-page) forwards;
}
@keyframes msPageIn {
  from { transform: translateY(0); }
  to   { transform: translateY(0); }
}
@keyframes msPageOut {
  from { transform: translateY(0); }
  to   { transform: translateY(-100%); }
}

/* Primitive 3 — Text reveal */
.ms-text-reveal { display: inline; }
.ms-word-clip {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  line-height: 1;
}
.ms-word {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .9s var(--ease-content);
  white-space: pre;
}

/* Image-reveal curtain helper class (used inline in components too) */
.ms-image-reveal img { will-change: auto; }

/* Cinemagraph wrapper just keeps poster behind <video> for graceful fallback */
.ms-cinemagraph video,
.ms-cinemagraph img { display: block; }

/* Micro-interactions — refine cards (no image zoom on hover) */
@media (hover: hover) and (pointer: fine) {
  .cat-card {
    transition: transform .3s var(--ease-content), box-shadow .3s var(--ease-content);
  }
  .cat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .cat-card:hover .cat-img,
  .cat-card:hover .cat-img > * {
    transform: none;  /* cards lift; images don't zoom */
  }
}

/* Filter chip — cross-fade background only */
.filter-chip {
  transition: background-color .2s linear, color .2s linear, border-color .2s linear;
}

/* Buttons — subtle tap state */
.btn:active { transform: scale(0.97); transition: transform 100ms var(--ease-content); }

/* prefers-reduced-motion — neutralise all motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ms-word { transform: none !important; }
  .ms-curtain { transform: translateY(-100%) !important; }
  .ms-page-entrance { display: none !important; }
}

/* Print — strip motion */
@media print {
  .reveal, .ms-word { opacity: 1 !important; transform: none !important; }
  .ms-curtain, .ms-page-entrance { display: none !important; }
  video { display: none !important; }
}

/* Show more button */
.cat-showmore-row {
  display: flex; flex-direction: column; gap: 10px;
  align-items: center;
  margin-top: 36px;
}
.cat-showmore {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  transition: border-color .2s linear, color .2s linear;
}
.cat-showmore:hover { border-color: #e0432a; color: #e0432a; }
.cat-showall {
  background: transparent; border: 0;
  color: var(--ink-3); font-size: 13px;
  cursor: pointer; padding: 4px 8px;
  font-family: inherit;
}
.cat-showall:hover { color: #e0432a; text-decoration: underline; }

/* Resolved <img> takes over from background-image — preserve original card geometry */
.cat-img.cat-img-resolved { background: var(--paper-2); position: relative; }
.cat-img.cat-img-resolved > .ms-img-wrap {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.cat-img.cat-img-resolved > .ms-img-wrap > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cat-modal-img.cat-img-resolved { background: var(--paper-2); position: relative; }
.cat-modal-img.cat-img-resolved > .ms-img-wrap {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.cat-modal-img.cat-img-resolved > .ms-img-wrap > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Dev-mode AI placeholder ribbon */
.ms-ai-ribbon {
  position: absolute; top: 10px; right: 10px;
  background: rgba(225, 67, 42, 0.92);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  pointer-events: none;
  z-index: 5;
}

/* ============================================
   RESOURCES — downloadable PDFs
   ============================================ */
.resources-section { background: var(--paper); padding: 96px 0 80px; }
.resources-group { margin-bottom: 48px; }
.resources-group-title {
  font-family: 'Fraunces', serif;
  font-size: 22px; font-weight: 400;
  color: var(--ink);
  margin: 0 0 18px;
}
.resources-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.resource-card {
  display: flex; gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-decoration: none; color: inherit;
  transition: border-color .2s linear, transform .25s var(--ease-content), box-shadow .25s var(--ease-content);
}
.resource-card:hover {
  border-color: #e0432a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.resource-icon {
  flex: 0 0 48px; height: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(225, 67, 42, .08);
  color: #e0432a;
  border-radius: 10px;
}
.resource-ext {
  font-size: 8.5px; letter-spacing: 1.2px;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}
.resource-body { flex: 1; min-width: 0; }
.resource-title {
  font-family: 'Fraunces', serif;
  font-size: 16.5px; color: var(--ink);
  margin-bottom: 4px; line-height: 1.3;
}
.resource-desc {
  font-size: 13px; color: var(--ink-2); line-height: 1.5;
  margin-bottom: 8px;
}
.resource-meta {
  font-size: 11px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .5px;
}
.resource-card:hover .resource-meta { color: #e0432a; }

/* ============================================
   Modal gallery — image carousel with thumbnails
   ============================================ */
.cat-modal-gallery { position: relative; }
.cat-modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  background: rgba(0,0,0,.55);
  border: 0; color: #fff;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 3;
  transition: background-color .2s linear;
}
.cat-modal-nav:hover { background: rgba(0,0,0,.75); }
.cat-modal-nav.prev { left: 14px; transform: translateY(-50%) rotate(180deg); }
.cat-modal-nav.next { right: 14px; }
.cat-modal-counter {
  position: absolute; bottom: 14px; right: 14px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 3;
}
.cat-modal-thumbs {
  display: flex; gap: 6px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: thin;
}
.cat-modal-thumb {
  flex: 0 0 64px;
  height: 48px;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 6px;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s linear, transform .2s var(--ease-content);
}
.cat-modal-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cat-modal-thumb:hover { transform: translateY(-1px); }
.cat-modal-thumb.active { border-color: #e0432a; }

.cat-modal-slogan {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 13.5px;
  color: var(--ink-3);
  margin: -8px 0 14px;
  letter-spacing: .2px;
}

/* ============================================
   HERO SLIDER — Marrakechstory cinematic hero
   ============================================ */
:root {
  --ms-espresso: #1f1b16;
  --ms-sand:     #C9B99A;
  --ms-clay:     #e0432a;
  --ms-cream:    #F5EFE4;
  --ms-ivory:    #FAF6EE;
}

.ms-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
  color: #fff;
  background: #000;
}
.ms-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1000ms ease-in-out;
  z-index: 1;
}
.ms-slide.active {
  opacity: 1;
  animation: msKenBurns 9s ease-out forwards;
}
@keyframes msKenBurns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.08); }
}
.ms-slide-grad-1 {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.15), rgba(0,0,0,.09) 50%, rgba(0,0,0,.05));
}
.ms-slide-grad-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.12), transparent 40%, rgba(0,0,0,.08));
}
.ms-slide-vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.09) 100%);
}

.ms-hero-content {
  position: absolute;
  left: 3vw; top: 50%; transform: translateY(-50%);
  max-width: 640px;
  z-index: 3;
  animation: msSlideIn 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes msSlideIn {
  from { opacity: 0; transform: translateY(calc(-50% + 24px)); }
  to   { opacity: 1; transform: translateY(-50%); }
}
.ms-hero-eyebrow {
  font-family: 'JetBrains Mono', 'Source Sans 3', monospace;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ms-sand);
  margin-bottom: 24px;
}
.ms-hero-h1 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 24px;
  color: #fff;
}
.ms-hero-h1-line { display: block; }
.ms-hero-lead {
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  max-width: 540px;
  margin: 0 0 28px;
}
.ms-hero-chips {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.ms-hero-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
}
.ms-hero-chip .ms-dot { color: var(--ms-sand); font-size: 8px; }
.ms-hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.ms-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s var(--ease-content, ease), background-color .2s linear, border-color .2s linear;
  font-family: inherit;
  cursor: pointer;
}
.ms-btn-primary {
  background: var(--ms-sand);
  color: var(--ms-espresso);
  border: 1px solid var(--ms-sand);
}
.ms-btn-primary:hover { background: #d6c7a8; transform: translateY(-1px); }
.ms-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
}
.ms-btn-ghost:hover { background: rgba(255,255,255,.08); }

.ms-hero-trust {
  display: flex; gap: 12px; align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.75);
}
.ms-hero-stars { color: var(--ms-sand); letter-spacing: 2px; }

/* Right-side trust card */
.ms-trust-card {
  position: absolute; right: 3vw; top: 50%; transform: translateY(-50%);
  width: 280px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(12px);
  z-index: 3;
  color: #fff;
}
.ms-trust-head {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ms-sand);
  margin-bottom: 18px;
}
.ms-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
  margin-bottom: 18px;
}
.ms-trust-grid > div { display: flex; flex-direction: column; gap: 4px; }
.ms-trust-grid strong {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  color: #fff;
}
.ms-trust-grid span {
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  font-family: 'JetBrains Mono', monospace;
}
.ms-trust-foot {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  font-family: 'JetBrains Mono', monospace;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.15);
}

/* Side arrows */
.ms-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 4;
  transition: background-color .2s linear, border-color .2s linear;
}
.ms-hero-arrow:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.ms-hero-arrow.prev { left: 3vw; transform: translateY(-50%) rotate(180deg); }
.ms-hero-arrow.next { right: calc(3vw + 312px); }
@media (max-width: 900px) {
  .ms-trust-card { display: none; }
  .ms-hero-arrow.next { right: 3vw; }
}

/* Bottom-left progress bar + counter */
.ms-hero-progress {
  position: absolute; bottom: 32px; left: 3vw;
  display: flex; align-items: center; gap: 10px;
  z-index: 4;
}
.ms-hero-progress-arrow {
  width: 28px; height: 28px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.ms-hero-progress-arrow:first-of-type { transform: rotate(180deg); }
.ms-hero-progress-bar {
  display: flex; gap: 3px;
  width: 180px;
}
.ms-hero-progress-segment {
  flex: 1; height: 2px;
  background: rgba(255,255,255,.2);
  transition: background-color .4s linear;
}
.ms-hero-progress-segment.done { background: rgba(255,255,255,.4); }
.ms-hero-progress-segment.active {
  background: var(--ms-sand);
  animation: msSegment 6.5s linear forwards;
}
@keyframes msSegment {
  from { background: rgba(255,255,255,.2); }
  to   { background: var(--ms-sand); }
}
.ms-hero-counter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.8);
  letter-spacing: .1em;
  margin-left: 8px;
}

/* Bottom-right trust badges */
.ms-hero-badges {
  position: absolute; bottom: 32px; right: 3vw;
  display: flex; gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  z-index: 4;
}
@media (max-width: 700px) {
  .ms-hero-badges { display: none; }
  .ms-hero-content { max-width: 90vw; }
}

/* Hide the old hero if present */
section.hero-v2 { display: none; }

/* ============================================
   ITINERARIES — horizontal snap-scroll slider
   ============================================ */
.itineraries-section {
  background: var(--ms-cream, #F5EFE4);
  padding: 96px 0 80px;
}
.itineraries-section .section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.itineraries-section .section-head .eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
}
.itineraries-section .section-head h2 {
  font-family: 'Fraunces', serif;
  color: var(--ms-espresso);
}

.itin-filters {
  display: flex; align-items: center;
  gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.itin-filters .filter-chip {
  background: #fff;
  border: 1px solid rgba(31,27,22,.1);
  color: var(--ms-espresso);
}
.itin-filters .filter-chip.active {
  background: var(--ms-espresso);
  color: var(--ms-sand);
  border-color: var(--ms-espresso);
}
.itin-nav {
  margin-left: auto;
  display: flex; gap: 6px;
}
.itin-nav-btn {
  width: 38px; height: 38px;
  border: 1px solid rgba(31,27,22,.15);
  background: #fff;
  border-radius: 999px;
  color: var(--ms-espresso);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s linear, border-color .2s linear;
}
.itin-nav-btn:hover { background: var(--ms-espresso); color: var(--ms-sand); border-color: var(--ms-espresso); }
.itin-nav-btn:first-child { transform: rotate(180deg); }

.itin-track-wrap {
  margin: 0 -3vw;
  padding: 0 3vw;
}
.itin-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 16px;
}
.itin-track::-webkit-scrollbar { height: 6px; }
.itin-track::-webkit-scrollbar-thumb { background: rgba(31,27,22,.15); border-radius: 999px; }
.itin-card {
  flex: 0 0 360px;
  max-width: 360px;
  scroll-snap-align: start;
  background: var(--ms-ivory, #FAF6EE);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s var(--ease-content, ease), box-shadow .35s var(--ease-content, ease);
  display: flex; flex-direction: column;
}
.itin-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(31,27,22,.12);
}
@media (max-width: 700px) {
  .itin-card { flex: 0 0 80vw; max-width: 80vw; }
}
.itin-card-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
}
.itin-card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0,0,0,.55));
}
.itin-card-duration {
  position: absolute; top: 14px; left: 14px;
  background: var(--ms-sand);
  color: var(--ms-espresso);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  padding: 5px 11px;
  border-radius: 4px;
  z-index: 2;
}
.itin-card-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--brand);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  padding: 4px 9px;
  border-radius: 4px;
  z-index: 2;
}
.itin-card-route {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(255,255,255,.92);
  color: var(--ms-espresso);
  font-size: 11px;
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 2;
}
.itin-card-body {
  padding: 18px 18px 22px;
  display: flex; flex-direction: column; flex: 1;
}
.itin-card-chapter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.itin-card-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ms-espresso);
  margin: 0 0 10px;
}
.itin-card-teaser {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 12px;
  flex: 1;
}
.itin-card-tags {
  font-size: 11.5px;
  color: var(--brand);
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.itin-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(31,27,22,.08);
}
.itin-card-price-from {
  font-size: 10.5px;
  color: var(--ink-3);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-right: 6px;
}
.itin-card-price-amt {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ms-espresso);
}
.itin-card-cta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--brand);
  text-transform: uppercase;
}
.itin-count {
  margin-top: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-3);
  text-align: right;
}

/* ── Itinerary modal ────────────────────────────────────────────── */
.itin-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(31,27,22,.7);
  z-index: 9000;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 40px 20px;
  backdrop-filter: blur(4px);
}
.itin-modal {
  background: var(--ms-ivory);
  width: 100%; max-width: 760px;
  border-radius: 18px; overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.itin-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px; border: 0;
  background: rgba(255,255,255,.92);
  color: var(--ms-espresso); border-radius: 999px;
  cursor: pointer; z-index: 5; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.itin-modal-hero {
  height: 280px; background-size: cover; background-position: center; position: relative;
}
.itin-modal-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,.7));
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
}
.itin-modal-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: .18em; color: var(--ms-sand); margin-bottom: 10px;
  text-transform: uppercase;
}
.itin-modal-title {
  font-family: 'Fraunces', serif; font-size: 32px; font-weight: 500;
  margin: 0 0 8px; line-height: 1.1; color: #fff;
}
.itin-modal-route {
  font-size: 13px; color: rgba(255,255,255,.85);
  font-family: 'JetBrains Mono', monospace; letter-spacing: .04em;
}
.itin-modal-hero-pill {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 12px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 4px 12px 4px 8px;
  font-size: 12px; color: #fff;
  backdrop-filter: blur(6px);
}
.itin-modal-hero-pill-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; opacity: .75;
}
@media (max-width: 480px) {
  .itin-modal-backdrop { padding: 0; align-items: flex-end; }
  .itin-modal { border-radius: 20px 20px 0 0; max-width: 100%; }
  .itin-modal-hero { height: 200px; }
  .itin-modal-title { font-size: 26px; }
}
/* ── Modal tab bar ─────────────────────────────────────────────── */
.itin-tabs {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.itin-tabs-inner {
  display: flex;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.itin-tabs-inner::-webkit-scrollbar { display: none; }
.itin-tab {
  flex: 1;
  padding: 13px 8px;
  border: 0;
  background: transparent;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  cursor: pointer;
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
.itin-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--brand, #e0432a);
  transform: scaleX(0);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
}
.itin-tab.is-active { color: var(--brand, #e0432a); }
.itin-tab.is-active::after { transform: scaleX(1); }
.itin-tab:hover:not(.is-active) { color: var(--ink); }

.itin-tab-arrow {
  flex-shrink: 0;
  width: 38px;
  border: 0;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .18s, background .18s;
}
.itin-tab-arrow:hover:not(:disabled) { background: var(--paper-2); color: var(--ink); }
.itin-tab-arrow:disabled { opacity: .28; cursor: default; }
.itin-tab-arrow-prev { border-right: 1px solid var(--line); }
.itin-tab-arrow-next { border-left: 1px solid var(--line); }

/* Animated slide-in for tab panel */
@keyframes itin-slide-next {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes itin-slide-prev {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
.itin-modal-body[data-tab-dir="next"] { animation: itin-slide-next .22s cubic-bezier(.4,0,.2,1) both; }
.itin-modal-body[data-tab-dir="prev"] { animation: itin-slide-prev .22s cubic-bezier(.4,0,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  .itin-modal-body { animation: none !important; }
}

.itin-modal-body { padding: 28px; }
.itin-modal-overview {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 28px;
}
.itin-modal-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-bottom: 28px;
}
@media (max-width: 600px) {
  .itin-modal-grid { grid-template-columns: 1fr; }
}
.itin-modal-h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px;
  font-weight: 600;
}
.itin-modal-ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.itin-modal-ul li {
  font-size: 13.5px;
  color: var(--ink-2);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.itin-modal-ul li::before {
  content: "—"; position: absolute; left: 0; color: var(--ms-sand);
}
.itin-modal-ul.itin-included li::before { content: "✓"; color: #2a7c5a; }
.itin-modal-ul.itin-excluded li::before { content: "✕"; color: #e0432a; }
.itin-modal-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 16px;
}
.itin-modal-tag {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  color: var(--ink-2);
}
.itin-modal-price {
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  margin-top: 8px;
}
.itin-modal-price-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.itin-modal-price-value { font-family: 'Fraunces', serif; font-size: 28px; color: var(--ms-espresso); }
.itin-modal-price-sub { font-size: 11px; color: var(--ink-3); }

.itin-modal-days {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 14px;
  counter-reset: day;
}
.itin-modal-day {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
}
.itin-modal-day-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
}
.itin-modal-day-route {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--ms-espresso);
  margin: 4px 0 6px;
}
.itin-modal-day-text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.itin-section-divider {
  height: 1px;
  background: var(--line);
  margin: 32px 0;
  opacity: .6;
}
.itin-modal-cta-row {
  display: flex; gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
@media (max-width: 500px) {
  .itin-modal-cta-row { flex-direction: column; }
  .itin-modal-cta-row .btn { width: 100%; text-align: center; }
}

/* ============================================
   REISEPLANER — catalog-style grid + right CTA
   ============================================ */
.reiseplaner-section {
  background: var(--ms-cream, var(--paper));
}
.reiseplaner-section .section-head .eyebrow {
  color: var(--brand, #e0432a);
}
.reiseplaner-section .section-head h2 {
  font-family: 'Fraunces', serif;
  color: var(--ms-espresso, var(--ink));
}

.reiseplaner-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
}
@media (max-width: 1000px) {
  .reiseplaner-layout { grid-template-columns: 1fr; }
}
.reiseplaner-main { min-width: 0; }
.reiseplaner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.reiseplan-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--brand, #e0432a);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .12em;
  padding: 4px 9px;
  border-radius: 4px;
  z-index: 2;
}

/* Right-side sticky CTA */
.reiseplaner-aside {
  position: sticky;
  top: 90px;
  align-self: start;
}
@media (max-width: 1000px) {
  .reiseplaner-aside { position: static; }
}
.reiseplaner-cta {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 4px 24px rgba(0,0,0,.04);
}
.reiseplaner-cta-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand, #e0432a);
  margin-bottom: 14px;
}
.reiseplaner-cta-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 14px;
}
.reiseplaner-cta-title em {
  color: var(--brand, #e0432a);
  font-style: italic;
}
.reiseplaner-cta-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.reiseplaner-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}
.reiseplaner-cta-wa {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--brand, #e0432a);
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  transition: background-color .2s linear;
}
.reiseplaner-cta-wa:hover {
  background: var(--paper-2);
  text-decoration: underline;
}
.reiseplaner-cta-trust {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
}
.reiseplaner-cta-trust > div {
  font-size: 10.5px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .08em;
}
.reiseplaner-cta-trust strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0;
}

/* Modal T&Cs */
.itin-modal-terms {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.itin-modal-terms-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.itin-modal-terms-list li {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}
.itin-modal-terms-list li::before {
  content: "§";
  position: absolute; left: 0;
  color: var(--brand, #e0432a);
  font-family: 'Fraunces', serif;
  font-weight: 600;
}

/* Hide the old hero-slider's section.hero-v2 hide stays; nothing else to change */

/* Small "Make your trip" pill inside the reiseplaner filter bar */
.reiseplaner-cta-chip {
  background: var(--brand, #e0432a) !important;
  color: #fff !important;
  border-color: var(--brand, #e0432a) !important;
  font-weight: 500;
  margin-left: 4px;
}
.reiseplaner-cta-chip:hover { background: #a8492a !important; color: #fff !important; }
/* Make the catalog filter rows look identical in this section */
#itineraries .cat-filters,
#itineraries .cat-grid,
#itineraries .cat-card,
#itineraries .cat-body,
#itineraries .cat-img,
#itineraries .cat-rating { /* inherit from catalog css — nothing extra */ }

/* COOKIE BANNER */
.ms-cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 720px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,.14);
  z-index: 9500;
  padding: 18px 22px;
  animation: msCookieIn .4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes msCookieIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ms-cookie-inner {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.ms-cookie-text { flex: 1; min-width: 240px; }
.ms-cookie-text strong { display: block; font-size: 14px; color: var(--ink); margin-bottom: 4px; }
.ms-cookie-text p { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.ms-cookie-actions { display: flex; gap: 8px; }
.ms-cookie-btn { padding: 9px 18px; font-size: 12.5px; }
@media (max-width: 600px) {
  .ms-cookie-banner { bottom: 12px; left: 12px; right: 12px; padding: 14px; }
  .ms-cookie-actions { width: 100%; }
  .ms-cookie-actions .btn { flex: 1; }
}

/* CHATBOT */
.ms-chat-fab {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--brand, #e0432a);
  color: #fff;
  border: 0; font-size: 22px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(184, 97, 63, .35);
  z-index: 8500;
  transition: transform .25s var(--ease-content, ease), background-color .2s linear;
}
.ms-chat-fab:hover { background: #a8492a; }
.ms-chat-fab.open { background: var(--ink); transform: scale(0.95); }
.ms-chat-panel {
  position: fixed;
  bottom: 158px; right: 24px;
  width: min(360px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 200px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18);
  z-index: 8400;
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: msChatIn .35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes msChatIn { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.ms-chat-head {
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ms-chat-head strong { font-family: 'Fraunces', serif; font-size: 16px; }
.ms-chat-sub { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 2px; }
.ms-chat-close { background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 16px; padding: 4px 8px; }
.ms-chat-messages {
  flex: 1; overflow-y: auto;
  padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper-2);
}
.ms-chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
  word-wrap: break-word;
}
.ms-chat-msg.bot { background: #fff; color: var(--ink); border: 1px solid var(--line); border-top-left-radius: 4px; align-self: flex-start; }
.ms-chat-msg.user { background: var(--brand, #e0432a); color: #fff; border-top-right-radius: 4px; align-self: flex-end; }
.ms-chat-suggestions {
  padding: 10px 14px;
  display: flex; flex-direction: column; gap: 6px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.ms-chat-suggestion {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s linear, color .2s linear;
  font-family: inherit;
}
.ms-chat-suggestion:hover { border-color: var(--brand, #e0432a); color: var(--brand, #e0432a); }
.ms-chat-form {
  display: flex; gap: 6px;
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}
.ms-chat-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-family: inherit;
}
.ms-chat-form input:focus { outline: none; border-color: var(--brand, #e0432a); }
.ms-chat-form button {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--brand, #e0432a);
  color: #fff; border: 0;
  font-size: 18px; cursor: pointer;
}
.ms-chat-form button:hover { background: #a8492a; }

/* PROFILE PANEL */
.ms-profile-backdrop {
  position: fixed; inset: 0;
  background: rgba(31,27,22,.6);
  z-index: 9000;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
  backdrop-filter: blur(4px);
}
.ms-profile-panel {
  background: #fff;
  width: 100%; max-width: 760px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.ms-profile-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border: 0; background: rgba(0,0,0,.06);
  color: var(--ink); border-radius: 999px; cursor: pointer; z-index: 5;
}
.ms-profile-head {
  padding: 28px;
  background: var(--ms-cream, var(--paper-2));
  display: flex; gap: 18px; align-items: center;
  border-bottom: 1px solid var(--line);
}
.ms-profile-avatar {
  width: 56px; height: 56px;
  background: var(--brand, #e0432a);
  color: #fff;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 24px; font-weight: 500;
}
.ms-profile-name { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 500; margin: 0; color: var(--ink); }
.ms-profile-email { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.ms-profile-tabs {
  display: flex;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.ms-profile-tab {
  background: transparent; border: 0;
  padding: 14px 22px;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}
.ms-profile-tab.active { color: var(--brand, #e0432a); border-bottom-color: var(--brand, #e0432a); }
.ms-profile-body { padding: 24px 28px 32px; }

.ms-profile-overview {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px;
}
@media (max-width: 600px) { .ms-profile-overview { grid-template-columns: 1fr; } }
.ms-profile-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}
.ms-profile-card-label {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); font-family: 'JetBrains Mono', monospace;
  margin-bottom: 6px;
}
.ms-profile-card-value {
  font-family: 'Fraunces', serif;
  font-size: 32px; font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.ms-profile-card-cta { background: linear-gradient(135deg, rgba(225,67,42,.08), rgba(225,67,42,.02)); border-color: rgba(225,67,42,.2); }
.ms-profile-card-cta p { font-size: 13px; color: var(--ink-2); margin: 8px 0 12px; }
.btn.btn-text { background: transparent; border: 0; padding: 0; color: var(--brand, #e0432a); font-size: 12.5px; cursor: pointer; font-family: inherit; }
.btn.btn-text:hover { text-decoration: underline; }

.ms-profile-trips { display: flex; flex-direction: column; gap: 14px; }
.ms-profile-trip {
  display: flex; gap: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.ms-profile-trip-img {
  flex: 0 0 120px;
  background-size: cover; background-position: center;
}
.ms-profile-trip-body { padding: 14px; flex: 1; }
.ms-profile-trip-chapter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .14em;
  color: var(--brand, #e0432a); margin-bottom: 4px;
}
.ms-profile-trip-body h3 { font-family: 'Fraunces', serif; font-size: 18px; font-weight: 500; margin: 0 0 6px; color: var(--ink); }
.ms-profile-trip-body p { font-size: 13px; color: var(--ink-2); margin: 0; }
.ms-profile-empty { text-align: center; padding: 32px 16px; }
.ms-profile-empty p { color: var(--ink-3); margin-bottom: 18px; }

.ms-profile-form { display: flex; flex-direction: column; gap: 14px; }
.ms-profile-form label { display: flex; flex-direction: column; gap: 6px; }
.ms-profile-form label > span {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); font-family: 'JetBrains Mono', monospace;
}
.ms-profile-form input, .ms-profile-form textarea {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--paper-2);
}
.ms-profile-form input:focus, .ms-profile-form textarea:focus { outline: none; border-color: var(--brand, #e0432a); background: #fff; }
.ms-profile-form-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.ms-profile-save-note { font-size: 11.5px; color: var(--ink-3); font-style: italic; }

/* ─── Stack floating widgets cleanly: WhatsApp · Chat · Instagram, bottom-up ─── */
.wa-widget         { bottom: 24px  !important; right: 24px !important; z-index: 200; }
.ms-chat-fab       { bottom: 96px  !important; right: 30px !important; z-index: 199; }
.ms-chat-panel     { bottom: 162px !important; right: 30px !important; }
.ig-scroll-widget  { bottom: 168px !important; right: 30px !important; z-index: 198; }
@media (max-width: 600px) {
  .wa-widget        { bottom: 18px  !important; right: 14px !important; }
  .ms-chat-fab      { bottom: 76px  !important; right: 14px !important; }
  .ms-chat-panel    { bottom: 134px !important; right: 14px !important; }
  .ig-scroll-widget { bottom: 134px !important; right: 14px !important; }
}

/* ─── "Lag din reise" — bigger, brand-orange, gentle pulse ─── */
.reiseplaner-cta-chip {
  background: linear-gradient(135deg, #e0432a, #b8331e) !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  padding: 10px 20px !important;
  border-radius: 999px;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(225, 67, 42, .28);
  position: relative;
  overflow: visible;
  animation: msPulse 2.4s ease-in-out infinite;
}
.reiseplaner-cta-chip::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(225, 67, 42, .45);
  animation: msRingExpand 2.4s ease-out infinite;
  pointer-events: none;
}
.reiseplaner-cta-chip:hover {
  background: linear-gradient(135deg, #b04223, #c93820) !important;
  transform: translateY(-1px);
}
@keyframes msPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(225, 67, 42, .28); transform: translateY(0); }
  50%      { box-shadow: 0 6px 22px rgba(225, 67, 42, .50); transform: translateY(-1.5px); }
}
@keyframes msRingExpand {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* ─── Heart bloom animation (catalog + itineraries) ─── */
.cat-fav {
  position: relative;
}
.cat-fav.active {
  animation: msHeartBloom 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cat-fav.active svg {
  fill: var(--brand, #e0432a);
  stroke: var(--brand, #e0432a);
}
.cat-fav::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 67, 42, .35) 0%, transparent 60%);
  opacity: 0;
  pointer-events: none;
}
.cat-fav.active::after {
  animation: msHeartBurst 0.6s ease-out;
}
@keyframes msHeartBloom {
  0%   { transform: scale(1); }
  35%  { transform: scale(0.78); }
  60%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}
@keyframes msHeartBurst {
  0%   { opacity: 1; transform: scale(0.5); }
  70%  { opacity: 0.6; transform: scale(2.2); }
  100% { opacity: 0; transform: scale(2.8); }
}
/* Float-up "+" feedback */
.cat-fav .ms-fav-plus {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  color: var(--brand, #e0432a);
  font-weight: 700; font-size: 18px;
  pointer-events: none;
  opacity: 0;
}
.cat-fav.active .ms-fav-plus {
  animation: msFavRise 0.7s ease-out forwards;
}
@keyframes msFavRise {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(0.6); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -28px) scale(1); }
}


/* Profile section heading inside trips tab */
.ms-profile-section-h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand, #e0432a);
  margin: 18px 0 8px;
  font-weight: 600;
}
.ms-profile-section-h:first-child { margin-top: 0; }

/* ─── HERO — 40% shorter, brand-colored trust card ─── */
.ms-hero {
  height: 42vh !important;       /* compact hero — search moved to the top bar */
  min-height: 360px !important;
}
.ms-hero-h1 {
  font-size: clamp(28px, 4vw, 50px) !important;  /* scaled down to match shorter hero */
}
.ms-hero-lead {
  font-size: 14.5px !important;
  margin-bottom: 18px !important;
}
.ms-hero-chips { margin-bottom: 22px !important; }
.ms-hero-eyebrow { margin-bottom: 16px !important; }
.ms-hero-content {
  top: 46% !important;          /* nudge up a hair to leave room for the bottom progress */
  max-width: 540px !important;
}
.ms-hero-trust { font-size: 11.5px !important; }

/* Trust card → featured terracotta */
.ms-trust-card-brand {
  background: linear-gradient(135deg, rgba(225, 67, 42, .92), rgba(181, 97, 63, .92)) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  width: 260px !important;
  padding: 18px !important;
}
.ms-trust-card-brand .ms-trust-head,
.ms-trust-card-brand .ms-trust-foot { color: rgba(255,255,255,.85) !important; }
.ms-trust-card-brand .ms-trust-grid strong { color: #fff !important; font-size: 18px !important; }
.ms-trust-card-brand .ms-trust-grid span   { color: rgba(255,255,255,.75) !important; }
.ms-trust-card-brand .ms-trust-grid { gap: 12px 10px !important; margin-bottom: 14px !important; }
.ms-trust-card-brand .ms-trust-foot { padding-top: 10px !important; border-top-color: rgba(255,255,255,.2) !important; }

/* Move the trust card so it doesn't dominate a shorter hero */
.ms-trust-card { right: 3vw !important; top: 50% !important; }

/* Hide the side circle arrows (we keep the bottom progress bar with arrows) */
.ms-hero-arrow { display: none !important; }

/* Bottom progress bar — leave room below content, brand color on active segment */
.ms-hero-progress { bottom: 24px !important; }
.ms-hero-progress-segment.active { background: var(--brand-terra, #e1432a) !important; }

/* "Browse / read our stories" primary button → brand orange */
.ms-btn-primary {
  background: linear-gradient(135deg, #e0432a, #b8331e) !important;
  color: #fff !important;
  border-color: #e1432a !important;
}
.ms-btn-primary:hover {
  background: linear-gradient(135deg, #e0432a, #a8492a) !important;
  border-color: #e0432a !important;
}

/* ─── ITINERARIES — tighter tabs so all fit on one row including Team building + Bryllup ─── */
#itineraries .cat-tabs-v2 {
  flex-wrap: nowrap;
  justify-content: center;
  gap: 4px;
  overflow-x: auto;
}
#itineraries .cat-tabs-v2 .cat-tab-v2 {
  padding: 8px 12px;
  font-size: 12px;
  min-width: auto;
  white-space: nowrap;
  flex-shrink: 0;
}
#itineraries .cat-tabs-v2 .cat-tab-v2 .count {
  font-size: 10px;
  padding: 1px 6px;
}
#itineraries .reiseplaner-special-tab {
  background: #fff !important;
  border: 1px dashed var(--brand) !important;
  color: var(--brand) !important;
}
@media (max-width: 900px) {
  #itineraries .cat-tabs-v2 { justify-content: flex-start; }
}

/* Full-width "Lag din reise" bar under the tab row */
.reiseplaner-cta-bar {
  margin-top: 12px;
}
.reiseplaner-cta-tab-full {
  display: block;
  width: 100%;
  padding: 16px 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #B5613F, #e1432a) !important;
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(225, 67, 42, .32);
  transition: transform .2s, box-shadow .2s;
}
.reiseplaner-cta-tab-full:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(225, 67, 42, .42);
  background: linear-gradient(135deg, #a04220, #c93820) !important;
}
#itineraries .cat-tab-v2 {
  /* identical to katalog */
}
#itineraries .cat-tab-v2.active {
  background: var(--brand-terra, #e1432a);
  color: #fff;
  border-color: var(--brand-terra, #e1432a);
}
#itineraries .cat-tab-v2.active .count {
  background: rgba(255,255,255,.22);
  color: #fff;
}

/* ─── CHATBOT — Gemini-style sparkle bubble ─── */
.ms-chat-fab {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 35%, #e1432a 100%) !important;
  box-shadow: 0 8px 24px rgba(139, 92, 246, .35), 0 0 0 0 rgba(225, 67, 42, .35) !important;
  display: flex !important; align-items: center; justify-content: center;
  animation: msChatPulse 3s ease-in-out infinite;
}
.ms-chat-fab:hover {
  background: linear-gradient(135deg, #5558e3 0%, #7c3aed 35%, #e0432a 100%) !important;
  transform: scale(1.05);
}
.ms-chat-fab.open {
  background: var(--ink) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.3) !important;
  animation: none;
}
.ms-chat-fab svg { display: block; }
@keyframes msChatPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(139, 92, 246, .35), 0 0 0 0   rgba(225, 67, 42, .35); }
  50%      { box-shadow: 0 8px 24px rgba(139, 92, 246, .35), 0 0 0 14px rgba(225, 67, 42, 0);   }
}

/* ─── Catalog modal — transport box (included / not included) ─── */
.cat-modal-transport {
  display: flex; gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  margin: 0 0 16px;
  align-items: flex-start;
}
.cat-modal-transport.included {
  background: rgba(42, 124, 90, .08);
  border: 1px solid rgba(42, 124, 90, .25);
}
.cat-modal-transport.not-included {
  background: rgba(225, 67, 42, .07);
  border: 1px solid rgba(225, 67, 42, .25);
}
.cat-modal-transport-icon {
  flex: 0 0 32px; height: 32px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
}
.cat-modal-transport.included .cat-modal-transport-icon { color: #2a7c5a; }
.cat-modal-transport.not-included .cat-modal-transport-icon { color: var(--brand, #e0432a); }
.cat-modal-transport-body { flex: 1; }
.cat-modal-transport-body strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 3px;
}
.cat-modal-transport-body p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.cat-modal-transport-cta {
  display: inline-block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand, #e0432a);
  text-decoration: none;
}
.cat-modal-transport-cta:hover { text-decoration: underline; }

/* ─── Hearts — pull inside the card a bit on itinerary cards ─── */
#itineraries .cat-card .cat-fav {
  top: 14px !important;
  right: 14px !important;
}
/* Also nudge them slightly inside on catalog if at the very edge */
#catalog .cat-card .cat-fav {
  top: 12px !important;
  right: 12px !important;
}

/* ─── CHATBOT — brand-coloured panel header + ringed body ─── */
.ms-chat-head {
  background: linear-gradient(135deg, #e0432a, #b8331e) !important;
  color: #fff;
}
.ms-chat-head strong { color: #fff; }
.ms-chat-sub { color: rgba(255,255,255,.85) !important; }
.ms-chat-msg.user {
  background: linear-gradient(135deg, #e0432a, #b8331e) !important;
}
.ms-chat-form button {
  background: linear-gradient(135deg, #e0432a, #b8331e) !important;
}
.ms-chat-form button:hover {
  background: linear-gradient(135deg, #e0432a, #a8492a) !important;
}
.ms-chat-suggestion:hover {
  background: rgba(225, 67, 42, .06);
}

/* ─── TRANSPORT (Dune Fleet) — long-rental discount banner ─── */
.cat-rental-banner {
  background: linear-gradient(135deg, rgba(225,67,42,.06), rgba(181,97,63,.03));
  border: 1px solid rgba(225,67,42,.20);
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.cat-rental-banner-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--brand, #e0432a);
  font-weight: 600;
}
.cat-rental-banner-row {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.cat-rental-banner-row > div {
  display: flex; align-items: baseline; gap: 8px;
}
.cat-rental-banner-row strong {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--ink);
}
.cat-rental-banner-row span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--brand, #e0432a);
  font-weight: 600;
  background: rgba(225,67,42,.10);
  padding: 2px 9px;
  border-radius: 999px;
}
.cat-rental-banner-perks {
  margin-left: auto;
  font-size: 12px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
}
@media (max-width: 700px) {
  .cat-rental-banner-perks { margin-left: 0; width: 100%; padding-top: 6px; border-top: 1px solid rgba(225,67,42,.12); }
}

/* ─── WEATHER WIDGET — bottom-left floating pill + 7-day modal ─── */
.ms-weather-fab {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 200;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  cursor: pointer;
  font-family: inherit;
  transition: transform .25s var(--ease-content, ease), box-shadow .2s linear;
}
.ms-weather-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.ms-weather-icon { font-size: 20px; line-height: 1; }
.ms-weather-temp {
  font-family: 'Fraunces', serif;
  font-size: 18px; font-weight: 500;
  color: var(--ink);
  letter-spacing: -.01em;
}
.ms-weather-city {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
@media (max-width: 600px) {
  .ms-weather-fab { bottom: 16px; left: 16px; padding: 8px 12px 8px 10px; }
  .ms-weather-city { display: none; }
}

/* Forecast modal */
.ms-weather-backdrop {
  position: fixed; inset: 0;
  background: rgba(31,27,22,.65);
  z-index: 9300;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
  backdrop-filter: blur(4px);
}
.ms-weather-modal {
  background: #fff;
  width: 100%; max-width: 560px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.ms-weather-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 0; background: rgba(255,255,255,.92);
  color: var(--ink); border-radius: 999px; cursor: pointer;
  z-index: 5;
}
.ms-weather-now {
  display: flex; align-items: center; gap: 20px;
  padding: 28px;
  background: linear-gradient(135deg, #e0432a, #b8331e);
  color: #fff;
}
.ms-weather-now-icon { font-size: 64px; line-height: 1; }
.ms-weather-now-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .18em;
  color: rgba(255,255,255,.85);
  margin-bottom: 4px;
}
.ms-weather-now-temp {
  font-family: 'Fraunces', serif;
  font-size: 56px; font-weight: 500; line-height: 1;
  margin: 4px 0 6px;
}
.ms-weather-now-temp sup { font-size: 22px; opacity: .8; }
.ms-weather-now-label {
  font-family: 'Fraunces', serif;
  font-size: 18px; font-style: italic;
  margin-bottom: 6px;
}
.ms-weather-now-feels {
  font-size: 11.5px;
  color: rgba(255,255,255,.85);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}
.ms-weather-week {
  padding: 20px 24px 8px;
}
.ms-weather-week-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand, #e0432a);
  font-weight: 600;
  margin-bottom: 12px;
}
.ms-weather-day {
  display: grid;
  grid-template-columns: 90px 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.ms-weather-day:last-child { border-bottom: 0; }
.ms-weather-day-name {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}
.ms-weather-day-icon { font-size: 22px; line-height: 1; text-align: center; }
.ms-weather-day-label {
  font-size: 12.5px;
  color: var(--ink-3);
}
.ms-weather-day-temps {
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: 'Fraunces', serif;
  text-align: right;
  white-space: nowrap;
}
.ms-weather-day-temps strong {
  font-size: 16px; color: var(--ink); font-weight: 500;
}
.ms-weather-day-temps span {
  font-size: 13px; color: var(--ink-3);
}
.ms-weather-day-meta {
  grid-column: 3 / -1;
  display: flex; flex-wrap: wrap; gap: 10px;
  font-size: 11px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
}
.ms-weather-foot {
  padding: 14px 24px 18px;
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .04em;
}
.ms-weather-foot a { color: var(--brand, #e0432a); text-decoration: none; }
.ms-weather-foot a:hover { text-decoration: underline; }

/* ─── HERO — minimal & editorial mode ─── */
/* Trust card + trust line + chips + bottom-right badges removed in JSX.
   The remaining styles are: eyebrow · h1 · lead · CTAs · bottom progress.
   Centre the side arrows now that the trust card is gone (we hid them earlier). */
.ms-hero-arrow.next { right: 3vw !important; }   /* was offset for trust-card width */
.ms-hero-content { max-width: 600px !important; padding-right: 3vw; }
.ms-hero-lead { max-width: 480px !important; }
.ms-hero-progress { bottom: 28px !important; left: 3vw !important; }

/* ─── WEATHER — live indicator dot ─── */
.ms-weather-live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2a7c5a;          /* green for "live" */
  margin-right: 2px;
  position: relative;
}
.ms-weather-live-dot::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: rgba(42, 124, 90, .35);
  animation: msWeatherPulse 1.8s ease-out infinite;
}
@keyframes msWeatherPulse {
  0%   { transform: scale(1);   opacity: .55; }
  100% { transform: scale(2.5); opacity: 0;   }
}
.ms-weather-live-dot-foot { background: #2a7c5a; margin-right: 6px; vertical-align: 2px; }

/* ─── HERO — single static welcome (no slider) ─── */
.ms-hero-static .ms-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.ms-hero-content-centered {
  position: absolute;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  text-align: center;
  max-width: 760px !important;
  padding: 0 24px;
  z-index: 5;
  animation: msSlideIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.ms-hero-content-centered .ms-hero-h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(34px, 5vw, 60px) !important;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 22px;
  color: #fff;
}
.ms-hero-content-centered .ms-hero-h1 em {
  color: var(--ms-sand, #C9B99A);
  font-style: italic;
  font-weight: 400;
}
/* Brand wordmark — matches the top-bar logo, scaled 50% larger */
.ms-hero-content-centered .ms-hero-h1.ms-hero-brand .ms-hero-brandmark {
  font-size: clamp(78px, 11.2vw, 134px);
  letter-spacing: -.02em;
  color: #fff;
  font-weight: 500;
  margin-top: 6px;
}
.ms-hero-content-centered .ms-hero-h1.ms-hero-brand .ms-hero-brandmark em {
  color: var(--brand);
  font-style: italic;
  font-weight: 400;
  margin-left: 4px;
  opacity: 1;
}
.ms-hero-content-centered .ms-hero-lead {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 20px) !important;
  color: rgba(255,255,255,.92);
  max-width: 520px !important;
  margin: 0 auto !important;
}

/* ─── HERO — 40% taller (was 60vh / 480px → now 84vh / 672px) ─── */
.ms-hero.ms-hero-static {
  height: 46vh !important;       /* compact, fits the smaller heading + bottom bar */
  min-height: 400px !important;
}

.ms-hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
}

.ms-hero-cta-row {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 22px; flex-wrap: wrap;
}
.ms-hero-cta { font-size: 14px; padding: 12px 22px; }
.ms-hero-cta-alt {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.55) !important;
  backdrop-filter: blur(6px);
}
.ms-hero-cta-alt:hover { background: rgba(255,255,255,.2) !important; }

.ms-hero-credibility {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0;
  background: transparent;
  z-index: 6;
}
.ms-cred-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 18px;
  border-right: 1px solid rgba(255,255,255,.25);
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}
.ms-cred-item:last-child { border-right: none; }
.ms-cred-item > div { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ms-cred-item strong {
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ms-cred-item span {
  font-size: 11px; color: rgba(255,255,255,.78);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ms-cred-icon {
  font-size: 14px; color: #ffae7c; letter-spacing: -.5px; flex-shrink: 0;
}
.ms-cred-num {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 500; color: #ffae7c;
  line-height: 1; flex-shrink: 0;
}
@media (max-width: 900px) {
  .ms-hero-credibility { left: 12px; right: 12px; bottom: 14px; }
  .ms-cred-item { padding: 4px 8px; gap: 6px; }
  .ms-cred-item strong { font-size: 11px; }
  .ms-cred-item span { font-size: 10px; }
  .ms-cred-num { font-size: 16px; }
}

/* ─── "Lag din reise" — orange tab inside the cat-tabs-v2 row, after 1 uke+ ─── */
.cat-tab-v2.reiseplaner-cta-tab {
  background: linear-gradient(135deg, #B5613F, #e1432a) !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 600;
  padding: 10px 18px;
  box-shadow: 0 4px 14px rgba(225, 67, 42, .28);
  position: relative;
  overflow: visible;
  animation: msPulse 2.4s ease-in-out infinite;
  margin-left: 4px;
}
.cat-tab-v2.reiseplaner-cta-tab::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(225, 67, 42, .45);
  animation: msRingExpand 2.4s ease-out infinite;
  pointer-events: none;
}
.cat-tab-v2.reiseplaner-cta-tab:hover {
  background: linear-gradient(135deg, #a04220, #c93820) !important;
  color: #fff !important;
}
.cat-tab-v2.reiseplaner-cta-tab > span {
  color: #fff !important;
  letter-spacing: 0.02em;
}

/* ============================================
   QUICK-BOOK MODAL (single catalog item)
   ============================================ */
.ms-qb-backdrop, .ms-tweak-backdrop, .ms-picker-backdrop {
  position: fixed; inset: 0;
  background: rgba(31,27,22,.65);
  z-index: 9400;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
  backdrop-filter: blur(4px);
}
.ms-qb-modal {
  background: #fff;
  width: 100%; max-width: 560px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.ms-qb-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 0; background: rgba(255,255,255,.92);
  color: var(--ink); border-radius: 999px; cursor: pointer; z-index: 5;
}
.ms-qb-head {
  height: 170px;
  background-size: cover; background-position: center;
  position: relative;
}
.ms-qb-head-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.2), rgba(0,0,0,.7));
  color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px;
}
.ms-qb-head-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--ms-sand, #C9B99A);
  margin-bottom: 6px;
}
.ms-qb-head-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}
.ms-qb-body { padding: 22px 24px 26px; }
.ms-qb-intro {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.ms-qb-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px;
  margin-bottom: 18px;
}
.ms-qb-field { display: flex; flex-direction: column; gap: 5px; }
.ms-qb-field > span {
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); font-family: 'JetBrains Mono', monospace;
}
.ms-qb-field input, .ms-qb-field textarea {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 14px;
  font-family: inherit;
  background: var(--paper-2);
}
.ms-qb-field input:focus, .ms-qb-field textarea:focus {
  outline: none; border-color: var(--brand, #e0432a); background: #fff;
}
.ms-qb-stepper {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 4px 12px;
  align-self: flex-start;
}
.ms-qb-stepper button {
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
}
.ms-qb-stepper span { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; }
.ms-qb-cta-row {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 10px;
}
.ms-qb-cta-row .btn { flex: 1; min-width: 220px; text-align: center; }
.ms-qb-note {
  font-size: 11.5px;
  color: var(--ink-3);
  text-align: center;
  font-style: italic;
  margin: 4px 0 0;
}
.ms-qb-sent {
  text-align: center; padding: 16px 0;
}
.ms-qb-sent-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  background: #2a7c5a; color: #fff;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.ms-qb-sent h3 { font-family: 'Fraunces', serif; font-weight: 500; margin: 0 0 8px; }
.ms-qb-sent p { color: var(--ink-2); margin: 0 0 18px; line-height: 1.55; }

/* ============================================
   TWEAK ITINERARY MODAL
   ============================================ */
.ms-tweak-modal {
  background: var(--ms-ivory, #FAF6EE);
  width: 100%; max-width: 720px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.ms-tweak-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 0; background: rgba(255,255,255,.92);
  color: var(--ink); border-radius: 999px; cursor: pointer; z-index: 5;
}
.ms-tweak-head {
  padding: 26px 28px 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.ms-tweak-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .2em;
  color: var(--brand, #e0432a);
  margin-bottom: 8px;
}
.ms-tweak-head h2 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--ink);
}
.ms-tweak-head p { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }

.ms-tweak-body { padding: 22px 28px 28px; }
.ms-tweak-days {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 22px;
}
.ms-tweak-day {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.ms-tweak-day-head {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.ms-tweak-day-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: var(--brand, #e0432a);
  font-weight: 600;
  text-transform: uppercase;
}
.ms-tweak-day-route {
  font-family: 'Fraunces', serif;
  font-size: 16px;
  color: var(--ink);
  margin-top: 2px;
}
.ms-tweak-remove {
  background: transparent;
  border: 0;
  width: 28px; height: 28px;
  border-radius: 999px;
  color: var(--ink-3);
  cursor: pointer;
  transition: background .15s;
}
.ms-tweak-remove:hover { background: rgba(225,67,42,.1); color: var(--brand); }
.ms-tweak-day-text {
  font-size: 13px;
  color: var(--ink-2);
  margin: 6px 0 8px;
  line-height: 1.5;
}
.ms-tweak-extras {
  list-style: none; padding: 0;
  margin: 0 0 10px;
  display: flex; flex-direction: column; gap: 4px;
}
.ms-tweak-extras li {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(225,67,42,.06);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--brand);
}
.ms-tweak-extras li button {
  border: 0; background: transparent; cursor: pointer;
  color: var(--brand); font-size: 16px;
  line-height: 1; padding: 0 4px;
}
.ms-tweak-add {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--brand, #e0432a);
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.ms-tweak-add:hover { border-color: var(--brand); background: rgba(225,67,42,.04); }
.ms-tweak-empty {
  text-align: center; padding: 32px; color: var(--ink-3); font-style: italic;
}
.ms-tweak-contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
}
.ms-tweak-h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand, #e0432a);
  font-weight: 600;
  margin: 0 0 12px;
}

/* ============================================
   CATALOG PICKER (used by tweak modal)
   ============================================ */
.ms-picker-modal {
  background: #fff;
  width: 100%; max-width: 560px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
  display: flex; flex-direction: column;
  max-height: 80vh;
}
.ms-picker-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: 0; background: rgba(0,0,0,.08);
  color: var(--ink); border-radius: 999px; cursor: pointer; z-index: 5;
}
.ms-picker-modal header {
  padding: 22px 22px 0;
}
.ms-picker-modal h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px; font-weight: 500;
  margin: 0 0 14px;
}
.ms-picker-search {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
.ms-picker-tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
}
.ms-picker-tab {
  background: transparent; border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 6px;
}
.ms-picker-tab span {
  font-size: 10px;
  background: var(--paper-2);
  padding: 1px 6px;
  border-radius: 999px;
  color: var(--ink-3);
}
.ms-picker-tab.active {
  background: var(--brand, #e0432a); color: #fff; border-color: var(--brand);
}
.ms-picker-tab.active span { background: rgba(255,255,255,.2); color: #fff; }
.ms-picker-list {
  overflow-y: auto;
  padding: 12px 14px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.ms-picker-item {
  display: flex; gap: 12px; align-items: center;
  width: 100%;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px 8px 8px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color .15s;
}
.ms-picker-item:hover { border-color: var(--brand); background: #fff; }
.ms-picker-thumb {
  flex: 0 0 56px; height: 56px;
  background-size: cover; background-position: center;
  border-radius: 6px;
}
.ms-picker-meta { flex: 1; min-width: 0; }
.ms-picker-meta strong { display: block; font-size: 14px; color: var(--ink); }
.ms-picker-meta span { font-size: 12px; color: var(--ink-3); }
.ms-picker-add {
  font-size: 22px; color: var(--brand); font-weight: 300;
}
.ms-picker-empty {
  padding: 40px; text-align: center; color: var(--ink-3);
}

/* ============================================
   FAVOURITES QUICK-ADD (placed above the planning form)
   ============================================ */
.ms-favs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 0 0 32px;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.ms-favs-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 14px;
}
.ms-favs-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--brand, #e0432a);
  font-weight: 600;
  margin-bottom: 4px;
}
.ms-favs-head h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  margin: 0;
  color: var(--ink);
}
.ms-favs-count {
  background: var(--brand, #e0432a);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
}
.ms-favs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}
.ms-fav-card {
  display: flex; gap: 12px; align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px 8px 8px;
}
.ms-fav-card-itin { background: rgba(225,67,42,.04); border-color: rgba(225,67,42,.18); }
.ms-fav-thumb {
  flex: 0 0 56px; height: 56px;
  background-size: cover; background-position: center;
  border-radius: 6px;
}
.ms-fav-meta { flex: 1; min-width: 0; }
.ms-fav-meta strong { display: block; font-size: 13px; color: var(--ink); }
.ms-fav-meta span { font-size: 11.5px; color: var(--ink-3); }
.ms-fav-cta {
  background: transparent;
  border: 1px solid var(--brand);
  color: var(--brand);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background .15s;
}
.ms-fav-cta:hover { background: var(--brand); color: #fff; }

/* ── Sub-packages inside a catalog modal (e.g. La Bohème consolidated card) ── */
.cat-sub-pkg { margin: 18px 0 6px; }
.cat-sub-pkg-group { margin-top: 10px; }
.cat-sub-pkg-group-h {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin: 14px 0 8px;
}
.cat-sub-pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.cat-sub-pkg-card {
  background: var(--section-cream);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.cat-sub-pkg-img {
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  position: relative;
}
.cat-sub-pkg-badge {
  position: absolute; top: 8px; left: 8px;
  background: var(--brand); color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px; padding: 2px 8px;
  letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
.cat-sub-pkg-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.cat-sub-pkg-name {
  font-family: 'Playfair Display', serif !important;
  font-weight: 600; font-size: 15px; color: var(--ink);
  line-height: 1.2;
}
.cat-sub-pkg-duration {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 500;
}
.cat-sub-pkg-desc {
  font-size: 12px; color: var(--ink-2); margin: 4px 0; line-height: 1.5;
}
.cat-sub-pkg-list {
  margin: 4px 0 6px; padding: 0 0 0 16px;
  font-size: 11.5px; line-height: 1.5; color: var(--ink-2);
}
.cat-sub-pkg-list li { margin-bottom: 1px; }
.cat-sub-pkg-price-row {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-top: 4px;
}
.cat-sub-pkg-price {
  font-family: 'Playfair Display', serif;
  font-weight: 600; font-size: 15px; color: var(--brand);
}
.cat-sub-pkg-old {
  font-size: 11.5px; color: var(--ink-3); text-decoration: line-through;
}
.cat-sub-pkg-eur {
  font-size: 10.5px; color: var(--ink-3);
  font-family: 'JetBrains Mono', monospace;
}
.cat-sub-pkg-extra { font-size: 11px; color: var(--ink-3); }
.cat-sub-pkg-note {
  font-size: 10.5px; color: var(--ink-3); font-style: italic;
  margin-top: 2px;
}

/* ── Rental car booking widget inside the catalog modal ── */
.cat-rental-book {
  margin: 18px 0 4px;
  padding: 16px 18px;
  background: var(--section-sand);
  border: 1px solid var(--line);
}
.cat-rental-book-h {
  font-family: 'Inter', sans-serif;
  font-size: 11px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
  margin-bottom: 12px;
}
.cat-rental-book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px 14px;
  align-items: end;
}
@media (max-width: 600px) { .cat-rental-book-grid { grid-template-columns: 1fr 1fr; } }
.cat-rental-fld { display: flex; flex-direction: column; gap: 4px; }
.cat-rental-fld span {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.cat-rental-fld input {
  padding: 9px 12px;
  font-size: 13px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: 'Source Sans 3', sans-serif;
}
.cat-rental-fld input:focus {
  outline: 2px solid var(--brand);
  border-color: var(--brand);
}
.cat-rental-summary {
  padding-left: 12px; border-left: 2px solid var(--brand);
  display: flex; flex-direction: column; gap: 2px;
}
.cat-rental-summary-row {
  display: flex; gap: 12px; align-items: baseline;
}
.cat-rental-summary-row span {
  font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em;
}
.cat-rental-summary-row strong {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 600; color: var(--brand);
}
.cat-rental-summary-meta {
  font-size: 11px; color: var(--ink-3); font-family: 'JetBrains Mono', monospace;
}
.cat-rental-perks {
  margin-top: 12px;
  display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 11.5px; color: var(--ink-3);
}
.cat-rental-perks-h {
  color: var(--brand); font-weight: 600;
  letter-spacing: .04em;
}

/* ════════════════════════════════════════════════════════
   INSTAGRAM PHONE MOCKUP — right side of hero
   ════════════════════════════════════════════════════════ */
.ip-wrap {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
  padding: 8px;
}
.ip-glow {
  position: absolute; inset: -10% -20% -10% -20%;
  background: radial-gradient(circle at 50% 50%, rgba(224,67,42,.40), rgba(194,65,12,.18) 35%, rgba(224,67,42,0) 70%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* 3D floating animation on the phone — combines translateY with
   a gentle pitch/yaw/roll tilt for a parallax depth feel. */
@keyframes ipFloat3D {
  0%   { transform: translate3d(0, 0,    0) rotateX( 4deg) rotateY(-6deg) rotateZ(-1deg); }
  25%  { transform: translate3d(0, -10px,0) rotateX( 2deg) rotateY( 2deg) rotateZ( 0.5deg); }
  50%  { transform: translate3d(0, -14px,0) rotateX(-2deg) rotateY( 8deg) rotateZ( 1.2deg); }
  75%  { transform: translate3d(0, -10px,0) rotateX( 0deg) rotateY( 2deg) rotateZ( 0.5deg); }
  100% { transform: translate3d(0, 0,    0) rotateX( 4deg) rotateY(-6deg) rotateZ(-1deg); }
}
/* Legacy name kept as alias in case anything else references it */
@keyframes ipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes ipScroll {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
@keyframes ipPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(214,41,118,.35), 0 0 0 0 rgba(214,41,118,.45); }
  50%      { box-shadow: 0 8px 24px rgba(214,41,118,.35), 0 0 0 8px rgba(214,41,118,0); }
}

/* CTA pill above the phone */
.ip-follow-btn {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(95deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px !important;
  text-decoration: none;
  animation: ipPulse 2.6s ease-in-out infinite;
  transition: transform .2s;
}
.ip-follow-btn:hover { transform: translateY(-1px); }
.ip-follow-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ip-follow-btn strong { font-weight: 700; }

/* Phone frame — sits inside a 3D perspective wrapper */
.ip-phone-stage {
  perspective: 1400px;
  perspective-origin: 50% 40%;
}
.ip-phone {
  position: relative; z-index: 1;
  width: 300px; height: 620px;
  background: #14110F;
  border-radius: 48px !important;
  padding: 12px;
  box-shadow:
    inset 0 0 0 2px #2a2725,
    0 30px 60px rgba(20,17,15,.35),
    0 10px 25px rgba(20,17,15,.25);
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  animation: ipFloat3D 9s ease-in-out infinite;
  will-change: transform;
}
.ip-phone:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .ip-phone { animation: none; transform: none; }
}
@media (max-width: 1080px) {
  .ip-phone { width: 240px; height: 496px; padding: 9px; border-radius: 40px !important; }
}
@media (max-width: 540px) {
  .ip-phone { transform: scale(.85); transform-origin: top center; }
}

/* Side buttons (hinted on the left edge) */
.ip-phone-button {
  position: absolute; left: -2px; background: #2a2725;
  width: 3px; border-radius: 2px 0 0 2px;
}
.ip-phone-button-1 { top: 100px;  height: 28px; }
.ip-phone-button-2 { top: 150px;  height: 50px; }
.ip-phone-button-3 { top: 210px;  height: 50px; }
.ip-phone-button-4 { right: -2px; left: auto; top: 130px; height: 80px; border-radius: 0 2px 2px 0; }

/* Inner screen */
.ip-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 36px !important;
  overflow: hidden;
  display: flex; flex-direction: column;
}
@media (max-width: 1080px) { .ip-screen { border-radius: 30px !important; } }

/* Dynamic Island notch */
.ip-notch {
  position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #14110F;
  border-radius: 999px !important;
  z-index: 4;
}

/* Top bar */
.ip-top {
  flex-shrink: 0;
  margin-top: 46px;
  padding: 6px 14px 8px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid #efefef;
  background: #fff;
}
.ip-top-user {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 15px; font-weight: 700; color: #1a1310;
}
.ip-top-user strong { font-weight: 700; }
.ip-top-avatar {
  width: 22px; height: 22px;
  border-radius: 50% !important;
  object-fit: cover;
  background: var(--brand);
  padding: 1px;
  box-shadow: 0 0 0 1.5px var(--brand);
}
.ip-top-verified { display: inline-flex; }
.ip-top-chev { display: inline-flex; color: #1a1310; }
.ip-top-camera { display: inline-flex; color: #1a1310; }

/* Feed viewport — clips the scroll, hover pauses */
.ip-feed-viewport {
  flex: 1; overflow: hidden; position: relative;
  background: #fff;
}
.ip-feed-track {
  animation: ipScroll 60s linear infinite;
  will-change: transform;
}
.ip-feed-viewport:hover .ip-feed-track { animation-play-state: paused; }

/* Single post */
.ip-post {
  display: block; text-decoration: none; color: inherit;
  padding-bottom: 6px;
  border-bottom: 1px solid #efefef;
  cursor: pointer;
}
.ip-post:focus-visible { outline: 2px solid #d62976; outline-offset: -2px; }
.ip-post-head {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 10px;
}
.ip-post-avatar {
  width: 32px; height: 32px;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #feda75, #d62976);
  padding: 2px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ip-post-avatar img {
  width: 28px; height: 28px;
  border-radius: 50% !important;
  object-fit: cover;
  background: #fff;
  border: 1.5px solid #fff;
}
.ip-post-user {
  flex: 1; font-size: 13px; color: #1a1310;
  font-family: 'Source Sans 3', sans-serif;
  display: inline-flex; align-items: center; gap: 4px; overflow: hidden;
}
.ip-post-user strong { font-weight: 600; }
.ip-post-dot { color: #b5b0ab; }
.ip-post-follow {
  color: #0095F6; font-weight: 600; font-size: 12.5px;
}
.ip-post-dots { color: #1a1310; font-size: 14px; letter-spacing: 2px; padding: 0 2px; }

.ip-post-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f5f5f0;
  overflow: hidden;
}
.ip-post-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ip-post-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e0432a 0%, #B5613F 60%, #C9B99A 120%);
}
.ip-post-reel-tag {
  position: absolute; top: 10px; right: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(0,0,0,.55); color: #fff;
  padding: 3px 8px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  border-radius: 4px !important;
}

.ip-post-actions {
  display: flex; align-items: center; gap: 14px;
  padding: 8px 12px 4px;
  color: #1a1310;
}
.ip-post-actions .ip-post-bookmark { margin-left: auto; }
.ip-post-act {
  display: inline-flex; align-items: center; gap: 5px;
}
.ip-post-act em {
  font-style: normal;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px; font-weight: 600; color: #1a1310;
  letter-spacing: -.01em;
}
.ip-post-likes {
  padding: 2px 12px 4px;
  font-size: 12.5px; color: #1a1310;
  font-family: 'Source Sans 3', sans-serif;
}
.ip-post-likes strong { font-weight: 700; }

.ip-post-caption {
  padding: 0 12px;
  font-size: 12.5px; line-height: 1.4; color: #1a1310;
  font-family: 'Source Sans 3', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ip-post-caption strong { font-weight: 700; }
.ip-post-more { color: #8e8e8e; }
.ip-post-time {
  padding: 4px 12px 8px;
  font-size: 10.5px; color: #8e8e8e;
  text-transform: uppercase; letter-spacing: .04em;
}

/* Bottom nav */
.ip-bottom {
  flex-shrink: 0;
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 12px;
  border-top: 1px solid #efefef;
  background: #fff;
  color: #1a1310;
}
.ip-home-indicator {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 4px;
  background: #1a1310;
  border-radius: 999px !important;
  opacity: .85;
}

/* Hero 2-column layout */
@media (min-width: 1024px) {
  .ms-hero.ms-hero-static .ms-hero-content.ms-hero-content-centered {
    position: absolute;
    top: 50% !important; left: 5vw !important;
    transform: translateY(-50%) !important;
    text-align: left;
    max-width: 540px !important;
  }
  .ms-hero.ms-hero-static .ms-hero-content-centered .ms-hero-brandmark { display: block; }
  .ms-hero.ms-hero-static .ms-hero-cta-row { justify-content: flex-start; }
  .ms-hero.ms-hero-static .ip-wrap-host {
    position: absolute;
    top: 50%; right: 5vw;
    transform: translateY(-50%);
    z-index: 6;
  }
}
/* ── Mobile / narrow tablet — keep hero usable, IG phone stacked at the bottom ── */
@media (max-width: 1023px) {
  .ms-hero.ms-hero-static {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 70px;
    padding-bottom: 24px;
  }
  .ms-hero.ms-hero-static .ms-hero-content.ms-hero-content-centered {
    position: relative !important;
    top: auto !important; left: auto !important;
    transform: none !important;
    text-align: center;
    padding: 24px 5vw 12px;
    max-width: 100% !important;
  }
  .ms-hero.ms-hero-static .ip-wrap-host {
    position: relative;
    margin: 24px auto 8px;
    display: flex; justify-content: center;
    transform: scale(.78); transform-origin: top center;
    margin-bottom: -90px;          /* compensate for scaled height */
  }
  .ms-hero-credibility {
    position: relative !important;
    left: auto !important; right: auto !important; bottom: auto !important;
    margin-top: 16px; padding: 12px 5vw 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
  }
  .ms-cred-item { flex: 0 1 calc(50% - 12px); justify-content: flex-start; }
}

/* Smaller-phone tightening — make sure "MarrakechStory" never overflows */
@media (max-width: 640px) {
  .ms-hero-content-centered .ms-hero-h1.ms-hero-brand .ms-hero-brandmark {
    font-size: clamp(44px, 13vw, 70px) !important;
  }
  .ms-hero-content-centered .ms-hero-h1 {
    font-size: clamp(26px, 6.5vw, 40px) !important;
  }
  .ms-hero-eyebrow {
    font-size: 10px !important;
    padding: 5px 12px;
  }
  .ms-hero-cta-row { gap: 8px; }
  .ms-hero-cta { font-size: 12px; padding: 10px 18px; }
  .ms-cred-item { flex: 0 1 calc(50% - 10px); padding: 4px 8px; }
  .ms-cred-item strong { font-size: 11.5px; }
  .ms-cred-item span { font-size: 9.5px; }
  .ms-cred-num { font-size: 14px; }
}

/* ── Auth modal · mobile fixes ────────────────────────────────────────
   On phones the on-screen keyboard shrinks the viewport and can cover
   the inputs. Move the modal to the top instead of centred, make the
   backdrop scrollable, give it generous bottom padding so the user
   can scroll past the last field even with the keyboard open, and
   bump every input to ≥16px so iOS doesn't zoom on focus. */
@media (max-width: 768px) {
  .auth-backdrop {
    align-items: flex-start !important;
    justify-content: stretch !important;
    overflow-y: auto;
    padding: 12px 12px 60vh;
    -webkit-overflow-scrolling: touch;
  }
  .auth-modal {
    width: 100%;
    max-width: 480px;
    margin: 4vh auto 0;
    padding: 24px 18px 28px;
  }
}
@media (max-width: 480px) {
  .auth-modal { padding: 22px 16px 26px; }
  .auth-title { font-size: 22px; }
  .auth-sub   { font-size: 13px; margin-bottom: 16px; }
  /* 16px+ avoids iOS zoom-on-focus */
  .auth-fields .fld input { font-size: 16px !important; padding: 12px 12px; }
  .auth-google-btn { width: 100%; font-size: 14px; }
  .auth-row { flex-direction: column; }
  .auth-alt-btn { width: 100%; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  .ip-phone, .ip-feed-track, .ip-follow-btn { animation: none !important; }
}

/* ── Hero shortcut tabs ──
   Sit at the top of the active section (no gap, same background)
   so Reiseplaner / Katalog read as the heading of the content below.
   ~50% larger than the previous compact pills. */
.hero-tabs-section {
  background: var(--section-sand);
  padding: 40px 0 0;
  border-bottom: none;
  margin-bottom: -1px;  /* erase any seam with the next section */
}
.hero-tabs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.hero-tab {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 16px 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: none;       /* visually connect to the section below */
  cursor: pointer; text-align: center; font-family: inherit;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.hero-tab:hover { border-color: var(--ink-3); }
.hero-tab:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.hero-tab-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 19px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); line-height: 1.1;
}
.hero-tab-sub {
  font-size: 13px; color: var(--ink-3);
  line-height: 1.3; font-weight: 400; letter-spacing: 0;
}
.hero-tab.active {
  background: var(--brand);
  border-color: var(--brand);
}
.hero-tab.active .hero-tab-title,
.hero-tab.active .hero-tab-sub { color: #fff; }
/* Both sections always visible; no section-toggling. */
@media (max-width: 640px) {
  .hero-tabs-section { padding: 22px 0 0; }
  .hero-tabs-grid { gap: 6px; }
  .hero-tab { padding: 12px 12px 14px; }
  .hero-tab-title { font-size: 15px; }
  .hero-tab-sub { font-size: 11.5px; }
}

/* ===== Trip planner — "Choose for me" box (taste step) ===== */
.itin-choose-me {
  display: flex; align-items: center; gap: 14px; width: 100%;
  text-align: left; cursor: pointer;
  background: linear-gradient(135deg, #fff6f3, #fef0ec);
  border: 1.5px solid #f3d3c8; border-radius: 16px;
  padding: 16px 18px; margin: 4px 0 20px;
  transition: border-color .2s, box-shadow .2s, transform .1s;
}
.itin-choose-me:hover { border-color: var(--brand, #e0432a); box-shadow: 0 6px 20px rgba(224,67,42,.12); }
.itin-choose-me.active { border-color: var(--brand, #e0432a); background: linear-gradient(135deg, #fdeee9, #fbe2da); box-shadow: 0 6px 20px rgba(224,67,42,.16); }
.itin-choose-ico { font-size: 26px; flex-shrink: 0; }
.itin-choose-txt { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.itin-choose-txt strong { font-size: 16px; color: #1d1d1f; }
.itin-choose-txt span { font-size: 13px; color: #6e6e73; line-height: 1.4; }
.itin-choose-check {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #e0d2cc; color: #fff; font-weight: 800; font-size: 15px;
  transition: all .2s;
}
.itin-choose-me.active .itin-choose-check { background: var(--brand, #e0432a); border-color: var(--brand, #e0432a); }
.itin-choose-note {
  background: #f0f7f1; border: 1px solid #cfe9d4; color: #1c7a3f;
  border-radius: 14px; padding: 16px 18px; font-size: 14px; line-height: 1.5;
}

/* ===== Client portal — My bookings + messages ===== */
.ms-cp { display: flex; flex-direction: column; }
.ms-cp-booking { background: #fff; border: 1px solid #ececec; border-radius: 16px; padding: 18px; margin-bottom: 14px; }
.ms-cp-bk-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ms-cp-bk-top h3 { margin: 4px 0 4px; font-size: 18px; }
.ms-cp-ref { font-family: ui-monospace, Menlo, monospace; font-size: 11px; font-weight: 700; color: #e0432a; background: #fbe7e1; display: inline-block; padding: 2px 8px; border-radius: 6px; }
.ms-cp-dates { font-size: 13px; color: #6e6e73; }
.ms-cp-status { font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; white-space: nowrap; background: #eef0f2; color: #444; }
.ms-cp-status.st-new { background: #e7efff; color: #1f57c4; } .ms-cp-status.st-confirmed,.ms-cp-status.st-fully_paid { background: #e3f9e9; color: #15803d; }
.ms-cp-status.st-deposit_paid { background: #e2f1fb; color: #0a6ec4; } .ms-cp-status.st-quotation_sent,.ms-cp-status.st-waiting_confirmation { background: #fff2dd; color: #9a6400; }
.ms-cp-status.st-cancelled { background: #ffe8e6; color: #d11; }
.ms-cp-pay { display: flex; gap: 26px; margin: 14px 0; padding: 12px 0; border-top: 1px solid #f1f1f4; border-bottom: 1px solid #f1f1f4; }
.ms-cp-pay > div { display: flex; flex-direction: column; }
.ms-cp-pay span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; color: #6e6e73; font-weight: 700; }
.ms-cp-pay strong { font-size: 15px; color: #1d1d1f; }
.ms-cp-green { color: #15803d; }
.ms-cp-itin-toggle { background: none; border: none; color: #e0432a; font-weight: 600; font-size: 13px; cursor: pointer; padding: 4px 0; }
.ms-cp-day { display: flex; gap: 12px; padding: 8px 0; border-top: 1px solid #f4f4f2; }
.ms-cp-day-n { width: 26px; height: 26px; border-radius: 8px; background: #e0432a; color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ms-cp-act { font-size: 12.5px; color: #6e6e73; margin-top: 2px; }
.ms-cp-thread { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; padding: 6px 0; }
.ms-cp-thread-empty { color: #8a8a8a; font-size: 13.5px; padding: 8px 0; }
.ms-cp-msg { display: flex; flex-direction: column; max-width: 80%; }
.ms-cp-msg.me { align-self: flex-end; align-items: flex-end; }
.ms-cp-msg.them { align-self: flex-start; align-items: flex-start; }
.ms-cp-bubble { padding: 9px 13px; border-radius: 14px; font-size: 14px; line-height: 1.45; }
.ms-cp-msg.me .ms-cp-bubble { background: #e0432a; color: #fff; border-bottom-right-radius: 4px; }
.ms-cp-msg.them .ms-cp-bubble { background: #f0f0f3; color: #1d1d1f; border-bottom-left-radius: 4px; }
.ms-cp-msg-meta { font-size: 10.5px; color: #8a8a8a; margin-top: 3px; }
.ms-cp-composer { display: flex; gap: 8px; margin-top: 10px; }
.ms-cp-composer input { flex: 1; padding: 12px 14px; border: 1px solid #e3e3e3; border-radius: 12px; font-size: 14px; }
.ms-cp-composer input:focus { outline: none; border-color: #e0432a; }

/* Success-screen account CTA (non-blocking) */
.itin-sent-account { background: #fbf6f2; border: 1px solid #f0ddd3; border-radius: 14px; padding: 18px 20px; max-width: 460px; margin: 0 auto 20px; }
.itin-sent-account p { font-size: 14px; color: #6b594d; margin: 0 0 12px; }

/* ============================================================
   COMPACT PLANNER (v196) — text-line layout, fits without scroll
   Scoped to .itin-form so the rest of the site is untouched.
   ============================================================ */
.itin-form { height: auto !important; max-height: calc(100vh - 110px) !important; padding: 20px 22px 16px !important; }
@media (max-width: 1080px) { .itin-form { max-height: none !important; } }

/* Stepper — slimmer */
.itin-form .itin-stepper { margin-bottom: 12px !important; padding-bottom: 12px !important; gap: 5px; }
.itin-form .itin-step-pill { padding: 5px 10px; font-size: 11px; }
.itin-form .itin-step-pill .n { width: 17px; height: 17px; font-size: 9px; }

/* Headings — smaller, tighter; kill the big inline top-margins */
.itin-form .itin-q { font-size: 15px !important; margin: 14px 0 9px !important; line-height: 1.25; }
.itin-form .itin-step-body > div > .itin-q:first-child { margin-top: 0 !important; }

/* Option cards -> inline selectable TEXT LINES (pills) */
.itin-form .opt-grid { display: flex !important; flex-wrap: wrap; gap: 6px; }
.itin-form .opt-card {
  flex: 0 0 auto; width: auto; min-height: 0;
  flex-direction: row; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; text-align: left;
}
.itin-form .opt-card .ico { font-size: 14px; display: inline-flex; }
.itin-form .opt-card .ttl { font-size: 12.5px; font-weight: 600; }
.itin-form .opt-card .sub { font-size: 11px; color: var(--ink-3); font-weight: 400; }
.itin-form .opt-card .sub::before { content: '· '; }
.itin-form .opt-card.active { background: var(--ink); border-color: var(--ink); }
.itin-form .opt-card.active .ttl, .itin-form .opt-card.active .sub, .itin-form .opt-card.active .ico { color: #fff; }
.itin-form .opt-card.active::after { display: none !important; }

/* Counters -> compact single-line rows */
.itin-form .itin-counter-grid { display: flex !important; flex-direction: column; gap: 6px; }
.itin-form .form-counter { padding: 7px 12px; }
.itin-form .form-counter .name { font-size: 13px; }
.itin-form .form-counter .sub { font-size: 11px; }
.itin-form .counter-btns button { width: 26px; height: 26px; }

/* Fields — tighter */
.itin-form .fld { margin-bottom: 0; }
.itin-form .fld label { font-size: 11.5px; margin-bottom: 3px; }
.itin-form .fld input, .itin-form .fld select, .itin-form .fld textarea { padding: 8px 11px; font-size: 13px; }
.itin-form .fld-row { gap: 10px; }
.itin-form .fld textarea[rows] { min-height: 0; }

/* Calendar — denser */
.itin-form .rcal { padding: 8px 10px !important; }
.itin-form .rcal-months { gap: 12px !important; }
.itin-form .rcal-month-head { font-size: 12px; margin-bottom: 3px; }
.itin-form .rcal-wd { font-size: 9px; }
.itin-form .rcal-cell { font-size: 11px !important; height: 26px; line-height: 26px; padding: 0; }
.itin-form .period-summary { font-size: 12px; margin-top: 6px; }

/* Multi-city + flight toggles — slimmer */
.itin-form .multicity-toggle .mc-toggle, .itin-form .mc-toggle { padding: 7px 12px; font-size: 12px; }
.itin-form .mc-stop select, .itin-form .mc-night-ctrl { font-size: 12px; }

/* Taste / chips — denser (full builder) */
.itin-form .taste-section { margin-bottom: 10px; }
.itin-form .taste-section-h { font-size: 12px; margin-bottom: 6px; }
.itin-form .taste-chip { padding: 5px 10px; font-size: 12px; }
.itin-form .day-nav-pill { padding: 5px 9px; font-size: 11px; }
.itin-form .already-booked-check { font-size: 12.5px; }

/* Send-step list + nav slim */
.itin-form .itin-step-body ul { margin: 6px 0 0; }
.itin-form .itin-step-body p { font-size: 12.5px; }
.itin-form .form-nav { margin-top: 12px !important; padding-top: 12px !important; }

/* ===== Catalog in-modal reservation (v200) — one window, send reservation ===== */
.cat-reserve { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.cat-reserve-h { font-size: 15px; font-weight: 700; margin: 0 0 12px; letter-spacing: -0.01em; }
.cat-reserve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-reserve-grid input { padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; background: #fafafa; width: 100%; }
.cat-reserve-grid input:focus { outline: none; border-color: var(--brand); background: #fff; }
.cat-reserve-notes { width: 100%; margin-top: 10px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; background: #fafafa; font-family: inherit; }
.cat-reserve-notes:focus { outline: none; border-color: var(--brand); background: #fff; }
.cat-reserve-note { font-size: 12px; color: var(--ink-3); margin-top: 8px; font-style: italic; }
.cat-reserve-foot { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 14px; }
.cat-reserve-btn { white-space: nowrap; }
.cat-reserve-btn:disabled { opacity: .5; cursor: default; }
.cat-reserve-done { text-align: center; padding: 14px 0 6px; }
.cat-reserve-check { width: 46px; height: 46px; border-radius: 50%; background: #e3f9e9; color: #1c7a3f; font-size: 24px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; }
.cat-reserve-done h3 { font-size: 18px; margin: 0 0 6px; }
.cat-reserve-done p { font-size: 13.5px; color: var(--ink-3); margin: 0; }
@media (max-width: 600px) { .cat-reserve-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════
   v219 — rebuilt client auth (tabs) + profile bookings actions
   ════════════════════════════════════════════════════════════════ */
.auth-tabs { display: flex; gap: 4px; background: rgba(0,0,0,.05); border-radius: 12px; padding: 4px; margin: 0 0 18px; }
.auth-tab { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--ink-3, #8a7d70); cursor: pointer; font-family: inherit; transition: all .15s; }
.auth-tab.active { background: #fff; color: var(--ink, #1a1310); box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.auth-msg { color: #1c7a3f; font-size: 13px; margin: 2px 0 0; }
.auth-forgot { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--brand, #e0432a); font-size: 13px; cursor: pointer; font-family: inherit; text-decoration: underline; }
.auth-fineprint { font-size: 11.5px; color: var(--ink-3, #8a7d70); text-align: center; margin: 10px 0 0; line-height: 1.4; }

/* profile overview cards are now buttons */
.ms-profile-card { text-align: left; cursor: pointer; font-family: inherit; transition: transform .14s, box-shadow .14s; }
button.ms-profile-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.ms-profile-card-cta { cursor: default; }

/* booking action buttons (itinerary / invoice) */
.ms-cp-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btn.btn-sm { padding: 7px 13px; font-size: 12.5px; border-radius: 9px; }
.ms-cp-itin { margin-top: 12px; }

/* ════════════════════════════════════════════════════════════════
   v220 — split auth modal: Marrakech welcome panel + social logins
   (two-class selectors + !important beat the shared modal rules)
   ════════════════════════════════════════════════════════════════ */
.auth-modal.auth-modal-split {
  width: min(540px, 100%) !important; max-width: min(540px, 100%) !important;   /* ~40% smaller than 880 */
  display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 0 !important;
  padding: 0 !important; overflow: hidden !important; border-radius: 18px !important;
  max-height: calc(100dvh - 32px) !important;
}
.auth-modal-split .auth-aside, .auth-modal-split .auth-main { min-width: 0; }
.auth-modal-split .auth-close { z-index: 6; top: 10px; right: 10px; width: 28px; height: 28px; font-size: 14px; }
.auth-aside { position: relative; background-size: cover; background-position: center; color: #fff; min-height: 330px; display: flex; }
.auth-aside::after { content: ''; position: absolute; inset: 0; background: linear-gradient(165deg, rgba(20,16,14,.30) 20%, rgba(20,16,14,.86) 100%); }
.auth-aside-inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 18px; gap: 6px; width: 100%; }
.auth-aside-logo { margin-bottom: auto; }
.auth-aside-logo img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 2px 10px rgba(0,0,0,.45)); }
.auth-aside-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px !important; line-height: 1.15 !important; margin: 0; color: #fff; overflow-wrap: break-word; }
.auth-aside-sub { font-size: 12px; opacity: .92; margin: 0 0 4px; line-height: 1.35; }
.auth-benefits { list-style: none; margin: 2px 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.auth-benefits li { display: flex; align-items: center; gap: 9px; font-size: 11.5px; line-height: 1.3; }
.auth-benefit-ic { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.20); backdrop-filter: blur(4px); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.auth-aside-foot { font-size: 10.5px; opacity: .8; margin-top: 5px; }
.auth-main { padding: 22px 20px 18px; overflow-y: auto; max-height: calc(100dvh - 32px); }
.auth-main .auth-title { margin: 0 0 3px; font-size: 19px; }
.auth-main .auth-sub { margin: 0 0 12px; font-size: 12.5px; }
.auth-modal-split .auth-fields { gap: 9px; margin-bottom: 12px; }
.auth-modal-split .fld input { padding: 9px 11px; font-size: 14px; }
.auth-modal-split .auth-submit { padding: 11px; }
.auth-social { display: flex; flex-direction: column; gap: 8px; }
.auth-social-row { display: flex; gap: 8px; }
.auth-google-btn { padding: 9px 12px !important; font-size: 13px !important; }
.auth-modal-split .auth-divider { margin: 12px 0 !important; }
.auth-social-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px; border: 1px solid var(--line, #e7e1d9); border-radius: 11px; background: #fff; font-weight: 600; font-size: 12.5px; cursor: pointer; font-family: inherit; color: var(--ink, #1a1310); transition: background .15s; }
.auth-social-btn:hover { background: #faf7f2; }

@media (max-width: 760px) {
  .auth-modal.auth-modal-split { grid-template-columns: 1fr !important; overflow-y: auto !important; }
  .auth-aside { min-height: 150px; }
  .auth-aside-inner { padding: 18px 22px; justify-content: flex-end; }
  .auth-aside-sub, .auth-benefits, .auth-aside-foot { display: none; }
  .auth-aside-title { font-size: 21px !important; }
  .auth-main { padding: 22px 22px 20px; max-height: none; }
}

/* ─── Compact search in the top bar (next to the currency pill) ─── */
.ms-hero-search-wrap--nav { position: relative; width: 150px; max-width: 22vw; margin: 0; }
.ms-hero-search-wrap--nav .ms-hero-search {
  height: 36px; padding: 0 10px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: none;
}
.nav.scrolled .ms-hero-search-wrap--nav .ms-hero-search { background: #f2f2f4; border-color: #e3e3e8; }
.ms-hero-search-wrap--nav .ms-hero-search input { font-size: 13px; height: 34px; }
.ms-hero-search-wrap--nav .ms-hero-search-icon { width: 15px; height: 15px; }
.ms-hero-search-wrap--nav .ms-hero-search-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; right: auto; width: 340px; max-width: 86vw;
  max-height: 60vh; overflow-y: auto;
}
@media (max-width: 900px) { .ms-hero-search-wrap--nav { display: none; } }

/* ─── Hero social stats (Instagram / Facebook / TikTok) ─── */
.ms-hero-socials { gap: 26px; }
.ms-social-item { text-decoration: none; color: inherit; transition: transform .15s, opacity .15s; }
.ms-social-item:hover { transform: translateY(-2px); opacity: .92; }
.ms-social-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff; }
.ms-social-item strong { font-size: 18px; line-height: 1.1; }
.ms-social-item span { font-size: 12px; opacity: .85; }

/* ─── Hero v2: no heading, socials grouped to the right ─── */
.ms-hero-content-noh1 { top: 50% !important; }
.ms-hero-socials {
  left: auto !important; right: 24px !important; bottom: 20px !important;
  justify-content: flex-end !important; gap: 8px !important;
}
.ms-hero-socials .ms-cred-item {
  flex: 0 0 auto !important; border-right: none !important; padding: 6px 12px !important;
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.ms-hero-socials .ms-social-icon { width: 30px; height: 30px; }
.ms-hero-socials .ms-social-item strong { font-size: 15px; }
.ms-hero-socials .ms-social-item span { font-size: 11px; }
@media (max-width: 640px) {
  .ms-hero-socials { right: 12px !important; left: 12px !important; justify-content: center !important; flex-wrap: wrap; }
}

/* ─── Hero socials bar — own class (avoids .ms-hero-credibility overrides) ─── */
.ms-hero .ms-hero-socials-bar {
  position: absolute; right: 24px; bottom: 20px; z-index: 7;
  display: flex; align-items: center; gap: 8px;
}
.ms-hero .ms-hero-socials-bar .ms-social-item {
  display: flex; align-items: center; gap: 8px; padding: 6px 13px; text-decoration: none; color: #fff;
  background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.24); border-radius: 999px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .15s, background .15s;
}
.ms-hero .ms-hero-socials-bar .ms-social-item:hover { transform: translateY(-2px); background: rgba(0,0,0,.45); }
.ms-hero .ms-hero-socials-bar .ms-social-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(255,255,255,.16); color: #fff;
}
.ms-hero .ms-hero-socials-bar .ms-social-item > div { display: flex; flex-direction: column; line-height: 1.15; }
.ms-hero .ms-hero-socials-bar strong { font-size: 15px; font-weight: 700; color: #fff; }
.ms-hero .ms-hero-socials-bar span { font-size: 11px; color: #fff; opacity: .85; }
@media (max-width: 640px) {
  .ms-hero .ms-hero-socials-bar { right: 12px; left: 12px; bottom: 12px; justify-content: center; flex-wrap: wrap; }
}

/* ─── Hero v3: heading back (30% smaller) at top, buttons + socials on one bottom row ─── */
.ms-hero.ms-hero-static .ms-hero-content.ms-hero-content-centered.ms-hero-content-top {
  top: 30px !important; bottom: auto !important; left: 0 !important; right: 0 !important;
  transform: none !important; text-align: center !important; max-width: none !important;
  margin: 0 auto !important; padding: 0 5vw !important;
}
.ms-hero-content-centered .ms-hero-h1.ms-hero-h1-sm { font-size: clamp(24px, 3.5vw, 42px) !important; margin: 0 !important; }
.ms-hero-content-centered .ms-hero-h1.ms-hero-h1-sm.ms-hero-brand .ms-hero-brandmark { font-size: clamp(54px, 7.8vw, 94px) !important; margin-top: 2px; }

/* Bottom row: buttons left, socials right, aligned */
.ms-hero .ms-hero-bottom {
  position: absolute; left: 5vw; right: 5vw; bottom: 22px; z-index: 7;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.ms-hero .ms-hero-bottom .ms-hero-cta-row { margin: 0 !important; justify-content: flex-start !important; }
.ms-hero .ms-hero-bottom .ms-hero-socials-bar { position: static !important; right: auto !important; bottom: auto !important; }
@media (max-width: 640px) {
  .ms-hero .ms-hero-bottom { flex-direction: column; align-items: center; gap: 12px; left: 12px; right: 12px; }
}

/* ─── Top bar — align nav content vertically ─── */
.nav .nav-inner { align-items: center; }
.nav .nav-cta { display: flex; align-items: center; gap: 10px; }
.nav .nav-cta .ms-hero-search-wrap--nav { display: flex; align-items: center; }
