/* CRAFT shared styles — nav, footer, buttons, base typography */
:root {
  --beacon: #E63027;
  --beacon-dark: #B81E16;
  --beacon-deep: #8A1410;
  --approach: #14181F;
  --ink: #0A0D12;
  --runway: #1C2129;
  --white: #FFFFFF;
  --slate-200: #E5E7EB;
  --slate-300: #C9CDD4;
  --slate-500: #6E7480;
  --slate-700: #353A45;
  --display: 'Barlow Condensed', system-ui, -apple-system, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --maxw: 1280px;
  --gut: clamp(20px, 4vw, 64px);
  --section-py: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--body); background: var(--ink); color: var(--white); line-height: 1.5; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.eyebrow { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--beacon); }
.accent { color: var(--beacon); }
.stroke { -webkit-text-stroke: 1.5px var(--white); -webkit-text-fill-color: transparent; color: transparent; }
.h-display { font-family: var(--display); font-weight: 800; line-height: 0.95; letter-spacing: -0.01em; text-transform: uppercase; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: var(--section-py) 0; position: relative; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 4px; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); white-space: nowrap; }
.btn-primary { background: var(--beacon); color: var(--white); box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 8px 24px rgba(230,48,39,0.35); }
.btn-primary:hover { background: var(--beacon-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--slate-200); }
.btn-sm { padding: 10px 18px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.btn-arrow::after { content: "→"; }

/* NAV with dropdowns */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(20,24,31,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.9); font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 14px; border-radius: 6px; transition: all .2s var(--ease); cursor: pointer; background: none; border: none; }
.nav-link:hover, .nav-item:hover .nav-link, .nav-item:focus-within .nav-link { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-caret { display: inline-block; font-size: 10px; transition: transform .2s var(--ease); }
.nav-item:hover .nav-caret { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: 100%; left: 0; min-width: 360px; padding: 12px; background: rgba(20,24,31,0.98); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s var(--ease); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6); margin-top: 8px; z-index: 110; }
.nav-item:hover .nav-dropdown, .nav-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd-section { padding: 8px 0; }
.nav-dd-section + .nav-dd-section { border-top: 1px solid rgba(255,255,255,0.06); margin-top: 4px; }
.nav-dd-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); padding: 6px 12px 8px; }
.nav-dd-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 8px; transition: background .15s var(--ease); }
.nav-dd-item:hover { background: rgba(230,48,39,0.08); }
.nav-dd-icon { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; background: rgba(230,48,39,0.12); color: var(--beacon); border: 1px solid rgba(230,48,39,0.3); border-radius: 8px; font-size: 18px; }
.nav-dd-title { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--white); margin-bottom: 2px; }
.nav-dd-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.4; }
.nav-mobile-toggle { display: none; background: none; border: none; color: var(--white); font-size: 22px; padding: 8px; cursor: pointer; }
@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--approach); flex-direction: column; padding: 16px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,0.08); max-height: calc(100vh - 70px); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
  .nav-item { width: 100%; }
  .nav-link { width: 100%; justify-content: space-between; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; border: none; min-width: 0; margin: 0; padding: 0 0 0 16px; height: 0; overflow: hidden; }
  .nav-item.open .nav-dropdown { height: auto; padding: 8px 0 8px 16px; }
}

/* FOOTER */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 80px 0 40px; position: relative; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand { margin-bottom: 16px; }
.footer-brand img { height: 50px; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,0.5); max-width: 320px; line-height: 1.6; }
.footer-contact { margin-top: 20px; font-size: 14px; }
.footer-contact a { color: var(--white); display: block; margin-bottom: 6px; transition: color .2s var(--ease); }
.footer-contact a:hover { color: var(--beacon); }
.footer-contact-label { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--beacon); }
.footer-bottom { padding-top: 18px; margin-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--beacon); }

/* MOBILE STICKY */
.mobile-cta { display: none; }
@media (max-width: 880px) { .mobile-cta { display: flex; position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 90; justify-content: center; box-shadow: 0 10px 30px rgba(230,48,39,0.4); } body { padding-bottom: 80px; } }

/* TAIL NUMBER CARDS (fleet) */
.tail-card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(10,13,18,0.6);
  border: 1px solid rgba(230,48,39,0.18);
  border-radius: 6px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.92);
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  cursor: default;
}
.tail-card:hover {
  background: rgba(230,48,39,0.08);
  border-color: rgba(230,48,39,0.5);
  transform: translateY(-1px);
}
.tail-card .tail-icon {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  background: rgba(230,48,39,0.15);
  border: 1px solid rgba(230,48,39,0.4);
  border-radius: 4px;
  color: var(--beacon);
  font-size: 11px;
  flex-shrink: 0;
}
.tail-card .tail-num { letter-spacing: 0.1em; }

/* === Custom scrollbar — CRAFT red === */
:root { scrollbar-color: var(--beacon) rgba(20,24,31,0.4); scrollbar-width: thin; }

/* Webkit (Chrome / Edge / Safari) */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(20,24,31,0.85) 0%, rgba(10,13,18,0.95) 100%);
  border-left: 1px solid rgba(230,48,39,0.15);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--beacon) 0%, var(--beacon-dark) 100%);
  border: 2px solid rgba(10,13,18,0.85);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 0 8px rgba(230,48,39,0.45);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff6b5b 0%, var(--beacon) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2), 0 0 14px rgba(230,48,39,0.7);
}
::-webkit-scrollbar-thumb:active {
  background: var(--beacon);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3), 0 0 22px rgba(230,48,39,0.9);
}
::-webkit-scrollbar-corner { background: var(--ink); }


/* FOOTER SOCIAL ICONS */
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; padding-top: 20px; padding-bottom: 4px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-social-lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; color: rgba(255,255,255,0.4); text-transform: uppercase; align-self: center; margin-right: 8px; }
.footer-social a { display: grid !important; place-items: center; flex: 0 0 42px !important; width: 42px !important; height: 42px !important; min-width: 0; box-sizing: border-box; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); transition: all .25s var(--ease); position: relative; overflow: hidden; }
.footer-social a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--beacon) 0%, var(--beacon-dark) 100%); opacity: 0; transition: opacity .25s var(--ease); }
.footer-social a:hover { color: var(--white); border-color: var(--beacon); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(230,48,39,0.4); }
.footer-social a:hover::before { opacity: 1; }
.footer-social a svg { position: relative; z-index: 1; width: 18px !important; height: 18px !important; max-width: 18px !important; max-height: 18px !important; fill: currentColor; display: block; }
@media (max-width: 600px) { .footer-social { justify-content: flex-start; } }


/* === HUBSPOT FORMS — TACTICAL DARK OVERRIDE === */
/* Targets all embedded HubSpot forms (.hs-form). Forces dark inputs, beacon-red focus + button. */
.hs-form,
.hs-form * {
  font-family: 'Inter', system-ui, sans-serif !important;
  box-sizing: border-box;
}
.hs-form {
  color: rgba(255,255,255,0.92);
}
.hs-form fieldset {
  max-width: 100% !important;
  border: none;
  padding: 0;
  margin: 0 0 4px 0;
}
.hs-form fieldset.form-columns-2 .hs-form-field,
.hs-form fieldset.form-columns-1 .hs-form-field,
.hs-form fieldset.form-columns-3 .hs-form-field {
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
}
.hs-form fieldset.form-columns-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hs-form fieldset.form-columns-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.hs-form .hs-form-field {
  margin-bottom: 14px;
}
.hs-form .input {
  margin-right: 0 !important;
}
/* Labels */
.hs-form label,
.hs-form .hs-form-field > label,
.hs-form .hs-fieldtype-text > label,
.hs-form .hs-fieldtype-select > label,
.hs-form .hs-fieldtype-checkbox > label,
.hs-form .hs-fieldtype-textarea > label {
  display: block;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55) !important;
  margin-bottom: 8px !important;
  padding: 0 !important;
}
.hs-form label .hs-form-required {
  color: var(--beacon) !important;
  margin-left: 3px;
  font-weight: 700;
}
/* Inputs / textarea / select */
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="tel"],
.hs-form input[type="number"],
.hs-form input[type="url"],
.hs-form input[type="password"],
.hs-form input[type="date"],
.hs-form textarea,
.hs-form select {
  width: 100% !important;
  height: 46px;
  padding: 0 14px !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.hs-form textarea {
  height: auto;
  min-height: 110px;
  padding: 14px !important;
  resize: vertical;
  line-height: 1.5;
}
.hs-form input::placeholder,
.hs-form textarea::placeholder {
  color: rgba(255,255,255,0.35) !important;
}
.hs-form input:focus,
.hs-form textarea:focus,
.hs-form select:focus {
  border-color: var(--beacon) !important;
  background: rgba(255,255,255,0.06) !important;
  box-shadow: 0 0 0 3px rgba(230,48,39,0.15) !important;
}
/* Native select arrow */
.hs-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23E63027' d='M6 8L0 0h12z'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 10px !important;
  padding-right: 38px !important;
}
.hs-form select option {
  background: var(--ink);
  color: #fff;
}
/* Checkbox / radio */
.hs-form .inputs-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.hs-form .inputs-list li {
  margin-bottom: 6px;
}
.hs-form .hs-form-checkbox-display,
.hs-form .hs-form-booleancheckbox-display,
.hs-form .hs-form-radio-display {
  display: inline-flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.78) !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  line-height: 1.5;
  padding: 0 !important;
}
.hs-form input[type="checkbox"],
.hs-form input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 1px 0 0 0 !important;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all .15s ease;
}
.hs-form input[type="radio"] {
  border-radius: 50%;
}
.hs-form input[type="checkbox"]:checked,
.hs-form input[type="radio"]:checked {
  background: var(--beacon);
  border-color: var(--beacon);
}
.hs-form input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.hs-form input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
/* Submit button */
.hs-form .hs-button,
.hs-form input[type="submit"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 52px;
  margin-top: 8px;
  padding: 0 28px !important;
  background: linear-gradient(135deg, var(--beacon) 0%, var(--beacon-dark) 100%) !important;
  border: 1px solid var(--beacon) !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-family: 'Barlow Condensed', 'Inter', system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease !important;
  box-shadow: 0 8px 24px rgba(230,48,39,0.25);
}
.hs-form .hs-button:hover,
.hs-form input[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(230,48,39,0.4);
}
.hs-form .hs-button:active,
.hs-form input[type="submit"]:active {
  transform: translateY(0);
  filter: brightness(0.95);
}
.hs-form .actions {
  margin-top: 4px;
  padding: 0 !important;
}
/* Help / legal text */
.hs-form .hs-richtext,
.hs-form .hs-richtext p,
.hs-form legend.hs-field-desc {
  font-size: 12px !important;
  color: rgba(255,255,255,0.5) !important;
  line-height: 1.55 !important;
  margin: 0 0 10px 0 !important;
}
.hs-form .hs-richtext a {
  color: var(--beacon) !important;
  text-decoration: underline;
}
/* Validation errors */
.hs-form .hs-error-msgs,
.hs-form .hs-error-msg,
.hs-form ul.no-list label.hs-error-msg {
  list-style: none !important;
  padding: 0 !important;
  margin: 6px 0 0 0 !important;
  color: #ff6b5b !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: none !important;
}
.hs-form .hs-input.invalid.error,
.hs-form input.invalid.error,
.hs-form textarea.invalid.error,
.hs-form select.invalid.error {
  border-color: #ff6b5b !important;
  background: rgba(255,107,91,0.06) !important;
}
/* Submitted thank-you state */
.submitted-message {
  padding: 32px 20px !important;
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  background: rgba(74,222,128,0.06);
  border: 1px solid rgba(74,222,128,0.25);
  border-radius: 8px;
}
.submitted-message p { margin: 0; }
/* reCAPTCHA v3 badge — tuck out of the way (ToS still satisfied) */
.grecaptcha-badge {
  visibility: hidden !important;
}
/* hCaptcha / reCAPTCHA v2 — leave visible but theme container */
.hs-form .hs_recaptcha,
.hs-form .grecaptcha {
  margin-top: 10px;
}
/* HubSpot Forms v3 frame container baseline */
.hs-form-frame,
.hbspt-form {
  width: 100%;
}
/* Mobile */
@media (max-width: 640px) {
  .hs-form fieldset.form-columns-2,
  .hs-form fieldset.form-columns-3 {
    grid-template-columns: 1fr;
  }
}
