:root {
  --blue: #1769ff;
  --blue-dark: #0846be;
  --ink: #172033;
  --muted: #657083;
  --line: #dce3ef;
  --bg: #f4f7fb;
  --panel: #ffffff;
  --sun: #ffb443;
  --green: #1f9d76;
  --coral: #ff6d5a;
  --shadow: 0 18px 45px rgba(16, 42, 91, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.topbar,
.hero-inner,
.section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--blue);
  border-radius: 8px;
}

.main-nav {
  display: flex;
  gap: 18px;
  color: #263247;
  font-size: 15px;
  flex: 1;
}

.main-nav a {
  padding: 10px 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plain-button,
.outline-button,
.deal-card button {
  border: 0;
  background: transparent;
  color: var(--blue-dark);
  cursor: pointer;
}

.outline-button {
  padding: 9px 16px;
  border: 1px solid var(--blue);
  border-radius: 6px;
  background: white;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 33, 75, 0.72), rgba(10, 33, 75, 0.22)),
    url("https://images.unsplash.com/photo-1506929562872-bb421503ef21?auto=format&fit=crop&w=1800&q=72") center/cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 76px 0 56px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #bfe0ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  color: white;
  font-size: 48px;
  line-height: 1.08;
}

.search-panel {
  width: min(100%, 980px);
  padding: 18px;
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tabs {
  display: flex;
  gap: 8px;
  padding-bottom: 16px;
  overflow-x: auto;
}

.tab {
  min-width: 86px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f8fbff;
  color: #23314a;
  cursor: pointer;
}

.tab.active {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
  font-weight: 700;
}

.search-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 128px;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 255, 0.12);
}

.search-button {
  align-self: end;
  height: 48px;
  color: white;
  background: var(--sun);
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.search-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 42px 0 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 28px;
}

.section-heading a {
  color: var(--blue-dark);
  font-weight: 700;
}

.destination-grid,
.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.destination-card {
  display: flex;
  min-height: 172px;
  padding: 18px;
  flex-direction: column;
  justify-content: end;
  color: white;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.destination-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.64));
}

.destination-card span,
.destination-card strong {
  position: relative;
}

.destination-card span {
  font-size: 22px;
  font-weight: 800;
}

.destination-card strong {
  margin-top: 4px;
  font-size: 15px;
}

.tokyo {
  background-image: url("https://images.unsplash.com/photo-1540959733332-eab4deabeeaf?auto=format&fit=crop&w=700&q=70");
}

.seoul {
  background-image: url("https://images.unsplash.com/photo-1538485399081-7191377e8241?auto=format&fit=crop&w=700&q=70");
}

.bangkok {
  background-image: url("https://images.unsplash.com/photo-1508009603885-50cf7c579365?auto=format&fit=crop&w=700&q=70");
}

.singapore {
  background-image: url("https://images.unsplash.com/photo-1525625293386-3f8f99389edd?auto=format&fit=crop&w=700&q=70");
}

.deal-grid {
  grid-template-columns: repeat(3, 1fr);
}

.deal-card {
  display: flex;
  min-height: 210px;
  padding: 22px;
  flex-direction: column;
  justify-content: space-between;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.deal-card h3 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.deal-card p {
  color: var(--muted);
  line-height: 1.55;
}

.deal-card button {
  width: max-content;
  padding: 10px 16px;
  color: white;
  background: var(--blue);
  border-radius: 6px;
  font-weight: 800;
}

.deal-card.accent button {
  background: var(--coral);
}

.deal-card.green button {
  background: var(--green);
}

.tag {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--blue-dark);
  background: #eaf2ff;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-bottom: 42px;
}

.trust-row div {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
}

.trust-row strong {
  font-size: 16px;
}

.trust-row span {
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 36px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 920px) {
  .topbar {
    flex-wrap: wrap;
    min-height: 64px;
    padding: 10px 0;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .main-nav,
  .header-actions {
    display: none;
    width: 100%;
  }

  .main-nav.open,
  .header-actions.open {
    display: flex;
  }

  .main-nav.open {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 36px;
  }

  .search-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-wide,
  .search-button {
    grid-column: 1 / -1;
  }

  .destination-grid,
  .deal-grid,
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .topbar,
  .hero-inner,
  .section,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .hero {
    min-height: 640px;
  }

  .hero-inner {
    padding-top: 44px;
  }

  h1 {
    font-size: 31px;
  }

  .search-panel {
    padding: 12px;
  }

  .search-grid,
  .destination-grid,
  .deal-grid,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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