/* ============================================================
   Sale Scuola Viaggi — Editorial Luxury Refactor
   Plus Jakarta Sans · Fraunces · Double-bezel · Choreographed
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Editorial Luxury palette */
  --paper:    #FDFBF7;
  --paper-2:  #F4EEDF;
  --paper-3:  #EBE3CF;
  --surface:  #FFFFFF;
  --espresso: #2C1F18;
  --ink:      #1A1410;
  --ink-2:    #36486B;     /* IdV slate navy — secondary text + footer */
  --muted:    #7B6E64;
  --muted-2:  #A89B8E;
  --hairline: rgba(26, 20, 16, 0.06);
  --hairline-2: rgba(26, 20, 16, 0.10);

  --brand:    #009BDC;     /* IdV's declared sky blue — primary brand */
  --brand-2:  #0467AA;     /* darker blue for hovers */
  --brand-3:  #D6EFFC;     /* tint of blue for soft fills */
  --accent:   #1F5C4A;     /* palm green — accent only, Fidati della Palma */
  --accent-2: #103D30;     /* deeper palm green */
  --accent-3: #D4E4DB;     /* palm green tint */
  --gold:     #FFB534;     /* IdV mustard yellow — emphasis */
  --gold-2:   #C8A047;     /* coconut gold, secondary */
  --coral:    #D26A56;     /* Honeymoon-only signature */
  --coral-2:  #FFE5DD;
  --sage:     #6E8973;

  /* Type */
  --serif: 'Fraunces', 'PP Editorial New', Georgia, serif;
  --sans:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii — exaggerated squircles per skill */
  --r-xs: 10px;
  --r-sm: 16px;
  --r-md: 22px;
  --r-lg: 32px;
  --r-xl: 44px;

  /* Bezel constants */
  --bezel-pad: 6px;

  /* Shadows */
  --shadow-soft:   0 1px 2px rgba(26, 20, 16, 0.04), 0 8px 24px -10px rgba(26, 20, 16, 0.10);
  --shadow-medium: 0 1px 2px rgba(26, 20, 16, 0.04), 0 24px 48px -16px rgba(26, 20, 16, 0.16);
  --shadow-deep:   0 1px 2px rgba(26, 20, 16, 0.04), 0 40px 72px -24px rgba(26, 20, 16, 0.24);
  --shadow-inset:  inset 0 1px 1px rgba(255, 255, 255, 0.6);

  /* Motion curves — per skill, no linear/ease-in-out */
  --ease-out:      cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-emphasis: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
::selection { background: var(--brand); color: var(--paper); }

/* Film grain overlay — fixed, pointer-events-none per skill */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ============================================================
   Typography
   ============================================================ */
.serif { font-family: var(--serif); }
.italic { font-style: italic; font-weight: 300; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline-2), var(--shadow-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.eyebrow.gold .dot   { background: var(--gold); }
.eyebrow.brand .dot  { background: var(--brand); }
.eyebrow.accent .dot { background: var(--accent); }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.0;
  color: var(--ink);
}
h1 { font-size: clamp(48px, 7.6vw, 112px); line-height: 0.95; }
h2 { font-size: clamp(36px, 5.4vw, 76px); line-height: 1.0; }
h3 { font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; }
h4 { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; font-weight: 500; }
h5 { font-size: 18px; line-height: 1.3; font-weight: 500; }

h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  font-weight: 300;
  color: var(--brand);
}
h1 .muted, h2 .muted, h3 .muted { color: var(--muted-2); }

p { margin: 0; }
.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}
.section          { padding-block: clamp(80px, 12vw, 168px); }
.section.tight    { padding-block: clamp(56px, 8vw, 96px); }

/* ============================================================
   Buttons — Magnetic, Button-in-Button
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition:
    transform 700ms var(--ease-out),
    background-color 500ms var(--ease-out),
    color 500ms var(--ease-out),
    box-shadow 500ms var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn .icon-bubble {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 700ms var(--ease-out), background-color 500ms var(--ease-out);
}
.btn:hover .icon-bubble {
  transform: translate(2px, -2px) scale(1.06);
}
.btn .icon-bubble svg {
  width: 14px; height: 14px;
  color: currentColor;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
  background: var(--brand);
  box-shadow: var(--shadow-medium);
}
.btn-coral {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-coral:hover {
  background: var(--accent-2);
  box-shadow: var(--shadow-medium);
}
.btn-coral .icon-bubble { background: rgba(255, 255, 255, 0.18); }

.btn-ghost {
  background: rgba(26, 20, 16, 0.04);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hairline-2);
}
.btn-ghost:hover { background: rgba(26, 20, 16, 0.08); }
.btn-ghost .icon-bubble { background: rgba(26, 20, 16, 0.06); }

.btn-light {
  background: rgba(255, 255, 255, 0.10);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20);
}
.btn-light:hover { background: rgba(255, 255, 255, 0.18); }
.btn-light .icon-bubble { background: rgba(255, 255, 255, 0.16); }

.btn-link {
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.btn-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 600ms var(--ease-out);
}
.btn-link:hover { color: var(--brand); }
.btn-link:hover::after { transform: scaleX(0); transform-origin: right; }

/* ============================================================
   Editorial numerals + big letters (replaces 3D icon tiles)
   ============================================================ */
.numeral {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand);
  display: inline-block;
}
.numeral.lg { font-size: 80px; }
.numeral.gold { color: var(--gold); }

.big-letter {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 120px;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: var(--brand);
  margin: 0;
  display: block;
}

.thin-tick {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-3);
  color: var(--brand);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(0, 155, 220, 0.18);
}
.thin-tick svg { width: 14px; height: 14px; stroke-width: 1.6; }

/* ============================================================
   Real 3D icons (gpt-image-2 generated PNGs on blank bg)
   ============================================================ */
.icon-3d {
  display: block;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  object-fit: contain;
  /* Multiply blends the white background with the cream paper, while keeping
     the colored 3D-rendered glyph fully saturated. */
  mix-blend-mode: multiply;
  transition: transform 700ms var(--ease-spring);
}
.icon-3d:hover { transform: rotate(-4deg) translateY(-2px) scale(1.04); }
.icon-3d.sm  { width: 40px;  height: 40px; }
.icon-3d.md  { width: 56px;  height: 56px; }
.icon-3d.lg  { width: 96px;  height: 96px; }
.icon-3d.xl  { width: 128px; height: 128px; }
.icon-3d.xxl { width: 168px; height: 168px; }

.dot-marker {
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  margin-top: 8px;
}

.avatar-letter {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--brand-3);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(0, 155, 220, 0.18);
}
.avatar-letter.gold {
  background: rgba(184, 137, 62, 0.14);
  color: var(--gold);
  box-shadow: inset 0 0 0 1px rgba(184, 137, 62, 0.18);
}
.avatar-letter.ink {
  background: rgba(26, 20, 16, 0.06);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--hairline-2);
}

/* legacy .icon-tile rules — kept neutral for backward compat in case any HTML
   still references them; renders as a tiny orange dot. Real 3D icons (Airbnb
   style) require the gpt-image / nano-banana pipeline (currently quota-blocked). */
.icon-tile, .icon-tile.large {
  display: none;
}

/* ============================================================
   Double-Bezel Card
   ============================================================ */
.bezel {
  background: rgba(26, 20, 16, 0.05);
  border-radius: var(--r-lg);
  padding: var(--bezel-pad);
  box-shadow: inset 0 0 0 1px var(--hairline-2);
  transition: transform 700ms var(--ease-out), box-shadow 700ms var(--ease-out);
}
.bezel-inner {
  background: var(--surface);
  border-radius: calc(var(--r-lg) - var(--bezel-pad));
  box-shadow: var(--shadow-inset);
  overflow: hidden;
}
.bezel:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px var(--hairline-2), var(--shadow-medium);
}

/* dark variant */
.bezel-dark {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  padding: var(--bezel-pad);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}
.bezel-dark .bezel-inner {
  background: rgba(255, 255, 255, 0.02);
  border-radius: calc(var(--r-lg) - var(--bezel-pad));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

/* ============================================================
   Scroll Reveal (IntersectionObserver-driven)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out),
    filter 900ms var(--ease-out);
  will-change: opacity, transform, filter;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }
.reveal.delay-4 { transition-delay: 320ms; }
.reveal.delay-5 { transition-delay: 400ms; }
.reveal.delay-6 { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* ============================================================
   Header — Floating Glass Pill
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-top: 18px;
  padding-inline: var(--gutter);
  pointer-events: none;
  transition: padding-top 600ms var(--ease-out);
}
.site-header.scrolled { padding-top: 12px; }
.site-header .pill {
  pointer-events: auto;
  max-width: var(--container);
  margin-inline: auto;
  padding: 8px 8px 8px 22px;
  border-radius: 999px;
  background: rgba(253, 251, 247, 0.78);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    0 1px 2px rgba(26, 20, 16, 0.04),
    0 12px 32px -12px rgba(26, 20, 16, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: box-shadow 600ms var(--ease-out), padding 600ms var(--ease-out);
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 16px;
}
.brand-mark .mark {
  width: 38px; height: 38px;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
  flex-shrink: 0;
  transition: transform 600ms var(--ease-spring);
}
.brand-mark:hover .mark { transform: rotate(-6deg) scale(1.06); }
.brand-mark .word {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.05;
}
.brand-mark .word small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 500;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  position: relative;
  transition: color 400ms var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -8px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateX(-50%);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;        /* never collapse, keep CTA full size */
  white-space: nowrap;   /* never wrap button text */
}
.nav-cta .btn {
  padding: 6px 6px 6px 16px;
  font-size: 13px;
  white-space: nowrap;
}
.nav-cta .btn .icon-bubble { width: 28px; height: 28px; }

/* Compact language switcher — globe icon + current code, no overflow */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  background: rgba(26, 20, 16, 0.04);
  box-shadow: inset 0 0 0 1px var(--hairline-2);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  transition: background 400ms var(--ease-out);
  white-space: nowrap;
}
.lang-switch:hover { background: rgba(26, 20, 16, 0.08); }
.lang-switch svg { width: 14px; height: 14px; opacity: 0.7; flex-shrink: 0; }
.lang-switch .chev { width: 10px; height: 10px; opacity: 0.45; }

@media (max-width: 980px) { .nav { display: none; } .nav-cta .lang-switch { display: none; } }

/* ============================================================
   Hero — Editorial Split + Parallax
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(120px, 14vh, 180px);
  padding-bottom: clamp(80px, 10vw, 120px);
  overflow: hidden;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.hero .copy { padding-block: 24px; }
.hero h1 { letter-spacing: -0.035em; }
.hero h1 .row1 { display: block; }
.hero h1 em { display: inline-block; }
.hero .lead {
  margin-top: 36px;
  max-width: 48ch;
}
.hero .ctas {
  margin-top: 40px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 480px;
}
.hero .meta .stat .num {
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.hero .meta .stat .num em { font-style: italic; color: var(--brand); font-weight: 300; }
.hero .meta .stat .lbl {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero .visual-wrap { position: relative; }
.hero .visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-deep);
  will-change: transform;
}
.hero .visual img {
  position: absolute;
  inset: -8% -4% -4% -4%;
  width: 108%;
  height: 112%;
  object-fit: cover;
  will-change: transform;
}
.hero .visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

/* hero floating chip */
.hero .chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  box-shadow: var(--shadow-medium);
  /* Each chip has a baseline transform applied by hover. We define the
     transition here so the chip always animates smoothly back to rest. */
  transition:
    transform 700ms var(--ease-spring),
    box-shadow 600ms var(--ease-out);
  will-change: transform;
}

/* Hover the hero visual → chips pop out + tilt slightly. Each chip moves
   away from the image center in its own direction, with a small rotation.
   (We don't scale the photo itself: it's driven by parallax JS and would
    get visibly overridden.) */
.hero .visual-wrap:hover .chip { box-shadow: var(--shadow-deep); }
.hero .visual-wrap:hover .chip-1 { transform: translate(-10px, -6px) rotate(-3deg) scale(1.04); }
.hero .visual-wrap:hover .chip-4 { transform: translate(12px, -6px) rotate( 3deg) scale(1.04); }
.hero .visual-wrap:hover .chip-2 { transform: translate(12px,  0px) rotate( 2deg) scale(1.04); }
.hero .visual-wrap:hover .chip-5 { transform: translate(-12px, 4px) rotate(-2deg) scale(1.04); }
.hero .visual-wrap:hover .chip-3 { transform: translate(0, 6px) scale(1.015); }
.hero .chip .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.6s var(--ease-out) infinite;
}
.hero .chip-1 { top: 28px; left: -32px; }
.hero .chip-2 { top: 44%; right: -36px; padding-left: 10px; }
.hero .chip-2 img.icon-3d { width: 32px; height: 32px; mix-blend-mode: multiply; }
.hero .chip-4 { top: 92px; right: -28px; padding: 8px 16px 8px 8px; gap: 10px; }
.hero .chip-4 .flag { font-size: 18px; line-height: 1; }
.hero .chip-4 .price-mini {
  display: inline-flex; flex-direction: column; line-height: 1.2;
}
.hero .chip-4 .price-mini strong {
  font-family: var(--serif); font-weight: 400; font-size: 16px; letter-spacing: -0.01em;
  color: var(--ink);
}
.hero .chip-4 .price-mini small {
  font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500;
}
.hero .chip-5 { top: 60%; left: -32px; padding-right: 18px; }
.hero .chip-5 .pulse-dot {
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  animation: pulse 1.6s var(--ease-out) infinite;
}
.hero .chip-3 {
  bottom: 24px;
  /* Extended past the photo edges (like the other chips) for more breathing room. */
  left: -16px;
  right: -16px;
  background: rgba(26, 20, 16, 0.72);
  color: var(--paper);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
/* The inner wrapping div must fill remaining width and allow children to wrap. */
.hero .chip-3 > div {
  flex: 1;
  min-width: 0;
}
.hero .chip-3 .quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.35;
  /* Wrap at word boundaries; allow long words to break if needed. */
  overflow-wrap: anywhere;
  word-wrap: break-word;
  hyphens: auto;
}
.hero .chip-3 .who {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(253, 251, 247, 0.7);
  margin-top: 4px;
  font-style: normal;
  font-family: var(--sans);
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 155, 220, 0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(0, 155, 220, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 155, 220, 0); }
}

@media (max-width: 980px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero .visual { aspect-ratio: 4 / 5; max-height: 620px; }
  .hero .chip-1 { left: 16px; }
  .hero .chip-2 { right: 16px; }
}
@media (max-width: 600px) {
  .hero .meta { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero .meta .stat .num { font-size: 26px; }
}

/* ============================================================
   Marquee — Editorial cities + plane loop (front/back z-index trick)
   ============================================================ */
.marquee-wrap {
  position: relative;
  /* z-index 4 lifts the wrap (and its plane SVGs) above following sections,
     so the plane's bottom arc isn't covered by the next section's bg. */
  z-index: 4;
  /* Allow the plane loop SVGs to extend above + below the strip */
  overflow: visible;
  margin-block: clamp(48px, 5vw, 80px);
}
.plane-loop {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 220px;
  transform: translateY(-50%);
  pointer-events: none;
  overflow: visible;
}
.plane-loop-back  { z-index: 1; }
.plane-loop-front { z-index: 3; }
.plane-loop image {
  filter: drop-shadow(0 6px 10px rgba(26, 20, 16, 0.18));
}

.marquee {
  position: relative;
  z-index: 2;                           /* sits between the two plane SVGs */
  border-block: 1px solid var(--hairline);
  padding-block: 22px;
  background: var(--paper);             /* opaque — hides the back plane as it crosses */
  overflow: hidden;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(to right, var(--paper), transparent); }
.marquee::after  { right: 0; background: linear-gradient(to left, var(--paper), transparent); }
.marquee .row {
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
  animation: scroll 56s linear infinite;
}
.marquee .item {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.marquee .item .sep {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   Pillars — Bento Style
   ============================================================ */
.pillars { background: var(--paper); }
.pillars h2 em { color: var(--accent); }   /* palm green stays for Fidati della Palma */
.pillars .head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(24px, 6vw, 96px);
  margin-bottom: 80px;
  align-items: end;
}
.pillars .head .lead { max-width: 48ch; }
.pillars .grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.pillar {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 320px;
  transition: transform 700ms var(--ease-out), box-shadow 700ms var(--ease-out);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    var(--shadow-medium);
}
.pillar:nth-child(1) { grid-column: span 5; min-height: 360px; }
.pillar:nth-child(2) { grid-column: span 7; min-height: 360px; }
.pillar:nth-child(3) { grid-column: span 7; }
.pillar:nth-child(4) { grid-column: span 5; }

.pillar h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: auto;
}
.pillar h4 em { font-style: italic; color: var(--accent); font-weight: 300; }
.pillar p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 36ch;
}
.pillar .footnote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

@media (max-width: 1024px) {
  .pillars .grid { grid-template-columns: repeat(2, 1fr); }
  .pillar { grid-column: span 1 !important; min-height: 280px !important; }
}
@media (max-width: 600px) {
  .pillars .grid { grid-template-columns: 1fr; }
  .pillars .head { grid-template-columns: 1fr; margin-bottom: 56px; }
}

/* ============================================================
   Audiences — Three Big Editorial Cards (3D icons)
   ============================================================ */
.audiences { background: var(--paper); }
.audiences .head {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(24px, 6vw, 96px);
  margin-bottom: 80px;
  align-items: end;
}
.audiences .head .lead { max-width: 48ch; }
.audiences .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.audience-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 340px;
  transition: transform 700ms var(--ease-out), box-shadow 700ms var(--ease-out);
}
.audience-card:hover {
  transform: translateY(-5px);
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    var(--shadow-medium);
}
.audience-card .arrow {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(26,20,16,0.05);
  display: grid;
  place-items: center;
  transition: transform 700ms var(--ease-out), background 500ms var(--ease-out);
}
.audience-card:hover .arrow {
  transform: rotate(-12deg) scale(1.06);
  background: var(--ink);
  color: var(--paper);
}
.audience-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
}
.audience-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 32ch;
}
.audience-card .stat {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.audience-card .stat .num {
  font-family: var(--serif);
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.audience-card .stat .lbl {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 980px) { .audiences .grid { grid-template-columns: 1fr; } .audiences .head { grid-template-columns: 1fr; } }

/* ============================================================
   Featured trip cards (homepage)
   ============================================================ */
.featured { background: var(--paper-2); border-block: 1px solid var(--hairline); }
.featured .head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 64px;
  gap: 24px;
}
.featured .head h2 { max-width: 16ch; }
.featured .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.trip-card {
  display: block;
  border-radius: var(--r-lg);
  padding: var(--bezel-pad);
  background: rgba(26, 20, 16, 0.05);
  box-shadow: inset 0 0 0 1px var(--hairline-2);
  transition: transform 700ms var(--ease-out), box-shadow 700ms var(--ease-out);
  position: relative;
}
.trip-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    var(--shadow-deep);
}
.trip-card .inner {
  background: var(--surface);
  border-radius: calc(var(--r-lg) - var(--bezel-pad));
  box-shadow: var(--shadow-inset);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.trip-card .visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  overflow: hidden;
}
.trip-card .visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-out);
}
.trip-card:hover .visual img { transform: scale(1.06); }
.trip-card .badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.trip-card .badge .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.trip-card .badge.coral { background: var(--coral); color: #fff; }
.trip-card .badge.coral .dot { background: #fff; }

.trip-card .body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trip-card .meta-line {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.trip-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.025em;
}
.trip-card .desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 36ch;
}
.trip-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.trip-card .price {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
}
.trip-card .price small { font-size: 11.5px; color: var(--muted); margin-left: 4px; font-family: var(--sans); }
.trip-card .arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(26,20,16,0.06);
  display: grid; place-items: center;
  transition: transform 700ms var(--ease-out), background 500ms var(--ease-out), color 500ms var(--ease-out);
}
.trip-card:hover .arrow {
  transform: translate(2px, -2px) rotate(-8deg);
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 980px) { .featured .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .featured .grid { grid-template-columns: 1fr; }
  .featured .head { flex-direction: column; align-items: start; }
}

/* ============================================================
   Testimonials
   ============================================================ */
.testimonials { background: var(--paper-3); border-block: 1px solid var(--hairline); }
.testimonials .head { max-width: 760px; margin: 0 auto 80px; text-align: center; }
.testimonials .head .eyebrow { margin-bottom: 22px; }
.testimonials .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testimonial {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 36px 32px 28px;
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 700ms var(--ease-out), box-shadow 700ms var(--ease-out);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--hairline-2), var(--shadow-medium); }
.testimonial .quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.testimonial .who {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial .name { font-weight: 600; font-size: 14px; }
.testimonial .meta-line { font-size: 12px; color: var(--muted); margin-top: 2px; }
.testimonial .stars { font-size: 0; display: flex; gap: 2px; }
.testimonial .stars .star {
  width: 14px; height: 14px;
  background:
    radial-gradient(circle at 30% 30%, #E8D7A6, #C8A047);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12 2l2.95 6.7L22 9.7l-5.5 4.6L18.4 22 12 18l-6.4 4 1.9-7.7L2 9.7l7.05-1z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path d='M12 2l2.95 6.7L22 9.7l-5.5 4.6L18.4 22 12 18l-6.4 4 1.9-7.7L2 9.7l7.05-1z'/></svg>") center / contain no-repeat;
}

@media (max-width: 980px) { .testimonials .grid { grid-template-columns: 1fr; } }

/* ============================================================
   INPSieme Dark Strip
   ============================================================ */
.inpsieme {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.inpsieme::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(184, 137, 62, 0.32), transparent 60%);
  pointer-events: none;
  filter: blur(8px);
}
.inpsieme::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 155, 220, 0.22), transparent 60%);
  pointer-events: none;
  filter: blur(8px);
}
.inpsieme .grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.inpsieme .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}
.inpsieme h2 { color: var(--paper); margin-top: 28px; max-width: 14ch; }
.inpsieme h2 em { color: var(--gold); font-style: italic; font-weight: 300; }
.inpsieme p {
  margin-top: 28px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: rgba(253, 251, 247, 0.74);
  max-width: 56ch;
}
.inpsieme .ctas { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }

.inpsieme .stats-card {
  padding: var(--bezel-pad);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10);
}
.inpsieme .stats-card .inside {
  background: rgba(255, 255, 255, 0.02);
  border-radius: calc(var(--r-lg) - var(--bezel-pad));
  padding: 28px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06);
}
.inpsieme .stats-card .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.inpsieme .stats-card .row:last-child { border-bottom: 0; }
.inpsieme .stats-card .lbl {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.5);
}
.inpsieme .stats-card .val {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--gold);
  line-height: 1;
}
.inpsieme .stats-card .val small {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(253, 251, 247, 0.5);
  margin-left: 6px;
}

@media (max-width: 980px) { .inpsieme .grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--paper-2);
  padding-block: clamp(80px, 8vw, 120px) 36px;
  border-top: 1px solid var(--hairline);
}
.site-footer .top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.site-footer h5 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.site-footer ul a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 400ms var(--ease-out);
}
.site-footer ul a:hover { color: var(--brand); }
.site-footer .pitch h2 {
  font-size: clamp(32px, 3.4vw, 52px);
  margin-bottom: 20px;
  max-width: 14ch;
  letter-spacing: -0.025em;
}
.site-footer .pitch h2 em { font-style: italic; color: var(--brand); font-weight: 300; }
.site-footer .pitch p { color: var(--muted); font-size: 14.5px; max-width: 32ch; line-height: 1.55; }
.site-footer .legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer .legal-links { display: flex; gap: 24px; }
.site-footer .legal-links a:hover { color: var(--ink); }

@media (max-width: 980px) { .site-footer .top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px) { .site-footer .top { grid-template-columns: 1fr; } }

/* ============================================================
   Catalog
   ============================================================ */
.catalog-hero {
  padding-top: clamp(120px, 14vh, 180px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.catalog-hero .grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}
.catalog-hero h1 {
  margin-top: 28px;
  letter-spacing: -0.035em;
}
.catalog-hero h1 em { font-style: italic; color: var(--brand); font-weight: 300; }
.catalog-hero .lead { margin-top: 32px; max-width: 52ch; }
.catalog-hero .meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.catalog-hero .meta-strip .stat .num {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.catalog-hero .meta-strip .stat .num em { font-style: italic; color: var(--brand); font-weight: 300; }
.catalog-hero .meta-strip .stat .lbl {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog-hero .visual-wrap { position: relative; }
.catalog-hero .visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: var(--shadow-deep);
}
.catalog-hero .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.catalog-hero .visual .quote-chip {
  position: absolute;
  bottom: 24px; left: 24px; right: 24px;
  background: rgba(26, 20, 16, 0.65);
  color: var(--paper);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 18px 22px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.4;
}
.catalog-hero .visual .quote-chip small {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(253, 251, 247, 0.65);
  margin-top: 8px;
}

@media (max-width: 980px) {
  .catalog-hero .grid { grid-template-columns: 1fr; }
  .catalog-hero .meta-strip { grid-template-columns: repeat(2, 1fr); }
}

.filters-bar {
  position: sticky;
  top: 88px;
  z-index: 30;
  margin-block: 8px 32px;
}
.filters-pill {
  background: rgba(253, 251, 247, 0.84);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-radius: 999px;
  padding: 10px;
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    var(--shadow-medium);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
}
.filters-pill::-webkit-scrollbar { display: none; }
.filters-pill .chips {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 500ms var(--ease-out), color 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.chip:hover { background: rgba(26, 20, 16, 0.05); }
.chip.is-active {
  background: var(--ink);
  color: var(--paper);
  transform: scale(1.02);
}
.chip small { opacity: 0.5; margin-left: 4px; font-weight: 400; }
.filters-pill .sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding-right: 8px;
  flex-shrink: 0;
}
.filters-pill .sort select {
  font: inherit;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 0;
  box-shadow: inset 0 0 0 1px var(--hairline-2);
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' stroke='currentColor' stroke-width='1.5' fill='none'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 32px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-block: clamp(24px, 4vw, 56px) clamp(64px, 8vw, 96px);
}
@media (max-width: 1024px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .catalog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Trip Detail
   ============================================================ */
.trip-hero {
  position: relative;
  height: clamp(560px, 78vh, 760px);
  overflow: hidden;
  margin-top: 0;
}
.trip-hero img {
  position: absolute;
  inset: -10% -5% -5% -5%;
  width: 110%;
  height: 115%;
  object-fit: cover;
  will-change: transform;
}
.trip-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,20,16,0.05) 0%, rgba(26,20,16,0.2) 50%, rgba(26,20,16,0.7) 100%);
}
.trip-hero .container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-bottom: clamp(64px, 8vw, 96px);
  padding-top: clamp(120px, 14vh, 180px);
}
.trip-hero .crumbs {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.78);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.trip-hero .crumbs a { color: rgba(253, 251, 247, 0.78); transition: color 400ms var(--ease-out); }
.trip-hero .crumbs a:hover { color: #fff; }
.trip-hero .crumbs .sep { opacity: 0.4; }
.trip-hero h1 {
  color: var(--paper);
  max-width: 14ch;
  font-size: clamp(56px, 9vw, 132px);
}
.trip-hero h1 em { font-style: italic; color: #D6EFFC; font-weight: 300; }
.trip-hero .sub {
  margin-top: 24px;
  color: rgba(253, 251, 247, 0.86);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.8vw, 22px);
  max-width: 50ch;
  line-height: 1.45;
}

.trip-meta {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  margin-top: -2px;
}
.trip-meta .row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-block: 36px;
}
.trip-meta .cell {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trip-meta .cell .icon-tile { width: 44px; height: 44px; border-radius: 13px; }
.trip-meta .cell .icon-tile svg { width: 50%; height: 50%; }
.trip-meta .cell .body { display: flex; flex-direction: column; gap: 2px; }
.trip-meta .cell .lbl {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.trip-meta .cell .val {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.trip-meta .cell .val small {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

@media (max-width: 980px) {
  .trip-meta .row { grid-template-columns: 1fr 1fr; }
}

.trip-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  padding-block: clamp(64px, 8vw, 112px);
}
.intro h2 { margin-bottom: 32px; max-width: 18ch; }
.intro h2 em { font-style: italic; color: var(--brand); font-weight: 300; }
.intro p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  margin-bottom: 24px;
}
.intro p strong { font-weight: 500; color: var(--ink); }
.intro p em { font-style: italic; }

.itinerary { margin-top: 80px; }
.itinerary > .eyebrow { margin-bottom: 24px; }
.itinerary > h3 { margin-bottom: 40px; max-width: 18ch; }
.day {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding-block: 36px;
  border-top: 1px solid var(--hairline);
  align-items: start;
}
.day:last-child { border-bottom: 1px solid var(--hairline); }
.day .label {
  position: sticky;
  top: 100px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.day .label strong {
  display: block;
  font-style: normal;
  font-weight: 400;
  font-size: 56px;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
  text-transform: none;
}
.day h4 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  max-width: 24ch;
}
.day p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 56ch;
}
.day ul {
  margin-top: 18px;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 28px;
  max-width: 56ch;
}
.day li {
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex;
  align-items: start;
  gap: 10px;
}
.day li::before {
  content: '';
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 8px;
}
@media (max-width: 700px) {
  .day { grid-template-columns: 1fr; gap: 16px; }
  .day .label { position: static; }
  .day .label strong { font-size: 40px; }
  .day ul { grid-template-columns: 1fr; }
}

/* sidebar */
.trip-aside { position: relative; }
.trip-aside .card {
  position: sticky;
  top: 100px;
  padding: var(--bezel-pad);
  background: rgba(26,20,16,0.05);
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px var(--hairline-2);
}
.trip-aside .card-inner {
  background: var(--surface);
  border-radius: calc(var(--r-lg) - var(--bezel-pad));
  box-shadow: var(--shadow-inset);
  padding: 28px;
}
.trip-aside .price-block {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 22px;
}
.trip-aside .from {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.trip-aside .price {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 6px;
}
.trip-aside .price small {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 6px;
}
.trip-aside .all-in {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(0, 155, 220, 0.18);
}
.trip-aside .included {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trip-aside .included li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.trip-aside .included .icon-tile { width: 32px; height: 32px; border-radius: 10px; }
.trip-aside .included .icon-tile svg { width: 50%; height: 50%; }
.trip-aside .ctas { display: flex; flex-direction: column; gap: 10px; }
.trip-aside .ctas .btn { justify-content: center; }
.trip-aside .footnote {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.trip-aside .footnote .live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.6s var(--ease-out) infinite;
}
@media (max-width: 1024px) { .trip-body { grid-template-columns: 1fr; } .trip-aside .card { position: relative; top: 0; } }

/* highlights */
.highlights { background: var(--paper-2); border-block: 1px solid var(--hairline); }
.highlights .head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 56px; gap: 24px; flex-wrap: wrap; }
.highlights .head h2 { max-width: 18ch; margin-top: 18px; }
.highlights .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.highlight {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: inset 0 0 0 1px var(--hairline-2), var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 280px;
  transition: transform 700ms var(--ease-out), box-shadow 700ms var(--ease-out);
}
.highlight:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--hairline-2), var(--shadow-medium); }
.highlight h5 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
  margin-top: auto;
  letter-spacing: -0.015em;
}
.highlight p { font-size: 14px; color: var(--muted); line-height: 1.55; max-width: 28ch; }
@media (max-width: 1024px) { .highlights .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .highlights .grid { grid-template-columns: 1fr; } }

/* faq */
.faq { background: var(--paper); }
.faq .grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.faq h2 { max-width: 14ch; margin-top: 22px; }
.faq h2 em { font-style: italic; color: var(--brand); font-weight: 300; }
.faq .lead { margin-top: 24px; max-width: 30ch; }
.faq .accordion { display: flex; flex-direction: column; }
.faq details {
  border-top: 1px solid var(--hairline);
  padding-block: 26px;
  transition: padding 600ms var(--ease-out);
}
.faq details:last-child { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 400;
  letter-spacing: -0.015em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  list-style: none;
  transition: color 500ms var(--ease-out);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(26,20,16,0.05) url("data:image/svg+xml;utf8,<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' stroke='%231A1410' stroke-width='1.4' fill='none'><path d='M12 5v14M5 12h14'/></svg>") center / 14px no-repeat;
  transition: transform 600ms var(--ease-out), background 500ms var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: rgba(26,20,16,0.10);
}
.faq details[open] summary { color: var(--brand); }
.faq details p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 60ch;
}
@media (max-width: 980px) { .faq .grid { grid-template-columns: 1fr; } }

/* ============================================================
   Mapbox — shared overrides
   ============================================================ */
.mapboxgl-canvas { outline: none; }
.mapboxgl-ctrl-attrib {
  background: rgba(255, 255, 255, 0.6) !important;
  font-size: 9px !important;
  letter-spacing: 0.02em;
}
.mapboxgl-ctrl-attrib a { color: var(--muted) !important; }
.mapboxgl-ctrl-bottom-left,
.mapboxgl-ctrl-bottom-right {
  z-index: 4 !important;
}

/* Custom marker — orange teardrop */
.mapbox-pin {
  width: 26px;
  height: 34px;
  cursor: pointer;
  pointer-events: auto;
  transform-origin: 50% 100%;
  transition: transform 600ms var(--ease-spring), filter 600ms var(--ease-out);
  filter: drop-shadow(0 6px 10px rgba(0, 155, 220, 0.45));
}
.mapbox-pin svg { width: 100%; height: 100%; display: block; color: var(--brand); }
.mapbox-pin:hover { transform: scale(1.10) translateY(-2px); }
.mapbox-pin.is-active {
  transform: scale(1.25) translateY(-3px);
  filter: drop-shadow(0 12px 18px rgba(0, 155, 220, 0.65));
}

/* Pulse halo (rendered as ::before pseudo on the marker) */
.mapbox-pin::before {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, 50%);
  opacity: 0;
  pointer-events: none;
}
.mapbox-pin.is-active::before { animation: pin-pulse 1.8s var(--ease-out) infinite; }

/* Globe pin — small dot */
.globe-pin {
  width: 12px; height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #7AD5F2, var(--brand) 80%);
  box-shadow:
    0 0 0 2px rgba(255,255,255,0.85),
    0 4px 8px rgba(0, 155, 220, 0.5),
    0 0 0 4px rgba(255, 181, 52, 0.25);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 500ms var(--ease-spring);
}
.globe-pin:hover { transform: scale(1.4); }

/* ============================================================
   Catalog hero — single editorial photograph
   ============================================================ */
.catalog-hero .visual-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px var(--hairline-2);
}
.catalog-hero .visual-tag .live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.6s var(--ease-out) infinite;
}

/* ============================================================
   Catalog Map — split-screen world map + scrollable list
   ============================================================ */
.map-page {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 100dvh;
  padding-top: clamp(96px, 12vh, 132px);
}
@media (max-width: 980px) {
  .map-page { grid-template-columns: 1fr; }
}

.map-stage {
  position: sticky;
  top: clamp(96px, 12vh, 132px);
  height: calc(100dvh - clamp(96px, 12vh, 132px));
  padding: clamp(16px, 2vw, 28px);
  border-right: 1px solid var(--hairline);
  background: var(--paper);
}
@media (max-width: 980px) {
  .map-stage {
    position: relative;
    top: 0;
    height: 60dvh;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }
}

.map-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(0, 155, 220, 0.10), transparent 60%),
    var(--brand-3);
  box-shadow:
    inset 0 0 0 1px rgba(0, 155, 220, 0.18),
    var(--shadow-deep);
}
.map-canvas #map {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.map-canvas .mapboxgl-canvas { border-radius: inherit; }

@keyframes pin-pulse {
  0%   { opacity: 0.4; transform: translate(-50%, 50%) scale(1); }
  100% { opacity: 0;   transform: translate(-50%, 50%) scale(4.2); }
}

/* Mapbox marker label tooltip */
.map-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 20, 16, 0.92);
  color: var(--paper);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 400ms var(--ease-out);
  pointer-events: none;
}
.mapbox-pin.is-active .map-tip,
.mapbox-pin:hover .map-tip { opacity: 1; }

/* Stage label / hint */
.map-hint {
  position: absolute;
  top: 24px; left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px var(--hairline-2);
  z-index: 5;
}
.map-hint .live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.6s var(--ease-out) infinite;
}

/* Right scrolling panel — independent scroll + snap */
.map-list {
  padding: 0 clamp(28px, 4vw, 56px);
  background: var(--paper);
  height: calc(100dvh - clamp(96px, 12vh, 132px));
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  /* Hide scrollbar (still scrollable) */
  scrollbar-width: none;
}
.map-list::-webkit-scrollbar { display: none; }
.map-list .head {
  scroll-snap-align: start;
  min-height: calc(100dvh - clamp(96px, 12vh, 132px));
  display: grid;
  align-content: center;
  padding-bottom: 0;
}
@media (max-width: 980px) {
  .map-list {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }
  .map-list .head { min-height: 0; padding-block: 64px; }
}
.map-list .head h2 {
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.025em;
  margin-top: 22px;
  max-width: 14ch;
}
.map-list .head h2 em { font-style: italic; color: var(--brand); font-weight: 300; }
.map-list .head .lead { margin-top: 22px; max-width: 36ch; }

.dest-card {
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: calc(100dvh - clamp(96px, 12vh, 132px));
  display: grid;
  align-content: center;
  gap: 22px;
  padding-block: 32px;
  border-top: 1px solid var(--hairline);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  opacity: 0.45;
  transform: translateY(8px);
}
.dest-card.is-current {
  opacity: 1;
  transform: translateY(0);
}
.dest-card:last-child { border-bottom: 1px solid var(--hairline); }
@media (max-width: 980px) {
  .dest-card { min-height: 0; padding-block: 56px; opacity: 1; transform: none; }
}
.dest-card .head-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.dest-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: var(--brand);
  line-height: 1;
}
.dest-card .country {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.dest-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.6vw, 64px);
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.dest-card h3 em { font-style: italic; color: var(--brand); font-weight: 300; }
.dest-card p {
  color: var(--ink-2);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  max-width: 42ch;
}
.dest-card .meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.dest-card .meta .pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline-2);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dest-card .meta .pill .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.dest-card .visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}
.dest-card .visual img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--ease-out);
}
.dest-card:hover .visual img { transform: scale(1.04); }
.dest-card .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.dest-card .price {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.025em;
}
.dest-card .price small { font-size: 12px; color: var(--muted); margin-left: 6px; font-family: var(--sans); font-weight: 500; }

/* Floating destination nav (bottom-center, fixed) */
.dest-nav {
  position: fixed;
  bottom: clamp(16px, 3vw, 32px);
  left: 50%;
  transform: translate(-50%, 100px);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    0 1px 2px rgba(26, 20, 16, 0.04),
    0 24px 48px -16px rgba(26, 20, 16, 0.18);
  opacity: 0;
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-spring);
}
.dest-nav.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.dest-nav-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--ink);
  transition: background 400ms var(--ease-out), transform 400ms var(--ease-out), color 400ms var(--ease-out);
}
.dest-nav-btn:hover { background: rgba(0, 155, 220, 0.10); color: var(--brand); }
.dest-nav-btn:active { transform: scale(0.92); }
.dest-nav-btn.is-disabled { opacity: 0.25; pointer-events: none; }
.dest-nav-btn svg { width: 18px; height: 18px; display: block; }
.dest-nav-counter {
  padding: 0 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
  min-width: 84px;
  text-align: center;
}
.dest-nav-counter em { font-style: italic; color: var(--muted); margin-left: 2px; }

/* Skeleton shimmer loader */
.skeleton {
  background: linear-gradient(90deg,
    var(--paper-2) 0%,
    var(--paper-3) 50%,
    var(--paper-2) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.6s linear infinite;
  border-radius: var(--r-sm);
  color: transparent !important;
  user-select: none;
}
@keyframes shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* ============================================================
   Live activity ticker (rotating)
   ============================================================ */
.live-feed {
  position: fixed;
  left: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 36px);
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px var(--hairline-2),
    var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  max-width: min(360px, calc(100vw - 32px));
  transform: translateY(100px);
  opacity: 0;
  transition:
    transform 700ms var(--ease-spring),
    opacity 600ms var(--ease-out);
}
.live-feed.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.live-feed .live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  animation: pulse 1.6s var(--ease-out) infinite;
}
.live-feed .text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
}
.live-feed .text strong { color: var(--ink); font-weight: 600; }
.live-feed .text small { color: var(--muted); margin-left: 4px; font-weight: 500; font-size: 11px; }
@media (max-width: 600px) { .live-feed { font-size: 12px; padding: 10px 14px 10px 12px; } }

/* (Hero dotted-trail removed — Tommi disliked it. Plane lives at the marquee.) */

/* dark CTA strip */
.cta-strip { padding-block: clamp(80px, 10vw, 140px); position: relative; overflow: hidden; }
.cta-strip .inner { text-align: center; max-width: 720px; margin-inline: auto; position: relative; z-index: 2; }
.cta-strip h2 { color: var(--paper); margin-top: 24px; max-width: 18ch; margin-inline: auto; }
.cta-strip h2 em { color: var(--gold); font-style: italic; font-weight: 300; }
.cta-strip p {
  margin-top: 24px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  color: rgba(253, 251, 247, 0.78);
}
.cta-strip .ctas { margin-top: 40px; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   IdV-specific additions (palm bento, manifesto, WhatsApp, etc.)
   ============================================================ */

/* WhatsApp sticky bottom-right — Italian B2C is WhatsApp-native */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55), 0 2px 4px rgba(0,0,0,0.1);
  text-decoration: none;
  transition: transform 350ms var(--ease-spring);
}
.whatsapp-fab:hover { transform: scale(1.08) translateY(-2px); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: currentColor; }
.whatsapp-fab::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.4s var(--ease-out) infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(0.95); opacity: 0.9; }
  70%  { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* PALM BENTO — Frutti / Foglie / Fusto / Radici */
.palm-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 56px;
}
@media (max-width: 1100px) { .palm-bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .palm-bento { grid-template-columns: 1fr; } }

.palm-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 32px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
  overflow: hidden;
  transition: transform 500ms var(--ease-spring), box-shadow 400ms var(--ease-out);
}
.palm-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-medium); }
.palm-card .layer {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--accent);
  font-weight: 400;
}
.palm-card .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 5.4vw, 96px);
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  margin-top: 12px;
}
.palm-card .num em { color: var(--accent); }
.palm-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin-top: 20px;
  letter-spacing: -0.01em;
}
.palm-card p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.palm-card .icon-3d { position: absolute; top: 22px; right: 22px; width: 56px; height: 56px; opacity: 0.9; }
.palm-card.featured { background: linear-gradient(160deg, var(--accent-3) 0%, var(--paper) 100%); }

/* COLLECTION CARDS — 8 sub-lines */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
@media (max-width: 1100px) { .collections-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .collections-grid { grid-template-columns: 1fr; } }

.collection-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 22px;
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 500ms var(--ease-spring), box-shadow 400ms var(--ease-out);
  box-shadow: var(--shadow-soft);
  min-height: 240px;
}
.collection-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
.collection-card .icon-3d { width: 48px; height: 48px; }
.collection-card .name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.collection-card .tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.collection-card .blurb {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
  min-width: 0;
}
.collection-card .from {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brand);
  font-size: 16px;
  font-weight: 400;
}
.collection-card.honeymoon { border-color: var(--coral); background: linear-gradient(160deg, var(--coral-2) 0%, var(--paper) 100%); }
.collection-card.honeymoon .name { color: var(--coral); }
.collection-card.honeymoon .from { color: var(--coral); }
.collection-card.gold { border-color: rgba(200,160,71,0.4); }
.collection-card.gold .name { color: var(--gold-2); }

/* SPECIALIST CARDS — Le persone della palma */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 56px;
}
@media (max-width: 1000px) { .specialists-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .specialists-grid { grid-template-columns: 1fr; } }

.specialist-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 22px;
  border: 1px solid var(--hairline);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 500ms var(--ease-spring), box-shadow 400ms var(--ease-out);
  box-shadow: var(--shadow-soft);
}
.specialist-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-medium); }
.specialist-card .photo {
  flex: 0 0 auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper-2);
  border: 2px solid var(--paper);
  box-shadow: 0 6px 16px -8px rgba(26,20,16,0.3);
}
.specialist-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.specialist-card .body { flex: 1; min-width: 0; }
.specialist-card .name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.specialist-card .role {
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.specialist-card .tenure {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.specialist-card .voice {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-top: 12px;
  border-left: 2px solid var(--brand-3);
  padding-left: 12px;
}
.specialist-card .lang {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 10px;
  font-weight: 600;
}
.specialist-card .write-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 250ms, transform 250ms var(--ease-spring);
}
.specialist-card .write-btn:hover { background: var(--brand); color: var(--paper); transform: translateY(-1px); }

/* TRUST STRIP — consolidated */
.trust-strip {
  background: var(--paper-2);
  padding-block: 36px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.trust-strip .row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.trust-strip .row span { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .row span::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}
.trust-strip .row span:first-child::before { display: none; }

/* MANIFESTO TEASER — dark band */
.manifesto-band {
  background: var(--brand-2);
  color: var(--paper);
  padding-block: clamp(96px, 12vw, 168px);
  position: relative;
  overflow: hidden;
}
.manifesto-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 25% 30%, rgba(200, 160, 71, 0.25), transparent 60%),
              radial-gradient(ellipse at 75% 70%, rgba(0, 155, 220, 0.45), transparent 60%);
  pointer-events: none;
}
.manifesto-band .container { position: relative; z-index: 2; }
.manifesto-band .quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 22ch;
  color: var(--paper);
}
.manifesto-band .quote em { color: var(--gold); }
.manifesto-band .byline {
  margin-top: 32px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 251, 247, 0.7);
  font-weight: 600;
}
.manifesto-band .byline::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-right: 12px;
  vertical-align: middle;
}

/* AMBASSADOR TEASER — Jaime */
.ambassador {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
}
@media (max-width: 900px) { .ambassador { grid-template-columns: 1fr; gap: 32px; } }
.ambassador .visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
}
.ambassador .visual img { width: 100%; height: 100%; object-fit: cover; }
.ambassador .visual .price-chip {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: var(--paper);
  padding: 12px 18px;
  border-radius: 999px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink);
  box-shadow: var(--shadow-medium);
}
.ambassador .visual .price-chip strong { color: var(--gold-2); font-weight: 500; }

/* QUOTE BAR (homepage anonymous-quote CTA — kills the login wall) */
.quote-bar {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(32px, 4.5vw, 56px);
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 800px) { .quote-bar { grid-template-columns: 1fr; } }
.quote-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 30%, rgba(200, 160, 71, 0.25), transparent 50%);
  pointer-events: none;
}
.quote-bar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}
.quote-bar h3 em { color: var(--gold); }
.quote-bar p {
  margin-top: 12px;
  font-size: 15px;
  color: rgba(253, 251, 247, 0.78);
  max-width: 56ch;
  position: relative;
  z-index: 2;
}
.quote-bar .ctas { position: relative; z-index: 2; display: inline-flex; gap: 12px; flex-wrap: wrap; }
.quote-bar .btn-ghost { color: var(--paper); border-color: rgba(253,251,247,0.3); }
.quote-bar .btn-ghost:hover { background: rgba(253,251,247,0.1); border-color: var(--paper); }

/* TRUSTPILOT-style review cards */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
@media (max-width: 900px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.review-card .stars {
  color: #00B67A;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-card .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
}
.review-card .who {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.review-card .who strong { color: var(--brand); }

/* CATALOG — IdV trip card additions on top of base catalog grid */
.trip-card.honeymoon .visual::after {
  content: 'HONEYMOON';
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--coral);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
}

/* Emotion chips */
.emozione {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.emozione.passione { background: var(--coral-2); color: var(--coral); }
.emozione.stupore  { background: rgba(200,160,71,0.18); color: var(--gold-2); }
.emozione.scoperta { background: rgba(0,155,220,0.12); color: var(--brand-2); }
.emozione.divertimento { background: rgba(31,92,74,0.12); color: var(--accent); }
.emozione.unicita  { background: rgba(58,46,38,0.08); color: var(--ink-2); }

/* Curzi-quote sectional */
.curzi-rule {
  border-top: 1px solid var(--hairline);
  padding-top: 56px;
  margin-top: 64px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: -0.01em;
  color: var(--ink-2);
  max-width: 32ch;
}
.curzi-rule em { color: var(--brand); }
.curzi-rule .signature {
  display: block;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
  font-family: var(--sans);
}

/* MANIFESTO PAGE — editorial reading */
.manifesto-hero {
  padding-block: clamp(120px, 16vw, 220px) clamp(56px, 8vw, 96px);
  text-align: center;
}
.manifesto-hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 18ch;
  margin: 0 auto;
  color: var(--ink);
}
.manifesto-hero h1 em { color: var(--brand); }
.manifesto-hero .byline {
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.manifesto-body {
  max-width: 720px;
  margin: 0 auto;
  padding-block: 56px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
}
.manifesto-body h2 {
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.02em;
  margin-top: 64px;
  margin-bottom: 20px;
  color: var(--brand);
}
.manifesto-body p { margin-top: 22px; }
.manifesto-body em { color: var(--brand); font-style: italic; }
.manifesto-body blockquote {
  margin: 36px 0;
  padding-left: 24px;
  border-left: 3px solid var(--brand-3);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
}

/* TRIP DETAIL — sticky right-rail with consultant face */
.trip-rail {
  position: sticky;
  top: 90px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.trip-rail .price-line {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brand);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.trip-rail .price-sub {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
}
.trip-rail .consultant {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.trip-rail .consultant .photo {
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
}
.trip-rail .consultant .photo img { width: 100%; height: 100%; object-fit: cover; }
.trip-rail .consultant .name {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.trip-rail .consultant .role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}
.trip-rail .trust-mini {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.trip-rail .trust-mini span::before { content: '✓'; color: var(--brand); margin-right: 4px; font-weight: 700; }


/* ============================================================
   PERSONALIZZATORE — 10-question funnel
   ============================================================ */

.personalizer-shell {
  min-height: 100vh;
  padding: 96px 0 120px;
  background:
    radial-gradient(60% 40% at 80% 20%, rgba(0, 155, 220, 0.04), transparent 60%),
    radial-gradient(50% 30% at 10% 80%, rgba(200, 160, 71, 0.05), transparent 60%),
    var(--paper);
}

.personalizer-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--hairline);
  z-index: 200;
}
.personalizer-progress > .bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  width: 0%;
  transition: width 480ms var(--ease-out);
}

.personalizer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
@media (max-width: 1024px) {
  .personalizer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ----- Brain pill ----- */
.brain-pill {
  position: sticky;
  top: 16px;
  z-index: 150;
  margin: 0 auto 28px;
  max-width: 720px;
  padding: 14px 22px;
  background: var(--surface);
  border-radius: 999px;
  box-shadow: var(--shadow-medium), inset 0 0 0 1px var(--hairline-2);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
}
.brain-pill.is-shown { opacity: 1; transform: translateY(0); }
.brain-pill.is-flicker .pill-text { animation: pillFlicker 260ms var(--ease-out); }
@keyframes pillFlicker {
  0% { transform: scale(0.96); opacity: 0.4; }
  60% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1); }
}
.brain-pill .pill-mark {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--gold) 100%);
  flex-shrink: 0;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  font-weight: 500;
}
.brain-pill .pill-text {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.45;
  color: #5a4f3f;
  letter-spacing: -0.005em;
}
@media (max-width: 640px) {
  .brain-pill { margin: 0 16px 24px; padding: 12px 18px; }
  .brain-pill .pill-text { font-size: 14px; }
}

/* ----- Step body ----- */
.personalizer-main {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out);
  min-height: 460px;
}
.personalizer-main.is-shown { opacity: 1; transform: translateY(0); }

.step-counter {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 18px;
}

.step-title {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
}
.step-title em { color: var(--brand); font-weight: 300; }

.step-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 32px;
  max-width: 56ch;
}

/* ----- Q1 cohort grid ----- */
.cohort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
@media (max-width: 720px) {
  .cohort-grid { grid-template-columns: repeat(2, 1fr); }
}
.cohort-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 22px 20px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: transform 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), background 200ms var(--ease-out);
}
.cohort-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.cohort-tile.is-selected {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(0, 155, 220, 0.15), var(--shadow-soft);
}
.cohort-icon {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--brand);
  margin-bottom: 10px;
}
.cohort-label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.cohort-sub {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ----- Q2 dates + flex ----- */
.date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 480px) { .date-row { grid-template-columns: 1fr; } }

.date-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.date-field span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.date-field input {
  padding: 14px 16px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 15px;
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
}
.date-field input:focus { outline: 2px solid var(--brand); outline-offset: -1px; }

.flex-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--paper-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 14px;
}
.flex-toggle input { display: none; }
.toggle-track {
  position: relative;
  width: 38px; height: 22px;
  background: var(--hairline-2);
  border-radius: 999px;
  transition: background 200ms var(--ease-out);
  flex-shrink: 0;
}
.toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 220ms var(--ease-out);
}
.flex-toggle input:checked ~ .toggle-track { background: var(--brand); }
.flex-toggle input:checked ~ .toggle-track .toggle-thumb { transform: translateX(16px); }

.month-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
@media (max-width: 480px) { .month-grid { grid-template-columns: repeat(4, 1fr); } }
.month-pill {
  padding: 12px 8px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.month-pill:hover { background: var(--paper-3); }
.month-pill.is-selected {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ----- Q3 duration ----- */
.duration-display {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 300;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 28px;
  font-style: italic;
}
.duration-display small {
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-left: 8px;
}
.duration-slider, .budget-slider {
  width: 100%;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--paper-3);
  outline: none;
  margin-bottom: 28px;
  cursor: pointer;
}
.duration-slider::-webkit-slider-thumb,
.budget-slider::-webkit-slider-thumb {
  appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 4px 12px rgba(0, 155, 220, 0.3);
  cursor: grab;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.duration-slider::-webkit-slider-thumb:active,
.budget-slider::-webkit-slider-thumb:active { transform: scale(1.1); cursor: grabbing; }
.duration-slider::-moz-range-thumb,
.budget-slider::-moz-range-thumb {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 4px 12px rgba(0, 155, 220, 0.3);
  cursor: grab;
}

.duration-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.preset-btn {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.preset-btn:hover { background: var(--paper-3); }
.preset-btn.is-selected { background: var(--brand); color: #fff; }

/* ----- Q4 / Q5 chip clouds ----- */
.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.feeling-chip, .accendono-chip {
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.feeling-chip:hover, .accendono-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.feeling-chip.is-selected, .accendono-chip.is-selected {
  background: var(--brand);
  color: var(--paper);
  border-color: var(--brand);
}
.feeling-chip.is-pulse, .accendono-chip.is-pulse {
  animation: chipPulse 320ms var(--ease-out);
}
@keyframes chipPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); box-shadow: 0 0 0 3px rgba(200, 75, 75, 0.2); }
}

/* ----- Q6 destination input ----- */
.open-input {
  width: 100%;
  padding: 18px 22px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  font-family: var(--serif);
  font-size: 18px;
  background: var(--paper-2);
  color: var(--ink);
  margin-bottom: 18px;
}
.open-input:focus { outline: 2px solid var(--brand); outline-offset: -1px; background: #fff; }
.suggestion-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.suggestion-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px dashed var(--hairline-2);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.suggestion-chip:hover {
  background: var(--paper-2);
  border-style: solid;
  border-color: var(--brand);
  color: var(--brand);
}
.surprise-link {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-2);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: transparent;
  cursor: pointer;
}
.surprise-link:hover { color: var(--brand); }

/* ----- Q7 budget ----- */
.budget-display {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 28px;
}
.budget-num {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.budget-tier {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--paper-2);
  color: var(--ink-2);
}
.budget-tier.tier-smart      { background: var(--brand-3); color: var(--brand); }
.budget-tier.tier-sartoriale { background: var(--brand);    color: #fff; }
.budget-tier.tier-atelier    { background: var(--ink);      color: var(--gold); }

.tier-track {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.tier-zone {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--paper-2);
  border: 1px solid transparent;
  transition: all 200ms var(--ease-out);
}
.tier-zone span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.tier-zone small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ----- Q8 guidance cards ----- */
.guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .guidance-grid { grid-template-columns: 1fr; } }
.guidance-card {
  text-align: left;
  padding: 24px 22px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 220ms var(--ease-out);
}
.guidance-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.guidance-card.is-selected {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(0, 155, 220, 0.15), var(--shadow-soft);
}
.guidance-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.guidance-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
.guidance-from {
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ----- Q9 textareas ----- */
.textarea-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 720px) { .textarea-row { grid-template-columns: 1fr; } }
.textarea-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.textarea-field span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.textarea-field textarea {
  min-height: 110px;
  padding: 16px 18px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}
.textarea-field textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; background: #fff; }
.textarea-field textarea::placeholder { font-style: italic; color: var(--muted-2); }

/* ----- Q10 contact form ----- */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}
@media (max-width: 720px) { .contact-form { grid-template-columns: 1fr; } }
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-field:nth-child(1), .contact-field:nth-child(2) { grid-column: 1 / -1; }
@media (min-width: 721px) {
  .contact-field:nth-child(1) { grid-column: 1; }
  .contact-field:nth-child(2) { grid-column: 2; }
  .contact-field:nth-child(3) { grid-column: 1 / -1; }
}
.contact-field span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.contact-field input {
  padding: 14px 16px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.contact-field input:focus { outline: 2px solid var(--brand); outline-offset: -1px; background: #fff; }

.vanessa-strip {
  padding: 14px 18px;
  background: var(--brand-3);
  border-radius: var(--r-sm);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--brand);
  margin-bottom: 12px;
  line-height: 1.5;
}
.crm-strip {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  opacity: 0.7;
  font-style: italic;
}

/* ----- Step controls ----- */
.step-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.ctrl-back {
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  cursor: pointer;
  transition: color 180ms;
}
.ctrl-back:hover { color: var(--brand); }
.ctrl-skip {
  background: transparent;
  color: var(--gold-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.ctrl-skip:hover { color: var(--brand); }
.ctrl-next {
  margin-left: auto;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 220ms var(--ease-out);
  box-shadow: var(--shadow-soft);
}
.ctrl-next:hover { background: var(--brand-2); transform: translateY(-1px); box-shadow: var(--shadow-medium); }
.ctrl-next.is-disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* ----- Side preview ----- */
.side-preview {
  position: sticky;
  top: 80px;
  align-self: start;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
}
@media (max-width: 1024px) {
  .side-preview { position: relative; top: auto; }
}
.prev-head {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.4;
}
.prev-head em { color: var(--brand); }
.prev-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.prev-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--hairline);
}
.prev-row:last-child { border-bottom: 0; }
.prev-k {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.prev-v {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.prev-row.is-tier .prev-v {
  color: var(--brand);
  font-style: italic;
  font-weight: 300;
}
.prev-row.is-soft .prev-v {
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
}
.prev-empty {
  font-family: var(--serif);
  color: var(--muted-2);
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
}
.prev-thumbs {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}
.prev-thumb {
  flex: 1;
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
}
.prev-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.prev-thumb-label {
  position: absolute;
  bottom: 4px; left: 4px; right: 4px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.02em;
}
.prev-dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
}
.prev-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper-3);
  transition: background 280ms var(--ease-out);
}
.prev-dot.is-on { background: var(--brand); }

/* ----- Result page ----- */
.personalizer-result {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px var(--gutter);
}
.result-intro {
  text-align: center;
  margin-bottom: 56px;
}
.result-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.result-eyebrow strong { color: var(--brand); font-weight: 600; }
.result-h1 {
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1;
  margin-bottom: 18px;
}
.result-h1 em { color: var(--gold); font-style: italic; font-weight: 300; }
.result-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto;
  line-height: 1.5;
}

.result-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 56px;
}
@media (max-width: 1024px) { .result-cards { grid-template-columns: 1fr; } }

.result-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  position: relative;
}
.result-card.is-atelier {
  background: linear-gradient(180deg, #1a1410 0%, #2C1F18 100%);
  color: var(--paper);
  border-color: var(--gold-2);
}
.result-card.is-atelier .result-title,
.result-card.is-atelier .result-prose,
.result-card.is-atelier .consultant-name { color: var(--paper); }
.result-card.is-atelier .result-title em { color: var(--gold); }
.result-card.is-atelier .arc-day-text,
.result-card.is-atelier .consultant-role,
.result-card.is-atelier .consultant-langs { color: var(--muted-2); }
.result-card.is-atelier .arc-day { border-color: rgba(255,255,255,0.1); }

.result-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  align-self: flex-start;
  margin-bottom: 14px;
}
.result-italic {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.result-card.is-atelier .result-italic { color: var(--muted-2); }

.result-hero {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--paper-2);
}
.result-hero img { width: 100%; height: 100%; object-fit: cover; }

.result-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.result-title em { color: var(--brand); font-style: italic; font-weight: 300; }

.result-prose {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.result-arc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.arc-day {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-top: 1px dashed var(--hairline);
}
.arc-day-num {
  font-size: 11px;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.05em;
  min-width: 70px;
  flex-shrink: 0;
}
.arc-day-text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
}

.result-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--brand);
  font-weight: 400;
  margin-bottom: 18px;
  padding: 10px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.result-card.is-atelier .result-price { color: var(--gold); border-color: rgba(255,255,255,0.1); }

.result-consultant {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.consultant-photo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-2);
  flex-shrink: 0;
}
.consultant-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
}
.consultant-role {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.consultant-langs {
  font-size: 11px;
  color: var(--muted-2);
  margin-top: 2px;
  font-style: italic;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}
.result-cta {
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: block;
  cursor: pointer;
  transition: all 220ms var(--ease-out);
  background: transparent;
}
.result-cta-primary {
  background: #25D366;
  color: #fff;
  text-decoration: none;
}
.result-cta-primary:hover { background: #1eb955; transform: translateY(-1px); }
.result-card.is-atelier .result-cta-primary {
  background: var(--gold);
  color: var(--ink);
}
.result-card.is-atelier .result-cta-primary:hover { background: #d8b25a; }
.result-cta-ghost {
  background: var(--paper-2);
  color: var(--ink);
}
.result-cta-ghost:hover { background: var(--paper-3); }
.result-card.is-atelier .result-cta-ghost { background: rgba(255,255,255,0.06); color: var(--paper); }
.result-cta-link {
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 400;
}

.result-footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.reopen-btn {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 15px;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.reopen-btn:hover { color: var(--brand); }

.result-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-deep);
  transition: transform 320ms var(--ease-out);
  z-index: 300;
}
.result-toast.is-shown { transform: translateX(-50%) translateY(0); }

/* ----- Personalizza floating FAB (site-wide) ----- */
.personalizza-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: 0 12px 36px -8px rgba(0, 155, 220, 0.5);
  transition: all 280ms var(--ease-out);
  text-decoration: none;
}
.personalizza-fab:hover {
  transform: translateY(-2px);
  background: var(--brand-2);
  box-shadow: 0 18px 48px -8px rgba(0, 155, 220, 0.6);
}
.personalizza-fab .fab-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #fff 100%);
  display: grid; place-items: center;
  color: var(--brand);
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  font-weight: 600;
}
.whatsapp-fab { bottom: 76px; }
@media (max-width: 480px) {
  .personalizza-fab { bottom: 16px; right: 16px; font-size: 12.5px; padding: 10px 14px 10px 12px; }
  .whatsapp-fab { bottom: 64px; }
}

/* ----- Personalizer header (lighter than main shell) ----- */
.personalizer-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.personalizer-header .brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  color: var(--ink);
  text-decoration: none;
}
.personalizer-header .brand-mark img { width: 28px; height: 28px; }
.personalizer-header .brand-mark span {
  font-size: 14px;
  font-weight: 500;
}
.personalizer-header .header-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.personalizer-header a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.personalizer-header a:hover { color: var(--brand); }

/* ----- Reassurance microcopy under hero CTA ----- */
.reassurance {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.005em;
}
.reassurance::before {
  content: '·';
  color: var(--brand);
  margin-right: 6px;
  font-weight: 700;
  font-style: normal;
}

.personalizer-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 14px;
  background: var(--paper-2);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
}
.personalizer-counter .live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  position: relative;
}
.personalizer-counter .live::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.3;
  animation: pulse 1.6s var(--ease-out) infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.6); opacity: 0; }
}
.personalizer-counter strong { color: var(--brand); font-weight: 700; }

/* ----- Save-for-later heart on trip cards ----- */
.save-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 220ms var(--ease-out);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  z-index: 5;
}
.save-heart svg { width: 18px; height: 18px; }
.save-heart:hover { background: #fff; transform: scale(1.05); }
.save-heart.is-saved { color: var(--coral); }
.save-heart.is-saved:hover { color: #b85a48; }

.price-line {
  font-family: var(--serif);
  font-style: italic;
  color: var(--brand) !important;
  font-weight: 500 !important;
}

/* ============================================================
   CONFIGURATOR — Apple-style /personalizza
   Single-page choose-as-you-go with sticky live preview.
   Scoped under .cfg-body so other pages aren't affected.
   ============================================================ */

.cfg-body {
  /* Brand override per Tommi: bump #009BDC sky-blue dominance.
     Palm-leaf green stays as accent only. */
  --brand:    #009BDC;
  --brand-2:  #0077AC;
  --brand-3:  #DDF0FA;
  --accent-palm: #1F5C4A;
  --accent-palm-2: #103D30;
  --accent-palm-3: #D4E4DB;
}
.cfg-body .step-title em,
.cfg-body .result-h1 em { color: var(--brand); }

/* Shell */
.cfg-shell {
  min-height: 100vh;
  padding: 24px 0 200px;
  background:
    radial-gradient(60% 40% at 80% 18%, rgba(0, 155, 220, 0.06), transparent 60%),
    radial-gradient(50% 30% at 10% 84%, rgba(31, 92, 74, 0.04), transparent 60%),
    var(--paper);
}

/* Sticky brain pill on configurator */
.cfg-brain-pill {
  position: sticky;
  top: 12px;
  z-index: 200;
  margin: 18px auto 28px;
}

/* 2-column grid */
.cfg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter, 24px);
}
@media (max-width: 1080px) {
  .cfg-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Intro */
.cfg-intro {
  padding: 12px 0 24px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 32px;
}
.cfg-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 18px;
}
.cfg-h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 18px;
}
.cfg-h1 em {
  color: var(--brand);
  font-style: italic;
  font-weight: 300;
}
.cfg-lead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.5;
  margin: 0;
}

/* Chapter dots */
.cfg-chapters {
  margin-bottom: 28px;
  position: sticky;
  top: 80px;
  z-index: 80;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-left: -16px;
  margin-right: -16px;
  padding: 12px 16px;
  border-radius: 999px;
}
.cfg-chapters ol {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cfg-chapters ol::-webkit-scrollbar { display: none; }
.cfg-chapters li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  cursor: not-allowed;
  white-space: nowrap;
  transition: all 200ms var(--ease-out);
  flex-shrink: 0;
}
.cfg-chapters li.is-done {
  background: var(--brand-3);
  color: var(--brand);
  cursor: pointer;
}
.cfg-chapters li.is-done:hover { background: var(--brand); color: #fff; }
.cfg-chapters li.is-active {
  background: var(--brand);
  color: #fff;
  cursor: default;
}
.cfg-dot-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
}
.cfg-dot-label { font-size: 11.5px; }
@media (max-width: 720px) {
  .cfg-dot-label { display: none; }
  .cfg-chapters li { padding: 6px 10px; }
}

/* Decision sections (the configurator stack) */
.cfg-step {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 0;
  box-shadow: 0 1px 2px rgba(26, 20, 16, 0.04);
  border: 1px solid var(--hairline);
  margin-bottom: 16px;
  transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
  overflow: hidden;
}
.cfg-step.is-active {
  box-shadow: var(--shadow-medium);
  border-color: var(--brand-3);
  animation: cfgStepReveal 450ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cfg-step.is-future {
  opacity: 0.35;
  pointer-events: none;
}
.cfg-step.is-locked .cfg-step-head {
  cursor: pointer;
}
@keyframes cfgStepReveal {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.cfg-step-head {
  padding: clamp(20px, 3vw, 32px) clamp(20px, 3vw, 36px);
  border-bottom: 1px solid transparent;
}
.cfg-step.is-active .cfg-step-head {
  border-bottom-color: var(--hairline);
}
.cfg-step.is-locked .cfg-step-head {
  padding-bottom: clamp(16px, 2vw, 22px);
}
.cfg-step-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.cfg-step-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--brand);
  background: var(--brand-3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  letter-spacing: -0.02em;
}
.cfg-step.is-locked .cfg-step-num {
  background: var(--brand);
  color: #fff;
}
.cfg-step.is-locked .cfg-step-num::after {
  content: '✓';
  font-family: var(--sans);
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  position: absolute;
}
.cfg-step.is-locked .cfg-step-num span,
.cfg-step.is-locked .cfg-step-num { color: transparent; }
.cfg-step.is-locked .cfg-step-num { color: #fff; position: relative; }
.cfg-step.is-locked .cfg-step-num::before {
  content: '✓';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.cfg-step-short {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.cfg-step-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 8px;
}
.cfg-step.is-locked .cfg-step-title {
  font-size: 17px;
  line-height: 1.3;
  color: var(--muted);
  margin-bottom: 0;
  font-style: italic;
  font-weight: 300;
}
.cfg-step-title em {
  color: var(--brand);
  font-style: italic;
  font-weight: 300;
}
.cfg-step-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 16.5px;
  color: var(--muted);
  margin: 6px 0 0;
  max-width: 60ch;
  line-height: 1.5;
}

.cfg-step-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding: 10px 14px;
  background: var(--paper-2);
  border-radius: var(--r-sm);
}
.cfg-step-summary-text {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 15px;
  letter-spacing: -0.005em;
  flex: 1;
}
.cfg-step-edit {
  background: transparent;
  border: 0;
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 200ms;
}
.cfg-step-edit:hover { background: var(--brand-3); }

.cfg-step-body {
  padding: clamp(20px, 3vw, 36px);
  padding-top: 8px;
}

.cfg-section-helper {
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0 0;
}

.cfg-step-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}
.cfg-back {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  cursor: pointer;
  transition: color 180ms;
}
.cfg-back:hover { color: var(--brand); }
.cfg-skip {
  background: transparent;
  border: 0;
  color: var(--gold-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cfg-skip:hover { color: var(--brand); }
.cfg-continue {
  margin-left: auto;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: all 220ms var(--ease-out);
  box-shadow: 0 6px 18px -4px rgba(0, 155, 220, 0.4);
}
.cfg-continue:hover {
  background: var(--brand-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -4px rgba(0, 155, 220, 0.45);
}
.cfg-continue.is-disabled {
  opacity: 0.3;
  pointer-events: none;
  box-shadow: none;
}

/* ----- Q1 cohort tiles ----- */
.cfg-cohort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 720px) {
  .cfg-cohort-grid { grid-template-columns: repeat(2, 1fr); }
}
.cfg-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 22px 20px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 220ms var(--ease-out);
  overflow: hidden;
}
.cfg-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,155,220,0) 0%, rgba(0,155,220,0.06) 100%);
  opacity: 0;
  transition: opacity 240ms var(--ease-out);
}
.cfg-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-3);
}
.cfg-tile:hover::before { opacity: 1; }
.cfg-tile.is-selected {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(0, 155, 220, 0.18), var(--shadow-soft);
}
.cfg-tile-icon {
  font-family: var(--serif);
  font-size: 30px;
  color: var(--brand);
  margin-bottom: 12px;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.cfg-tile-label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.cfg-tile-sub {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* ----- Q2 dates ----- */
.cfg-date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 480px) { .cfg-date-row { grid-template-columns: 1fr; } }
.cfg-date-field {
  display: flex; flex-direction: column; gap: 6px;
}
.cfg-date-field span {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.cfg-date-field input {
  padding: 14px 16px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 15px;
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
}
.cfg-date-field input:focus {
  outline: 2px solid var(--brand);
  outline-offset: -1px;
  background: #fff;
}
.cfg-flex-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--paper-2);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 14px;
}
.cfg-flex-toggle input { display: none; }
.cfg-toggle-track {
  position: relative;
  width: 38px; height: 22px;
  background: var(--hairline-2);
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 200ms var(--ease-out);
}
.cfg-toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 220ms var(--ease-out);
}
.cfg-flex-toggle input:checked ~ .cfg-toggle-track { background: var(--brand); }
.cfg-flex-toggle input:checked ~ .cfg-toggle-track .cfg-toggle-thumb { transform: translateX(16px); }
.cfg-month-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
@media (max-width: 480px) { .cfg-month-grid { grid-template-columns: repeat(4, 1fr); } }
.cfg-month-pill {
  padding: 12px 8px;
  border-radius: 12px;
  background: var(--paper-2);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.cfg-month-pill:hover { background: var(--paper-3); }
.cfg-month-pill.is-selected {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ----- Q3 duration ----- */
.cfg-duration-display {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 88px);
  font-weight: 300;
  font-style: italic;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.cfg-duration-display small {
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cfg-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--paper-3);
  outline: none;
  margin-bottom: 24px;
  cursor: pointer;
}
.cfg-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 6px 14px rgba(0, 155, 220, 0.4);
  cursor: grab;
  transition: transform 180ms var(--ease-out);
}
.cfg-slider::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 6px 14px rgba(0, 155, 220, 0.4);
  cursor: grab;
}
.cfg-slider::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
.cfg-slider.budget-slider.tier-smart::-webkit-slider-thumb,
.cfg-slider.budget-slider.tier-smart::-moz-range-thumb { background: var(--accent-palm); box-shadow: 0 0 0 1px var(--accent-palm), 0 6px 14px rgba(31,92,74,0.35); }
.cfg-slider.budget-slider.tier-atelier::-webkit-slider-thumb,
.cfg-slider.budget-slider.tier-atelier::-moz-range-thumb { background: var(--gold); box-shadow: 0 0 0 1px var(--gold-2), 0 6px 14px rgba(200,160,71,0.4); }

.cfg-duration-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cfg-preset-btn {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.cfg-preset-btn:hover { background: var(--paper-3); }
.cfg-preset-btn.is-selected { background: var(--brand); color: #fff; }

/* ----- Q4 mood tiles ----- */
.cfg-mood-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 720px) { .cfg-mood-grid { grid-template-columns: repeat(2, 1fr); } }
.cfg-mood-tile {
  position: relative;
  aspect-ratio: 1.1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(155deg, color-mix(in srgb, var(--mood-tint) 35%, var(--paper-2)) 0%, color-mix(in srgb, var(--mood-tint) 18%, var(--surface)) 100%);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: all 220ms var(--ease-out);
  overflow: hidden;
  text-align: left;
}
.cfg-mood-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--mood-tint);
  opacity: 0;
  transition: opacity 220ms var(--ease-out);
  z-index: 0;
}
.cfg-mood-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.cfg-mood-tile.is-selected::after { opacity: 0.85; }
.cfg-mood-tile.is-selected {
  border-color: var(--mood-tint);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--mood-tint) 40%, transparent), var(--shadow-soft);
}
.cfg-mood-tile.is-selected .cfg-mood-symbol,
.cfg-mood-tile.is-selected .cfg-mood-label { color: #fff; }
.cfg-mood-symbol {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
  position: relative;
  z-index: 1;
  transition: color 220ms;
}
.cfg-mood-label {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  transition: color 220ms;
}
.cfg-mood-tile.is-pulse { animation: cfgChipPulse 320ms var(--ease-out); }

/* ----- Q5 chips ----- */
.cfg-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cfg-chip {
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.cfg-chip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-3);
}
.cfg-chip.is-selected {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.cfg-chip.is-pulse { animation: cfgChipPulse 320ms var(--ease-out); }
@keyframes cfgChipPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); box-shadow: 0 0 0 3px rgba(210, 106, 86, 0.25); }
}

/* ----- Q6 destination input ----- */
.cfg-open-input {
  width: 100%;
  padding: 18px 22px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  font-family: var(--serif);
  font-size: 18px;
  background: var(--paper-2);
  color: var(--ink);
  margin-bottom: 16px;
}
.cfg-open-input:focus {
  outline: 2px solid var(--brand);
  outline-offset: -1px;
  background: #fff;
}
.cfg-suggestion-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.cfg-suggestion-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px dashed var(--hairline-2);
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  transition: all 180ms var(--ease-out);
}
.cfg-suggestion-chip:hover {
  background: var(--brand-3);
  border-style: solid;
  border-color: var(--brand);
  color: var(--brand);
}
.cfg-surprise-link {
  background: transparent;
  border: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  padding: 0;
}
.cfg-surprise-link:hover { color: var(--brand); }

/* ----- Q7 budget ----- */
.cfg-budget-display {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.cfg-budget-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5.6vw, 64px);
  font-weight: 300;
  font-style: italic;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.cfg-budget-tier {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--paper-2);
  color: var(--ink-2);
  transition: all 220ms var(--ease-out);
}
.cfg-budget-tier.tier-smart      { background: var(--accent-palm-3); color: var(--accent-palm); }
.cfg-budget-tier.tier-sartoriale { background: var(--brand);          color: #fff; }
.cfg-budget-tier.tier-atelier    { background: var(--ink);             color: var(--gold); }

.cfg-tier-track {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
.cfg-tier-zone {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: var(--paper-2);
  border: 1px solid transparent;
  transition: all 220ms var(--ease-out);
}
.cfg-tier-zone span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.cfg-tier-zone small {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.cfg-tier-zone.is-active.tier-smart      { background: var(--accent-palm-3); border-color: var(--accent-palm); }
.cfg-tier-zone.is-active.tier-sartoriale { background: var(--brand-3);        border-color: var(--brand); }
.cfg-tier-zone.is-active.tier-atelier    { background: rgba(200,160,71,0.18); border-color: var(--gold-2); }

/* ----- Q8 guidance cards ----- */
.cfg-guidance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .cfg-guidance-grid { grid-template-columns: 1fr; } }
.cfg-guidance-card {
  position: relative;
  text-align: left;
  padding: 28px 24px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 220ms var(--ease-out);
  overflow: hidden;
}
.cfg-guidance-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-3);
}
.cfg-guidance-card.is-selected {
  background: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(0, 155, 220, 0.18), var(--shadow-soft);
}
.cfg-guidance-symbol {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 4px;
}
.cfg-guidance-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.cfg-guidance-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.5;
}
.cfg-guidance-from {
  font-size: 12.5px;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 6px;
}

/* ----- Q9 textarea ----- */
.cfg-textarea {
  width: 100%;
  min-height: 130px;
  padding: 18px 20px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  resize: vertical;
}
.cfg-textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: -1px;
  background: #fff;
}
.cfg-textarea::placeholder {
  font-style: italic;
  color: var(--muted-2);
}

/* ----- Q10 contact form ----- */
.cfg-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 720px) { .cfg-contact-form { grid-template-columns: 1fr; } }
.cfg-contact-field { display: flex; flex-direction: column; gap: 6px; }
.cfg-contact-field:nth-child(3) { grid-column: 1 / -1; }
.cfg-contact-field span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.cfg-contact-field span small {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--muted-2);
  font-style: italic;
  margin-left: 6px;
}
.cfg-contact-field input {
  padding: 14px 16px;
  border: 1px solid var(--hairline-2);
  border-radius: var(--r-sm);
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
}
.cfg-contact-field input:focus {
  outline: 2px solid var(--brand);
  outline-offset: -1px;
  background: #fff;
}
.cfg-vanessa-strip {
  padding: 16px 20px;
  background: var(--brand-3);
  border-radius: var(--r-sm);
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--brand-2);
  line-height: 1.5;
}
.cfg-vanessa-strip strong {
  color: var(--brand);
  font-weight: 600;
  font-style: normal;
}

/* ============================================================
   PREVIEW PANE — sticky right rail (desktop) / drawer (mobile)
   ============================================================ */
.cfg-preview {
  position: relative;
}
.cfg-preview-inner {
  position: sticky;
  top: 110px;
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
  transition: box-shadow 480ms var(--ease-out);
}
.cfg-preview-inner.is-pulse {
  animation: cfgPreviewBreathe 480ms var(--ease-out);
}
@keyframes cfgPreviewBreathe {
  0%   { box-shadow: var(--shadow-soft); }
  50%  { box-shadow: 0 0 0 4px rgba(0, 155, 220, 0.10), var(--shadow-medium); }
  100% { box-shadow: var(--shadow-soft); }
}

.cfg-prev-head {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.4;
}
.cfg-prev-head em { color: var(--brand); }

.cfg-prev-empty {
  text-align: center;
  padding: 32px 8px 16px;
  color: var(--muted-2);
}
.cfg-prev-empty-icon {
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
  color: var(--brand-3);
  line-height: 1;
  margin-bottom: 12px;
}
.cfg-prev-empty p {
  font-family: var(--serif);
  font-size: 14.5px;
  margin: 0;
  line-height: 1.5;
}

.cfg-prev-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.cfg-prev-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--hairline);
}
.cfg-prev-row:last-child { border-bottom: 0; padding-bottom: 0; }
.cfg-prev-k {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
}
.cfg-prev-v {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.35;
}
.cfg-prev-row.is-soft .cfg-prev-v {
  font-style: italic;
  font-weight: 300;
  font-size: 13.5px;
  color: var(--muted);
}

.cfg-prev-duration {
  position: relative;
  padding: 16px 18px;
  background: var(--brand-3);
  border-radius: var(--r-sm);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.cfg-prev-duration-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  font-weight: 300;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
}
.cfg-prev-duration-unit {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-2);
}
.cfg-prev-pulse {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: cfgPulseDot 2s ease-in-out infinite;
}
@keyframes cfgPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.cfg-prev-chips {
  margin-bottom: 14px;
}
.cfg-prev-chips-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  margin-bottom: 8px;
}
.cfg-prev-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cfg-prev-chip {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand-2);
  font-size: 12px;
  font-weight: 600;
}
.cfg-prev-chip.is-soft {
  background: var(--paper-3);
  color: var(--muted);
}

.cfg-prev-thumbs {
  margin: 16px 0;
}
.cfg-prev-thumbs-row {
  display: flex;
  gap: 8px;
}
.cfg-prev-thumb {
  flex: 1;
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-2);
  animation: cfgThumbFade 600ms var(--ease-out);
}
@keyframes cfgThumbFade {
  0% { opacity: 0; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1); }
}
.cfg-prev-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 4s ease-out;
}
.cfg-prev-thumb:hover img { transform: scale(1.04); }
.cfg-prev-thumb span {
  position: absolute;
  bottom: 4px; left: 4px; right: 4px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 10px;
  padding: 3px 6px;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.cfg-prev-tier {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cfg-prev-tier.tier-smart      { background: var(--accent-palm-3); }
.cfg-prev-tier.tier-sartoriale { background: var(--brand);  color: #fff; }
.cfg-prev-tier.tier-atelier    { background: var(--ink);    color: var(--gold); }
.cfg-prev-tier-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.7;
}
.cfg-prev-tier-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.cfg-prev-tier-amt {
  font-size: 13px;
  font-weight: 700;
  margin-left: auto;
}
.cfg-prev-tier.tier-smart .cfg-prev-tier-name { color: var(--accent-palm); }

.cfg-prev-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--hairline);
}
.cfg-prev-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper-3);
  transition: all 280ms var(--ease-out);
}
.cfg-prev-dot.is-on { background: var(--brand); }
.cfg-prev-dot.is-active {
  background: var(--brand);
  transform: scale(1.4);
  box-shadow: 0 0 0 3px rgba(0,155,220,0.18);
}

/* ============================================================
   MOBILE DRAWER — preview as bottom sheet
   ============================================================ */
.cfg-drawer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--surface);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -10px 32px -8px rgba(0,0,0,0.16);
  border: 1px solid var(--hairline);
  border-bottom: 0;
  transition: transform 320ms var(--ease-out);
  transform: translateY(calc(100% - 64px));
  max-height: 80vh;
  overflow: hidden;
}
.cfg-drawer.is-open { transform: translateY(0); }
.cfg-drawer-handle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.cfg-drawer-grip {
  width: 40px; height: 4px;
  background: var(--paper-3);
  border-radius: 999px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
}
.cfg-drawer-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: var(--ink);
  flex: 1;
}
.cfg-drawer-label em { color: var(--brand); }
.cfg-drawer-chev {
  font-size: 16px;
  color: var(--muted);
  transition: transform 280ms;
}
.cfg-drawer.is-open .cfg-drawer-chev { transform: rotate(180deg); }
.cfg-drawer-body {
  padding: 12px 20px 32px;
  max-height: calc(80vh - 64px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1080px) {
  .cfg-drawer { display: block; }
  .cfg-preview { display: none; }
  .cfg-shell { padding-bottom: 96px; }
}

/* Personalizer header — small cleanup */
.personalizer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 40px);
  position: sticky;
  top: 0;
  z-index: 220;
  background: rgba(253, 251, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.personalizer-header .brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.personalizer-header .brand-mark img {
  width: 28px; height: 28px;
}
.personalizer-header .header-right {
  display: flex;
  gap: 18px;
  font-size: 13px;
}
.personalizer-header .header-right a {
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms;
}
.personalizer-header .header-right a:hover { color: var(--brand); }

/* ============================================================
   TRIP BADGES — WeRoad-style depth markers (intensità · ritmo · stagione · cura)
   ============================================================ */
.trip-badges {
  padding: 32px 0 0;
  background: var(--paper);
}
.trip-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
@media (max-width: 1024px) { .trip-badges-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .trip-badges-grid { grid-template-columns: 1fr; } }

.badge-card {
  padding: 22px 20px;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 240ms var(--ease-out);
}
.badge-card:hover {
  background: var(--surface);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--brand-3);
}
.badge-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.badge-icon {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  color: var(--brand);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-3);
  display: grid;
  place-items: center;
}
.badge-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.badge-dots {
  display: flex;
  gap: 6px;
}
.badge-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper-3);
  border: 1px solid var(--hairline-2);
}
.badge-dots .dot.is-on {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(0, 155, 220, 0.18);
}
.badge-meta {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}
.badge-desc {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.badge-pace {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pace-mark {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface);
  color: var(--muted-2);
  border: 1px solid var(--hairline);
}
.pace-mark.is-active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.badge-months {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.badge-months .month {
  padding: 6px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 6px;
  background: var(--paper-3);
  color: var(--muted-2);
}
.badge-months .month.is-on {
  background: var(--brand-3);
  color: var(--brand);
}
.badge-months .month.is-current {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 2px rgba(0, 155, 220, 0.22);
}
.badge-included {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.inc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.inc-icon {
  font-size: 11px;
  color: var(--brand);
}

/* Day plan accordion enhancement — already uses <details> in trip.html.
   Add a soft chevron + brand accent on open. */
.trip-body details summary::after {
  content: '+';
  float: right;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--brand);
  line-height: 1;
  transition: transform 200ms;
}
.trip-body details[open] summary::after {
  content: '−';
}
