/* ==========================================================================
   DHV TRAVEL AGENCY — Design tokens
   Palette: deep corporate navy + bronze/gold accent, warm off-white ground
   Type: Space Grotesk (display) / IBM Plex Sans (body) / IBM Plex Mono (data)
   Signature: the "manifest strip" — a route line (origin -> open destination)
   that runs through the hero and returns as a section divider, echoing a
   flight itinerary where the destination is filled in by the client.
   ========================================================================== */

:root {
  --navy-950: #1D5D96;
  --navy-800: #2E7BB5;
  --navy-700: #4A97D1;
  --navy-600: #6FB3E0;
  --gold-500: #2BB6C4;
  --gold-300: #7FDDE0;
  --cream-50: #F5FAFE;
  --cream-100: #E7F3FC;
  --white: #FFFFFF;
  --ink: #16324F;
  --gray-500: #5C7B93;
  --gray-300: #C4E2F0;
  --line: rgba(29, 93, 150, 0.14);

  --font-display: "Space Grotesk", "IBM Plex Sans", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --radius: 4px;
  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream-50);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-950);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0; color: var(--gray-500); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy-950);
}

.brand span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold-500);
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  gap: 34px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--navy-800);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--gold-500);
}

.nav-cta {
  background: var(--navy-950);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--navy-700); }

.nav-toggle { display: none; }

/* ---------- Manifest strip (signature element) ---------- */

.manifest {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--navy-700);
  padding: 14px 0;
}

.manifest .node {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.manifest .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-800);
  flex-shrink: 0;
}

.manifest .dot.open {
  background: transparent;
  border: 1.5px dashed var(--gold-500);
}

.manifest .route {
  flex: 1;
  height: 0;
  border-top: 1.5px dashed var(--gray-300);
  position: relative;
  min-width: 40px;
}

.manifest .route::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid var(--gold-500);
  border-right: 1.5px solid var(--gold-500);
  transform: rotate(45deg);
}

.manifest .dest {
  color: var(--gold-500);
  font-style: normal;
}

/* full-width divider version used between sections */

.divider-manifest {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-100);
}

.divider-manifest .container { padding-top: 2px; padding-bottom: 2px; }

/* ---------- Hero ---------- */

.hero {
  padding: 90px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero h1 { margin: 18px 0 22px; }

.hero-lead {
  font-size: 1.12rem;
  max-width: 46ch;
  margin-bottom: 34px;
}

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.btn-primary { background: var(--navy-950); color: var(--white); }
.btn-primary:hover { background: var(--navy-700); }

.btn-ghost {
  border-color: var(--navy-950);
  color: var(--navy-950);
}
.btn-ghost:hover { background: var(--navy-950); color: var(--white); }

/* hero manifest card */

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 28px;
  box-shadow: 0 20px 50px -25px rgba(29, 93, 150, 0.28);
}

.hero-card .eyebrow { margin-bottom: 18px; }

.hero-card .row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.88rem;
}

.hero-card .row:last-child { border-bottom: none; }

.hero-card .row .label { color: var(--gray-500); }
.hero-card .row .value {
  font-family: var(--font-mono);
  color: var(--navy-950);
  font-weight: 500;
}

.hero-card .value.gold { color: var(--gold-500); }

/* ---------- Generic sections ---------- */

section { padding: 88px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 1.03rem; }

.section-alt { background: var(--cream-100); }

/* ---------- Service / feature cards (ticket motif) ---------- */

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.ticket {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
}

.ticket::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold-500);
}

.ticket .idx {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-500);
  letter-spacing: 0.08em;
}

.ticket h3 { margin: 12px 0 10px; }
.ticket p { font-size: 0.94rem; }

/* ---------- Stat row ---------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--navy-950);
}

.stat span {
  font-size: 0.86rem;
  color: var(--gray-500);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--navy-950);
  color: var(--white);
  border-radius: 10px;
  padding: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-band h2 { color: var(--white); max-width: 480px; }
.cta-band .eyebrow { color: var(--gold-300); }
.cta-band .eyebrow::before { background: var(--gold-300); }

.cta-band .btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 600;
}
.cta-band .btn-primary:hover { background: var(--gold-300); }

/* ---------- Table (coverage / process) ---------- */

.route-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.route-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.route-table td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.route-table td.mono {
  font-family: var(--font-mono);
  color: var(--gold-500);
  white-space: nowrap;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: var(--gray-300);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-grid p, .footer-grid a {
  font-size: 0.9rem;
  color: var(--gray-300);
  display: block;
  margin-bottom: 10px;
}

.footer-grid a:hover { color: var(--gold-300); }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Contact page form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.form-field { margin-bottom: 20px; }

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy-800);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--gold-500);
  outline-offset: 1px;
  border-color: var(--gold-500);
}

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}

.contact-info-card .row {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-info-card .row:last-child { border-bottom: none; }

.contact-info-card .row .k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: 90px;
}

.contact-info-card .row .v { color: var(--navy-950); font-weight: 500; }

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 560px) {
  .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .nav { padding: 16px 20px; }
  section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}
