/* ============================================================
   Betty Books Travel — design tokens
   Matches the existing boarding-pass brand: deep night background,
   cream ticket card, brass gold accent, script wordmark.
   Signature motif: the boarding-pass "ticket" — reused as a photo
   frame, a specialism card, and the booking-protection panel.
   ============================================================ */

:root {
  --night: #10141b;
  --night-soft: #1a212b;
  --line: rgba(230, 214, 173, 0.16);
  --cream: #f1e6d2;
  --cream-dim: #e6d8b4;
  --gold: #c9a25e;
  --gold-light: #e2c68c;
  --gold-deep: #8a6a2e;
  --text-light: #f3ead9;
  --text-muted: #b9c2cb;
  --text-warm-muted: #cdbf9c;
  --ink: #1c2430;
  --ink-soft: #4a5566;
  --radius: 4px;
  --max: 1120px;
  --script: "Alex Brush", cursive;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold-light); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--text-light);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
.lede { font-size: 1.15rem; color: #cfd6dc; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.9em;
}

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

/* ---------- header / nav ---------- */
.site-header {
  background: var(--night);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand svg { width: 26px; height: 26px; flex-shrink: 0; }
.brand-word {
  font-family: var(--script);
  font-size: 1.8rem;
  color: var(--text-light);
  line-height: 1;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--gold);
  color: var(--text-light);
}
.nav-cta {
  background: var(--gold);
  color: var(--ink) !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  border-bottom: none !important;
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold-light); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text-light);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
}
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--night-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: inline-block; width: fit-content; }
}

/* ---------- hero ---------- */
.hero { padding: 60px 0 84px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .ticket { max-width: 380px; margin: 0 auto; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost { border-color: var(--gold); color: var(--text-light); background: transparent; }
.btn-ghost:hover { background: rgba(201, 162, 94, 0.14); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-alt { background: var(--night-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 44px; }

/* ---------- cards / grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
.card {
  background: var(--night-soft);
  border: 1px solid var(--line);
  padding: 30px 28px;
  border-radius: var(--radius);
}
.card .num {
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 10px;
}

/* ---------- process list ---------- */
.process { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display);
  color: var(--gold);
  font-size: 1.3rem;
}

/* ---------- testimonials ---------- */
.quote-card {
  background: var(--night-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 26px 28px;
  margin-bottom: 22px;
  border-radius: var(--radius);
}
.quote-card p { font-family: var(--display); font-size: 1.1rem; color: var(--text-light); font-style: italic; }
.quote-card cite { font-style: normal; font-size: 0.85rem; color: var(--text-warm-muted); display: block; margin-top: 10px; }
.quote-placeholder { color: #8891a0; }

/* ---------- ticket (boarding pass) component ---------- */
.ticket {
  display: flex;
  background: var(--cream);
  border-radius: 6px;
  overflow: visible;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  max-width: 460px;
}
.ticket-main {
  flex: 1;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}
.ticket-name { font-family: var(--script); font-size: 2.1rem; color: var(--ink); line-height: 1; }
.ticket-fields { display: flex; gap: 22px; flex-wrap: wrap; }
.tf-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: var(--sans);
  margin-bottom: 4px;
}
.tf-value { font-family: var(--display); font-size: 1.02rem; color: var(--ink); font-weight: 600; }
.ticket-note { font-family: var(--display); font-style: italic; color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.ticket-stub {
  width: 88px;
  flex-shrink: 0;
  background: var(--cream-dim);
  border-left: 2px dashed rgba(28, 36, 48, 0.32);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 8px;
  position: relative;
}
.punch {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--night);
  border-radius: 50%;
  left: -9px;
}
.punch.top { top: -9px; }
.punch.bottom { bottom: -9px; }
.barcode {
  width: 18px;
  height: 64px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px);
}
.stub-vert {
  writing-mode: vertical-rl;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-family: var(--sans);
}
.stub-code { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 0.95rem; letter-spacing: 0.05em; }
.ticket-trust .ticket-main { gap: 12px; }
.ticket-trust a { color: var(--gold-deep); font-weight: 600; }
.ticket-trust h2, .ticket-trust p, .ticket-trust small { color: var(--ink); }
.ticket-trust small { color: var(--ink-soft); }

.brand-badge {
  background: var(--cream);
  border-radius: 6px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
}
.brand-badge img { height: 32px; width: auto; display: block; }

.ticket-has-photo { flex-direction: row; align-items: center; gap: 16px; }
.ticket-portrait {
  width: 78px;
  height: 98px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.ticket-info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }

@media (max-width: 480px) {
  .ticket { max-width: 100%; }
  .ticket-stub { width: 68px; }
}

/* ---------- form ---------- */
form.enquiry { display: grid; gap: 18px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-warm-muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--night-soft);
  font-family: var(--sans);
  font-size: 0.96rem;
  color: var(--text-light);
}
input::placeholder, textarea::placeholder { color: #7a8390; }
textarea { min-height: 120px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--night-soft);
  border-top: 1px solid var(--line);
  padding: 52px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--text-light); font-size: 1rem; }
.site-footer a { color: var(--text-muted); text-decoration: none; font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold-light); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-lede { color: var(--text-muted); font-size: 0.92rem; }
.footer-lede.small { font-size: 0.88rem; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 0.82rem;
  color: #7d8794;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- story panel ---------- */
.story-panel {
  background: var(--night-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: 34px 32px;
  border-radius: var(--radius);
}
.story-panel p:last-child { margin-bottom: 0; }
