/* ==========================================================================
   LiedTrans Pty Ltd — Design System & Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Custom Properties --- */
:root {
  --red: #C52D2F;
  --red-dim: #9E2426;
  --ink: #1C1C1E;
  --grey: #2D2D2D;
  --light: #F5F5F5;
  --white: #FFFFFF;
  --whatsapp: #25D366;
  --font-display: 'Archivo', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --road-dash: repeating-linear-gradient(90deg, var(--red) 0 12px, transparent 12px 20px);
  --road-dash-v: repeating-linear-gradient(180deg, var(--red) 0 12px, transparent 12px 20px);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
  --header-h: 72px;
  --max-w: 1200px;
  --section-pad: clamp(3rem, 6vw, 5rem);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--light);
  background: var(--ink);
  overflow-x: hidden;
}

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

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover, a:focus-visible { color: var(--white); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--white);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.25rem; }
li + li { margin-top: 0.35rem; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* --- Road Motif --- */
.road-line {
  height: 3px;
  background: var(--road-dash);
  background-size: 20px 3px;
  border: none;
}

.road-line--v {
  width: 3px;
  height: 100%;
  background: var(--road-dash-v);
  background-size: 3px 20px;
}

.road-line--animated {
  animation: roadScroll 1.2s linear infinite;
}

@keyframes roadScroll {
  from { background-position: 0 0; }
  to { background-position: 20px 0; }
}

@keyframes roadScrollV {
  from { background-position: 0 0; }
  to { background-position: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .road-line--animated { animation: none; }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.eyebrow + .road-line { margin-top: 0.5rem; margin-bottom: 1.5rem; max-width: 80px; }

/* --- Header & Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.site-logo img { height: 44px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }

.site-nav a {
  color: var(--light);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.55rem 1rem !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--red-dim) !important; color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
}

.nav-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem;
    background: var(--ink);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
  }

  .site-nav.is-open { transform: translateX(0); }

  .site-nav a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .nav-cta { margin-left: 0; margin-top: 0.5rem; text-align: center; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), color var(--transition);
  text-decoration: none;
}

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dim); color: var(--white); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.25);
}
.btn--outline:hover { border-color: var(--red); color: var(--red); }

.btn:active { transform: scale(0.98); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink) 0%, #141416 50%, var(--grey) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: var(--section-pad);
}

.hero__content { position: relative; z-index: 2; }

.hero h1 { text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 1rem; }

.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(245, 245, 245, 0.85);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 520px;
}

.hero-illustration .truck-body { animation: truckNudge 4s ease-in-out infinite; }
.hero-illustration .road-dashes { animation: dashMove 1.5s linear infinite; }

@keyframes truckNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}

@keyframes dashMove {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -24; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-illustration .truck-body,
  .hero-illustration .road-dashes { animation: none; }
}

@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: -1; max-width: 360px; margin-inline: auto; }
}

/* --- Sections --- */
.section {
  padding-block: var(--section-pad);
}

.section--grey { background: var(--grey); }
.section--light { background: var(--light); color: var(--ink); }
.section--light h2, .section--light h3 { color: var(--ink); }
.section--light .eyebrow { color: var(--red); }

.section__header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section__header .road-line { margin-inline: auto; }

.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-block: 0;
  padding-inline: 1rem;
}
.section-divider .road-line { flex: 1; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--grey);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-card__label {
  font-size: 0.875rem;
  color: rgba(245, 245, 245, 0.75);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--ink);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: rgba(197, 45, 47, 0.4);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  color: var(--red);
  stroke: var(--red);
}

/* Inline & external icons — always brand red on dark backgrounds */
.service-card__icon,
.service-detail__icon,
.industry-card__icon,
.process-step__icon,
.contact-info__item svg,
.form-success svg {
  color: var(--red);
}

.service-card__icon [stroke],
.service-detail__icon [stroke],
.industry-card__icon [stroke],
.process-step__icon [stroke],
.contact-info__item svg [stroke],
.form-success svg [stroke] {
  stroke: var(--red);
}

.service-card h3 { margin-bottom: 0.75rem; }
.service-card p { font-size: 0.9375rem; color: rgba(245, 245, 245, 0.8); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* --- Why Choose Us --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item__marker {
  flex-shrink: 0;
  width: 3px;
  min-height: 48px;
  background: var(--road-dash-v);
  background-size: 3px 20px;
}

.feature-item h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.feature-item p { font-size: 0.9375rem; color: rgba(245, 245, 245, 0.8); }

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* --- SADC Map --- */
.sadc-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

.sadc-map { width: 100%; max-width: 480px; margin-inline: auto; }

.route-line {
  stroke: var(--red);
  stroke-width: 2;
  stroke-dasharray: 8 6;
  fill: none;
  animation: dashMove 2s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .route-line { animation: none; }
}

@media (max-width: 768px) {
  .sadc-section { grid-template-columns: 1fr; }
}

/* --- Roadmap Timeline --- */
.roadmap {
  position: relative;
  max-width: 640px;
  margin-inline: auto;
  padding-left: 2.5rem;
}

.roadmap__spine {
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--road-dash-v);
  background-size: 3px 20px;
}

.roadmap__spine.road-line--animated {
  animation: roadScrollV 1.2s linear infinite;
}

.roadmap-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.roadmap-item:last-child { padding-bottom: 0; }

.roadmap-item__node {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 24px;
  height: 24px;
  background: var(--grey);
  border: 3px solid var(--red);
  border-radius: 50%;
  z-index: 1;
}

.roadmap-item--live .roadmap-item__node {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(197, 45, 47, 0.3);
}

.roadmap-item__phase {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
}

.roadmap-item--live .roadmap-item__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--red);
  color: var(--white);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.roadmap-item h3 { margin: 0.35rem 0 0.5rem; font-size: 1.1rem; }
.roadmap-item p { font-size: 0.9rem; color: rgba(245, 245, 245, 0.75); }

/* --- Coming Soon Card --- */
.coming-soon-card {
  padding: 2.5rem;
  background: var(--grey);
  border: 2px dashed var(--red);
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 800px;
  margin-inline: auto;
}

.coming-soon-card .eyebrow { margin-bottom: 0.5rem; }

.coming-soon-card__features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.coming-soon-card__tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  background: rgba(197, 45, 47, 0.12);
  border: 1px solid rgba(197, 45, 47, 0.3);
  border-radius: 4px;
  color: var(--light);
}

/* --- Process Flow --- */
.process-flow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 900px;
  margin-inline: auto;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.process-step__icon { width: 64px; height: 64px; margin: 0 auto 1rem; color: var(--red); }
.process-step h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.process-step p { font-size: 0.8rem; color: rgba(245, 245, 245, 0.7); }

.process-connector {
  flex-shrink: 0;
  width: 40px;
  margin-top: 28px;
  height: 3px;
  background: var(--road-dash);
  background-size: 20px 3px;
}

@media (max-width: 640px) {
  .process-flow { flex-direction: column; align-items: center; }
  .process-connector {
    width: 3px;
    height: 24px;
    margin: 0;
    background: var(--road-dash-v);
    background-size: 3px 20px;
  }
}

/* --- Fleet Gallery --- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.fleet-item {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--grey);
}

.fleet-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: none;
}

.fleet-item:hover img,
.fleet-item:focus-visible img { transform: scale(1.05); }

.fleet-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.75));
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  pointer-events: none;
}

.fleet-item__caption {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
}

.fleet-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--grey) 0%, #3a3a3a 50%, var(--grey) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 245, 245, 0.35);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .fleet-grid { grid-template-columns: 1fr; }
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox img { max-height: 85vh; border-radius: var(--radius); }

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.5rem;
}

.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--light);
  font-size: 0.9rem;
}

/* --- CTA Banner --- */
.cta-banner {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--grey) 0%, var(--ink) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(197, 45, 47, 0.2);
}

.cta-banner h2 { margin-bottom: 0.75rem; }
.cta-banner p { margin-bottom: 1.5rem; color: rgba(245, 245, 245, 0.8); }

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 3rem;
  background: linear-gradient(180deg, var(--grey) 0%, var(--ink) 100%);
  text-align: center;
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { max-width: 640px; margin-inline: auto; color: rgba(245, 245, 245, 0.85); }

/* --- Content Blocks --- */
.content-block { max-width: 800px; margin-inline: auto; }
.content-block h2 { margin: 2.5rem 0 1rem; }
.content-block h2:first-child { margin-top: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

/* --- Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 1.75rem;
  background: var(--grey);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--red);
}

.value-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.9rem; color: rgba(245, 245, 245, 0.8); }

@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* --- Industries --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.industry-card {
  padding: 2rem;
  background: var(--grey);
  border-radius: var(--radius-lg);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.industry-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: var(--red);
}

.industry-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.industry-card p { font-size: 0.9rem; color: rgba(245, 245, 245, 0.8); }

@media (max-width: 640px) {
  .industries-grid { grid-template-columns: 1fr; }
}

/* --- Service Detail --- */
.service-detail {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.service-detail:last-child { border-bottom: none; }

.service-detail__header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-detail__icon { width: 56px; height: 56px; color: var(--red); flex-shrink: 0; }

/* --- Contact / Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info__item svg { flex-shrink: 0; color: var(--red); }

.contact-info__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(245, 245, 245, 0.5);
  margin-bottom: 0.2rem;
}

.map-embed {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey);
  margin-top: 2rem;
}

.map-embed iframe { width: 100%; height: 100%; border: 0; }

.map-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.4);
}

.quote-form {
  background: var(--grey);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--light);
}

.form-group label .required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--light);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--red);
}

.form-error {
  font-size: 0.8rem;
  color: var(--red);
  margin-top: 0.35rem;
  display: none;
}

.form-group.has-error .form-error { display: block; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.is-visible { display: block; }

.form-success svg { width: 64px; height: 64px; color: var(--red); margin: 0 auto 1rem; }

.quote-form.is-submitted .form-fields { display: none; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* --- Safety Page --- */
.compliance-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.compliance-item {
  padding: 1.5rem;
  background: var(--grey);
  border-radius: var(--radius-lg);
}

.compliance-item h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.compliance-item p { font-size: 0.9rem; color: rgba(245, 245, 245, 0.8); }

@media (max-width: 640px) {
  .compliance-list { grid-template-columns: 1fr; }
}

/* --- Footer --- */
.site-footer {
  background: #111113;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.65);
  margin-top: 1rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-top: 0.5rem; }
.footer-col a { color: rgba(245, 245, 245, 0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: rgba(245, 245, 245, 0.45);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1500;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

/* --- Utility --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Critical hero inline support */
.hero--critical { min-height: 85vh; }
