/* ===========================
   DYNAMIC TRANSPORTATION
   Mobile-First Stylesheet
   Base = mobile, scales up
   =========================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --crimson: #8B1E1E;
  --crimson-soft: #A52828;
  --crimson-deep: #6B1515;
  --crimson-mid: #7A1B1B;
  --yellow: #f9c900;
  --yellow-dark: #d4a900;
  --yellow-dim: rgba(249,201,0,0.1);
  --yellow-border: rgba(249,201,0,0.3);
  --white: #ffffff;
  --off-white: #faf6f1;
  --cream: #f5ede0;
  --muted: #6b5a52;
  --border: #e4d9cc;
  --text: #2a1612;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
  line-height: 1.5;
}

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

/* ===========================
   NAVIGATION — mobile first
   =========================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--crimson);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(249,201,0,0.2);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: contain;
  background: #000;
  display: block;
  flex-shrink: 0;
}
.nav-name {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.nav-name small {
  display: none; /* hidden on mobile */
  font-size: 0.58rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Hamburger toggle */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile nav links — hidden by default */
.nav-links {
  display: none;
  width: 100%;
  flex-direction: column;
  list-style: none;
  padding: 0.8rem 0 0.4rem;
  gap: 0;
  order: 3;
}
.nav-links.open { display: flex; }
.nav-links a {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--yellow); }

.nav-cta {
  display: none; /* hidden on mobile, shown on desktop */
  background: var(--yellow);
  color: var(--crimson);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--white); }

/* Phone link always visible on mobile */
.nav-phone-mobile {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow);
  text-decoration: none;
}

/* ===========================
   PAGE HERO (interior pages)
   =========================== */
.page-hero {
  padding: 5rem 1.2rem 3rem;
  background: var(--crimson);
  position: relative;
  overflow: hidden;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(249,201,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,201,0,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--yellow);
  color: var(--crimson);
  padding: 0.35rem 0.9rem;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 8vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: var(--yellow); }
.page-hero-sub {
  font-size: 0.92rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

/* Stat cards stacked on mobile */
.hero-fact-stack,
.hero-contact-cards,
.page-hero-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
}
.hero-fact, .hero-contact-card {
  background: var(--crimson-deep);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.fact-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--yellow);
  line-height: 1;
  min-width: 60px;
}
.fact-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
}
.fact-text span {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
}
.hcc-icon {
  width: 36px; height: 36px;
  background: var(--yellow);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.hcc-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.2rem;
}
.hcc-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}
.hcc-value a { color: var(--white); text-decoration: none; }

/* ===========================
   BREADCRUMB
   =========================== */
.breadcrumb {
  background: var(--yellow);
  padding: 0.6rem 1.2rem;
}
.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(139,30,30,0.6);
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--crimson); text-decoration: none; }
.breadcrumb-sep { color: rgba(139,30,30,0.4); }

/* ===========================
   SHARED SECTION BASE
   =========================== */
section { padding: 3.5rem 1.2rem; }
.inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-tag::before {
  content: '';
  display: block;
  width: 16px; height: 2px;
  background: var(--yellow);
}
.section-tag.dark { color: var(--crimson); }
.section-tag.dark::before { background: var(--crimson); }

.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.7rem, 6vw, 2.8rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.8rem;
}
.section-title em { font-style: italic; color: var(--crimson); }
.section-title.light { color: var(--white); }
.section-title.light em { color: var(--yellow); }

/* ===========================
   BUTTONS
   =========================== */
.btn-yellow, .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--yellow);
  color: var(--crimson);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s;
  touch-action: manipulation;
}
.btn-yellow:hover, .btn-primary:hover { background: var(--white); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.9);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  touch-action: manipulation;
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-crimson {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--crimson);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s;
  touch-action: manipulation;
}
.btn-crimson:hover { background: var(--crimson-deep); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid rgba(139,30,30,0.4);
  color: var(--crimson);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s;
  touch-action: manipulation;
}
.btn-outline-dark:hover { border-color: var(--crimson); }

/* ===========================
   FORMS
   =========================== */
.contact-form, .apply-form {
  background: var(--crimson);
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
}
.form-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.form-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
}
.form-group label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 0.9rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem; /* prevent zoom on iOS */
  color: var(--white);
  background: rgba(255,255,255,0.08);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--yellow); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group select option { background: var(--crimson-deep); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}
.form-check input[type=checkbox] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--yellow);
  flex-shrink: 0;
}
.form-check label {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
}
.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--yellow);
  color: var(--crimson);
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
  touch-action: manipulation;
  -webkit-appearance: none;
}
.form-submit:hover { background: var(--white); }

/* ===========================
   FOOTER — mobile first
   =========================== */
footer {
  background: var(--crimson-deep);
  border-top: 1px solid rgba(249,201,0,0.15);
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
}
.footer-brand-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--white);
}
.footer-brand-name span { color: var(--yellow); }
.footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
}
.footer-links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.2rem 0; /* bigger tap target */
}
.footer-links a:hover { color: var(--yellow); }

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-tag,
.page-hero h1,
.page-hero-sub { animation: fadeUp 0.5s ease both; }
.page-hero h1 { animation-delay: 0.1s; }
.page-hero-sub { animation-delay: 0.2s; }

/* ===========================
   TABLET — 600px+
   =========================== */
@media (min-width: 600px) {
  nav { padding: 0.9rem 2rem; }
  .nav-name small { display: block; }
  .nav-logo-img { width: 38px; height: 38px; }

  section { padding: 4.5rem 2rem; }
  .page-hero { padding: 7rem 2rem 4rem; }
  .contact-form, .apply-form { padding: 2rem 1.8rem; }

  .form-row {
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 0;
  }
  .form-row .form-group { flex: 1; }

  footer {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;
    padding: 2rem;
  }
  .footer-brand { justify-content: flex-start; }
  .footer-links { justify-content: flex-end; }
}

/* ===========================
   DESKTOP — 900px+
   =========================== */
@media (min-width: 900px) {
  /* Nav — full horizontal */
  nav {
    padding: 0.9rem 3rem;
    flex-wrap: nowrap;
    gap: 0;
  }
  .nav-toggle { display: none; }
  .nav-links {
    display: flex !important;
    flex-direction: row;
    width: auto;
    padding: 0;
    gap: 2rem;
    order: 0;
  }
  .nav-links a {
    border: none;
    padding: 0;
    font-size: 0.8rem;
  }
  .nav-cta { display: inline-flex; }
  .nav-phone-mobile { display: none; }
  .nav-logo-img { width: 42px; height: 42px; }

  section { padding: 6rem 3rem; }
  .page-hero { padding: 10rem 3rem 6rem; }
  .page-hero-inner {
    flex-direction: row;
    gap: 5rem;
    align-items: center;
  }
  .breadcrumb { padding: 0.7rem 3rem; }

  footer {
    padding: 2.2rem 3rem;
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .contact-form, .apply-form { padding: 2.5rem; }
}

/* ===========================
   LARGE DESKTOP — 1200px+
   =========================== */
@media (min-width: 1200px) {
  nav { padding: 1rem 4rem; }
  section { padding: 7rem 4rem; }
  .page-hero { padding: 11rem 4rem 7rem; }
}
