:root {
  --ink: #18313d;
  --ink-soft: #415761;
  --paper: #f6f4e8;
  --surface: #fffdf6;
  --cloud: #e7f0ee;
  --mint: #a8d7c4;
  --teal: #0f766e;
  --coral: #d9604b;
  --sun: #f0b44d;
  --sky: #b8d7df;
  --line: rgba(24, 49, 61, 0.16);
  --shadow: 0 26px 80px rgba(24, 49, 61, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: #e9f1ed;
  background-image:
    linear-gradient(115deg, rgba(255, 253, 246, 0.82) 0 18%, transparent 18% 43%, rgba(184, 215, 223, 0.2) 43% 44%, transparent 44%),
    linear-gradient(35deg, rgba(15, 118, 110, 0.08) 0 1px, transparent 1px),
    linear-gradient(145deg, rgba(217, 96, 75, 0.06) 0 1px, transparent 1px);
  background-size: 100% 100%, 86px 86px, 132px 132px;
  font-family: "Nunito Sans", Arial, sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px 0;
  background: linear-gradient(180deg, rgba(233, 241, 237, 0.94), rgba(233, 241, 237, 0.62));
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1160px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 8px 7px 10px;
  border: 1px solid rgba(24, 49, 61, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.82);
  box-shadow: 0 14px 42px rgba(24, 49, 61, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-family: "Marcellus", Georgia, serif;
  font-size: 1.16rem;
  font-weight: 400;
  color: var(--ink);
}

.brand-mark {
  position: relative;
  width: 52px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink), #0f766e);
  color: var(--surface);
  box-shadow: inset 0 -12px 0 rgba(168, 215, 196, 0.18);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: auto;
  pointer-events: none;
}

.brand-mark::before {
  width: 72px;
  height: 1px;
  background: rgba(255, 253, 246, 0.34);
  transform: rotate(-24deg);
}

.brand-mark::after {
  right: 7px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
}

.brand-mark i {
  position: relative;
  z-index: 1;
  transform: rotate(-10deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
  outline: none;
}

.nav-links .nav-cta {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 26px rgba(217, 96, 75, 0.24);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 33, 61, 0.86), rgba(20, 33, 61, 0.45) 45%, rgba(20, 33, 61, 0.1));
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, calc(100% - 32px));
  padding: 84px 0 140px;
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Marcellus", Georgia, serif;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
}

h1 {
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: 1.5rem;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(251, 247, 238, 0.84);
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 18px 34px rgba(233, 111, 90, 0.32);
}

.button.secondary {
  background: rgba(251, 247, 238, 0.14);
  border-color: rgba(251, 247, 238, 0.36);
  color: currentColor;
}

.fare-note {
  position: absolute;
  right: max(16px, calc((100vw - 1160px) / 2));
  bottom: 34px;
  z-index: 2;
  width: min(360px, calc(100% - 32px));
  padding: 22px;
  border: 1px solid rgba(251, 247, 238, 0.22);
  border-radius: 8px;
  background: rgba(20, 33, 61, 0.64);
  color: var(--paper);
  backdrop-filter: blur(18px);
}

.fare-note span,
.tag {
  display: inline-flex;
  color: var(--sun);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fare-note strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}

section:not(.hero) {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.finder-band {
  position: relative;
  z-index: 3;
  margin-top: -78px;
  padding: 28px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.1), transparent 36%),
    var(--surface);
  box-shadow: var(--shadow);
}

.finder-band::before {
  content: "TF-2026";
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(24, 49, 61, 0.25);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.trip-finder {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr 1fr auto;
  gap: 12px;
  align-items: end;
}

.trip-finder label,
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 253, 246, 0.92);
  outline: none;
}

textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(21, 122, 118, 0.12);
}

.finder-result {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 4px solid var(--teal);
  background: var(--cloud);
  color: var(--ink-soft);
  font-weight: 700;
}

.services,
.deals-preview,
.guide-split,
.page-hero,
.content-section {
  padding: 86px 0;
}

.services {
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 49, 61, 0.24), transparent);
}

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

.service-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.96), rgba(231, 240, 238, 0.88)),
    linear-gradient(135deg, rgba(240, 180, 77, 0.14), transparent);
  box-shadow: 0 18px 44px rgba(24, 49, 61, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 64px rgba(24, 49, 61, 0.13);
}

.service-card i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-size: 1.2rem;
}

.service-card p,
.deal-card p,
.guide-copy p,
.page-hero p,
.content-card p,
.site-footer p {
  color: var(--ink-soft);
}

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

.deal-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(24, 49, 61, 0.1);
}

.deal-card:nth-child(2) {
  transform: translateY(28px);
}

.deal-card img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
}

.deal-card div {
  padding: 22px;
}

.deal-card h3 {
  margin-top: 10px;
}

.deal-card a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 800;
}

.guide-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.guide-split img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1.05;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.guide-copy {
  padding: 12px 0 12px 24px;
  border-left: 1px solid rgba(24, 49, 61, 0.18);
}

.guide-copy .button.secondary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 700;
}

.check-list i {
  margin-top: 5px;
  color: var(--teal);
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: 36px;
  align-items: end;
}

.page-hero p {
  max-width: 700px;
  font-size: 1.12rem;
}

.page-badge {
  padding: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

.page-badge strong {
  display: block;
  margin-top: 8px;
  font-family: "Marcellus", Georgia, serif;
  font-size: 2rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.content-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.content-card img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.browse-section {
  padding: 30px 0 86px;
}

.browse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.browse-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(20, 33, 61, 0.08);
}

.browse-card img {
  width: 100%;
  aspect-ratio: 1.42;
  object-fit: cover;
}

.browse-card-body {
  padding: 22px;
}

.browse-card-body h3 {
  margin-top: 10px;
}

.browse-card .button.secondary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.browse-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 18px 0;
}

.browse-card dl div {
  padding: 12px;
  border-radius: 8px;
  background: var(--cloud);
}

.browse-card dt {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.browse-card dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-shell[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 33, 61, 0.72);
  backdrop-filter: blur(8px);
}

.travel-modal {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: auto;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.travel-modal > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.travel-modal-body {
  padding: 34px;
}

.travel-modal-body h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.modal-meta {
  margin: 22px 0;
  padding: 16px;
  border-left: 4px solid var(--coral);
  background: var(--cloud);
  color: var(--ink-soft);
  font-weight: 800;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 247, 238, 0.44);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-bar button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  background: transparent;
  color: var(--ink-soft);
  font-weight: 800;
  cursor: pointer;
}

.filter-bar button.is-active {
  background: var(--ink);
  color: var(--paper);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.contact-form label:nth-child(3),
.contact-form label:nth-child(4),
.contact-form .form-status {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  margin-top: 40px;
  padding: 62px 0 28px;
  background:
    linear-gradient(135deg, rgba(168, 215, 196, 0.11) 0 1px, transparent 1px),
    linear-gradient(180deg, #142b35, #0d2029);
  background-size: 72px 72px, 100% 100%;
  color: var(--paper);
}

.footer-grid,
.disclaimer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.7fr 1.35fr;
  gap: 28px;
  padding: 26px;
  border: 1px solid rgba(255, 253, 246, 0.14);
  border-radius: 8px;
  background: rgba(255, 253, 246, 0.045);
}

.footer-brand {
  color: var(--paper);
}

.site-footer h2 {
  margin: 0 0 14px;
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 0.92rem;
  text-transform: uppercase;
}

.site-footer a:not(.brand) {
  width: fit-content;
  display: block;
  margin-bottom: 8px;
  color: rgba(251, 247, 238, 0.78);
}

.site-footer a:not(.brand):hover {
  color: var(--sun);
}

.site-footer p {
  margin: 7px 0;
  color: rgba(251, 247, 238, 0.72);
}

.disclaimer {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 247, 238, 0.16);
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 86px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
  }

  .trip-finder,
  .service-grid,
  .deal-grid,
  .guide-split,
  .page-hero,
  .content-grid,
  .browse-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trip-finder button {
    grid-column: 1 / -1;
  }

  .guide-split,
  .page-hero {
    align-items: start;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 760px;
    place-items: end start;
  }

  .deal-card:nth-child(2) {
    transform: none;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(20, 33, 61, 0.24), rgba(20, 33, 61, 0.92));
  }

  .hero-content {
    padding: 120px 0 190px;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }

  .fare-note {
    left: 16px;
    right: 16px;
  }

  .finder-band {
    margin-top: -42px;
    padding: 18px;
  }

  .trip-finder,
  .service-grid,
  .deal-grid,
  .guide-split,
  .page-hero,
  .content-grid,
  .browse-grid,
  .footer-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .travel-modal {
    grid-template-columns: 1fr;
  }

  .travel-modal > img {
    min-height: 240px;
    max-height: 320px;
  }

  .services,
  .deals-preview,
  .guide-split,
  .page-hero,
  .content-section,
  .browse-section {
    padding: 58px 0;
  }

  .button {
    width: 100%;
  }

  .footer-grid {
    padding: 20px;
  }
}
