:root {
  --fg: #1e1b4b; --muted: #64748b; --line: #e7e5f4; --bg: #fffdf8;
  --sunset: #f97316; --pink: #ec4899; --violet: #7c3aed; --ocean: #0891b2; --sky: #0ea5e9; --sand: #fde68a;
  --accent: #ec4899; --accent-dark: #db2777; --accent-soft: #fdf2f8;
  --grad-sunset: linear-gradient(135deg, #f97316 0%, #ec4899 55%, #8b5cf6 100%);
  --grad-ocean: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --radius: 16px; --shadow: 0 2px 4px rgba(30,27,75,.06), 0 12px 32px rgba(30,27,75,.10);
  --hero-img: url("../img/hero-travel.f99fe42fca2b.svg");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.55; }
a { color: var(--accent-dark); }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.1; margin: 0 0 12px; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 8px; letter-spacing: -.01em; }
h3 { margin: 10px 0 4px; font-size: 1.08rem; }
[hidden] { display: none !important; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: 1.12rem; color: #3f3a6b; }
.narrow { max-width: 680px; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 800; margin: 0 0 8px;
  background: var(--grad-sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(30,27,75,.82); backdrop-filter: blur(10px); }
.top-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.2rem; color: #fff; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-sunset); box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
.top nav a { margin-left: 22px; color: #fff; text-decoration: none; font-weight: 600; opacity: .9; }
.top nav a:hover { opacity: 1; color: var(--sand); }

/* ---------- buttons ---------- */
button, .btn { font: inherit; background: var(--grad-sunset); color: #fff; border: 0; border-radius: 12px; padding: 11px 20px; cursor: pointer;
  text-decoration: none; display: inline-block; font-weight: 700; box-shadow: 0 6px 16px rgba(236,72,153,.28); transition: transform .12s, box-shadow .12s, filter .12s; }
.btn:hover, button:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 10px 22px rgba(236,72,153,.35); }
.btn-big { padding: 16px 22px; font-size: 1.1rem; width: 100%; margin-top: 12px; }
.btn-small { padding: 7px 14px; font-size: .9rem; box-shadow: none; }
.btn-light { background: #fff; color: var(--accent-dark); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); box-shadow: none; }

/* ---------- hero with background picture ---------- */
.hero { position: relative; color: #fff; margin-top: -64px; padding: 120px 0 48px;
  background: linear-gradient(90deg, rgba(30,27,75,.78) 0%, rgba(30,27,75,.45) 45%, rgba(30,27,75,0) 75%), var(--hero-img) center / cover no-repeat, #6d28d9; }
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; min-height: 440px; }
.hero h1 { text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero .lead { color: #f5f3ff; }
.hero .muted { color: #e0e7ff; }
.hero .eyebrow { background: none; color: var(--sand); }
.hero-mini { padding: 104px 0 36px; }
.hero-mini .lead { margin-bottom: 0; }
.hero .crumbs, .hero .crumbs a { color: #e0e7ff; }
.search-box { position: relative; margin: 20px 0 6px; max-width: 620px; }
.search-box input { width: 100%; padding: 17px 20px; font-size: 1.05rem; border: 0; border-radius: 14px; outline: none; background: #fff; color: var(--fg);
  box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.search-box input:focus { box-shadow: 0 0 0 4px rgba(253,230,138,.8), 0 10px 30px rgba(0,0,0,.25); }
/* autocomplete dropdown */
.search-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; list-style: none; margin: 0; padding: 6px;
  background: #fff; color: var(--fg); text-align: left; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(30,27,75,.18); max-height: 380px; overflow-y: auto; }
.search-dropdown .drop-empty { color: var(--muted); cursor: default; }
.search-dropdown li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.search-dropdown li:hover, .search-dropdown li.active { background: #f5f3ff; }
.badge-drop { display: inline-grid; place-items: center; min-width: 46px; height: 32px; border-radius: 8px;
  color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .04em; background: var(--grad-sunset); flex-shrink: 0; }
.drop-name { font-weight: 700; flex: 1; overflow: hidden; text-overflow: ellipsis; }
.drop-price { color: var(--muted); font-size: .9rem; white-space: nowrap; flex-shrink: 0; }
.popular { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.pill { padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; backdrop-filter: blur(4px); }
.pill:hover { background: #fff; color: var(--accent-dark); }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; font-weight: 500; }
.ticks li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #4ade80; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(74,222,128,.3); }
.hero-card { display: flex; justify-content: center; }
.phone { width: 260px; border-radius: 36px; padding: 22px; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0,0,0,.35); transform: rotate(3deg); }
.phone-top { font-weight: 800; margin-bottom: 16px; }
.phone-qr { aspect-ratio: 1; border-radius: 16px; border: 10px solid #fff;
  background: conic-gradient(#1e1b4b 0 25%, #fff 0 50%, #1e1b4b 0 75%, #fff 0) 0 0 / 22px 22px; }
.phone-facts { margin: 16px 0 0; display: grid; gap: 8px; }
.phone-facts div { display: flex; justify-content: space-between; font-size: .9rem; border-top: 1px solid rgba(255,255,255,.25); padding-top: 8px; }
.phone-facts dt { opacity: .8; } .phone-facts dd { margin: 0; font-weight: 700; }

/* ---------- sections ---------- */
.section { padding: 28px 0; }
.section:first-of-type { padding-top: 0; }
.section.alt { margin: 0 -20px; padding: 48px 20px; border-radius: 24px; background: linear-gradient(135deg, #ecfeff 0%, #eff6ff 50%, #fdf4ff 100%); }
.section.warm { margin: 0 -20px; padding: 48px 20px; border-radius: 24px; background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 100%); }
.features { display: grid; gap: 18px; margin-top: 22px; }
.features.three { grid-template-columns: repeat(3, 1fr); }
.features.four { grid-template-columns: repeat(4, 1fr); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 2px 10px rgba(30,27,75,.04); transition: transform .15s, box-shadow .15s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature p { margin: 0; color: var(--muted); }
.feature .num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; font-weight: 800; background: var(--grad-sunset); }
.features .feature:nth-child(2) .num { background: var(--grad-ocean); }
.features .feature:nth-child(3) .num { background: linear-gradient(135deg, #22c55e, #0891b2); }
.features.four .feature { border-top: 4px solid var(--sunset); }
.features.four .feature:nth-child(2) { border-top-color: var(--sky); }
.features.four .feature:nth-child(3) { border-top-color: #22c55e; }
.features.four .feature:nth-child(4) { border-top-color: var(--violet); }
.cta { position: relative; overflow: hidden; margin: 48px 0; padding: 56px 24px; border-radius: 28px; text-align: center; color: #fff;
  background: linear-gradient(135deg, rgba(249,115,22,.92), rgba(236,72,153,.9) 55%, rgba(124,58,237,.92)), var(--hero-img) center 70% / cover; }
.cta p { opacity: .95; font-size: 1.1rem; } .cta .btn { margin: 6px; }

/* ---------- destination browser ---------- */
.tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 5px; margin: 16px 0 14px; box-shadow: 0 2px 10px rgba(30,27,75,.05); }
.tab { background: transparent; color: var(--fg); padding: 9px 18px; border-radius: 10px; font-weight: 700; box-shadow: none; }
.tab:hover { background: #f5f3ff; transform: none; }
.tab.is-active { background: var(--grad-sunset); color: #fff; }
.tab .count { opacity: .7; font-weight: 500; margin-left: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { background: #fff; color: var(--fg); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .9rem; box-shadow: none; }
.chip span { color: var(--muted); margin-left: 2px; }
.chip:hover { border-color: var(--accent); transform: none; }
.chip.is-active { background: var(--fg); color: #fff; border-color: var(--fg); }
.chip.is-active span { color: #c7d2fe; }
.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 12px; margin-bottom: 12px; }
.dest { --c1: #f97316; --c2: #ec4899;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--fg); background: #fff;
  border-left: 4px solid var(--c1); transition: transform .12s, box-shadow .12s; }
.dest:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.dest[data-continent="Europe"]        { --c1: #3b82f6; --c2: #8b5cf6; }
.dest[data-continent="Asia"]          { --c1: #ef4444; --c2: #f97316; }
.dest[data-continent="Middle East"]   { --c1: #f59e0b; --c2: #d97706; }
.dest[data-continent="North America"] { --c1: #06b6d4; --c2: #3b82f6; }
.dest[data-continent="South America"] { --c1: #22c55e; --c2: #16a34a; }
.dest[data-continent="Africa"]        { --c1: #f97316; --c2: #eab308; }
.dest[data-continent="Oceania"]       { --c1: #14b8a6; --c2: #0ea5e9; }
.dest[data-continent="Global"]        { --c1: #8b5cf6; --c2: #ec4899; }
.badge { grid-row: span 2; width: 42px; height: 32px; border-radius: 8px; color: #fff; font-weight: 800; font-size: .8rem; display: grid; place-items: center;
  letter-spacing: .04em; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.dest-name { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dest-price { font-size: .85rem; color: var(--muted); }
.dest-price strong { color: var(--accent-dark); }
.empty { padding: 20px 0; }
.more-wrap { text-align: center; margin-top: 8px; }
.btn-more { background: #fff; color: var(--accent-dark); border: 2px solid var(--pink); box-shadow: none; padding: 11px 26px; border-radius: 999px; }
.btn-more:hover { background: var(--grad-sunset); color: #fff; border-color: transparent; }

/* ---------- plans ---------- */
.crumbs { font-size: .9rem; margin: 0 0 8px; }
.coverage { margin: 0 0 14px; } .coverage summary { cursor: pointer; color: var(--accent-dark); }

.plan-question { font-size: 1.1rem; margin: 0 0 10px; }
.day-tiles { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.day-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 84px; height: 84px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--fg);
  text-decoration: none; transition: transform .15s, box-shadow .15s; }
.day-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--grad-sunset); }
.day-tile:nth-child(3n+2)::before { background: var(--grad-ocean); }
.day-tile:nth-child(3n)::before { background: linear-gradient(90deg, #22c55e, #0891b2); }
.day-tile strong { font-size: 2rem; font-weight: 800; line-height: 1; }
.day-tile span { color: var(--muted); font-weight: 600; font-size: .85rem; }
.day-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.day-tile.is-active { background: var(--grad-sunset); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.day-tile.is-active::before { display: none; }
.day-tile.is-active span { color: #fff; }
.plan-hint { margin: 0 0 14px; }
.plan-list { display: flex; flex-direction: column; gap: 10px; max-width: 680px; }
.plan-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none; color: var(--fg); background: #fff; transition: transform .15s, box-shadow .15s; }
.plan-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--accent); }
.plan-row.is-popular { border: 2px solid var(--accent); background: var(--accent-soft); }
.plan-main { display: flex; flex-direction: column; min-width: 0; }
.plan-data { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.plan-days { color: var(--muted); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plan-cost { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; }
.plan-price { font-size: 1.15rem; font-weight: 800; color: var(--accent-dark); }
.plan-badge { background: var(--grad-sunset); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.plan-badge-offer { background: linear-gradient(90deg, #22c55e, #0891b2); }
.detail { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; margin: 36px auto; max-width: 620px; box-shadow: var(--shadow); border-top: 6px solid var(--pink); }
.price { font-size: 2.2rem; font-weight: 800; margin: 0 0 12px; background: var(--grad-sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts { padding-left: 18px; }
.check { display: block; margin: 16px 0 4px; }
.qr { display: block; margin: 12px 0; border: 1px solid var(--line); border-radius: 12px; }
.msg { background: #eff6ff; border: 1px solid #bfdbfe; padding: 12px 14px; border-radius: 12px; margin: 16px 0; }
.msg-error { background: #fef2f2; border-color: #fecaca; }
code { background: #f5f3ff; padding: 2px 6px; border-radius: 5px; word-break: break-all; }
.narrow-page { max-width: 780px; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
details summary { cursor: pointer; font-weight: 700; }

/* ---------- footer ---------- */
.foot { margin-top: 48px; padding: 44px 0 22px; color: #e0e7ff; background: linear-gradient(160deg, #1e1b4b 0%, #312e81 60%, #4c1d95 100%); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.foot h4 { margin: 0 0 10px; font-size: .9rem; color: var(--sand); text-transform: uppercase; letter-spacing: .08em; }
.foot .muted { color: #c7d2fe; }
.foot-grid a:not(.brand) { display: block; color: #e0e7ff; text-decoration: none; margin: 5px 0; font-size: .95rem; }
.foot-grid a:hover { color: #fff; }
.payments { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.payments span { font-size: .75rem; font-weight: 700; padding: 5px 9px; border-radius: 7px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.copy { margin-top: 26px; color: #a5b4fc !important; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero { background: linear-gradient(180deg, rgba(30,27,75,.65), rgba(30,27,75,.35)), var(--hero-img) 30% center / cover no-repeat, #6d28d9; }
  .hero-card { display: none; }
  .features.three, .features.four { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features.three, .features.four, .foot-grid { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr 1fr; }
  .top nav a { margin-left: 14px; }
  .hero { padding-top: 100px; }
  .plan-row { padding: 12px 14px; }
  .day-tiles { gap: 8px; }
  .day-tile { width: 70px; height: 70px; }
  .day-tile strong { font-size: 1.6rem; }
  .plan-data { font-size: 1.15rem; }
  .plan-price { font-size: 1rem; }
}
