:root {
  --ink: #162a2d;
  --muted: #647276;
  --teal: #087f8c;
  --teal-dark: #05626b;
  --coral: #f15d4f;
  --yellow: #f4c552;
  --paper: #ffffff;
  --mist: #edf6f5;
  --line: #dce7e5;
  --shadow: 0 18px 50px rgba(13, 48, 51, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.55; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand { font-family: "Manrope", sans-serif; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.hero { position: relative; min-height: 650px; height: calc(100svh - 48px); max-height: 790px; color: #fff; background: url("assets/hero.jpg") center 52%/cover no-repeat; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: rgba(6, 30, 31, .48); }
.topbar { position: relative; z-index: 3; width: min(1240px, calc(100% - 48px)); height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.25); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; }
.brand-mark { width: 36px; aspect-ratio: 1; display: grid; place-items: center; color: #fff; background: var(--coral); border-radius: 50%; }
.brand-mark svg { width: 21px; }
.nav-links { display: flex; gap: 32px; font-weight: 600; }
.nav-links a { padding: 12px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-button { width: 42px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: #fff; transition: transform .2s, background .2s; }
.icon-button:hover { transform: translateY(-2px); background: var(--mist); }
.icon-button svg { width: 19px; }
.icon-button.light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.12); }
.text-button { min-height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-weight: 700; }
.text-button.light { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.12); }

.hero-content { position: relative; z-index: 2; width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding-top: clamp(72px, 11vh, 120px); }
.eyebrow, .kicker { color: var(--teal); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .11em; }
.eyebrow { color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.eyebrow span { display: inline-block; width: 28px; height: 3px; background: var(--yellow); }
.hero h1 { margin-bottom: 2px; font-size: clamp(54px, 8vw, 92px); line-height: 1; font-weight: 800; }
.hero-copy { max-width: 650px; margin-bottom: 34px; font-size: clamp(17px, 2vw, 21px); color: rgba(255,255,255,.92); }

.search-shell { color: var(--ink); background: #fff; border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.search-tabs { display: flex; min-height: 58px; padding: 0 22px; gap: 8px; border-bottom: 1px solid var(--line); }
.search-tab { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 116px; border: 0; color: var(--muted); background: transparent; font-weight: 700; }
.search-tab::after { content: ""; position: absolute; height: 3px; left: 4px; right: 4px; bottom: 0; background: transparent; }
.search-tab.active { color: var(--teal); }
.search-tab.active::after { background: var(--teal); }
.search-tab svg { width: 18px; }
.search-form { display: grid; grid-template-columns: 1fr 40px 1fr 1.05fr .85fr 128px; gap: 8px; align-items: stretch; padding: 16px; }
.search-field { min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.field-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: 12px; font-weight: 700; }
.input-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.input-row svg { width: 18px; flex: 0 0 auto; color: var(--teal); }
.input-row input, .input-row select { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-weight: 700; appearance: none; }
.swap-button { align-self: center; width: 36px; aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; color: var(--teal); background: var(--mist); display: grid; place-items: center; }
.swap-button svg { width: 17px; }
.search-button, .primary-action { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; border: 0; border-radius: 6px; color: #fff; background: var(--coral); font-weight: 800; transition: background .2s, transform .2s; }
.search-button:hover, .primary-action:hover { background: #d9483c; transform: translateY(-1px); }
.search-button svg, .primary-action svg { width: 19px; }

.trust-strip { width: min(1160px, calc(100% - 48px)); margin: 0 auto; min-height: 112px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 36px; }
.trust-strip div { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.trust-strip svg { width: 28px; color: var(--teal); flex: 0 0 auto; }
.trust-strip strong { display: block; color: var(--ink); }

.section { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading .kicker { margin-bottom: 8px; }
.section-heading h2, .journey h2, .newsletter h2 { margin-bottom: 8px; font-size: clamp(31px, 4vw, 46px); line-height: 1.12; }
.section-heading p { margin-bottom: 0; color: var(--muted); }
.inline-link { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-weight: 800; white-space: nowrap; }
.inline-link svg { width: 17px; }
.deal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.deal-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.deal-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(13, 48, 51, .12); }
.deal-image { position: relative; aspect-ratio: 1.44; overflow: hidden; }
.deal-image img { height: 100%; object-fit: cover; transition: transform .5s; }
.deal-card:hover img { transform: scale(1.035); }
.deal-badge { position: absolute; left: 14px; top: 14px; padding: 6px 9px; border-radius: 4px; color: var(--ink); background: var(--yellow); font-size: 12px; font-weight: 800; }
.deal-badge.dark { color: #fff; background: var(--teal); }
.save-button { position: absolute; right: 14px; top: 14px; width: 38px; aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.94); }
.save-button svg { width: 18px; }
.save-button.saved { color: var(--coral); }
.save-button.saved svg { fill: currentColor; }
.deal-body { min-height: 185px; padding: 19px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.route { display: flex; align-items: center; gap: 6px; margin-bottom: 7px; color: var(--teal); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.route svg { width: 14px; }
.deal-body h3 { margin-bottom: 6px; font-size: 19px; }
.meta { margin-bottom: 0; color: var(--muted); font-size: 14px; }
.price { display: flex; align-items: baseline; gap: 7px; color: var(--muted); font-size: 12px; }
.price strong { color: var(--ink); font: 800 27px/1 "Manrope", sans-serif; }

.destination-band { color: #fff; background: var(--teal-dark); overflow: hidden; }
.light-heading .kicker { color: var(--yellow); }
.light-heading p { color: rgba(255,255,255,.72); }
.carousel-actions { display: flex; gap: 8px; }
.destination-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; scroll-snap-type: inline mandatory; }
.destination-scroller::-webkit-scrollbar { display: none; }
.destination-card { position: relative; height: 390px; border-radius: 8px; overflow: hidden; scroll-snap-align: start; }
.destination-card::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.77)); }
.destination-card img { height: 100%; object-fit: cover; transition: transform .5s; }
.destination-card:hover img { transform: scale(1.04); }
.destination-card span { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 20px; }
.destination-card strong { display: block; font: 800 27px/1.2 "Manrope", sans-serif; }
.destination-card small { color: rgba(255,255,255,.82); }

.journey { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; }
.journey-copy > p:not(.kicker) { max-width: 500px; color: var(--muted); font-size: 18px; }
.feature-list { margin-top: 30px; display: grid; gap: 9px; }
.feature { display: grid; grid-template-columns: 42px 1fr 20px; align-items: center; gap: 13px; width: 100%; min-height: 75px; padding: 11px 14px; border: 1px solid transparent; border-radius: 6px; color: var(--ink); background: transparent; text-align: left; }
.feature > svg:first-child { width: 22px; color: var(--teal); }
.feature > svg:last-child { width: 18px; color: var(--muted); }
.feature span { display: grid; }
.feature small { color: var(--muted); }
.feature.active { border-color: var(--line); background: var(--mist); }
.journey-visual { position: relative; min-height: 570px; }
.journey-visual > img { width: calc(100% - 72px); height: 530px; margin-left: 72px; object-fit: cover; border-radius: 8px; }
.trip-panel { position: absolute; left: 0; bottom: 0; width: min(330px, 78%); padding: 21px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.trip-panel-title, .timeline { display: flex; align-items: center; gap: 12px; }
.trip-panel-title { padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.trip-panel-title > span, .timeline > span { width: 37px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: var(--mist); flex: 0 0 auto; }
.trip-panel-title svg, .timeline svg { width: 17px; }
.trip-panel-title div, .timeline div { display: grid; }
.trip-panel-title small, .timeline small { color: var(--muted); }
.timeline { padding-top: 14px; }
.timeline .done { color: #fff; background: var(--teal); }

.numbers-band { padding: 48px max(24px, calc((100% - 1160px)/2)); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; color: #fff; background: var(--coral); }
.numbers-band div { padding-right: 22px; border-right: 1px solid rgba(255,255,255,.35); }
.numbers-band div:last-child { border-right: 0; }
.numbers-band strong { display: block; font: 800 34px/1.2 "Manrope", sans-serif; }
.numbers-band span { color: rgba(255,255,255,.85); }

.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
blockquote { margin: 0; padding: 25px; border: 1px solid var(--line); border-radius: 8px; }
blockquote > p { min-height: 130px; color: #344649; font-size: 17px; }
.stars { margin-bottom: 14px; color: #e4a614; letter-spacing: .08em; }
blockquote footer { display: flex; align-items: center; gap: 12px; }
blockquote footer > span { width: 42px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); font-weight: 800; }
blockquote footer div { display: grid; }
blockquote footer small { color: var(--muted); }

.newsletter { padding: 66px max(24px, calc((100% - 1160px)/2)); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; background: var(--mist); }
.newsletter p { margin-bottom: 0; color: var(--muted); }
.newsletter form { display: flex; min-height: 58px; }
.newsletter label { flex: 1; }
.newsletter input { width: 100%; height: 100%; padding: 0 17px; border: 1px solid #b9ccca; border-right: 0; border-radius: 6px 0 0 6px; outline: 0; background: #fff; }
.newsletter button { min-width: 176px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 0 6px 6px 0; color: #fff; background: var(--teal); font-weight: 800; }
.newsletter button svg { width: 18px; }

.footer { padding: 64px max(24px, calc((100% - 1160px)/2)) 26px; color: #dbe8e6; background: #102f32; }
.footer-main { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 56px; padding-bottom: 50px; }
.footer-brand p { max-width: 310px; color: #9eb9b7; }
.footer h3 { margin-bottom: 17px; color: #fff; font-size: 15px; }
.footer-main > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 11px; }
.footer-main a:not(.brand) { color: #9eb9b7; }
.footer-main a:hover { color: #fff; }
.socials { display: flex; gap: 8px; }
.socials button { width: 38px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #36575a; border-radius: 50%; color: #fff; background: transparent; }
.socials svg { width: 17px; }
.footer-bottom { padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #315154; color: #86a5a3; font-size: 13px; }
.footer-bottom div { display: flex; gap: 22px; }
.footer-bottom button { display: flex; align-items: center; gap: 7px; border: 0; color: #dbe8e6; background: transparent; }
.footer-bottom svg { width: 16px; }

.toast { position: fixed; z-index: 20; left: 50%; bottom: 26px; transform: translate(-50%, 100px); opacity: 0; min-width: 270px; display: flex; align-items: center; gap: 9px; padding: 13px 17px; border-radius: 6px; color: #fff; background: #153f43; box-shadow: var(--shadow); transition: .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast svg { width: 19px; color: #77d4bd; }
dialog { width: min(520px, calc(100% - 32px)); padding: 38px; border: 0; border-radius: 8px; color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.28); }
dialog::backdrop { background: rgba(7, 31, 33, .68); }
.dialog-close { position: absolute; right: 14px; top: 14px; width: 36px; aspect-ratio: 1; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--mist); }
.dialog-close svg { width: 18px; }
.dialog-icon { width: 50px; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 18px; border-radius: 50%; color: #fff; background: var(--teal); }
.dialog-icon svg { width: 23px; }
dialog h2 { margin-bottom: 10px; font-size: 30px; }
#dialogCopy { color: var(--muted); }
.dialog-summary { margin: 24px 0; padding: 16px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--mist); }
.dialog-summary span { display: flex; align-items: center; gap: 8px; }
.dialog-summary svg { width: 17px; color: var(--teal); }
.primary-action { width: 100%; }

@media (max-width: 1020px) {
  .search-form { grid-template-columns: 1fr 40px 1fr; }
  .search-field:nth-of-type(3), .search-field:nth-of-type(4), .search-button { grid-column: auto; }
  .search-button { grid-column: span 1; }
  .deal-grid { grid-template-columns: repeat(2, 1fr); }
  .deal-card:last-child { display: none; }
  .journey { gap: 38px; }
  .numbers-band { grid-template-columns: repeat(2, 1fr); }
  .numbers-band div:nth-child(2) { border-right: 0; }
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid blockquote:last-child { display: none; }
}

@media (max-width: 760px) {
  .hero { height: auto; min-height: 750px; }
  .topbar, .hero-content, .trust-strip, .section { width: min(100% - 32px, 1160px); }
  .topbar { height: 68px; }
  .nav-links { display: none; }
  .nav-actions .icon-button { display: none; }
  .hero-content { padding-top: 58px; padding-bottom: 35px; }
  .hero h1 { font-size: 54px; }
  .hero-copy { font-size: 17px; }
  .search-tabs { padding: 0 8px; }
  .search-tab { flex: 1; min-width: 0; font-size: 13px; }
  .search-form { grid-template-columns: 1fr; gap: 9px; }
  .swap-button { display: none; }
  .search-button { min-height: 56px; }
  .trust-strip { padding: 26px 0; grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 62px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 15px; }
  .deal-grid { grid-template-columns: 1fr; }
  .deal-card:last-child { display: block; }
  .destination-scroller { grid-auto-columns: 82%; }
  .destination-card { height: 360px; }
  .journey { grid-template-columns: 1fr; }
  .journey-visual { min-height: 510px; }
  .journey-visual > img { width: calc(100% - 28px); height: 470px; margin-left: 28px; }
  .trip-panel { width: 88%; }
  .numbers-band { grid-template-columns: 1fr 1fr; padding-top: 36px; padding-bottom: 36px; }
  .numbers-band div { border-right: 0; }
  .numbers-band strong { font-size: 28px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid blockquote:last-child { display: block; }
  blockquote > p { min-height: 0; }
  .newsletter { grid-template-columns: 1fr; gap: 28px; }
  .newsletter form { flex-direction: column; gap: 9px; }
  .newsletter input, .newsletter button { min-height: 54px; border: 1px solid #b9ccca; border-radius: 6px; }
  .newsletter button { border: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .brand { font-size: 20px; }
  .text-button { padding: 0 13px; }
  .search-tab { gap: 5px; font-size: 12px; }
  .search-tab svg { width: 16px; }
  .numbers-band { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom div { flex-wrap: wrap; gap: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
