/* ==========================================================================
   Pro-Grade Trailer Rentals — single stylesheet, all colors via CSS variables.
   Two themes:
     [data-theme="mono"]      — black & white, industrial grayscale
     [data-theme="black-red"] — black primary + red accent CTAs
   No hard-coded colors below the theme blocks.
   ========================================================================== */

* { box-sizing: border-box; }

:root,
:root[data-theme="mono"] {
  /* Structure */
  --ink: #111111;            /* nav / headers / footers */
  --ink-soft: #1f1f1f;       /* panels on ink */
  --on-ink: #ffffff;
  --on-ink-muted: #c9c9c9;
  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #555555;
  --border: #d9d9d9;
  --border-strong: #b3b3b3;

  /* Accent (CTAs). Mono: near-black. */
  --accent: #111111;
  --accent-hover: #000000;
  --on-accent: #ffffff;
  --accent-text: #111111;    /* accent used AS text on light bg */

  /* Accent tint (selected ranges, booked days) */
  --tint: #e8e8e8;
  --tint-border: #bdbdbd;
  --tint-text: #111111;

  /* States */
  --taken: #e2e2e2;
  --taken-text: #9a9a9a;
  --blocked-a: #e5e5e5;      /* blocked-day stripe colors (neutral in both themes) */
  --blocked-b: #cccccc;
  --danger: #b91c1c;
  --on-danger: #ffffff;
  --success: #15803d;

  /* Accent CTA sitting ON a dark (ink) surface — mono inverts to white so the
     button doesn't vanish into the black header/hero */
  --cta-on-ink: #ffffff;
  --cta-on-ink-text: #111111;
  --cta-on-ink-hover: #e2e2e2;

  --radius: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  --hero-overlay: rgba(17, 17, 17, 0.82);
  --backdrop: rgba(0, 0, 0, 0.55);
}

:root[data-theme="black-red"] {
  --accent: #dc2626;
  --accent-hover: #b91c1c;
  --on-accent: #ffffff;
  --accent-text: #b91c1c;
  --tint: #fdecec;
  --tint-border: #f2b8b8;
  --tint-text: #7f1d1d;
  --cta-on-ink: #dc2626;
  --cta-on-ink-text: #ffffff;
  --cta-on-ink-hover: #b91c1c;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

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

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.full-width { width: 100%; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 1.7rem; margin: 0 0 8px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--on-ink); padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-family: inherit;
  line-height: 1.3;
}
.btn.accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn.accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
/* Accent CTAs on dark surfaces (header, hero, footer) use the on-ink variant */
.site-header .btn.accent, .hero .btn.accent, .page-hero .btn.accent, .site-footer .btn.accent {
  background: var(--cta-on-ink);
  color: var(--cta-on-ink-text);
  border-color: var(--cta-on-ink);
}
.site-header .btn.accent:hover, .hero .btn.accent:hover, .page-hero .btn.accent:hover, .site-footer .btn.accent:hover {
  background: var(--cta-on-ink-hover);
  border-color: var(--cta-on-ink-hover);
}
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn.ghost:hover { border-color: var(--text); }
.btn.danger { background: var(--danger); color: var(--on-danger); border-color: var(--danger); }
.btn.big { padding: 15px 28px; font-size: 1.05rem; }
.btn.small { padding: 8px 14px; font-size: 0.9rem; }
.btn:disabled { opacity: 0.55; cursor: default; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--ink);
  color: var(--on-ink);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 92px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
/* Logo art is black-on-white, so it sits in a white rounded chip on the dark bar */
.brand-logo {
  height: 72px;
  width: auto;
  border-radius: 10px;
  background: var(--on-ink);
  padding: 3px;
}
.brand span { color: var(--on-ink-muted); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: var(--on-ink);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 8px;
}
.site-nav a:hover:not(.btn) { background: var(--ink-soft); }
.site-nav a.active:not(.btn) { text-decoration: underline; text-underline-offset: 6px; }
.site-nav .nav-call { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--on-ink-muted);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--on-ink); margin: 4px 0;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(var(--hero-overlay), var(--hero-overlay)),
    url('/images/hero.jpg') center / cover no-repeat,
    var(--ink);
  color: var(--on-ink);
  text-align: center;
  padding: 84px 0 76px;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--on-ink-muted);
  margin: 0 0 10px;
}
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin: 0 0 12px; font-weight: 800; }
.hero-tagline { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: var(--on-ink-muted); margin: 0 auto 28px; max-width: 640px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .btn.ghost { color: var(--on-ink); border-color: var(--on-ink-muted); }
.hero .btn.ghost:hover { border-color: var(--on-ink); }
.hero-proof { margin: 26px 0 0; color: var(--on-ink-muted); font-weight: 600; }

.page-hero {
  background: var(--ink);
  color: var(--on-ink);
  padding: 44px 0 40px;
  text-align: center;
}
.page-hero h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
.page-hero p { margin: 0 auto; max-width: 620px; color: var(--on-ink-muted); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 28px; }
.section h2 { margin-top: 0; }

/* ---------- Fleet cards ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.trailer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.trailer-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.trailer-card-body { padding: 20px; }
.trailer-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.rate { font-size: 1.05rem; margin: 0 0 10px; }
.rate strong { font-size: 1.6rem; color: var(--accent-text); }
.rate-deal {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--tint);
  color: var(--tint-text);
  border: 1px solid var(--tint-border);
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
}
.card-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }

/* ---------- Steps / why ---------- */
.steps-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin: 26px 0 30px;
}
.step, .why-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.step h3, .why-item h3 { margin: 0 0 6px; font-size: 1.1rem; }
.step p, .why-item p { margin: 0; color: var(--muted); }
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.step-num.inline { display: inline-flex; width: 32px; height: 32px; font-size: 0.95rem; vertical-align: middle; margin: 0 6px 0 0; }

/* ---------- Reviews ---------- */
.review-stars {
  font-size: 2.4rem;
  color: var(--accent-text);
  letter-spacing: 6px;
  margin: 0 0 6px;
  line-height: 1.2;
}

/* ---------- Location / hours ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
  margin-top: 20px;
}
.location-info address { font-style: normal; font-size: 1.05rem; margin: 0 0 14px; }
.hours-table { border-collapse: collapse; margin: 12px 0 14px; width: 100%; max-width: 360px; }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 8px 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}
.hours-table th { background: var(--bg-alt); font-weight: 700; }
.map-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrap iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- Trailer detail (trailers page) ---------- */
.trailer-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}
.gallery-main { border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.gallery-thumbs img { border-radius: var(--radius); border: 1px solid var(--border); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.trailer-info h2 { margin: 0 0 4px; }
.big-rate strong { font-size: 2rem; }
.deal-note {
  background: var(--tint);
  border: 1px solid var(--tint-border);
  color: var(--tint-text);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.95rem;
}
.spec-table { border-collapse: collapse; width: 100%; margin: 18px 0 22px; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 9px 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}
.spec-table th { width: 42%; background: var(--bg-alt); font-weight: 700; }
/* Placeholder spec values — visibly marked until real specs are filled in */
.spec-tbd { color: var(--muted); font-style: italic; }
.spec-tbd::before { content: "• "; color: var(--accent-text); font-style: normal; }

/* ---------- Calendar (booking + admin) ---------- */
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 12px;
}
.cal-nav h2, .cal-nav h3 { margin: 0; font-size: 1.15rem; }
.nav-btn {
  border: 1px solid var(--border-strong);
  background: var(--card);
  border-radius: 8px;
  width: 44px; height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text);
}
.nav-btn:disabled { opacity: 0.35; cursor: default; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-head {
  margin-bottom: 6px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}
.day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.95rem;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 0;
  color: var(--text);
  font-family: inherit;
}
.day:hover:not(:disabled) { border-color: var(--accent); background: var(--tint); }
.day:disabled {
  background: var(--taken);
  color: var(--taken-text);
  border-color: var(--border);
  cursor: default;
}
.day.empty { visibility: hidden; }
.day.in-range { background: var(--tint); border-color: var(--tint-border); color: var(--tint-text); font-weight: 700; }
.day.range-edge { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 800; }

/* Admin day states */
.day.has-booking { background: var(--tint); border-color: var(--tint-border); color: var(--tint-text); font-weight: 700; }
.day.is-blocked {
  background: repeating-linear-gradient(45deg, var(--blocked-a) 0 6px, var(--blocked-b) 6px 12px);
  border-color: var(--border-strong);
}
.day.is-past { opacity: 0.45; }

.legend {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid var(--border-strong); }
.swatch-open { background: var(--card); }
.swatch-taken { background: var(--taken); }
.swatch-selected { background: var(--accent); border-color: var(--accent); }
.swatch-booked { background: var(--tint); border-color: var(--tint-border); }
.swatch-blocked { background: repeating-linear-gradient(45deg, var(--blocked-a) 0 4px, var(--blocked-b) 4px 8px); }

/* ---------- Booking page ---------- */
.booking-container { max-width: 640px; }
.step-title { font-size: 1.25rem; margin: 34px 0 10px; }
#step-trailer .step-title { margin-top: 0; }

.trailer-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trailer-option {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--text);
}
.trailer-option img { border-radius: 6px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 10px; }
.trailer-option .t-name { font-weight: 800; display: block; }
.trailer-option .t-rate { color: var(--muted); font-size: 0.92rem; }
.trailer-option[aria-checked="true"] {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.trailer-option[aria-checked="true"] .t-rate { color: var(--accent-text); font-weight: 700; }

.quote-box {
  margin-top: 22px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.quote-box h3 { margin: 0 0 10px; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.06em; }
.quote-lines { margin: 0; }
.quote-lines > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--border);
}
.quote-lines > div:last-child { border-bottom: none; }
.quote-lines dt { color: var(--muted); }
.quote-lines dd { margin: 0; font-weight: 700; }
.quote-free dd { color: var(--success); }
.quote-total { font-size: 1.15rem; }
.quote-total dt { color: var(--text); font-weight: 800; }
.quote-total dd { color: var(--accent-text); font-size: 1.3rem; }

/* ---------- Forms ---------- */
form label {
  display: block;
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 700;
}
form input, form textarea, form select {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 12px 13px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
}
form input:focus, form textarea:focus, form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
  border-color: var(--accent);
}
.form-actions { display: flex; gap: 10px; margin-top: 16px; justify-content: flex-end; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-title { margin-top: 30px; }

.error { color: var(--danger); font-weight: 600; font-size: 0.92rem; }
.req { color: var(--danger); font-weight: 800; }
.success { color: var(--success); font-weight: 600; font-size: 0.95rem; }

/* ---------- Rental agreement (booking form) ---------- */
.contract-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 16px 18px;
  margin: 20px 0;
}
.contract-box h3 { margin: 0 0 6px; font-size: 1.05rem; }
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 12px 0;
  font-weight: 700;
}
.check-label input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex: none;
  accent-color: var(--accent);
}
#contract-fields { margin-top: 14px; }
.terms-label { margin: 14px 0 6px; font-size: 0.92rem; }
.terms-scroll {
  max-height: 220px;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--muted);
}
.terms-scroll p { margin: 0 0 10px; }
.terms-scroll strong { color: var(--text); }

/* ---------- Confirmation ---------- */
.confirm-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.confirm-check {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--success);
  color: var(--on-accent);
  font-size: 1.8rem;
  display: flex; align-items: center; justify-content: center;
}
.confirm-lines { text-align: left; max-width: 380px; margin: 18px auto; }
.payment-note {
  background: var(--tint);
  border: 1px solid var(--tint-border);
  color: var(--tint-text);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.95rem;
  max-width: 420px;
  margin: 16px auto;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); margin-top: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  padding-top: 44px;
  padding-bottom: 28px;
}
.site-footer h3 {
  color: var(--on-ink);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}
.site-footer h3 + p, .site-footer address { margin-top: 0; }
.footer-brand { font-weight: 800; color: var(--on-ink); letter-spacing: 0.04em; margin: 0 0 8px; }
.footer-brand span { color: var(--on-ink-muted); font-weight: 600; }
.footer-stars span { font-weight: 600; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a { color: var(--on-ink); }
.social-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
.social-link:hover { text-decoration: underline; }
.social-link svg { flex: none; }
.footer-links a { margin-right: 14px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--ink-soft);
  padding-top: 16px;
  padding-bottom: 20px;
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 1.25rem; margin-top: 30px; }
.prose li { margin-bottom: 8px; }

/* ---------- 404 ---------- */
.notfound { padding: 40px 0 30px; }
.notfound-code {
  font-size: clamp(4rem, 14vw, 7rem);
  font-weight: 800;
  color: var(--accent-text);
  margin: 0;
  line-height: 1;
}
.center-ctas { justify-content: center; }

/* ---------- Admin ---------- */
.admin-body { background: var(--bg-alt); }
.login-container { max-width: 400px; padding-top: 80px; }
.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.login-card h1 { margin: 0 0 16px; font-size: 1.3rem; text-align: center; }

.admin-container { max-width: 860px; padding-top: 24px; padding-bottom: 60px; }
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.admin-header h1 { margin: 0; font-size: 1.4rem; }
.admin-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 22px;
}
.admin-section h2 { font-size: 1.15rem; margin: 0 0 12px; }

.trailer-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.trailer-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
  background: var(--card);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}
.trailer-tab[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.admin-cal-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

.day-card h3 { margin: 0 0 8px; }
#day-detail { font-size: 0.93rem; color: var(--muted); margin-bottom: 12px; }
#day-detail strong { color: var(--text); }
.day-buttons { display: flex; gap: 8px; flex-wrap: wrap; }

.booking-row, .contact-row, .trailer-setting-row {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg);
}
.booking-info, .contact-info { font-size: 0.93rem; min-width: 0; flex: 1; }
.booking-info .b-dates { font-weight: 800; }
.booking-info .b-trailer {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--tint);
  color: var(--tint-text);
  border: 1px solid var(--tint-border);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
  vertical-align: middle;
}
.booking-info .b-total { color: var(--accent-text); font-weight: 800; }
.booking-info .b-contact, .contact-info .c-meta { color: var(--muted); word-break: break-word; }
.booking-info .b-note, .contact-info .c-msg { color: var(--muted); font-style: italic; word-break: break-word; }
.contact-info .c-msg { font-style: normal; margin-top: 4px; white-space: pre-wrap; }
.booking-actions, .contact-actions { display: flex; gap: 8px; }
.empty-msg { color: var(--muted); font-size: 0.93rem; }

.trailer-setting-row form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
  width: 100%;
}
.trailer-setting-row label { margin: 0; flex: 1; min-width: 160px; }
.trailer-setting-row label.rate-field { flex: 0 0 130px; min-width: 130px; }
.setting-status { font-size: 0.85rem; font-weight: 700; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: var(--backdrop);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 60;
}
.modal {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
}
.modal h3 { margin: 0 0 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .trailer-detail, .location-grid { grid-template-columns: 1fr; }
  .map-wrap iframe { height: 280px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px; text-align: center; font-size: 1.05rem; }
  .site-nav .nav-call { margin: 8px 0 0; }
  .nav-inner { min-height: 72px; }
  .brand-logo { height: 56px; }
  .hero { padding: 60px 0 54px; }
  .section { padding: 42px 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .trailer-picker { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .day { font-size: 0.85rem; border-radius: 6px; }
  .cal-grid { gap: 4px; }
  .hero-ctas .btn { width: 100%; }
  .footer-bottom { justify-content: center; text-align: center; }
}
