/* ==========================================================================
   Legwork homepage
   Built from the Figma frame "Legwork - Home" (1440 x 5341)
   ========================================================================== */

:root {
  --orange: #ff6522;
  --red: #ed3b1f;           /* eyebrow labels */
  --yellow: #ffc422;
  --ink: #000;
  --text: rgba(0, 0, 0, 0.8);
  --cream: #fff9f4;
  --peach-line: rgba(255, 181, 149, 0.73);
  --footer: #20201f;
  --container: 1200px;
  --gutter: 24px;
  --font: "Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; flex: none; }
button, select { font: inherit; color: inherit; }

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* ---------- Shared pieces ---------- */

.eyebrow {
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--red);
}

.rule {
  display: block;
  width: 64px;
  height: 8px;
  background: var(--yellow);
}
.rule-orange { background: var(--orange); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 62px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: #ef5512; }
.btn:active { transform: translateY(1px); }
.btn img { transition: transform 0.2s ease; }
.btn:hover img { transform: translateX(3px); }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #fff3ea; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: var(--orange);
}
.text-link img { transition: transform 0.2s ease; }
.text-link:hover img { transform: translateX(4px); }

.tile {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(139.65deg, #ff6522 6.34%, #ff7e22 88.52%);
}
.step-alt .tile,
.day-card-alt .tile { background: linear-gradient(138.9deg, #ffa35d 1.21%, #ffc422 98.93%); }

/* ---------- Section headings ---------- */

.section-head h2 {
  margin-top: 24px;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: var(--ink);
}
.section-head .rule { margin-top: 28px; }
.section-lede { font-size: 20px; line-height: 1.5; }

.section-head.centered { text-align: center; }
.section-head.centered h2 { max-width: 765px; margin-inline: auto; }
.section-head.centered .rule { margin-inline: auto; }
.section-head.centered .section-lede { max-width: 683px; margin: 28px auto 0; }

.section-cta { display: flex; justify-content: center; }

/* ==========================================================================
   Top bar + navigation
   ========================================================================== */

.topbar {
  border-bottom: 1px solid #f1f3f0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.topbar-row,
.topbar-right { display: flex; align-items: center; }
.topbar-row { justify-content: space-between; padding: 4px 0; }
.topbar-right { gap: 8px; }
.topbar-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px; }
.topbar-row > .topbar-link { margin-left: -8px; }
.topbar-login { margin-right: -8px; color: #ec624e; }
.topbar-divider { width: 1px; height: 16px; background: #ccd9d6; }

.nav { background: #fff; }
.nav-row { display: flex; align-items: center; height: 80px; }

.nav-menu { margin-left: auto; }
.nav-links { display: flex; gap: 16px; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.nav-links a:hover { color: var(--orange); }

.btn-nav { height: 48px; margin-left: 16px; font-size: 16px; }

/* ---------- Header icon hover animations ----------
   Each icon gets a small motion that suits it, on hover or keyboard focus. */

.topbar-link img,
.nav-links img { transform-origin: 50% 50%; }

/* phone: rings */
.topbar-link:is(:hover, :focus-visible) img[src*="phone-log"] { animation: icon-ring 0.6s ease-in-out; }
/* headset: nods side to side */
.topbar-link:is(:hover, :focus-visible) img[src*="headset"] { animation: icon-nod 0.6s ease-in-out; }
/* login: pops */
.topbar-link:is(:hover, :focus-visible) img[src*="user-key"] { animation: icon-pop 0.45s ease-out; }
/* map pin: drops and bounces */
.nav-links a:is(:hover, :focus-visible) img[src*="map-pin-house"] { animation: icon-bounce 0.6s ease-out; }
/* gear: turns */
.nav-links img[src*="settings"] { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.nav-links a:is(:hover, :focus-visible) img[src*="settings"] { transform: rotate(120deg); }
/* hand with coins: lifts and tilts */
.nav-links a:is(:hover, :focus-visible) img[src*="hand-coins"] { animation: icon-lift 0.6s ease-in-out; }

@keyframes icon-ring {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-16deg); }
  30% { transform: rotate(14deg); }
  45% { transform: rotate(-11deg); }
  60% { transform: rotate(8deg); }
  75% { transform: rotate(-4deg); }
}
@keyframes icon-nod {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(-12deg); }
  65% { transform: rotate(10deg); }
}
@keyframes icon-pop {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.25); }
}
@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
  55% { transform: translateY(0); }
  75% { transform: translateY(-2px); }
}
@keyframes icon-lift {
  0%, 100% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(-3px) rotate(-10deg); }
  70% { transform: translateY(0) rotate(4deg); }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { background: var(--cream); overflow-x: clip; }

.hero-inner {
  position: relative;
  max-width: 1440px;
  margin-inline: auto;
  /* percentages here resolve against the viewport, so cap at the 1440px canvas */
  padding: 67px max(var(--gutter), (min(100%, 1440px) - var(--container)) / 2) 57px;
}

.hero-map {
  position: absolute;
  top: -3px;
  left: 14px;
  width: 66.6%;
  height: auto;
  pointer-events: none;
}

/* the video runs off the right edge of the 1440px canvas and hangs below the cream band;
   hero-mask.png is the Figma cut-out shape, so the video plays inside it */
.hero-photo {
  position: absolute;
  top: 42px;
  left: 46.11%;
  width: 63.54%;
  height: auto;
  aspect-ratio: 915 / 701;
  object-fit: cover;
  object-position: 100% 50%;
  -webkit-mask: url("../images/hero-mask.png") center / 100% 100% no-repeat;
  mask: url("../images/hero-mask.png") center / 100% 100% no-repeat;
}

.hero-copy { position: relative; }

.hero h1 {
  max-width: 765px;
  margin-top: 16px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.6px;
  color: var(--ink);
}
.hero .rule { margin-top: 28px; }

.lede {
  max-width: 485px;
  margin-top: 28px;
  font-size: 20px;
  line-height: 1.5;
}

.search {
  display: flex;
  gap: 16px;
  width: min(894px, 74.5%);
  height: 96px;
  margin-top: 48px;
  padding: 16px;
  border: 1px solid var(--peach-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.77);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  box-shadow:
    0 8px 9.5px rgba(255, 180, 148, 0.1),
    0 34px 17px rgba(255, 180, 148, 0.09),
    0 76px 23px rgba(255, 180, 148, 0.05);
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  padding: 8px;
}
.search-chevron { position: absolute; right: 8px; pointer-events: none; }
.search select {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 32px 0 0;
  border: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  appearance: none;
  cursor: pointer;
}
.search .btn { height: 100%; }

/* custom destination picker, built by assets/js/destination-select.js */
.search.has-dd { position: relative; z-index: 2; }
.search-chevron { transition: transform 0.2s ease; }
.search.is-open .search-chevron { transform: rotate(180deg); }

.dd-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 32px 0 0;
  border: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: left;
  color: var(--text);
  cursor: pointer;
}
.dd-toggle.has-value { color: var(--ink); }
.dd-value { min-width: 0; padding: 4px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-toggle .flag {
  flex: none;
  width: 28px;
  height: 28px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.dd-toggle .flag[hidden] { display: none; }

.dd-list {
  position: absolute;
  top: calc(100% + 10px);
  left: -1px;
  z-index: 20;
  width: min(100% + 2px, 460px);
  max-height: 420px;
  padding: 8px;
  overflow: auto;
  border: 1px solid var(--peach-line);
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 8px 16px rgba(120, 50, 10, 0.06),
    0 28px 48px -12px rgba(120, 50, 10, 0.22);
  outline: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
}
.search.is-open .dd-list {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dd-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.dd-option.is-active { background: #fff3ea; }
.dd-option .flag {
  flex: none;
  width: 28px;
  height: 28px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.dd-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dd-name { font-size: 17px; font-weight: 700; line-height: 1.1; color: var(--ink); }
.dd-meta { font-size: 13px; line-height: 1.2; color: rgba(0, 0, 0, 0.6); }
.dd-option[aria-selected="true"] .dd-name { color: var(--orange); }
.dd-option[aria-selected="true"]::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--orange);
}

.hero-points { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.hero-points li {
  padding-left: 12px;
  border-left: 4px solid var(--yellow);
  line-height: 1.2;
  color: var(--ink);
}

/* ==========================================================================
   One clear journey
   ========================================================================== */

.journey { padding-top: 154px; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 47px;
}
.step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 348px;
  padding: 24px;
  border: 1px solid #ffc8b0;
  border-radius: 24px;
  background: #fff;
  box-shadow:
    0 4px 4.5px rgba(212, 212, 212, 0.1),
    0 16px 8px rgba(212, 212, 212, 0.09),
    0 37px 11px rgba(212, 212, 212, 0.05);
}
.step-alt { border-color: rgba(255, 196, 34, 0.36); }
.step-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.step h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

/* ---------- Card hover (step cards and "How many days" cards): 3D tilt, cursor spotlight, spinning gradient edge ----------
   assets/js/card-tilt.js feeds the pointer position in as --rx/--ry (tilt) and --mx/--my
   (spotlight). The defaults below give a plain lift and glow when the script is absent. */

@property --edge-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.steps,
.day-cards { perspective: 1200px; }

.step,
.day-card {
  --rx: 0deg;
  --ry: 0deg;
  --mx: 50%;
  --my: 0%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  will-change: transform;
}
:is(.step, .day-card):is(:hover, :focus-within) {
  transform: translateY(-8px) rotateX(var(--rx)) rotateY(var(--ry));
  box-shadow:
    0 6px 10px rgba(255, 101, 34, 0.06),
    0 24px 30px rgba(255, 101, 34, 0.1),
    0 48px 60px -20px rgba(255, 101, 34, 0.28);
}

/* spotlight that follows the cursor */
.step::before,
.day-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 140, 60, 0.2), rgba(255, 196, 34, 0.08) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
:is(.step, .day-card):is(:hover, :focus-within)::before { opacity: 1; }

/* gradient edge that sweeps around the card */
.step::after,
.day-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  padding: 2px;
  border-radius: inherit;
  background: conic-gradient(from var(--edge-angle), transparent 0 55%, #ffc422 70%, #ff6522 85%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
:is(.step, .day-card):is(:hover, :focus-within)::after {
  opacity: 1;
  animation: edge-spin 2.4s linear infinite;
}
@keyframes edge-spin {
  to { --edge-angle: 360deg; }
}

/* the icon tile and text float at different depths, so they shift against each other as the card tilts */
.step .tile,
.step-body { position: relative; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.step:is(:hover, :focus-within) .tile { transform: translateZ(44px); }
.step:is(:hover, :focus-within) .step-body { transform: translateZ(22px); }

/* day cards are frosted glass (backdrop-filter), which flattens 3D children, so their tile lifts in 2D instead */
.day-card > * { position: relative; }
.day-card .tile { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.day-card:is(:hover, :focus-within) .tile { transform: translateY(-4px) scale(1.08); }

/* card icons animate when the card is hovered or its link is focused
   (keyframes shared with the header icons, plus icon-rise) */
:is(.step, .day-card):is(:hover, :focus-within) .tile img[src*="map-pin-house"] { animation: icon-bounce 0.6s ease-out; }
:is(.step, .day-card):is(:hover, :focus-within) .tile img[src*="map-pin-check"] { animation: icon-pop 0.45s ease-out; }
.step:is(:hover, :focus-within) .tile img[src*="hotel"] { animation: icon-rise 0.6s ease-out; }
.step:is(:hover, :focus-within) .tile img[src*="ticket-check"] { animation: icon-ring 0.6s ease-in-out; }

@keyframes icon-rise {
  0% { transform: translateY(6px) scaleY(0.8); opacity: 0.4; }
  60% { transform: translateY(-2px) scaleY(1.04); opacity: 1; }
  100% { transform: none; }
}

.journey .section-cta { margin-top: 63px; }

/* ==========================================================================
   Top destinations
   ========================================================================== */

.destinations { padding-top: 119px; }

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: 28px;
}
.section-head-row .section-lede { max-width: 683px; }

.filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.filter {
  position: relative;
  display: block;
  height: 80px;
  border: 1px solid var(--peach-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.77);
  box-shadow: 0 6px 9.7px rgba(0, 0, 0, 0.05);
}
.filter-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  pointer-events: none;
}
.filter select {
  width: 100%;
  height: 100%;
  padding: 36px 48px 14px 16px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  font-weight: 600;
  color: var(--text);
  appearance: none;
  cursor: pointer;
}
.filter img { position: absolute; right: 16px; top: 38px; pointer-events: none; }

.filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 80px;
  border: 1px solid var(--orange);
  border-radius: 8px;
  background: #ffefe7;
  color: var(--orange);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.filter-reset:hover { background: #ffe2d3; }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}

.dest {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 384 / 541;
  padding: 32px;
  overflow: hidden;
  border-radius: 32px;
  background: #000;
  color: #fff;
}
.dest-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Georgia uses a custom crop of a wider photo in the design */
.dest-georgia .dest-photo {
  top: -16.05%;
  left: -143.32%;
  width: 355.37%;
  height: 141.98%;
  max-width: none;
}
/* slow zoom into the photo on hover; the card clips it, so only the picture moves */
@media (prefers-reduced-motion: no-preference) {
  .dest-photo {
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }
  .dest:is(:hover, :focus-visible) .dest-photo { transform: scale(1.1); }
}
.dest::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18.76%, #000);
}

.flag {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
}
.flag-ge {
  background:
    linear-gradient(#e8112d, #e8112d) center / 100% 20% no-repeat,
    linear-gradient(#e8112d, #e8112d) center / 20% 100% no-repeat,
    #fff;
}
.flag-jp { background: radial-gradient(circle, #bc002d 0 36%, #fff 38%); }
.flag-mu { background: linear-gradient(#ea2839 25%, #1a206d 0 50%, #ffd500 0 75%, #00a551 0); }
.flag-ae { background: linear-gradient(#00843d 33.33%, #fff 0 66.66%, #000 0); }
.flag-th { background: linear-gradient(#a51931 16.67%, #f4f5f8 0 33.33%, #2d2a4a 0 66.67%, #f4f5f8 0 83.33%, #a51931 0); }

.dest-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  padding: 8px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.17);
  -webkit-backdrop-filter: blur(7.3px);
  backdrop-filter: blur(7.3px);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.dest h3 { font-size: 24px; font-weight: 700; line-height: 1; }
.dest-body > p:last-child { color: rgba(255, 255, 255, 0.8); }

.dest[hidden] { display: none; }

.dest-empty {
  margin-top: 54px;
  padding: 48px 24px;
  border: 1px dashed var(--peach-line);
  border-radius: 32px;
  font-size: 20px;
  text-align: center;
}
/* the grid keeps no gap above the message once every card is hidden */
.dest-grid:not(:has(.dest:not([hidden]))) { margin-top: 0; }

.destinations .section-cta { margin-top: 59px; }

/* ==========================================================================
   How many days
   ========================================================================== */

.days { position: relative; padding: 72px 0 312px; overflow: hidden; }
.days .container { position: relative; }
.days .section-head.centered .section-lede { max-width: 430px; }

/* decoration is laid out on the 1440px design canvas, centred on the page */
.days-decor {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1440px;
  height: 100%;
  margin-left: -720px;
  pointer-events: none;
}
.days-decor > * { position: absolute; }
.days-map { top: 154px; left: 113px; }
.days-curve { top: 334px; left: 0; }

.blob {
  background-image: radial-gradient(rgba(255, 255, 255, 0.85) 1.5px, transparent 2px);
  background-size: 26px 26px;
}
/* dot pattern over the orange shape drawn in days-decor.svg */
.blob-orange-dots {
  top: 434.5px;
  left: 665px;
  width: 322.6px;
  height: 322.6px;
  border-radius: 85px;
  transform: rotate(14.22deg);
  transform-origin: 0 0;
}
.blob-yellow-top {
  top: 241px;
  left: 1143.5px;
  width: 158px;
  height: 158px;
  border-radius: 47px;
  background-color: #ffcf4b;
  transform: rotate(14.22deg);
}
.blob-yellow-left {
  top: 626.5px;
  left: 68.5px;
  width: 216px;
  height: 216px;
  border-radius: 60px;
  background-color: #ffcf4b;
  transform: rotate(-9deg);
}

.day-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.day-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 348px;
  padding: 32px;
  border: 1px solid #fff;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(13.5px);
  backdrop-filter: blur(13.5px);
  box-shadow:
    0 11px 11.5px rgba(255, 96, 10, 0.1),
    0 42px 21px rgba(255, 96, 10, 0.09),
    0 95px 28.5px rgba(255, 96, 10, 0.05);
}
.day-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.day-range {
  margin-bottom: 8px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}
.day-range small { font-size: 24px; }
.day-card .text-link { font-size: 20px; }

/* ==========================================================================
   Visa banner
   ========================================================================== */

.visa { padding-bottom: 132px; }

.visa-banner {
  position: relative;
  padding: 42px 25px 32px 38px;
  overflow: hidden;
  overflow: clip;
  border-radius: 32px;
  background: linear-gradient(104.33deg, #df4500 20.26%, #ff8400 101.89%);
  box-shadow:
    0 8px 19px rgba(255, 77, 0, 0.1),
    0 34px 34px rgba(255, 77, 0, 0.09),
    0 76px 46px rgba(255, 77, 0, 0.05);
  color: #fff;
}
/* white dotted world map: the hero's map file recoloured white */
.visa-map {
  position: absolute;
  top: -36px;
  left: 44.6%;
  width: 54.4%;
  height: auto;
  pointer-events: none;
}
.visa-banner > :not(.visa-map) { position: relative; }
.visa-banner .eyebrow { color: #fff; }
.visa-banner h2 {
  margin-top: 24px;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.2px;
}
.visa-banner .rule { margin-top: 28px; }
.visa-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  margin-top: 28px;
}
.visa-row p { max-width: 683px; font-size: 20px; line-height: 1.5; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding: 64px 0;
  background: var(--footer);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

.footer-top { display: flex; justify-content: space-between; gap: 48px; }
.footer-brand { width: 320px; max-width: 100%; }
.footer-brand p { margin-top: 24px; line-height: 1.5; }

.socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 88px;
  margin-top: 24px;
}
.socials a { display: grid; place-items: center; width: 24px; height: 24px; }

.footer-cols { display: flex; gap: 80px; }
.footer-cols h4 {
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.37;
  text-transform: uppercase;
  color: var(--orange);
}
.footer-cols a {
  display: block;
  font-size: 15px;
  line-height: 1.37;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.8);
}
.footer-cols li + li { margin-top: 14px; }
.footer-cols a:hover,
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.37;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 32px; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .hero h1 { max-width: 640px; font-size: 54px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { min-height: 0; }
  .footer-cols { gap: 48px; }
}

@media (max-width: 980px) {
  /* hero stacks: copy first, photo underneath */
  .hero-inner { display: flex; flex-direction: column-reverse; padding-top: 48px; padding-bottom: 0; }
  .hero-map { width: 100%; left: 0; }
  .hero-photo { position: relative; top: 0; left: 0; width: 100%; max-width: 640px; margin: 40px 0 -35px auto; }
  .search { width: 100%; }

  .nav-menu { display: none; }
  .btn-nav { margin-left: auto; }

  .journey { padding-top: 120px; }
  .destinations { padding-top: 96px; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .filters { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }

  .days { padding-bottom: 120px; }
  .days-map,
  .days-curve,
  .blob-orange-dots { display: none; }
  .day-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .day-card { min-height: 0; }

  .visa { padding-bottom: 96px; }
  .visa-banner { padding: 36px 28px; }
  .visa-row { flex-direction: column; align-items: flex-start; }

  .footer-top { flex-direction: column; }
}

@media (max-width: 620px) {
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .lede,
  .section-lede,
  .visa-row p { font-size: 18px; }
  .btn { height: 56px; font-size: 18px; }
  .btn-nav { height: 44px; padding: 0 14px; font-size: 14px; }
  .btn-nav img { display: none; }
  .logo img { width: 140px; height: auto; }

  .search { flex-direction: column; height: auto; }
  .search select { height: 40px; }
  .dd-toggle { height: 40px; }
  .dd-list { width: calc(100% + 2px); }
  .search .btn { height: 56px; }
  .steps,
  .filters,
  .dest-grid { grid-template-columns: 1fr; }
  .footer-cols { flex-wrap: wrap; gap: 32px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
