/* ============================================================
   LTSC ROADWORTHY'S & MOD'S — GLOBAL STYLES
   Colour palette pulled from logo:
   Electric blue, deep navy, bronze/gold, near-black
   ============================================================ */

:root {
  --black:          #050608;
  --dark:           #0a0c10;
  --dark-2:         #0f1218;
  --dark-3:         #161b24;
  --dark-4:         #1e2530;
  --navy:           #0d1829;
  --blue:           #1a6fc4;
  --blue-bright:    #2a8fe8;
  --blue-electric:  #4db8ff;
  --bronze:         #c8861a;
  --bronze-light:   #e8a832;
  --bronze-dark:    #9a6210;
  --white:          #ffffff;
  --light:          #e8edf5;
  --text:           #b8c4d4;
  --text-muted:     #6a7a8e;
  --mid:            #3a4555;

  --accent:         #c8861a;
  --accent-light:   #e8a832;
  --accent-dark:    #9a6210;
  --highlight:      #2a8fe8;
  --highlight-glow: rgba(42,143,232,0.25);

  --font-display:   'Rajdhani', sans-serif;
  --font-body:      'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;

  --radius:    6px;
  --radius-lg: 12px;
  --shadow:    0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.65);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: clamp(14px, 2.5vw, 16px); }
body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: clamp(10px, 2.5vw, 13px) clamp(16px, 4vw, 30px);
  font-family: var(--font-condensed);
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: normal;
}
.btn--primary {
  background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-light) 100%);
  color: var(--black);
  border-color: var(--bronze-light);
  box-shadow: 0 4px 16px rgba(200,134,26,0.3);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--bronze-light) 0%, #f0c050 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,134,26,0.45);
}
.btn--blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: var(--white);
  border-color: var(--blue-bright);
  box-shadow: 0 4px 16px rgba(42,143,232,0.3);
}
.btn--blue:hover {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue-electric) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,143,232,0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  border-color: var(--blue-electric);
  color: var(--blue-electric);
}
.btn--outline-accent {
  background: transparent;
  color: var(--bronze-light);
  border-color: var(--bronze);
}
.btn--outline-accent:hover {
  background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-light) 100%);
  color: var(--black);
}
.btn--full { width: 100%; justify-content: center; }
.btn--sm { padding: 9px 20px; font-size: 0.82rem; }

/* ── SECTION LABELS ──────────────────────────────────────── */
.section-label {
  font-family: var(--font-condensed);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--blue-electric);
  margin-bottom: 10px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  line-height: 1.0;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-title span { color: var(--bronze-light); }
.section-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-desc { max-width: 560px; margin: 0 auto; }

.divider {
  width: 48px; height: 3px;
  background: linear-gradient(to right, var(--bronze), var(--blue-bright));
  margin: 20px 0;
  border-radius: 2px;
}

/* ── PAGE HERO (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--dark-2);
  padding: calc(var(--nav-h) + 56px) 0 20px;
  border-bottom: 1px solid rgba(42,143,232,0.12);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(26,111,196,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(200,134,26,0.06) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      rgba(42,143,232,0.025) 0px, rgba(42,143,232,0.025) 1px,
      transparent 1px, transparent 56px
    );
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__breadcrumb {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-hero__breadcrumb a { color: var(--blue-electric); }
.page-hero__breadcrumb span { color: var(--mid); }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin-top: 10px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  background: rgba(5,6,8,0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42,143,232,0.15);
  transition: background var(--transition), border-color var(--transition), transform 0.3s ease-in-out;
}
.nav.scrolled {
  background: rgba(5,6,8,0.99);
  border-bottom-color: rgba(200,134,26,0.25);
}
.nav.nav-hidden {
  transform: translateY(-100%);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(42,143,232,0.5));
  transition: filter var(--transition);
}
.nav__logo:hover .nav__logo-img {
  filter: drop-shadow(0 0 16px rgba(42,143,232,0.8));
}
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__logo-main {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}
.nav__logo-sub {
  font-family: var(--font-condensed);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--bronze-light);
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__links a {
  font-family: var(--font-condensed);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 13px;
  border-radius: 4px;
  transition: color var(--transition);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 13px; right: 13px;
  height: 1px;
  background: var(--blue-electric);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav__links a:hover,
.nav__links a.active { color: var(--white); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__cta {
  background: linear-gradient(135deg, var(--bronze) 0%, var(--bronze-light) 100%) !important;
  color: var(--black) !important;
  border-radius: var(--radius) !important;
  padding: 9px 22px !important;
  margin-left: 8px;
  font-weight: 800 !important;
}
.nav__cta::after { display: none !important; }
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,134,26,0.4) !important; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
}
.nav__hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}
.nav__mobile {
  display: none;
  flex-direction: column;
  background: rgba(5,6,8,0.99);
  padding: 12px 28px 24px;
  border-top: 1px solid rgba(42,143,232,0.12);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--transition);
}
.nav__mobile a:hover { color: var(--white); }
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a.mobile__cta { color: var(--bronze-light); border-bottom: none; padding-top: 18px; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__logo-text { display: none; }
  .nav__inner { padding: 0 clamp(12px, 3vw, 28px); }
}

@media (max-width: 560px) {
  .nav__inner { height: var(--nav-h); }
  .nav__logo { gap: 8px; }
  .nav__logo-img { height: 44px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--blue-bright), var(--bronze-light), var(--blue-bright), transparent);
  opacity: 0.6;
}
.footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 50% 40% at 50% 100%, rgba(26,111,196,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  position: relative; z-index: 2;
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand-logo { max-height: 90px; width: auto; height: auto; filter: drop-shadow(0 0 12px rgba(42,143,232,0.4)); object-fit: contain; }
.footer__brand p { font-size: 0.87rem; color: var(--text-muted); max-width: 260px; line-height: 1.6; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(42,143,232,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.footer__social a:hover {
  color: var(--blue-electric);
  border-color: var(--blue-bright);
  box-shadow: 0 0 14px rgba(42,143,232,0.3);
}
.footer__col h4 {
  font-family: var(--font-condensed);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,134,26,0.2);
}
.footer__col a, .footer__col span {
  display: block; font-size: 0.88rem;
  color: var(--text-muted); margin-bottom: 10px;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--white); }
.footer__col span.footer__contact-val { color: var(--text); }
.footer__col a.footer__contact-link { color: var(--blue-electric); }
.footer__col a.footer__contact-link:hover { color: var(--white); }
.footer__hours {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid rgba(42,143,232,0.18);
  border-radius: 10px;
  background: rgba(42,143,232,0.05);
}
.footer__hours .footer__hours-heading {
  margin-bottom: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bronze-light);
  font-weight: 700;
}
.footer__hours .footer__hours-location {
  margin: 8px 0 4px;
  color: var(--text);
  font-weight: 700;
  font-size: 0.82rem;
}
.footer__hours .footer__hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--mid);
  font-size: 0.82rem;
}
.footer__hours .footer__hours-row span:first-child {
  color: var(--text-muted);
}
.footer__hours .footer__hours-row span:last-child {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 20px 28px;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.79rem; color: var(--mid);
  position: relative; z-index: 2;
}
.footer__bottom a { color: var(--bronze-light); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 20px; }
  .footer__brand-logo { max-height: 70px; }
}
@media (max-width: 660px) {
  .badges__inner { flex-direction: column; gap: 12px; }
  .badge { padding: 8px clamp(12px, 3vw, 20px); }
  .badge__divider { display: none; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { flex-direction: column; }
  .footer__hours .footer__hours-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .footer__hours .footer__hours-row span:last-child { text-align: left; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; font-size: 0.7rem; }
}

/* ============================================================
   BADGE BAR
   ============================================================ */
.badges {
  background: var(--dark-3);
  border-top: 1px solid rgba(42,143,232,0.1);
  border-bottom: 1px solid rgba(42,143,232,0.1);
  padding: 12px 28px;
  position: relative; overflow: hidden;
}
.badges::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,111,196,0.04), transparent, rgba(200,134,26,0.04));
}
.badges__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; position: relative;
}
.badge {
  font-family: var(--font-condensed);
  font-size: clamp(0.65rem, 1.5vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 5px clamp(12px, 3vw, 24px);
  white-space: normal;
  transition: color var(--transition);
}
.badge:hover { color: var(--white); }
.badge__icon { color: var(--bronze-light); margin-right: 6px; }
.badge__divider { width: 1px; height: 18px; background: rgba(42,143,232,0.2); flex-shrink: 0; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-family: var(--font-condensed);
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(22,27,36,0.9);
  border: 1px solid rgba(42,143,232,0.2);
  border-radius: var(--radius);
  padding: 11px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none; appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a7a8e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 38px; cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #3a4555; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(42,143,232,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.76rem; color: var(--mid); text-align: center; }
.form-success {
  display: none;
  background: rgba(42,143,232,0.08);
  border: 1px solid rgba(42,143,232,0.3);
  border-radius: var(--radius);
  padding: 14px; color: var(--blue-electric);
  font-size: 0.9rem; text-align: center;
}

@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fade-up { opacity: 0; }
.fade-up.visible { animation: fadeUp 0.6s ease forwards; }
