/* ============================================================
   VisaBreeze design system — PRODUCTION stylesheet (visabreeze-design plugin)
   Base layer: docs/todo/redesign/demo/demo.css VERBATIM (the pixel-perfect
   contract — regenerate with the README procedure, never hand-fork).
   ------------------------------------------------------------
   VisaBreeze design system — demo stylesheet (v2, logo v12)
   Palette : ink #16143A · deep #1E1B4B · violet #5A4FC4 · teal #35BDA4
             tint #EEEDFB · ground #FAFAFE
   Type    : Prompt (display) · Anuphan (body) · Space Grotesk (latin utility)
   Signature: the three-sail breeze — aurora gradients that drift slowly,
             gradient ink on key phrases, floating app-style cards.
   All motion collapses under prefers-reduced-motion.
   ============================================================ */

:root {
  --ink: #16143A;
  --deep: #1E1B4B;
  --deep-2: #312E81;
  --violet: #5A4FC4;
  --violet-dark: #443AB8;
  --teal: #35BDA4;
  --teal-dark: #1F8E7A;
  --tint: #EEEDFB;
  --tint-2: #F6F5FD;
  --ground: #FAFAFE;
  --card: #FFFFFF;
  --line: #E5E4F4;
  --muted: #5D5A85;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-1: 0 1px 2px rgba(22, 20, 58, .05), 0 4px 16px rgba(22, 20, 58, .06);
  --shadow-2: 0 2px 4px rgba(22, 20, 58, .07), 0 14px 36px rgba(22, 20, 58, .12);
  --grad-brand: linear-gradient(100deg, #5A4FC4 10%, #7A6FE0 40%, #35BDA4 90%);
  --grad-deep: linear-gradient(115deg, #16143A 0%, #1E1B4B 34%, #312E81 62%, #144940 100%);
  --font-display: 'Prompt', 'Anuphan', sans-serif;
  --font-body: 'Anuphan', sans-serif;
  --font-latin: 'Space Grotesk', 'Prompt', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8; /* Thai stacks marks above and below the baseline */
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--violet-dark); text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }

/* ---------- motion primitives ---------- */
@keyframes vb-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes vb-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, -40px) scale(1.15); }
}
@keyframes vb-drift-b {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-70px, 30px) scale(.95); }
}
@keyframes vb-pan {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}
@keyframes vb-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}
@keyframes vb-spin {
  to { transform: rotate(360deg); }
}
[data-rise] { animation: vb-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
[data-rise="2"] { animation-delay: .1s; }
[data-rise="3"] { animation-delay: .2s; }
[data-rise="4"] { animation-delay: .3s; }
[data-rise="5"] { animation-delay: .42s; }

/* gradient ink — the phrase highlight (replaces underlines) */
.grad-ink {
  background: var(--grad-brand);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: vb-pan 7s ease-in-out infinite alternate;
}

/* shifting deep surface — footer, CTA band, form card */
.surface-deep {
  color: #fff;
  background: var(--grad-deep);
  background-size: 260% 260%;
  animation: vb-pan 26s ease-in-out infinite alternate;
}

/* ---------- eyebrow: Space Grotesk caps, the utility voice ---------- */
.eyebrow {
  font-family: var(--font-latin);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--violet);
}
.eyebrow--teal { color: var(--teal-dark); }
.eyebrow--ondark { color: var(--teal); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  background: var(--violet);
  border: 1px solid var(--violet);
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--violet-dark); border-color: var(--violet-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(90, 79, 196, .35); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; box-shadow: none; }
.btn--light { background: #fff; border-color: #fff; color: var(--deep); }
.btn--light:hover { background: var(--tint); border-color: var(--tint); color: var(--deep); box-shadow: none; }
.btn--outline { background: transparent; color: var(--violet-dark); border-color: var(--line); }
.btn--outline:hover { background: var(--tint); border-color: var(--violet); box-shadow: none; }
.btn--sm { padding: 9px 20px; font-size: 15px; }

/* ---------- topbar ---------- */
.topbar {
  background: var(--deep);
  color: rgba(255, 255, 255, .82);
  font-size: 13.5px;
  position: relative;
  z-index: 46; /* above the mobile drawer (45), below the header (50) */
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
}
.topbar a { color: rgba(255, 255, 255, .82); }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; gap: 20px; align-items: center; }
.topbar .num { font-family: var(--font-latin); letter-spacing: .02em; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}
.logo img { height: 36px; width: auto; }
.nav {
  display: flex;
  gap: 6px;
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15.5px;
}
.nav a { color: var(--ink); padding: 8px 16px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.nav a:hover { background: var(--tint); color: var(--violet-dark); }
.nav a.is-active { background: var(--tint); color: var(--violet-dark); font-weight: 500; }
.nav .caret {
  display: inline-block;
  margin-left: 7px;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.nav-item { position: relative; display: flex; }
.nav-item:hover > a .caret, .nav-item:focus-within > a .caret { transform: rotate(225deg) translateY(2px); }
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  padding-top: 12px; /* hover bridge — no gap between trigger and panel */
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 60;
}
.nav-item:hover .mega, .nav-item:focus-within .mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-2);
  padding: 12px;
  min-width: 250px;
}
.mega--wide .mega__card { width: 560px; padding: 16px; }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mega-dest {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.mega-dest:hover { background: var(--tint); color: var(--violet-dark); }
.mega-dest img { width: 64px; height: 44px; object-fit: cover; border-radius: 10px; flex: none; }
.mega__all {
  display: block;
  text-align: center;
  margin-top: 10px;
  padding: 10px 10px 4px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--violet-dark);
}
.mega__list { display: grid; gap: 2px; }
.mega__list a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}
.mega__list a:hover { background: var(--tint); color: var(--violet-dark); }
.mega__list .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: none;
}

/* hamburger (mobile only) — three lines that fold into an X */
.menu-btn {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color .15s ease;
}
.menu-btn:hover { border-color: var(--violet); }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* full-screen mobile drawer — contact lives at the END */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45; /* under the sticky header, so the X stays clickable */
  background: linear-gradient(180deg, #FAFAFE 20%, #EFEDFB 100%);
  padding: 132px 28px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none !important; }
/* the open drawer owns the screen — the AI assistant must not float above it */
.mobile-menu:not([hidden]) ~ .chat-root { visibility: hidden; }
.mobile-menu__nav { display: grid; gap: 4px; }
.mobile-menu__nav > a, .mm-group summary {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 16px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.mobile-menu__nav > a::after { content: "\2192"; color: var(--violet); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .2s ease; font-size: 18px; }
.mobile-menu__nav > a:hover::after, .mobile-menu__nav > a.is-active::after { opacity: 1; transform: none; }
.mobile-menu__nav > a.is-active, .mm-group[open] summary { color: var(--violet-dark); background: var(--tint); }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary::after {
  content: "";
  width: 9px; height: 9px;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-right: 4px;
}
.mm-group[open] summary::after { transform: rotate(225deg); }
.mm-sub { display: grid; gap: 2px; padding: 6px 8px 10px 16px; }
.mm-sub a {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 400;
  color: var(--ink);
  padding: 9px 12px;
  border-radius: 12px;
}
.mm-sub a:hover { background: rgba(255, 255, 255, .8); color: var(--violet-dark); }
.mm-sub img { width: 52px; height: 36px; object-fit: cover; border-radius: 9px; flex: none; }
.mm-sub .ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: none;
}
.mobile-menu__end { margin-top: auto; padding-top: 32px; display: grid; gap: 18px; }
.mobile-menu__end .btn { justify-content: center; }
.mobile-menu__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; font-size: 14.5px; }
.mobile-menu__meta a { color: var(--muted); }
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open .chat-root { display: none; }
/* overflow:hidden on html kills position:sticky — while the drawer is open,
   pin the header (with its X) to the top and step the topbar aside; all its
   contact links live at the end of the drawer anyway */
html.menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
html.menu-open .topbar { display: none; }
@media (min-width: 961px) { .mobile-menu { display: none !important; } }

/* ---------- hero (home) : light aurora, app-style ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ground);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
}
.blob--violet {
  width: 560px; height: 560px;
  left: -140px; top: -220px;
  background: radial-gradient(circle at 40% 40%, #B7B0F2 0%, rgba(183, 176, 242, 0) 70%);
  animation: vb-drift-a 22s ease-in-out infinite alternate;
}
.blob--teal {
  width: 620px; height: 620px;
  right: -180px; bottom: -280px;
  background: radial-gradient(circle at 60% 40%, #A8E8DB 0%, rgba(168, 232, 219, 0) 70%);
  animation: vb-drift-b 26s ease-in-out infinite alternate;
}
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--violet); }

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 92px;
}
.hero__lead {
  /* an h1 semantically (Rank Math reads the brand line as the H1), a pill visually */
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--violet-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 18px;
  box-shadow: var(--shadow-1);
}
.hero__lead .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero .hero__display {
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 600;
  line-height: 1.32;
  margin: 22px 0 18px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.hero__sub {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 460px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* trust stats — quiet row under the hero copy */
.stats { display: flex; gap: 44px; margin-top: 48px; flex-wrap: wrap; }
.stat b {
  display: block;
  font-family: var(--font-latin);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.stat span { font-size: 14.5px; color: var(--muted); }

/* floating app-style visual cluster */
.hero__vis { position: relative; min-height: 420px; }
.vis-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.vis-card--dest {
  width: min(340px, 78%);
  right: 8%;
  top: 34px;
  animation: vb-float 6s ease-in-out infinite alternate;
}
.vis-card--dest img.ph { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; }
.vis-card__row { display: flex; gap: 12px; align-items: center; padding: 14px 18px; }
.vis-card__row b { font-family: var(--font-display); font-weight: 600; font-size: 16px; display: block; line-height: 1.4; }
.vis-card__row span { font-size: 13px; color: var(--muted); }
.vis-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-2);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
}
.vis-chip .tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.vis-chip--check { right: 2%; top: -6px; animation: vb-float 5s .6s ease-in-out infinite alternate; }
.vis-chip--step { left: 4%; bottom: 46px; animation: vb-float 7s .3s ease-in-out infinite alternate; }
.vis-chip--step .bar {
  width: 74px; height: 6px;
  border-radius: 4px;
  background: var(--tint);
  overflow: hidden;
  position: relative;
}
.vis-chip--step .bar i {
  position: absolute; inset: 0;
  width: 66%;
  border-radius: 4px;
  background: var(--grad-brand);
}
.vis-sail {
  position: absolute;
  left: 0;
  top: -14px;
  width: 72px;
  opacity: .95;
  animation: vb-spin 46s linear infinite;
}

/* small round flag used inside cards/rows */
.flag-dot {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 1px 6px rgba(22, 20, 58, .25);
}
.flag-dot img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--tint-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 10px; }
.section__head p { color: var(--muted); margin-top: 12px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- destination cards ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 24px;
}
.dest-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.dest-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.dest-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.dest-card:hover .dest-card__media img { transform: scale(1.045); }
.flag-chip {
  position: absolute;
  left: 16px;
  bottom: -18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(22, 20, 58, .25);
  background: #fff;
}
.flag-chip img { width: 100%; height: 100%; object-fit: cover; }
.dest-card__body { padding: 28px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.dest-card__body h3 { font-size: 19px; font-weight: 600; }
.dest-card__body p { font-size: 15px; color: var(--muted); margin: 6px 0 14px; flex: 1; }
.dest-card__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--violet-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dest-card:hover .dest-card__link { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- process steps (a real sequence) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-1);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-latin);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--violet-dark);
  background: var(--tint);
  border-radius: 999px;
  padding: 5px 14px;
  display: inline-block;
  margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- magazine ---------- */
.mag-hero {
  position: relative;
  overflow: hidden;
  background: var(--tint-2);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 56px;
}
.mag-hero .blob--violet { opacity: .4; }
.mag-hero .blob--teal { opacity: .4; }
.mag-hero .wrap { position: relative; z-index: 2; }
.mag-hero h1 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.mag-hero p { color: var(--muted); margin-top: 12px; max-width: 560px; }
.search {
  margin-top: 28px;
  display: flex;
  max-width: 460px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.search input {
  flex: 1;
  border: 0;
  padding: 13px 22px;
  font-family: var(--font-body);
  font-size: 15.5px;
  outline-color: var(--violet);
  background: transparent;
}
.search button {
  border: 0;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  padding: 0 26px;
  cursor: pointer;
}
.search button:hover { background: var(--violet-dark); }

.chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--violet-dark);
  background: var(--tint);
  border-radius: 999px;
  padding: 4px 14px;
}
.chip--onimg { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .92); }

.featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  margin-bottom: 56px;
  transition: box-shadow .2s ease;
}
.featured:hover { box-shadow: var(--shadow-2); }
.featured__media { position: relative; min-height: 340px; }
.featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__body { padding: 44px 44px 36px; display: flex; flex-direction: column; }
.featured__body h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 16px 0 12px; }
.featured__body h2 a { color: var(--ink); }
.featured__body h2 a:hover { color: var(--violet-dark); }
.featured__body p { color: var(--muted); flex: 1; }

.mag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.mag-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mag-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.mag-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.mag-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mag-card:hover .mag-card__media img { transform: scale(1.045); }
.mag-card__body { padding: 22px 22px 18px; flex: 1; display: flex; flex-direction: column; }
.mag-card__body h3 { font-size: 18px; line-height: 1.55; flex: 1; }
.mag-card__body h3 a { color: var(--ink); }
.mag-card__body h3 a:hover { color: var(--violet-dark); }
.meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}
.meta .num { font-family: var(--font-latin); }

/* ---------- post / article ---------- */
.post-head { padding: 64px 0 40px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--violet-dark); }
.post-head h1 { font-size: clamp(28px, 3.6vw, 42px); margin: 16px 0 20px; }
.byline { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14.5px; }
.byline .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.share { display: flex; gap: 10px; margin-left: auto; }
.share a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  transition: all .15s ease;
}
.share a:hover { color: #fff; background: var(--violet); border-color: var(--violet); }
.share svg { width: 17px; height: 17px; fill: currentColor; }

.post-hero-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 16 / 8.4; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.article { padding: 56px 0 0; }
.article > * + * { margin-top: 22px; }
.article h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-top: 52px;
  padding-top: 10px;
}
.article h2::after {
  /* small brand-gradient underline on every article H2 */
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  border-radius: 2px;
  margin-top: 10px;
  background: var(--grad-brand);
}
.article p { color: #3B3768; }
.article a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(90, 79, 196, .4); }

.toc {
  background: var(--tint-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.toc strong { font-family: var(--font-display); font-weight: 600; display: block; margin-bottom: 12px; }
.toc ol { padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; font-size: 15px; }
.toc a { color: var(--violet-dark); }

.check-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list .tick {
  flex: none;
  width: 24px; height: 24px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--violet-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
.callout {
  border-left: 4px solid var(--teal);
  background: #EDFAF6;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 26px;
  color: #1C5F52;
  font-size: 15.5px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
.faq details + details { margin-top: 12px; }
.faq summary {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16.5px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-latin); font-size: 20px; color: var(--violet); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 24px 20px; color: var(--muted); font-size: 15.5px; }

/* contact form card */
.form-card {
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.form-card h3 { color: #fff; font-size: 24px; margin-bottom: 6px; position: relative; }
.form-card > p { color: rgba(255, 255, 255, .75); font-size: 15px; margin-bottom: 24px; position: relative; }
.form-card form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.form-card input {
  grid-column: span 1;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 13px 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15.5px;
  outline: none;
}
.form-card input::placeholder { color: rgba(255, 255, 255, .55); }
.form-card input:focus { border-color: var(--teal); background: rgba(255, 255, 255, .12); }
.form-card input.full { grid-column: span 2; }
.form-card .btn { grid-column: span 2; justify-content: center; }

/* ---------- newsletter ---------- */
.newsletter {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-1);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  /* soft teal aurora corner */
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 189, 164, .18), transparent 70%);
  pointer-events: none;
}
.newsletter h2 { font-size: clamp(22px, 2.6vw, 30px); }
.newsletter p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.news-form {
  display: flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.news-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 15.5px;
  outline-color: var(--violet);
  background: transparent;
}
.news-form button {
  border: 0;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  padding: 0 28px;
  cursor: pointer;
}
.news-form button:hover { background: var(--violet-dark); }
.news-form + small { display: block; margin-top: 10px; color: var(--muted); font-size: 12.5px; }

/* compact footer variant */
.footer-news {
  margin-top: 18px;
  display: flex;
  max-width: 300px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  overflow: hidden;
}
.footer-news input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.footer-news input::placeholder { color: rgba(255, 255, 255, .5); }
.footer-news input:focus { background: rgba(255, 255, 255, .06); }
.footer-news button {
  border: 0;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  padding: 0 18px;
  cursor: pointer;
}
.footer-news button:hover { background: var(--violet-dark); }
@media (max-width: 960px) {
  .newsletter { grid-template-columns: 1fr; padding: 36px 28px; }
}
@media (max-width: 620px) {
  .newsletter { padding: 28px 20px; }
  /* the joined pill squeezes the input on phones — stack it into two full-width pills */
  .news-form { flex-direction: column; gap: 10px; background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  .news-form input { background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-1); padding: 13px 20px; }
  .news-form button { border-radius: 999px; padding: 13px 20px; }
  .footer-news { max-width: none; }
}

/* ---------- destination page ---------- */
.dest-hero {
  position: relative;
  color: #fff;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.dest-hero__img { position: absolute; inset: 0; }
.dest-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.dest-hero__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(12deg, rgba(22, 20, 58, .88) 8%, rgba(22, 20, 58, .45) 45%, rgba(22, 20, 58, .12) 75%);
}
.dest-hero__in { position: relative; z-index: 2; padding: 120px 0 52px; width: 100%; }
.dest-hero__flag {
  display: block;
  width: 56px; height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, .85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  margin-bottom: 18px;
}
.dest-hero__flag img { width: 100%; height: 100%; object-fit: cover; }
.dest-hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 48px); margin: 10px 0 12px; }
.dest-hero p { color: rgba(255, 255, 255, .85); max-width: 560px; font-size: 18px; }

.jump-row {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 72px;
  z-index: 30;
}
.jump-row .wrap {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain; /* swipe stays in the row */
  touch-action: pan-x;            /* horizontal drag never scrolls the page */
  scrollbar-width: none;
  cursor: grab;
}
.jump-row .wrap::-webkit-scrollbar { display: none; }
.jump-row .wrap.is-dragging { cursor: grabbing; user-select: none; }
@media (max-width: 960px) {
  .jump-row .wrap {
    /* edge fade hints there is more to drag */
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 32px), transparent);
  }
}
.jump-row a {
  flex: none;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  background: var(--tint-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 18px;
  transition: all .15s ease;
}
.jump-row a:hover { background: var(--tint); color: var(--violet-dark); border-color: var(--violet); }

.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.benefit {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-1);
}
.benefit .ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--tint);
  color: var(--violet-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}
.benefit h3 { font-size: 18px; margin-bottom: 8px; }
.benefit p { font-size: 15px; color: var(--muted); }

.timeline { list-style: none; position: relative; padding-left: 44px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 15px; top: 8px; bottom: 8px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--violet) 0 6px, transparent 6px 14px);
  opacity: .5;
}
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -36px; top: 8px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--violet);
}
.timeline b { font-family: var(--font-display); font-weight: 600; display: block; }
.timeline span { color: var(--muted); font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 56px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); }
.cta-band p { color: rgba(255, 255, 255, .78); margin-top: 8px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .sails {
  position: absolute;
  right: -30px;
  bottom: -46px;
  width: 220px;
  opacity: .08;
  pointer-events: none;
  animation: vb-spin 60s linear infinite;
}

/* ---------- footer (color-shifting deep surface) ---------- */
.site-footer {
  color: rgba(255, 255, 255, .72);
  margin-top: 96px;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}
.site-footer .sails {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  opacity: .05;
  pointer-events: none;
  animation: vb-spin 80s linear infinite;
}
.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer__brand img { height: 34px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 300px; font-size: 14.5px; }
.site-footer h4 {
  color: #fff;
  font-size: 15.5px;
  font-weight: 500;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .72); transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.site-footer .num { font-family: var(--font-latin); }
.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .5);
}

/* ---------- AI assistant (mock of the visabreeze-chat widget) ---------- */
@keyframes vb-blink {
  0%, 80%, 100% { opacity: .25; transform: none; }
  40% { opacity: 1; transform: translateY(-3px); }
}
.chat-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--violet);
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(90, 79, 196, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .18s ease;
}
.chat-launcher:hover { transform: scale(1.06); background: var(--violet-dark); }
.chat-launcher img { width: 30px; height: 30px; }
.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 91;
  width: min(380px, calc(100vw - 32px));
  max-height: min(560px, calc(100vh - 130px));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(22, 20, 58, .28);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* the documented trap: raising specificity kills the UA [hidden] rule — re-state it */
.chat-panel[hidden] { display: none !important; }
.chat-head { display: flex; gap: 12px; align-items: center; padding: 16px 18px; color: #fff; }
.chat-head img { width: 34px; height: 34px; }
.chat-head b { font-family: var(--font-display); font-weight: 600; display: block; line-height: 1.3; }
.chat-head span { font-size: 12.5px; color: rgba(255, 255, 255, .75); display: flex; align-items: center; gap: 6px; }
.chat-head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.chat-close {
  margin-left: auto;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .8);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
}
.chat-close:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.chat-body { padding: 18px; display: grid; gap: 12px; overflow-y: auto; background: var(--tint-2); }
.msg { max-width: 82%; padding: 10px 16px; border-radius: 16px; font-size: 14.5px; line-height: 1.7; }
.msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; justify-self: start; }
.msg--user { background: var(--violet); color: #fff; border-bottom-right-radius: 4px; justify-self: end; }
.msg--bot a { text-decoration: underline; text-underline-offset: 2px; }
.msg.typing { display: inline-flex; gap: 5px; padding: 14px 18px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: vb-blink 1.2s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .2s; }
.msg.typing i:nth-child(3) { animation-delay: .4s; }
/* greeting teaser — the assistant says hello beside the launcher */
@keyframes vb-wave {
  0%, 60%, 100% { transform: rotate(0); }
  10% { transform: rotate(16deg); }
  20% { transform: rotate(-8deg); }
  30% { transform: rotate(14deg); }
  40% { transform: rotate(-4deg); }
  50% { transform: rotate(10deg); }
}
@keyframes vb-ping {
  from { transform: scale(.85); opacity: .9; }
  to   { transform: scale(1.55); opacity: 0; }
}
@keyframes vb-nudge {
  0%, 100% { transform: rotate(0); }
  20% { transform: rotate(-9deg) scale(1.06); }
  40% { transform: rotate(7deg); }
  60% { transform: rotate(-5deg); }
  80% { transform: rotate(3deg); }
}
.chat-launcher.is-wave { animation: vb-nudge .9s ease .1s; }
.chat-launcher.is-wave::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(90, 79, 196, .5);
  opacity: 0; /* invisible outside the animation, or the ring sticks around after it ends */
  animation: vb-ping 1.2s ease-out 2;
}
.chat-greet {
  position: fixed;
  right: 94px;
  bottom: 30px;
  z-index: 90;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px 18px 4px 18px;
  box-shadow: var(--shadow-2);
  padding: 12px 18px;
  max-width: 270px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(.92);
  transform-origin: 100% 100%;
  pointer-events: none;
  transition: opacity .35s cubic-bezier(.2, .7, .2, 1), transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .2s ease;
}
.chat-greet.is-in { opacity: 1; transform: none; pointer-events: auto; }
.chat-greet:hover { box-shadow: 0 18px 44px rgba(22, 20, 58, .22); }
.chat-greet .typing-mini { display: inline-flex; gap: 4px; padding: 5px 2px; }
/* same [hidden] trap as the panel: any explicit display beats the UA rule */
.chat-greet .typing-mini[hidden], .chat-greet__msg[hidden] { display: none !important; }
.chat-greet .typing-mini i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: vb-blink 1.2s infinite; }
.chat-greet .typing-mini i:nth-child(2) { animation-delay: .2s; }
.chat-greet .typing-mini i:nth-child(3) { animation-delay: .4s; }
.chat-greet__msg { line-height: 1.6; animation: vb-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.chat-greet .wave { display: inline-block; font-size: 19px; margin-right: 6px; transform-origin: 70% 70%; animation: vb-wave 1.6s ease-in-out 2; }
.chat-greet__close {
  position: absolute;
  top: -9px;
  left: -9px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
  box-shadow: var(--shadow-1);
  opacity: 0;
  transition: opacity .15s ease;
}
.chat-greet:hover .chat-greet__close, .chat-greet__close:focus-visible { opacity: 1; }

.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; background: var(--tint-2); }
.chat-chips button {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--violet-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all .15s ease;
}
.chat-chips button:hover { border-color: var(--violet); background: var(--tint); }
.chat-input { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14.5px;
  outline-color: var(--violet);
}
.chat-input button {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: var(--violet);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background .15s ease;
}
.chat-input button:hover { background: var(--violet-dark); }
.chat-note { font-size: 11.5px; color: var(--muted); text-align: center; padding: 0 14px 10px; background: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .header__in > .btn { display: none; } /* contact moves to the end of the mobile menu */
  .hero__grid { grid-template-columns: 1fr; padding-top: 64px; }
  .hero__vis { min-height: 380px; }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 240px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .toc ol { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .section { padding: 64px 0; }
  .stats { gap: 28px; }
  .form-card { padding: 32px 24px; }
  .form-card form { grid-template-columns: 1fr; }
  .form-card input.full, .form-card .btn { grid-column: span 1; }
  .cta-band { padding: 40px 28px; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar__group:last-child { display: none; }
  .vis-card--dest { right: 0; width: 86%; }
  .vis-chip--step { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .grad-ink { background-size: 100% 100%; }
}

/* visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================================
   PRODUCTION MAPPING LAYER (not part of the demo file)
   Everything below adapts the live Astra + Elementor DOM to the
   design system above. Selectors here come from the documented
   live DOM (CLAUDE.md) — RE-VERIFY each block against the rendered
   site during PLAN.md Phase V before the flip.
   ============================================================ */

/* ---- theme chrome suppression: the plugin renders its own ----
   Verified on the live DOM 2026-08-29: the old header/footer are Elementor
   Theme-Builder templates (7123 / 7184), not Astra markup. */
body.vb-ds .elementor-location-header { display: none !important; }
/* the theme calls wp_footer() INSIDE the old location-footer wrapper, so our
   footer is nested in it by construction (verified: 3 unclosed divs before
   ours, server-side). Keep the wrapper, hide only its old children — our
   wrapper carries .vbds. */
body.vb-ds .elementor-location-footer > .elementor-section-wrap > *:not(.vbds),
body.vb-ds .elementor-location-footer > *:not(.elementor-section-wrap):not(.vbds):not(script):not(style) { display: none !important; }
body.vb-ds #masthead,
body.vb-ds #colophon { display: none !important; }
/* something site-side boxes .site-header to 1140px — our chrome is full-bleed */
body.vb-ds #vbds-header { width: 100% !important; max-width: none !important; margin: 0 !important; }
body.vb-ds #vbds-footer { width: 100% !important; max-width: none !important; margin: 96px 0 0 !important; }
/* logged-in preview: clear the WP admin bar */
body.vb-ds.admin-bar #vbds-header { top: 32px; }

/* ---- base typography over theme/kit defaults ---- */
body.vb-ds,
body.vb-ds .elementor-widget-text-editor { font-family: var(--font-body); }
body.vb-ds h1, body.vb-ds h2, body.vb-ds h3, body.vb-ds h4,
body.vb-ds .elementor-heading-title {
  font-family: var(--font-display) !important; /* widget-level fonts (post banner serif) must lose */
  font-weight: 600; /* browser/kit default is 700 — the demo's display weight is 600 */
}
body.vb-ds .elementor-widget-text-editor { font-size: 17px; line-height: 1.8; }
body.vb-ds { background: var(--ground); color: var(--ink); }

/* the Elementor kit paints text-shadow on every button site-wide — kill it */
body.vb-ds button,
body.vb-ds .elementor-button { text-shadow: none !important; }

/* ---- links: retire magenta everywhere ---- */
body.vb-ds .elementor-widget-text-editor a,
body.vb-ds .entry-content a { color: var(--violet-dark); }

/* ---- buttons -> pills ---- */
/* widget-level Elementor rules out-rank any mapping selector — !important is
   the only lever that beats per-element button colors site-wide */
body.vb-ds .elementor-button,
body.vb-ds .wp-block-button__link,
body.vb-ds input[type="submit"] {
  font-family: var(--font-display) !important;
  font-weight: 500 !important;
  background-color: var(--violet) !important;
  border-color: var(--violet) !important;
  border-radius: 999px !important;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
body.vb-ds .elementor-button:hover,
body.vb-ds .wp-block-button__link:hover,
body.vb-ds input[type="submit"]:hover {
  background-color: var(--violet-dark) !important;
  border-color: var(--violet-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(90, 79, 196, .35);
}

/* ---- loop-grid post cards (magazine + related) ---- */
body.vb-ds .elementor-loop-container .e-loop-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease;
}
body.vb-ds .elementor-loop-container .e-loop-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
body.vb-ds .elementor-loop-container .e-loop-item .elementor-heading-title a,
body.vb-ds .elementor-post__title a { color: var(--ink); }
body.vb-ds .elementor-loop-container .e-loop-item .elementor-heading-title a:hover,
body.vb-ds .elementor-post__title a:hover { color: var(--violet-dark); }

/* ---- accordion (FAQ) ---- */
body.vb-ds .elementor-accordion .elementor-accordion-item {
  background: var(--card);
  border: 1px solid var(--line) !important;
  border-radius: var(--radius);
  overflow: hidden;
}
body.vb-ds .elementor-accordion .elementor-accordion-item + .elementor-accordion-item { margin-top: 12px; }
body.vb-ds .elementor-accordion .elementor-tab-title {
  font-family: var(--font-display);
  font-weight: 500;
  border: 0;
}
body.vb-ds .elementor-accordion .elementor-tab-title.elementor-active,
body.vb-ds .elementor-accordion .elementor-tab-title a:hover { color: var(--violet-dark); }

/* ---- icon lists -> tick style ---- */
body.vb-ds .elementor-icon-list-icon { color: var(--violet-dark); }

/* ---- LuckyWP Table of Contents ---- */
body.vb-ds .lwptoc,
body.vb-ds .lwptoc-inner {
  background: var(--tint-2) !important;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
body.vb-ds .lwptoc a { color: var(--violet-dark); }

/* ---- Elementor Pro forms (contact + newsletter) ---- */
body.vb-ds .elementor-form .elementor-field {
  border-radius: 12px;
  border-color: var(--line);
  font-family: var(--font-body);
}
body.vb-ds .elementor-form .elementor-field:focus { border-color: var(--violet); }
/* forms placed inside a .form-card / .newsletter shortcode inherit those skins */
body.vb-ds .form-card .elementor-field {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
body.vb-ds .newsletter .elementor-form .elementor-field { border-radius: 999px; }

/* ---- share buttons ---- */
body.vb-ds .elementor-share-btn {
  border-radius: 50% !important;
  background-color: #fff !important;
  border: 1px solid var(--line);
  color: var(--muted) !important;
}
body.vb-ds .elementor-share-btn:hover { background-color: var(--violet) !important; color: #fff !important; }

/* ---- images added by the optimizer keep card treatment ---- */
body.vb-ds .elementor-widget-image img { border-radius: var(--radius); }

/* ---- Thai mobile rules carried over from vb-rank-math-tweaks ---- */
body.vb-ds .elementor-widget-text-editor,
body.vb-ds .elementor-heading-title { overflow-wrap: break-word; }
@media (max-width: 620px) {
  body.vb-ds h1.elementor-heading-title { font-size: clamp(26px, 8vw, 44px); }
  body.vb-ds h2.elementor-heading-title { font-size: clamp(19px, 5.4vw, 30px); }
  body.vb-ds h3.elementor-heading-title { font-size: clamp(17px, 4.8vw, 26px); }
}

/* ---- the hero lead is an H1 semantically but a pill visually — the kit's
        h1 sizing must not inflate it ---- */
body.vb-ds h1.hero__lead {
  font-size: 14.5px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

/* ---- old site CSS also defines .btn — inside .vbds roots ours must win ---- */
body.vb-ds .vbds .btn { background: var(--violet) !important; border-color: var(--violet) !important; color: #fff !important; }
body.vb-ds .vbds .btn:hover { background: var(--violet-dark) !important; border-color: var(--violet-dark) !important; }
body.vb-ds .vbds .btn--outline { background: transparent !important; color: var(--violet-dark) !important; border-color: var(--line) !important; }
body.vb-ds .vbds .btn--outline:hover { background: var(--tint) !important; border-color: var(--violet) !important; }
body.vb-ds .vbds .btn--light { background: #fff !important; border-color: #fff !important; color: var(--deep) !important; }
body.vb-ds .vbds .btn--ghost { background: transparent !important; border-color: rgba(255, 255, 255, .45) !important; color: #fff !important; }

/* ---- shortcode sections inside Elementor columns: the hero breaks out
        full-bleed regardless of the container that hosts it ---- */
body.vb-ds section.hero.vbds { width: 100vw; margin-left: calc(50% - 50vw); }

/* ---- header flow: site CSS forces header{display:flex}, shrinking the wrap
        to fit-content (nav looked centered); restore block flow ---- */
body.vb-ds #vbds-header { display: block !important; }
/* sticky can't escape the chrome wrapper's box — dissolve the wrapper so the
   header sticks against the viewport like the demo's floating header */
body.vb-ds #vbds-chrome-top { display: contents; }
body.vb-ds #vbds-header .wrap { width: 100%; }
body.vb-ds #vbds-header .nav { margin-left: auto !important; }

/* ---- bare buttons in our chrome: the kit paints button:hover/focus dark —
        dark-on-dark hamburger X was the symptom ---- */
body.vb-ds .menu-btn,
body.vb-ds .menu-btn:hover,
body.vb-ds .menu-btn:focus,
body.vb-ds .menu-btn:active {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--ink) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
body.vb-ds .menu-btn:hover { border-color: var(--violet) !important; }
body.vb-ds .menu-btn span { background: var(--ink) !important; }
body.vb-ds .menu-btn:hover span { background: var(--violet) !important; }
body.vb-ds .mobile-menu__nav > a:hover,
body.vb-ds .mm-group summary:hover { color: var(--violet-dark) !important; background: rgba(255, 255, 255, .85) !important; }
body.vb-ds .mm-sub a:hover { color: var(--violet-dark) !important; background: rgba(255, 255, 255, .8) !important; }

/* ---- footer newsletter embed: the template ships a full boxed section —
        flatten it into the compact pill row the demo draws ---- */
/* the demo's .footer-news is ONE joined pill: translucent rounded container,
   borderless input, violet button attached at the right (max-width 300) */
body.vb-ds #vbds-footer .footer-news.vb-embed { background: transparent; border: 0; max-width: 300px; display: block; overflow: visible; margin-top: 18px; }
body.vb-ds #vbds-footer .vb-embed .elementor-section,
body.vb-ds #vbds-footer .vb-embed .elementor-widget-wrap { padding: 0 !important; }
body.vb-ds #vbds-footer .vb-embed .elementor-container { max-width: none !important; }
body.vb-ds #vbds-footer .vb-embed .elementor-form-fields-wrapper {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  align-items: stretch;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  overflow: hidden;
}
body.vb-ds #vbds-footer .vb-embed .elementor-field-group { padding: 0 !important; margin: 0 !important; flex: 1 1 auto; width: auto !important; min-width: 0; }
body.vb-ds #vbds-footer .vb-embed .elementor-field-group.elementor-field-type-submit { flex: 0 0 auto; display: flex; align-items: stretch; }
body.vb-ds #vbds-footer .vb-embed label { display: none !important; }
body.vb-ds #vbds-footer .vb-embed .elementor-field-textual {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  padding: 10px 16px !important;
  font-size: 14px !important;
  line-height: 18px !important; /* Elementor's generous line-height inflated the pill; 10+18+10 + container border = the demo's exact 40px */
  min-height: 0 !important;
  height: auto !important;
  width: 100% !important;
}
body.vb-ds #vbds-footer .vb-embed .elementor-field-textual::placeholder { color: rgba(255, 255, 255, .5) !important; opacity: 1 !important; /* UA/Elementor stack their own opacity on top — double-dims the text */ }
body.vb-ds #vbds-footer .vb-embed .elementor-field-textual:focus { background: rgba(255, 255, 255, .06) !important; outline: none !important; }
body.vb-ds #vbds-footer .vb-embed .elementor-button {
  /* like the demo: the input sets the pill's height, the button stretches */
  border-radius: 0 !important;
  padding: 0 18px !important;
  min-height: 0 !important;
  height: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  font-size: 14px !important;
  font-weight: 400 !important; /* the demo button inherits UA weight, not the 500 of standalone buttons */
  line-height: 1 !important;
  letter-spacing: 0 !important;
  width: auto !important;
  box-shadow: none !important;
  transform: none !important;
}
/* demo hover is a flat color swap — no lift, no shadow */
body.vb-ds #vbds-footer .vb-embed .elementor-button:hover {
  background-color: var(--violet-dark) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* the same embed inside the light newsletter band */
body.vb-ds .newsletter .vb-embed .elementor-section,
body.vb-ds .newsletter .vb-embed .elementor-widget-wrap { padding: 0 !important; }
body.vb-ds .newsletter .vb-embed label { display: none !important; }
body.vb-ds .newsletter .vb-embed .elementor-field-textual { background: #fff !important; border: 1px solid var(--line) !important; border-radius: 999px !important; padding: 13px 20px !important; }
body.vb-ds .newsletter .vb-embed .elementor-button { border-radius: 999px !important; }

/* ---- magazine hero band (page 6846, section 56de6e1): demo typography ---- */
body.vb-ds.page-id-6846 .elementor-element-56de6e1 h1.elementor-heading-title {
  font-size: clamp(30px, 4vw, 44px) !important;
  line-height: 1.35 !important;
}
body.vb-ds.page-id-6846 .elementor-element-56de6e1 h2.elementor-heading-title {
  font-family: var(--font-body) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  color: var(--muted) !important;
  margin-top: 10px !important;
}

/* ---- Elementor search widget -> the demo's pill search ---- */
body.vb-ds .elementor-search-form--skin-classic .elementor-search-form__container {
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
  background: #fff !important;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  min-height: 48px !important;
}
body.vb-ds .elementor-search-form__input { background: transparent !important; font-family: var(--font-body) !important; padding-left: 20px !important; }
body.vb-ds .elementor-search-form__submit { background: var(--violet) !important; color: #fff !important; min-width: 56px !important; }
body.vb-ds .elementor-search-form__submit:hover { background: var(--violet-dark) !important; }

/* ---- destination heroes: the kit's ink heading color made photo-hero titles
        unreadable — the flag badge marks exactly those heroes ---- */
body.vb-ds .elementor-top-section:has(#vb-flag) h1.elementor-heading-title,
body.vb-ds .e-con:has(#vb-flag) h1.elementor-heading-title,
body.vb-ds .elementor-top-section:has(#vb-flag) h3.elementor-heading-title,
body.vb-ds .e-con:has(#vb-flag) h3.elementor-heading-title {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(22, 20, 58, .55);
}

/* ---- country flag badges on destination heroes -> round chips ---- */
body.vb-ds #vb-flag img {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, .85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}

/* ---- shortcode host columns: Elementor's default 10px column padding drew a
        seam between the header and full-bleed sections ---- */
body.vb-ds .elementor-widget-wrap:has(> .elementor-widget-shortcode .vbds) { padding: 0 !important; }
body.vb-ds .elementor-widget-shortcode .elementor-widget-container { margin: 0 !important; }

/* dest-hero breaks out full-bleed like the home hero */
body.vb-ds section.dest-hero.vbds { width: 100vw; margin-left: calc(50% - 50vw); }
body.vb-ds section.mag-hero.vbds { width: 100vw; margin-left: calc(50% - 50vw); }
body.vb-ds section.mag-hero.vbds h1 { font-size: clamp(30px, 4vw, 44px); }
body.vb-ds .vbds.jump-row { width: 100vw; margin-left: calc(50% - 50vw); }

/* ---- magazine hero band: the demo's aurora + composition ---- */
body.vb-ds.page-id-6846 .elementor-element-56de6e1 {
  position: relative;
  overflow: hidden;
}
body.vb-ds.page-id-6846 .elementor-element-56de6e1::before,
body.vb-ds.page-id-6846 .elementor-element-56de6e1::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .4;
  pointer-events: none;
}
body.vb-ds.page-id-6846 .elementor-element-56de6e1::before {
  width: 560px; height: 560px;
  left: -140px; top: -220px;
  background: radial-gradient(circle at 40% 40%, #B7B0F2 0%, rgba(183, 176, 242, 0) 70%);
}
body.vb-ds.page-id-6846 .elementor-element-56de6e1::after {
  width: 620px; height: 620px;
  right: -180px; bottom: -280px;
  background: radial-gradient(circle at 60% 40%, #A8E8DB 0%, rgba(168, 232, 219, 0) 70%);
}
body.vb-ds.page-id-6846 .elementor-element-56de6e1 .elementor-widget-wrap { position: relative; z-index: 2; }
body.vb-ds.page-id-6846 .elementor-element-56de6e1 .elementor-widget-search-form { max-width: 460px; margin-top: 16px; }

/* ---- magazine Posts-widget cards -> the demo's mag-card ---- */
body.vb-ds .elementor-post__card {
  position: relative;
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-1) !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
body.vb-ds .elementor-post__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2) !important; }
body.vb-ds .elementor-post__card { overflow: hidden !important; }
body.vb-ds .elementor-post__thumbnail__link { display: block; overflow: hidden !important; border-radius: var(--radius) var(--radius) 0 0; }
body.vb-ds .elementor-post__thumbnail { aspect-ratio: 16 / 9; overflow: hidden !important; height: auto !important; }
/* fill the box: Elementor's fit-height skin otherwise lets the image slide loose */
body.vb-ds .elementor-post__thumbnail img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  margin: 0 !important;
  /* no hover zoom here: Optimole's resize observer re-fits the image when it
     transforms, collapsing it to its natural size — the card lift is enough */
}
body.vb-ds .elementor-post__badge {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  background: rgba(255, 255, 255, .92) !important;
  color: var(--violet-dark) !important;
  font-family: var(--font-display) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  padding: 4px 14px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
body.vb-ds .elementor-post__text { padding: 6px 22px 18px; }
body.vb-ds .elementor-post__title,
body.vb-ds .elementor-post__title a {
  font-family: var(--font-display) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
}
body.vb-ds .elementor-post__title a:hover { color: var(--violet-dark) !important; }
body.vb-ds .elementor-post__excerpt,
body.vb-ds .elementor-post__read-more { display: none !important; }
body.vb-ds .elementor-post__meta-data {
  font-size: 13.5px !important;
  color: var(--muted) !important;
  border-top: 0 !important;
  margin-top: 10px;
}

/* ---- pagination -> pill numbers ---- */
body.vb-ds .elementor-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: var(--font-display);
}
body.vb-ds .elementor-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: all .15s ease;
}
body.vb-ds .elementor-pagination .page-numbers:hover { border-color: var(--violet); color: var(--violet-dark); background: var(--tint); }
body.vb-ds .elementor-pagination .page-numbers.current { background: var(--violet); border-color: var(--violet); color: #fff; }
body.vb-ds .elementor-pagination .page-numbers.dots { border: 0; background: transparent; }

/* ---- the kit paints its own font on every <a> — inherit inside our roots,
        then re-assert the components that deliberately use display/latin ---- */
body.vb-ds .vbds :is(a, button, input, select) { font-family: inherit; }
body.vb-ds .vbds :is(.btn, .eyebrow, .chip, .jump-row a, .mm-sub a, .mobile-menu__nav > a, .mm-group summary, .dest-card__link, .vis-chip, .hero__lead) { font-family: var(--font-display) !important; }
body.vb-ds .vbds :is(.num, .stat b, .meta .num) { font-family: var(--font-latin) !important; }
body.vb-ds #vbds-header .nav a { font-family: var(--font-display) !important; }
body.vb-ds .elementor-widget-text-editor a,
body.vb-ds .entry-content a { font-family: inherit; }

/* ---- video embeds keep the card look ---- */
body.vb-ds .elementor-widget-video .elementor-wrapper { border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; }
