/* ==========================================================================
   WayUgo — Core Stylesheet
   Multi-service travel booking template (Hotels · Tours · Flights · Transfers)

   TABLE OF CONTENTS
   -----------------
   1.  Design tokens (non-color)
   2.  Base / reset
   3.  Typography
   4.  Layout primitives
   5.  Buttons
   6.  Forms & inputs
   7.  Badges, chips & ratings
   8.  Service accents (hotel / tour / flight / transfer)
   9.  Section & page furniture
   10. Utilities
   11. Accessibility

   Color tokens live in color-schemes.css — never hardcode a brand color here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* --- Neutrals & surfaces (scheme-independent) --------------------------
     Warm-tinted, not blue-grey. Cold #f8f9fa greys are the default surface of
     every stock template; warm sand is the cheapest premium signal available.
     Contrast for every value below was measured against every surface it is
     used on, in all six schemes. Do not adjust one by eye. */
  --wu-text:           #24322D;
  --wu-text-muted:     #5A6A63;   /* AA on surface, surface-alt AND sunken */
  --wu-text-invert:    #FBF8F3;
  --wu-heading:        #14201C;
  --wu-body-bg:        #FFFFFF;
  --wu-surface:        #FFFFFF;
  --wu-surface-alt:    #F6F2EA;   /* warm sand */
  --wu-surface-sunken: #EFE8DC;
  --wu-border:         #E5DED2;
  --wu-border-strong:  #CFC5B4;
  --wu-overlay:        rgba(20, 32, 28, .58);

  /* Dark surfaces. Scheme-independent by design: the dark footer, dark header
     and hero must NOT shift with the 8 brand schemes. Use these instead of
     hardcoding a near-black. */
  --wu-ink:            #14201C;   /* dark blocks: footer, dark header, ink bands */
  --wu-ink-deep:       #0C1512;   /* hero + media backdrops, one step deeper */
  --wu-on-ink:         #B0BCB5;   /* body text on ink — 8.54:1 */
  --wu-on-ink-strong:  #E7EDE9;   /* icons, headings on ink — 14.1:1 */
  --wu-on-ink-muted:   #909C95;   /* placeholders on ink — 5.89:1 */

  /* State colors. Every one is MEASURED, not inherited from the old palette:
     the values these replace failed AA badly on the new warm surfaces -
     success was 3.12:1 on white and warning 2.95:1, i.e. under even the 3:1
     bar for a graphical object. Ratios below are white / sand / sunken, and
     the last column is the colour on its own -bg tint.
     Re-run scratch coloraudit.py after touching any of them. */
  --wu-success:        #107048;   /* 6.12 / 5.48 / 5.02 - on tint 5.37 */
  --wu-success-bg:     #E4F4EC;
  --wu-warning:        #8F6400;   /* 5.26 / 4.71 / 4.32 - on tint 4.68 */
  --wu-warning-bg:     #FAF1DC;
  --wu-danger:         #B82D3C;   /* 6.04 / 5.41 / 4.96 - on tint 5.11 */
  --wu-danger-bg:      #FBE8E6;
  --wu-info:           #2C5F8A;   /* 6.75 / 6.05 / 5.54 */
  --wu-star:           #B57D08;   /* 3.56 on white. An icon fill: WCAG asks
                                     3:1 of a graphical object, and the old
                                     #E8A317 reached only 2.17. */
  /* Every scheme's accent pairs with white. Defined here rather than six
     times in color-schemes.css, where it was simply missing. */
  --wu-on-accent:      #FFFFFF;

  /* --- Typography --------------------------------------------------------
     Two families. One family at every size is what reads as a stock template.
     Fraunces is editorial only (see the usage rule below); Inter carries all
     UI and — critically — has real tabular numerals for fares and prices. */
  --wu-font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --wu-font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wu-font-heading: var(--wu-font-body);
  --wu-font-mono:    "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  /* Editorial tier — Fraunces only. Never on nav, buttons, labels, or <24px. */
  --wu-fs-display-xl: clamp(3.5rem,  1.5rem + 6.2vw, 5.75rem);  /* 56 → 92 */
  --wu-fs-display-l:  clamp(2.75rem, 1.4rem + 4.2vw, 4.25rem);  /* 44 → 68 */
  --wu-fs-display-m:  clamp(2.25rem, 1.3rem + 3.0vw, 3.25rem);  /* 36 → 52 */

  /* UI tier — Inter. 15px base, not 16: 16 is the template default, 15 is the
     product default, and the density difference is visible immediately. */
  --wu-fs-xs:   0.75rem;    /* 12px */
  --wu-fs-sm:   0.8125rem;  /* 13px */
  --wu-fs-base: 0.9375rem;  /* 15px */
  --wu-fs-lg:   1.0625rem;  /* 17px */
  --wu-fs-xl:   1.3125rem;  /* 21px */
  --wu-fs-2xl:  1.625rem;   /* 26px */
  --wu-fs-3xl:  2.125rem;   /* 34px */
  --wu-fs-4xl:  2.75rem;    /* 44px — legacy top step; prefer --wu-fs-display-* */

  --wu-lh-display: 1.04;
  --wu-lh-tight:   1.25;
  /* Headings that routinely wrap to two lines — card titles and the h4 tier.
     Without this they sat at two different leadings at the same 17px size. */
  --wu-lh-snug:    1.35;
  --wu-lh-base:    1.55;

  --wu-tracking-display: -0.022em;  /* tighten display only, never body */
  --wu-tracking-label:    0.06em;   /* uppercase eyebrow labels only */

  --wu-fw-normal:   400;
  --wu-fw-medium:   500;
  --wu-fw-semibold: 600;
  --wu-fw-bold:     700;

  /* Spacing scale — 4px base */
  --wu-space-1:  0.25rem;
  --wu-space-2:  0.5rem;
  --wu-space-3:  0.75rem;
  --wu-space-4:  1rem;
  --wu-space-5:  1.5rem;
  --wu-space-6:  2rem;
  --wu-space-7:  3rem;
  --wu-space-8:  4rem;
  --wu-space-9:  6rem;    /* section rhythm, desktop */
  --wu-space-10: 8rem;    /* large section rhythm, desktop */
  --wu-space-11: 11rem;   /* editorial breathing: hero and chapter breaks */

  /* --- Radii -------------------------------------------------------------
     Deliberately mixed, not one radius everywhere. Editorial media is SQUARE
     (radius 0, full-bleed) — that is the main break from "every block is a
     rounded card". Cards stay soft, controls stay tight, pills stay round. */
  --wu-radius-sm:   4px;
  --wu-radius:      10px;   /* inputs, selects, popover triggers */
  --wu-radius-lg:   18px;   /* product cards: hotel, tour, transfer */
  /* Buttons are the one control where the reference travel demos go fully
     round, and it is what gives them their soft look. This is the single
     switch: set it to var(--wu-radius) for square-ish buttons instead. */
  --wu-radius-btn:  var(--wu-radius-pill);
  --wu-radius-panel:12px;   /* map, seat map, comparison panels */
  --wu-radius-sheet:20px;   /* drawers and modals — top corners only */
  --wu-radius-xl:   14px;   /* DEPRECATED: was 22px. Kept so existing rules
                               keep parsing; do not use in new work. */
  --wu-radius-pill: 999px;

  /* Elevation — warm-tinted and shallower. The old cool rgba(17,24,39) casts
     a blue shadow that fights the sand surfaces. */
  --wu-shadow-xs: 0 1px  2px  rgba(20, 32, 28, .05);
  --wu-shadow-sm: 0 2px  8px  rgba(20, 32, 28, .06);
  --wu-shadow:    0 8px  24px rgba(20, 32, 28, .08);
  --wu-shadow-lg: 0 24px 60px rgba(20, 32, 28, .12);

  /* Motion — see animations.css */
  --wu-ease:        cubic-bezier(.4, 0, .2, 1);
  --wu-ease-out:    cubic-bezier(.16, 1, .3, 1);
  --wu-duration:    .5s;
  --wu-duration-sm: .25s;
  --wu-duration-lg: .75s;
  /* Per-element stagger, set by ui-components.js from data-wu-delay="150" */
  --wu-reveal-delay: 0ms;
  /* Autoplay dwell, set by slider.js from data-autoplay — drives the dot
     progress bar so the indicator and the timer can never disagree. */
  --wu-slide-duration: 6000ms;

  /* Layering — single source of truth, keeps overlays predictable */
  --wu-z-base:     1;
  --wu-z-sticky:   1020;
  --wu-z-header:   1030;
  --wu-z-dropdown: 1040;
  --wu-z-drawer:   1050;
  --wu-z-modal:    1060;
  --wu-z-toast:    1080;

  /* Component metrics */
  --wu-header-height:        76px;
  --wu-header-height-mobile: 62px;
  --wu-container-max:        1240px;
  --wu-container-wide:       1480px;  /* map/list split, compare tables, dashboard */
  --wu-container-read:        680px;  /* editorial article measure */

  /* How far the floating search widget rides up over the hero.
     Single source of truth: search.css pulls the widget up by this much, and
     hero.css reserves exactly this much at the bottom of the slide so the
     headline, buttons and dots can never end up underneath it. Change it here
     and both sides move together. Set to 0 on mobile, where the widget sits
     below the hero instead of over it. */
  --wu-search-overlap: 6rem;
}

/* --------------------------------------------------------------------------
   2. BASE / RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

/* Any component that sets its own `display` outruns the UA's
   [hidden] { display: none } - author sheet wins at equal specificity - and a
   node meant to be hidden renders anyway. A full-screen overlay doing that
   covers the whole page, so the guard is global rather than per component. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--wu-header-height) + var(--wu-space-4));
}

body {
  margin: 0;
  font-family: var(--wu-font-body);
  font-size: var(--wu-fs-base);
  font-weight: var(--wu-fw-normal);
  line-height: var(--wu-lh-base);
  color: var(--wu-text);
  background-color: var(--wu-body-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Locks scroll while a drawer/modal owns the viewport (set from JS). */
body.wu-no-scroll { overflow: hidden; }

img,
svg,
video { max-width: 100%; height: auto; display: block; }

/* Three rules a framework's reset would otherwise be carrying. They are here
   because a template should not need a framework to look right: without them
   every <button> that is not a .wu-btn falls back to the UA's own font, any
   bare <table> renders with doubled cell borders, and inline <code> - which
   the docs, the FAQ and the legal pages all use in running prose - sits at
   body size in whatever monospace the browser happens to prefer.

   The margin matters more than it looks: a checkbox carries 3px 3px 3px 4px
   from the UA, and seven stray pixels inside a flex row are enough to send
   the text beside it onto a second line on a phone. */
button,
input,
select,
textarea { font-family: inherit; font-size: inherit; line-height: inherit; margin: 0; }

table { border-collapse: collapse; border-spacing: 0; }

code,
kbd,
samp {
  font-family: var(--wu-font-mono);
  /* Relative, so code set inside a small note shrinks with it. Monospace
     glyphs read a size larger than the body face beside them. */
  font-size: 0.875em;
  color: var(--wu-heading);
}
/* A block already chose its own size; the code inside it follows. */
pre code { font-size: inherit; color: inherit; }

a {
  color: var(--wu-primary);
  text-decoration: none;
  transition: color var(--wu-duration-sm) var(--wu-ease);
}
a:hover { color: var(--wu-primary-dark); }

hr {
  border: 0;
  border-top: 1px solid var(--wu-border);
  margin: var(--wu-space-5) 0;
  opacity: 1;
}

::selection {
  background: rgba(var(--wu-primary-rgb), .18);
  color: var(--wu-heading);
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin: 0 0 var(--wu-space-3);
  font-family: var(--wu-font-heading);
  font-weight: var(--wu-fw-semibold);
  line-height: var(--wu-lh-tight);
  color: var(--wu-heading);
  letter-spacing: -0.01em;
}

h1, .h1 { font-size: var(--wu-fs-3xl); font-weight: var(--wu-fw-bold); }
h2, .h2 { font-size: var(--wu-fs-2xl); }
h3, .h3 { font-size: var(--wu-fs-xl); }
h4, .h4 { font-size: var(--wu-fs-lg); line-height: var(--wu-lh-snug); }
h5, .h5 { font-size: var(--wu-fs-base); }
h6, .h6 { font-size: var(--wu-fs-sm); text-transform: uppercase; letter-spacing: .06em; }

p { margin: 0 0 var(--wu-space-4); }
p:last-child { margin-bottom: 0; }

.wu-lead {
  font-size: var(--wu-fs-lg);
  color: var(--wu-text-muted);
  line-height: 1.7;
}

/* --- Editorial display tier ------------------------------------------------
   Fraunces, opt-in. Apply to hero headlines, section openers, destination
   names, pull quotes and large stat numerals — never to nav, buttons, form
   labels, table headers, or anything under 24px. Adding it to a bare h1/h2
   globally would put a serif in the UI chrome, which is the opposite of the
   intent: the contrast between the two families is the point.
   -------------------------------------------------------------------------- */
.wu-display,
.wu-display-xl,
.wu-display-l,
.wu-display-m {
  font-family: var(--wu-font-display);
  font-weight: var(--wu-fw-normal);
  line-height: var(--wu-lh-display);
  letter-spacing: var(--wu-tracking-display);
  color: var(--wu-heading);
}
.wu-display-xl { font-size: var(--wu-fs-display-xl); }
.wu-display-l  { font-size: var(--wu-fs-display-l); }
.wu-display-m  { font-size: var(--wu-fs-display-m); }

/* Numerals that can change — prices, fares, durations, seat rows, table dates.
   Without this, a price column reflows every time a digit changes width. */
.wu-num,
.wu-price,
table td,
table th { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.wu-muted     { color: var(--wu-text-muted); }
.wu-fs-xs     { font-size: var(--wu-fs-xs); }
.wu-fs-sm     { font-size: var(--wu-fs-sm); }
.wu-fs-lg     { font-size: var(--wu-fs-lg); }

/* Group label inside the header menu and the footer. A <p>, not an <h4>:
   these name a LIST inside a nav or contentinfo landmark, they are not
   sections of the page. As headings they put every page's outline at level 4
   before its own <h1> appeared, which the W3C validator reports as a skipped
   heading level on any page whose next heading is the footer's.

   The old `h4` selectors are kept everywhere alongside this class, so writing
   <h4> in your own footer column still looks right. */
.wu-group-title {
  margin: 0 0 var(--wu-space-3);
  font-family: var(--wu-font-body);
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
  letter-spacing: var(--wu-tracking-label);
  text-transform: uppercase;
  color: var(--wu-text-muted);
}
/* Used on the account page headings since they were written, and never
   defined - the h1 quietly fell back to the base heading size. */
.wu-fs-xl     { font-size: var(--wu-fs-xl); }
.wu-fs-2xl    { font-size: var(--wu-fs-2xl); }
.wu-fw-medium { font-weight: var(--wu-fw-medium); }
.wu-fw-semi   { font-weight: var(--wu-fw-semibold); }
.wu-fw-bold   { font-weight: var(--wu-fw-bold); }

/* Eyebrow label above section titles */
.wu-eyebrow {
  display: inline-block;
  margin-bottom: var(--wu-space-2);
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wu-primary);
}

/* --------------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wu-container {
  width: 100%;
  max-width: var(--wu-container-max);
  margin-inline: auto;
  padding-inline: var(--wu-space-4);
}

/* Both centre themselves rather than relying on .wu-container to do it. They
   started as modifiers of it, but they read as "a narrow centred block" and
   get used that way - on the confirmation pages, the error screens and the
   coming-soon form, all of which sat against the inline edge because the base
   class was not also applied. Combined with .wu-container the margin is the
   same value, so nothing changes where they are used as intended. */
.wu-container-wide   { max-width: 1480px; margin-inline: auto; }
.wu-container-narrow { max-width: 820px;  margin-inline: auto; }

/* 64px sat under the 80-120px a current marketing page reads as generous, and
   left --wu-space-10 unused despite being labelled the section rhythm. */
.wu-section          { padding-block: var(--wu-space-9); }
.wu-section-sm       { padding-block: var(--wu-space-6); }
.wu-section-lg       { padding-block: var(--wu-space-10); }
.wu-section-alt      { background-color: var(--wu-surface-alt); }
.wu-section-tinted   { background-color: var(--wu-primary-light); }

/* Stack: vertical rhythm without margin collapsing surprises */
.wu-stack   { display: flex; flex-direction: column; gap: var(--wu-space-4); }
.wu-stack-sm{ gap: var(--wu-space-2); }
.wu-stack-lg{ gap: var(--wu-space-6); }

.wu-cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wu-space-3);
}

/* Auto-fit card grid — the backbone of every listing page. */
.wu-grid {
  display: grid;
  gap: var(--wu-space-5);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.wu-grid-2 { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
/* Was referenced by markup on 14 grids and never defined, so every one of them
   silently fell back to the 280px base and laid out in four columns — which is
   why the six-item footer-archetype grids ended on a half-empty row. */
.wu-grid-3 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.wu-grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* Listing shell: filter sidebar + results.
   Mobile-first — single column here, sidebar added at ≥992px (responsive.css). */
.wu-listing {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--wu-space-6);
  align-items: start;
}

/* Booking shell: form column + sticky summary. Same mobile-first treatment. */
.wu-booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--wu-space-6);
  align-items: start;
}

.wu-sticky {
  position: sticky;
  top: calc(var(--wu-header-height) + var(--wu-space-4));
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.wu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--wu-space-2);
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  /* Buttons rendered square for a long time because nothing ever gave them a
     radius. The booking scope zeroes the radius tokens on purpose, so its
     buttons stay square through this same declaration. */
  border-radius: var(--wu-radius-btn);
  font-family: inherit;
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-semibold);
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--wu-duration-sm) var(--wu-ease),
              border-color var(--wu-duration-sm) var(--wu-ease),
              color var(--wu-duration-sm) var(--wu-ease),
              box-shadow var(--wu-duration-sm) var(--wu-ease),
              transform var(--wu-duration-sm) var(--wu-ease);
}

.wu-btn:disabled,
.wu-btn.is-disabled {
  opacity: .55;
  pointer-events: none;
}

.wu-btn-primary {
  background-color: var(--wu-primary);
  border-color: var(--wu-primary);
  color: var(--wu-on-primary);
}
.wu-btn-primary:hover {
  background-color: var(--wu-primary-dark);
  border-color: var(--wu-primary-dark);
  color: var(--wu-on-primary);
  box-shadow: 0 6px 18px rgba(var(--wu-primary-rgb), .28);
  transform: translateY(-1px);
}

.wu-btn-secondary {
  background-color: var(--wu-secondary);
  border-color: var(--wu-secondary);
  color: var(--wu-on-secondary);
}
.wu-btn-secondary:hover {
  filter: brightness(.94);
  color: var(--wu-on-secondary);
  transform: translateY(-1px);
}

.wu-btn-outline {
  background-color: transparent;
  border-color: var(--wu-primary);
  color: var(--wu-primary);
}
.wu-btn-outline:hover {
  background-color: var(--wu-primary);
  color: var(--wu-on-primary);
}

.wu-btn-ghost {
  background-color: transparent;
  border-color: var(--wu-border);
  color: var(--wu-text);
}
.wu-btn-ghost:hover {
  background-color: var(--wu-surface-alt);
  border-color: var(--wu-border-strong);
  color: var(--wu-heading);
}

/* A destructive action that must not look like the primary one: the ghost
   button, in the danger colour. */
.wu-btn-ghost.wu-btn-danger {
  color: var(--wu-danger);
  border-color: var(--wu-danger);
}
.wu-btn-ghost.wu-btn-danger:hover {
  background-color: var(--wu-danger-bg);
  color: var(--wu-danger);
}

.wu-btn-light {
  background-color: var(--wu-surface);
  border-color: var(--wu-surface);
  color: var(--wu-heading);
}
.wu-btn-light:hover { background-color: var(--wu-surface-alt); color: var(--wu-primary); }

.wu-btn-link {
  /* Looks like a link, acts like a button — so it owes a real target size
     (WCAG 2.5.8) rather than borrowing one from the line it sits on. */
  display: inline-flex;
  align-items: center;
  min-block-size: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--wu-primary);
  transition: color var(--wu-duration-sm) var(--wu-ease);
}
.wu-btn-link:hover { color: var(--wu-primary-dark); text-decoration: underline; }

/* Sizes */
.wu-btn-sm  { padding: 0.5rem 1rem;    font-size: var(--wu-fs-xs); }
.wu-btn-lg  { padding: 1rem 2rem;      font-size: var(--wu-fs-base); }
.wu-btn-block { width: 100%; }
.wu-btn-pill  { border-radius: var(--wu-radius-pill); }

/* Square icon button — wishlist hearts, carousel arrows, close buttons */
.wu-btn-icon {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--wu-surface);
  border-color: var(--wu-border);
  color: var(--wu-text);
}
.wu-btn-icon:hover { color: var(--wu-primary); border-color: var(--wu-primary); }
.wu-btn-icon.is-active { background-color: var(--wu-primary); border-color: var(--wu-primary); color: var(--wu-on-primary); }

/* --------------------------------------------------------------------------
   6. FORMS & INPUTS
   --------------------------------------------------------------------------
   Controls are the part of a booking template a buyer touches most and the
   part that most often looks unfinished. Three things this set does that the
   version it replaces did not:

     1. Every colour is a token. The old select caret baked in %236b7280 and
        the invalid glow baked in rgba(220,53,69) - both left over from the
        pre-Atlas palette, so a scheme switch moved everything except them.
     2. Fields have a resting, hover, focus, filled, invalid and disabled
        look. A control with only "normal" and "focused" reads as a mockup.
     3. A floating label option, so a dense booking form can drop its labels
        into the field without losing them for screen readers.
   -------------------------------------------------------------------------- */
.wu-field { display: flex; flex-direction: column; gap: var(--wu-space-2); }
.wu-field-row { display: grid; gap: var(--wu-space-4); }
@media (min-width: 576px) {
  .wu-field-row-2 { grid-template-columns: 1fr 1fr; }
  .wu-field-row-3 { grid-template-columns: repeat(3, 1fr); }
}

.wu-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-medium);
  color: var(--wu-heading);
}
.wu-label .wu-required { color: var(--wu-danger); }
.wu-label .wu-optional {
  margin-inline-start: auto;
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-normal);
  color: var(--wu-text-muted);
}

.wu-input,
.wu-select,
.wu-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius);
  background-color: var(--wu-surface);
  font-family: inherit;
  font-size: var(--wu-fs-sm);
  color: var(--wu-text);
  transition: border-color var(--wu-duration-sm) var(--wu-ease),
              box-shadow var(--wu-duration-sm) var(--wu-ease),
              background-color var(--wu-duration-sm) var(--wu-ease);
}

.wu-input:hover,
.wu-select:hover,
.wu-textarea:hover { border-color: var(--wu-border-strong); }

.wu-input::placeholder,
.wu-textarea::placeholder { color: var(--wu-text-muted); opacity: 1; }

.wu-input:focus,
.wu-select:focus,
.wu-textarea:focus {
  outline: none;
  border-color: var(--wu-primary);
  box-shadow: 0 0 0 3px rgba(var(--wu-primary-rgb), .16);
}

.wu-input:disabled,
.wu-select:disabled,
.wu-textarea:disabled {
  background: var(--wu-surface-sunken);
  color: var(--wu-text-muted);
  cursor: not-allowed;
}

.wu-textarea { min-height: 132px; resize: vertical; }

/* The caret is drawn with currentColor via a mask, so it follows the text
   colour and the active scheme instead of a baked-in grey. */
.wu-select {
  appearance: none;
  padding-inline-end: 2.5rem;
  background-image: none;
}
.wu-select-wrap { position: relative; }
.wu-select-wrap::after {
  content: "";
  position: absolute;
  inset-inline-end: 1rem;
  top: 50%;
  width: 12px;
  height: 8px;
  transform: translateY(-50%);
  background-color: var(--wu-text-muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
/* A bare .wu-select with no wrapper still needs a caret. */
.wu-select:not(.wu-select-auto) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A6A63' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
[dir="rtl"] .wu-select:not(.wu-select-auto) { background-position: left 1rem center; }

/* --- Leading / trailing icons -------------------------------------------- */
.wu-input-icon { position: relative; }
.wu-input-icon .wu-input { padding-inline-start: 2.75rem; }
.wu-input-icon > svg,
.wu-input-icon > .wu-icon {
  position: absolute;
  inset-inline-start: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--wu-text-muted);
  pointer-events: none;
  transition: color var(--wu-duration-sm) var(--wu-ease);
}
.wu-input-icon:focus-within > svg,
.wu-input-icon:focus-within > .wu-icon { color: var(--wu-primary); }

/* --- Floating label -------------------------------------------------------
   The label starts inside the field and rises out of it. :placeholder-shown
   drives it, so it needs no JS and the label stays a real <label> for
   assistive tech - unlike a placeholder pretending to be one. */
.wu-field-float { position: relative; display: block; }
.wu-field-float .wu-input,
.wu-field-float .wu-textarea { padding-top: 1.35rem; padding-bottom: 0.45rem; }
.wu-field-float .wu-input::placeholder { color: transparent; }
.wu-field-float .wu-label {
  position: absolute;
  inset-inline-start: 0.95rem;
  top: 0.72rem;
  margin: 0;
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-normal);
  color: var(--wu-text-muted);
  pointer-events: none;
  transition: transform var(--wu-duration-sm) var(--wu-ease),
              font-size var(--wu-duration-sm) var(--wu-ease),
              color var(--wu-duration-sm) var(--wu-ease);
  transform-origin: left top;
}
[dir="rtl"] .wu-field-float .wu-label { transform-origin: right top; }
.wu-field-float .wu-input:focus + .wu-label,
.wu-field-float .wu-input:not(:placeholder-shown) + .wu-label,
.wu-field-float .wu-textarea:focus + .wu-label,
.wu-field-float .wu-textarea:not(:placeholder-shown) + .wu-label {
  transform: translateY(-0.6rem) scale(0.82);
  color: var(--wu-primary);
}

/* --- Validation ----------------------------------------------------------- */
.wu-input.is-invalid,
.wu-select.is-invalid,
.wu-textarea.is-invalid { border-color: var(--wu-danger); }
.wu-input.is-invalid:focus,
.wu-select.is-invalid:focus,
.wu-textarea.is-invalid:focus { box-shadow: 0 0 0 3px rgba(184, 45, 60, .18); }

.wu-input.is-valid { border-color: var(--wu-success); }

.wu-field-error {
  display: none;
  align-items: center;
  gap: var(--wu-space-1);
  font-size: var(--wu-fs-xs);
  color: var(--wu-danger);
}
.wu-field-error.is-visible { display: flex; }
.wu-field-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--wu-danger);
  color: #fff;
  font-size: 10px;
  font-weight: var(--wu-fw-bold);
  flex: none;
}

.wu-field-hint { font-size: var(--wu-fs-xs); color: var(--wu-text-muted); }

/* Counter — guests, passengers, participants */
.wu-counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wu-space-3);
  padding: var(--wu-space-2) 0;
}
.wu-counter-controls { display: flex; align-items: center; gap: var(--wu-space-3); }
.wu-counter-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wu-border-strong);
  border-radius: 50%;
  background: var(--wu-surface);
  color: var(--wu-text);
  font-size: var(--wu-fs-lg);
  line-height: 1;
  cursor: pointer;
  /* Named rather than `all`: only these three ever change, and `all` also
     transitions layout properties, which is work the compositor cannot skip. */
  transition: border-color var(--wu-duration-sm) var(--wu-ease),
              color var(--wu-duration-sm) var(--wu-ease),
              opacity var(--wu-duration-sm) var(--wu-ease);
}
.wu-counter-btn:hover:not(:disabled) { border-color: var(--wu-primary); color: var(--wu-primary); }
.wu-counter-btn:disabled { opacity: .4; cursor: not-allowed; }
.wu-counter-value { min-width: 24px; text-align: center; font-weight: var(--wu-fw-semibold); }

/* --- Checkbox, radio, switch ----------------------------------------------
   Drawn rather than native so they can carry the brand colour; the input
   itself stays in the DOM and keeps the keyboard and screen-reader behaviour.
   -------------------------------------------------------------------------- */
.wu-check {
  display: flex;
  align-items: flex-start;
  gap: var(--wu-space-3);
  font-size: var(--wu-fs-sm);
  cursor: pointer;
}
.wu-check input {
  appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid var(--wu-border-strong);
  border-radius: var(--wu-radius-sm);
  background: var(--wu-surface);
  cursor: pointer;
  transition: background-color var(--wu-duration-sm) var(--wu-ease),
              border-color var(--wu-duration-sm) var(--wu-ease);
}
.wu-check input[type="radio"] { border-radius: 50%; }
.wu-check input:hover { border-color: var(--wu-primary); }
.wu-check input:checked {
  background-color: var(--wu-primary);
  border-color: var(--wu-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}
.wu-check input[type="radio"]:checked {
  background-image: none;
  box-shadow: inset 0 0 0 3px var(--wu-surface);
}
.wu-check input:focus-visible { outline: 2px solid var(--wu-primary); outline-offset: 2px; }

.wu-switch input {
  width: 38px;
  height: 22px;
  border-radius: var(--wu-radius-pill);
  position: relative;
}
.wu-switch input::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--wu-text-muted);
  transition: transform var(--wu-duration-sm) var(--wu-ease),
              background-color var(--wu-duration-sm) var(--wu-ease);
}
.wu-switch input:checked { background-image: none; }
.wu-switch input:checked::after { transform: translateX(16px); background: #fff; }
[dir="rtl"] .wu-switch input:checked::after { transform: translateX(-16px); }

/* --- Password -------------------------------------------------------------- */
.wu-password { position: relative; }
.wu-password .wu-input { padding-inline-end: 2.9rem; }
.wu-password-toggle {
  position: absolute;
  inset-inline-end: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--wu-radius-sm);
  background: transparent;
  color: var(--wu-text-muted);
  cursor: pointer;
}
.wu-password-toggle:hover { color: var(--wu-primary); background: var(--wu-surface-alt); }
.wu-password-toggle svg { width: 18px; height: 18px; }

.wu-strength { display: flex; gap: 4px; margin-top: var(--wu-space-2); }
.wu-strength span {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: var(--wu-surface-sunken);
  transition: background-color var(--wu-duration-sm) var(--wu-ease);
}
.wu-strength[data-level="1"] span:nth-child(-n+1),
.wu-strength[data-level="2"] span:nth-child(-n+2) { background: var(--wu-danger); }
.wu-strength[data-level="3"] span:nth-child(-n+3) { background: var(--wu-warning); }
.wu-strength[data-level="4"] span { background: var(--wu-success); }

/* --- Form furniture -------------------------------------------------------- */
.wu-form-actions {
  display: flex;
  align-items: center;
  gap: var(--wu-space-3);
  flex-wrap: wrap;
  margin-top: var(--wu-space-5);
}
.wu-form-note { font-size: var(--wu-fs-xs); color: var(--wu-text-muted); }
.wu-form-note a { color: var(--wu-primary); }

.wu-fieldset { border: 0; margin: 0 0 var(--wu-space-6); padding: 0; }
.wu-fieldset legend {
  padding: 0;
  margin-bottom: var(--wu-space-4);
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
  letter-spacing: var(--wu-tracking-label);
  text-transform: uppercase;
  color: var(--wu-text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .wu-input, .wu-select, .wu-textarea,
  .wu-field-float .wu-label,
  .wu-check input, .wu-switch input::after { transition: none; }
}

/* --------------------------------------------------------------------------
   7. BADGES, CHIPS & RATINGS
   -------------------------------------------------------------------------- */
.wu-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--wu-space-1);
  padding: 0.3rem 0.7rem;
  border-radius: var(--wu-radius-pill);
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
  line-height: 1.3;
  background-color: var(--wu-surface-sunken);
  color: var(--wu-text);
}
/* A badge is 12px semibold on a 12-16% tint of its own colour, and a brand
   colour bright enough to be a button is nowhere near dark enough to be text
   on its own tint: measured across all eight palettes these ran 1.5:1 to
   4.0:1 where WCAG AA wants 4.5:1.

   Darkening the token itself is not the fix - the same token is a button
   background where white sits on it and the brightness is correct. So the
   badge darkens the colour only where it is used AS TEXT, with color-mix.
   The percentages are the worst case measured across every scheme, with a
   little headroom, so a buyer who retunes a palette keeps a legible badge
   without touching this rule. */
.wu-badge-primary   { background-color: rgba(var(--wu-primary-rgb), .12);
                      color: color-mix(in srgb, var(--wu-primary) 80%, black); }
/* Not --wu-on-secondary: that token is the text colour for the SOLID
   secondary, and it is #ffffff in several schemes - white on a 16% tint is
   unreadable. A tinted badge is always a light surface, so its text is the
   accent darkened, like every other badge here. */
.wu-badge-secondary { background-color: rgba(var(--wu-secondary-rgb), .16);
                      color: color-mix(in srgb, var(--wu-secondary) 52%, black); }
.wu-badge-success   { background-color: var(--wu-success-bg);
                      color: color-mix(in srgb, var(--wu-success) 72%, black); }
.wu-badge-warning   { background-color: var(--wu-warning-bg);
                      color: color-mix(in srgb, var(--wu-warning) 60%, black); }
.wu-badge-danger    { background-color: var(--wu-danger-bg);
                      color: color-mix(in srgb, var(--wu-danger) 88%, black); }
.wu-badge-solid     { background-color: var(--wu-primary);    color: var(--wu-on-primary); }

/* Filter chip with removable state */
.wu-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--wu-space-2);
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius-pill);
  background: var(--wu-surface);
  font-size: var(--wu-fs-xs);
  cursor: pointer;
  transition: border-color var(--wu-duration-sm) var(--wu-ease),
              background-color var(--wu-duration-sm) var(--wu-ease),
              color var(--wu-duration-sm) var(--wu-ease);
}
.wu-chip:hover { border-color: var(--wu-primary); color: var(--wu-primary); }
.wu-chip.is-active {
  background: var(--wu-primary);
  border-color: var(--wu-primary);
  color: var(--wu-on-primary);
}

/* Star rating */
.wu-stars { display: inline-flex; gap: 2px; color: var(--wu-star); line-height: 1; }
.wu-stars svg { width: 14px; height: 14px; fill: currentColor; }
.wu-stars .is-empty { color: var(--wu-border-strong); }

/* --------------------------------------------------------------------------
   Thumbnail fallback

   Stands in for artwork a record does not have. A flight is an airline and a
   route, not a photograph, so anywhere a generic component wants a thumbnail
   it gets the service glyph on a tinted tile instead of a broken image.
   Size comes from the caller, so one rule serves every context.
   -------------------------------------------------------------------------- */
.wu-thumb-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: var(--wu-radius-sm);
  background: color-mix(in srgb, var(--wu-service) 12%, var(--wu-surface-sunken));
  color: var(--wu-service);
}
.wu-thumb-fallback svg { width: 55%; height: 55%; }

/* Review score pill, e.g. "8.9 Excellent" */
.wu-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0.35rem 0.5rem;
  border-radius: var(--wu-radius-sm) var(--wu-radius-sm) var(--wu-radius-sm) 0;
  background-color: var(--wu-primary);
  color: var(--wu-on-primary);
  font-size: var(--wu-fs-sm);
  font-weight: var(--wu-fw-bold);
}



/* Price display */
.wu-price { display: flex; align-items: baseline; gap: var(--wu-space-1); }
.wu-price-amount {
  font-size: var(--wu-fs-xl);
  font-weight: var(--wu-fw-bold);
  color: var(--wu-heading);
}
.wu-price-unit { font-size: var(--wu-fs-xs); color: var(--wu-text-muted); }
.wu-price-was {
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
  text-decoration: line-through;
}

/* --------------------------------------------------------------------------
   8. SERVICE ACCENTS
   Each service gets an identity color, exposed as --wu-service so shared
   components (cards, tabs, badges) can tint themselves from a single
   data-service attribute instead of four sets of class overrides.
   -------------------------------------------------------------------------- */
:root {
  /* Retuned to sit inside the Atlas warm palette. Scheme-independent on
     purpose: the four services must stay recognisable whichever brand scheme
     is active. Base values are for fills, dots, borders and map pins; use the
     `-text` variant for labels — the amber only reaches 4.17:1 on white,
     which is under AA for body text. */
  --wu-service-hotel:         #14544A;   /* pine       — 8.76:1 */
  --wu-service-hotel-text:    #14544A;
  --wu-service-tour:          #B26B2C;   /* amber      — 4.17:1, fills only */
  --wu-service-tour-text:     #8F5420;   /*            — 6.07:1 */
  --wu-service-flight:        #2C5F8A;   /* slate blue — 6.75:1 */
  --wu-service-flight-text:   #2C5F8A;
  --wu-service-transfer:      #6A5A8C;   /* violet     — 6.08:1 */
  --wu-service-transfer-text: #6A5A8C;

  --wu-service:      var(--wu-primary);
  --wu-service-text: var(--wu-primary);
}

/* --------------------------------------------------------------------------
   Ink scopes
   A colour chosen to pass on white does not pass on near-black. Measured on
   --wu-ink (#14201C), the light-mode values reach:

       service-hotel     1.91:1   effectively invisible
       service-flight    2.48:1
       success           2.74:1
       service-transfer  2.76:1

   All four appear in the trip band, which is ink and which ships in the
   footer of the homepage and in the header's Plan menu. Rather than adding a
   parallel set of token NAMES that every component would have to remember to
   use, the tokens are redefined inside the dark scopes: descendants keep
   writing var(--wu-success) and get the right value for the ground they are
   on. Every value below clears 6.5:1 on ink.
   -------------------------------------------------------------------------- */
.wu-header-ink,
.wu-header-dark,
.wu-footer-trip,
.wu-footer-bottom,
.wu-footer-panel-ink,
.wu-footer-reveal,
.wu-mega-trip,
.wu-bento-app,
.wu-panel-graphic,
.wu-hero-split-text,
.wu-overlay-menu {
  --wu-success:          #5FCB95;   /* 8.35:1 on ink */
  --wu-warning:          #E3B341;   /* 8.61 */
  --wu-danger:           #F0808E;   /* 6.53 */
  --wu-service-hotel:    #6FC0B0;   /* 7.85 */
  --wu-service-tour:     #E0A860;   /* 7.93 */
  --wu-service-flight:   #86B5D9;   /* 7.68 */
  --wu-service-transfer: #B4A8CE;   /* 7.53 */
  --wu-service-hotel-text:    var(--wu-service-hotel);
  --wu-service-tour-text:     var(--wu-service-tour);
  --wu-service-flight-text:   var(--wu-service-flight);
  --wu-service-transfer-text: var(--wu-service-transfer);

  /* --wu-accent was NOT redefined here, and every dark scope writes it raw:
     .wu-bento-app h4, .wu-panel-graphic .wu-mega-eyebrow, the auth aside
     eyebrow. Measured against --wu-ink it failed 4.5:1 in five of the six
     schemes - 3.86 in plum, 4.10 in olive and slate, 4.46 in ember and
     cobalt - because the scheme accents are mid-tone by design, tuned for
     white. This is the same amber the warning token uses on ink (8.61:1),
     so the block gains no new colour, and it clears 5.65 at the lightest
     stop of the .wu-panel-graphic gradient in the worst scheme. */
  --wu-accent:      #E3B341;
  --wu-accent-text: #E3B341;
}

[data-service="hotel"]    { --wu-service: var(--wu-service-hotel);    --wu-service-text: var(--wu-service-hotel-text); }
[data-service="tour"]     { --wu-service: var(--wu-service-tour);     --wu-service-text: var(--wu-service-tour-text); }
[data-service="flight"]   { --wu-service: var(--wu-service-flight);   --wu-service-text: var(--wu-service-flight-text); }
[data-service="transfer"] { --wu-service: var(--wu-service-transfer); --wu-service-text: var(--wu-service-transfer-text); }

.wu-service-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--wu-service);
  flex: 0 0 auto;
}

.wu-service-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--wu-space-2);
  padding: 0.3rem 0.7rem;
  border-radius: var(--wu-radius-pill);
  background-color: color-mix(in srgb, var(--wu-service) 12%, transparent);
  color: var(--wu-service);
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-semibold);
}

/* --------------------------------------------------------------------------
   9. SECTION & PAGE FURNITURE
   -------------------------------------------------------------------------- */
.wu-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--wu-space-4);
  margin-bottom: var(--wu-space-6);
}
/* The display face carried 2% of the item's text while the brand leans on it —
   the serif hero on index-single-image is the strongest screen here. Section
   heads are where it earns its keep. Scoped to .wu-section-head, which only the
   marketing surface uses: account and booking pages stay on Inter. */
.wu-section-head h2,
.wu-section-head .h2 {
  font-family: var(--wu-font-display);
  font-weight: var(--wu-fw-normal);
  letter-spacing: var(--wu-tracking-display);
}
.wu-section-head p { margin: 0; color: var(--wu-text-muted); }
.wu-section-head.is-centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.wu-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--wu-space-2);
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}
.wu-breadcrumb li + li::before {
  content: "/";
  margin-inline-end: var(--wu-space-2);
  color: var(--wu-border-strong);
}
.wu-breadcrumb a { color: inherit; }
.wu-breadcrumb a:hover { color: var(--wu-primary); }

/* Page banner used on every inner page */
.wu-page-head {
  padding-block: var(--wu-space-7);
  background-color: var(--wu-surface-alt);
  border-bottom: 1px solid var(--wu-border);
}
.wu-page-head h1 { margin-bottom: var(--wu-space-2); }

/* Booking step indicator */
.wu-steps {
  display: flex;
  align-items: center;
  gap: var(--wu-space-2);
  padding: 0;
  margin: 0 0 var(--wu-space-6);
  list-style: none;
  counter-reset: wu-step;
}
.wu-steps li {
  display: flex;
  align-items: center;
  gap: var(--wu-space-2);
  flex: 1 1 0;
  font-size: var(--wu-fs-sm);
  color: var(--wu-text-muted);
}
.wu-steps li::before {
  counter-increment: wu-step;
  content: counter(wu-step);
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wu-surface-sunken);
  color: var(--wu-text-muted);
  font-size: var(--wu-fs-xs);
  font-weight: var(--wu-fw-bold);
}
.wu-steps li::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  background: var(--wu-border);
}
.wu-steps li:last-child::after { display: none; }
.wu-steps li.is-active { color: var(--wu-heading); font-weight: var(--wu-fw-semibold); }
.wu-steps li.is-active::before { background: var(--wu-primary); color: var(--wu-on-primary); }
.wu-steps li.is-done::before { background: var(--wu-success); color: #fff; content: "\2713"; }
.wu-steps li.is-done::after  { background: var(--wu-success); }

/* Panel — the generic bordered surface used by filters, summaries, forms */
.wu-panel {
  background: var(--wu-surface);
  border: 1px solid var(--wu-border);
  border-radius: var(--wu-radius-lg);
  padding: var(--wu-space-5);
}

/* A panel that frames something destructive - closing an account, cancelling a
   booking. Scoped to .wu-panel because that rule sets `border` as a shorthand,
   which includes the colour. */
.wu-panel.wu-panel-danger { border-color: var(--wu-danger); }
.wu-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wu-space-3);
  margin-bottom: var(--wu-space-4);
  padding-bottom: var(--wu-space-3);
  border-bottom: 1px solid var(--wu-border);
}
.wu-panel-head h3, .wu-panel-head h4 { margin: 0; }

/* Divider list rows — price breakdowns, booking summaries */
.wu-rows { display: flex; flex-direction: column; gap: var(--wu-space-3); }
.wu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--wu-space-3);
  font-size: var(--wu-fs-sm);
}
.wu-row-total {
  padding-top: var(--wu-space-3);
  border-top: 1px solid var(--wu-border);
  font-size: var(--wu-fs-base);
  font-weight: var(--wu-fw-bold);
  color: var(--wu-heading);
}

/* Empty state.

   It reports on the WHOLE result set, so it spans the whole results area - as
   a plain child it became one grid track wide and its message sat centred in
   the first column with two thirds of the row empty beside it.

   Both spanning properties are here because the results container is one of
   three things depending on the view: a grid, a CSS-multicolumn masonry, or a
   flex stack. Each property is inert in the containers it does not apply to,
   and a stack already gives its children the full width. */
.wu-empty {
  text-align: center;
  padding: var(--wu-space-8) var(--wu-space-4);
  color: var(--wu-text-muted);
  grid-column: 1 / -1;   /* .wu-grid    */
  column-span: all;      /* .wu-masonry */
}

/* Skeleton placeholder while a service manager loads results */
.wu-skeleton {
  background: linear-gradient(90deg, var(--wu-surface-sunken) 25%, var(--wu-surface-alt) 37%, var(--wu-surface-sunken) 63%);
  background-size: 400% 100%;
  border-radius: var(--wu-radius);
  animation: wu-shimmer 1.4s ease infinite;
}

/* --------------------------------------------------------------------------
   10. UTILITIES
   -------------------------------------------------------------------------- */
.wu-text-center { text-align: center; }
.wu-text-end    { text-align: end; }
.wu-flex-fill   { flex: 1 1 auto; min-width: 0; }
.wu-w-100       { width: 100%; }
.wu-mt-0 { margin-top: 0; }
.wu-mb-0 { margin-bottom: 0; }
.wu-mb-2 { margin-bottom: var(--wu-space-2); }
.wu-mb-3 { margin-bottom: var(--wu-space-3); }
.wu-mb-4 { margin-bottom: var(--wu-space-4); }
.wu-mb-5 { margin-bottom: var(--wu-space-5); }
.wu-mb-6 { margin-bottom: var(--wu-space-6); }

.wu-rounded    { border-radius: var(--wu-radius); }
.wu-rounded-lg { border-radius: var(--wu-radius-lg); }
.wu-shadow     { box-shadow: var(--wu-shadow); }
.wu-shadow-lg  { box-shadow: var(--wu-shadow-lg); }
.wu-border     { border: 1px solid var(--wu-border); }

.wu-bg-alt     { background-color: var(--wu-surface-alt); }
.wu-bg-primary { background-color: var(--wu-primary); color: var(--wu-on-primary); }
/* Semantic TEXT colours, not fills. The success green is tuned to be a tick
   icon and a badge ground; as 12px copy on a white card it measured 3.12:1
   where AA wants 4.5:1, and "Refundable" / "Instant confirmation" are exactly
   the words a traveller needs to read. Darkened only here - the tokens keep
   their brightness everywhere they are a background.

   Primary and danger already clear 4.5:1 on a light surface, so they are left
   as they are rather than darkened for symmetry. */
.wu-text-primary { color: var(--wu-primary); }
.wu-text-success { color: color-mix(in srgb, var(--wu-success) 78%, black); }
.wu-text-danger  { color: var(--wu-danger); }

/* Truncate to N lines — card descriptions */
/* Loading placeholders. The proportions are design - a title bar is shorter
   than the line under it - so they belong here, not in a JS string. */
.wu-skeleton-media      { aspect-ratio: 4 / 3; }
.wu-skeleton-title      { height: 14px; width: 60%; }
.wu-skeleton-text       { height: 12px; width: 85%; }
.wu-skeleton-text-short { height: 12px; width: 40%; }

.wu-clamp-2,
.wu-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wu-clamp-2 { -webkit-line-clamp: 2; line-clamp: 2; }
.wu-clamp-3 { -webkit-line-clamp: 3; line-clamp: 3; }

/* Fixed aspect media box — keeps card grids from jumping as images load */
.wu-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--wu-radius);
  background-color: var(--wu-surface-sunken);
  aspect-ratio: 4 / 3;
}
.wu-media > img { width: 100%; height: 100%; object-fit: cover; }
.wu-media-16x9 { aspect-ratio: 16 / 9; }
.wu-media-1x1  { aspect-ratio: 1 / 1; }

.wu-overlay-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,24,39,0) 35%, rgba(17,24,39,.75) 100%);
}

/* --------------------------------------------------------------------------
   11. ACCESSIBILITY
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid rgba(var(--wu-primary-rgb), .45);
  outline-offset: 2px;
  border-radius: var(--wu-radius-sm);
}

.wu-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link — first focusable element on every page */
.wu-skip-link {
  position: absolute;
  top: -60px;
  left: var(--wu-space-4);
  z-index: var(--wu-z-toast);
  padding: 0.75rem 1.25rem;
  background: var(--wu-primary);
  color: var(--wu-on-primary);
  border-radius: 0 0 var(--wu-radius) var(--wu-radius);
  font-weight: var(--wu-fw-semibold);
  transition: top var(--wu-duration) var(--wu-ease);
}
.wu-skip-link:focus { top: 0; color: var(--wu-on-primary); }
