/* =====================================================================
   OVANS CONSTRUCTION LTD — Stylesheet
   Construction • Transportation • Logistics
   ===================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand palette */
  --navy-900: #0a1626;
  --navy-800: #0f2237;
  --navy-700: #15304b;
  --navy-600: #1d3f5f;
  --charcoal: #222a33;
  --yellow: #f5b300;
  --yellow-dark: #d99a00;
  --orange: #e8590c;
  --white: #ffffff;
  --gray-100: #f4f6f8;
  --gray-200: #e7eaee;
  --gray-300: #c9d2dc;
  --gray-500: #6b7684;
  --gray-700: #454e59;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--gray-100);
  --text: var(--charcoal);
  --text-muted: var(--gray-700);
  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-muted: rgba(255, 255, 255, 0.68);
  --border: var(--gray-200);
  --accent: var(--yellow);
  --accent-contrast: var(--navy-900);

  /* Type */
  --font-heading: "Poppins", "Segoe UI", Arial, Helvetica, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(10, 22, 38, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 22, 38, 0.12);
  --shadow-lg: 0 20px 50px rgba(10, 22, 38, 0.22);
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 84px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

@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;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
svg { display: block; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.3px; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p { color: var(--text-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 64px 0; } }

img, svg { user-select: none; -webkit-user-drag: none; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--yellow);
  color: var(--navy-900);
  padding: 12px 18px;
  z-index: 2000;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- 3. Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

.text-on-dark .eyebrow { color: var(--yellow); }
.text-on-dark h1, .text-on-dark h2, .text-on-dark h3 { color: var(--white); }
.text-on-dark p { color: var(--text-on-dark-muted); }

.bg-navy { background: var(--navy-900); }
.bg-alt { background: var(--bg-alt); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.2px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--yellow); color: var(--navy-900); }
.btn-primary:hover { background: var(--yellow-dark); box-shadow: var(--shadow-md); }

.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-dark { border-color: var(--navy-800); color: var(--navy-900); }
.btn-outline-dark:hover { background: var(--navy-900); color: var(--white); }

.btn-ghost { display: inline-flex; align-items: center; color: var(--navy-800); font-weight: 700; padding: 8px 0; gap: 8px; }
.btn-ghost svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--transition); }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 20px; font-size: 0.9rem; }

/* ---------- 5. Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.site-header.is-solid {
  background: rgba(10, 22, 38, 0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  height: 74px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand .brand-mark-only { display: none; }

.nav-primary { display: flex; align-items: center; gap: 6px; }
.nav-primary a {
  position: relative;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text-on-dark);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-primary a:hover { color: var(--yellow); }
.nav-primary a.is-active { color: var(--yellow); }
.nav-primary a.is-active::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 12px 22px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--white);
  border-radius: var(--radius-sm);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 980px) {
  .nav-primary { position: fixed; inset: 74px 0 0 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy-900); padding: 12px 8px 32px; overflow-y: auto; transform: translateX(100%); transition: transform var(--transition); }
  .nav-open .nav-primary { transform: translateX(0); }
  .nav-primary a { padding: 16px 18px; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .header-actions .btn-outline { display: none; }
  .nav-primary .mobile-cta { display: block; margin: 18px 10px 0; }
  .nav-toggle { display: inline-flex; }
}
.mobile-cta { display: none; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--navy-900);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,16,26,0.75) 0%, rgba(10,16,26,0.55) 40%, rgba(10,16,26,0.92) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 24px); padding-bottom: 60px; }
.hero-content { max-width: 720px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(245, 179, 0, 0.14);
  border: 1px solid rgba(245, 179, 0, 0.4);
  color: var(--yellow);
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--yellow); }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-meta { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-meta div { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; }
.hero-meta svg { width: 20px; height: 20px; color: var(--yellow); flex-shrink: 0; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase;
  animation: bob 2.4s ease-in-out infinite;
}
.scroll-cue svg { width: 20px; height: 20px; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* Page (inner) hero — shorter, used on non-home pages */
.page-hero {
  position: relative;
  color: var(--white);
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 84px;
  overflow: hidden;
  background: var(--navy-900);
}
.page-hero .hero-media img { transform: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { max-width: 640px; font-size: 1.08rem; color: rgba(255,255,255,0.82); }

.breadcrumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumbs a { color: rgba(255,255,255,0.85); font-weight: 600; }
.breadcrumbs a:hover { color: var(--yellow); }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs .current { color: var(--yellow); }

/* ---------- 7. Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* Grid/flex children default to a min-content width equal to their
   largest unbreakable descendant (an <iframe>'s intrinsic size, a long
   word, etc.), which can silently push a track wider than its column and
   cause horizontal page overflow on narrow viewports. Reset it. */
.grid > *, .split > *, .showcase > *, .form-grid > *, .contact-grid > *,
.fleet-grid > *, .project-grid > *, .pillars-grid > *, .mv-grid > * {
  min-width: 0;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-card .card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--navy-800); }
.service-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.service-card:hover .card-media img { transform: scale(1.06); }
.service-card .card-icon {
  position: absolute; left: 18px; bottom: -22px;
  width: 54px; height: 54px;
  background: var(--yellow);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.service-card .card-icon svg { width: 28px; height: 28px; color: var(--navy-900); }
.service-card .card-body { padding: 40px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-bottom: 10px; font-size: 1.18rem; }
.service-card p { flex: 1; margin-bottom: 18px; font-size: 0.96rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
  color: var(--navy-800); letter-spacing: 0.3px;
}
.card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.card-link:hover { color: var(--orange); }
.card-link:hover svg { transform: translateX(4px); }

/* Why choose us */
.value-card {
  padding: 32px 26px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.value-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.value-card .icon-wrap svg { width: 28px; height: 28px; color: var(--yellow); }
.value-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.value-card p { font-size: 0.95rem; margin: 0; }

/* Stat strip (values computed, not invented) */
.stat-strip { display: flex; flex-wrap: wrap; gap: 40px; }
.stat { min-width: 140px; }
.stat .num { font-family: var(--font-heading); font-weight: 800; font-size: 2.4rem; color: var(--yellow); line-height: 1; }
.stat .label { margin-top: 8px; font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: rgba(255,255,255,0.75); letter-spacing: 0.3px; }

/* ---------- 8. Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; }
.split-media .badge-card {
  position: absolute; left: 24px; bottom: 24px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  max-width: 260px;
}
.split-media .badge-card svg { width: 34px; height: 34px; color: var(--yellow-dark); flex-shrink: 0; }
.split-media .badge-card strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; color: var(--navy-900); }
.split-media .badge-card span { font-size: 0.82rem; color: var(--text-muted); }

.check-list { margin-top: 24px; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--navy-800); }
.check-list svg { width: 20px; height: 20px; color: var(--yellow-dark); flex-shrink: 0; margin-top: 2px; }

/* Showcase split (home) */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--navy-900); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 820px) { .showcase { grid-template-columns: 1fr; } }
.showcase-panel { position: relative; min-height: 420px; display: flex; align-items: flex-end; padding: 40px; overflow: hidden; }
.showcase-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.showcase-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,22,38,0.15), rgba(10,22,38,0.92)); }
.showcase-panel:hover img { transform: scale(1.05); }
.showcase-panel .panel-content { position: relative; z-index: 1; color: var(--white); }
.showcase-panel .eyebrow { color: var(--yellow); }
.showcase-panel h3 { color: var(--white); margin-bottom: 10px; }
.showcase-panel p { color: rgba(255,255,255,0.78); margin-bottom: 16px; font-size: 0.95rem; }

/* ---------- 9. CTA ---------- */
.cta-section {
  position: relative;
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-inline: 24px;
  isolation: isolate;
}
.cta-section .cta-media { position: absolute; inset: 0; z-index: -1; }
.cta-section .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-section .cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,16,26,0.94) 20%, rgba(10,16,26,0.55) 100%); }
.cta-inner { padding: 76px 56px; max-width: 640px; }
.cta-inner h2 { color: var(--white); margin-bottom: 16px; }
.cta-inner p { font-size: 1.05rem; margin-bottom: 30px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 620px) { .cta-inner { padding: 48px 28px; } }

.cta-band { background: var(--navy-900); }
.cta-band .container.stack-wide { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-block: 56px; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; }

/* ---------- 10. Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card .quote-icon { width: 34px; height: 34px; color: var(--yellow); margin-bottom: 18px; }
.testimonial-card p.quote { color: var(--navy-800); font-size: 1.02rem; flex: 1; font-style: italic; }
.testimonial-card .stars { display: flex; gap: 4px; margin-top: 18px; }
.testimonial-card .stars svg { width: 16px; height: 16px; color: var(--yellow); }
.testimonial-card .author { margin-top: 14px; display: flex; align-items: center; gap: 12px; }
.testimonial-card .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy-900); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700;
}
.testimonial-card .author strong { display: block; font-size: 0.95rem; color: var(--navy-900); }
.testimonial-card .author span { font-size: 0.82rem; color: var(--text-muted); }
.testimonial-placeholder-note {
  margin-top: 40px;
  padding: 16px 20px;
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--bg-alt);
}

/* ---------- 11. Contact preview / cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--navy-800);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  color: var(--white);
}
.contact-card .icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: var(--yellow); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.contact-card .icon-wrap svg { width: 24px; height: 24px; color: var(--navy-900); }
.contact-card h4 { color: var(--white); margin-bottom: 8px; }
.contact-card p, .contact-card a { color: rgba(255,255,255,0.78); font-size: 0.94rem; }
.contact-card a:hover { color: var(--yellow); }

/* ---------- 12. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; color: var(--navy-900); }
.field .req { color: var(--orange); }
.field input, .field select, .field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.96rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--yellow-dark);
  box-shadow: 0 0 0 4px rgba(245, 179, 0, 0.18);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: 0.78rem; color: var(--gray-500); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--orange); }
.field .error-msg { display: none; font-size: 0.8rem; color: var(--orange); font-weight: 600; }
.field.has-error .error-msg { display: block; }

.contact-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
@media (max-width: 620px) { .contact-panel { padding: 28px; } }

.form-status {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
}
.form-status.success { display: block; background: #e7f7ec; color: #1c7a3f; border: 1px solid #b9e6c6; }
.form-status.error { display: block; background: #fdeceb; color: #b3311c; border: 1px solid #f5c3bb; }

/* Map placeholder */
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-placeholder {
  height: 420px;
  background: var(--navy-800);
  color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 32px;
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--yellow); }
.map-placeholder p { color: rgba(255,255,255,0.7); max-width: 380px; font-size: 0.9rem; }

/* ---------- 13. Projects / Portfolio ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-800);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--yellow-dark); }
.filter-btn.is-active { background: var(--navy-900); border-color: var(--navy-900); color: var(--yellow); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3.1;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-md); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.project-card:hover img { transform: scale(1.07); }
.project-card .project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,38,0) 30%, rgba(10,22,38,0.92) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
  color: var(--white);
}
.project-card .cat-tag {
  align-self: flex-start;
  background: var(--yellow);
  color: var(--navy-900);
  font-family: var(--font-heading); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.6px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  margin-bottom: auto;
}
.project-card h3 { color: var(--white); font-size: 1.08rem; margin-bottom: 4px; }
.project-card .loc { display: flex; align-items: center; gap: 6px; font-size: 0.84rem; color: rgba(255,255,255,0.75); margin-bottom: 12px; }
.project-card .loc svg { width: 14px; height: 14px; color: var(--yellow); }
.project-card .view-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem;
  color: var(--yellow); align-self: flex-start;
}
.project-card .view-btn svg { width: 16px; height: 16px; }

.project-card.is-placeholder { outline: 2px dashed var(--gray-300); outline-offset: -2px; }
.project-card.is-placeholder .cat-tag { background: var(--gray-300); color: var(--navy-800); }
.project-card.is-placeholder .project-overlay { background: linear-gradient(180deg, rgba(10,22,38,0.05) 20%, rgba(10,22,38,0.88) 100%); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(6, 10, 18, 0.92);
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox-inner { position: relative; max-width: 900px; width: 100%; background: var(--navy-900); border-radius: var(--radius-lg); overflow: hidden; }
.lightbox-inner img { width: 100%; max-height: 60vh; object-fit: cover; }
.lightbox-body { padding: 28px 32px 32px; color: var(--white); }
.lightbox-body .cat-tag { display: inline-block; background: var(--yellow); color: var(--navy-900); font-family: var(--font-heading); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.6px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.lightbox-body h3 { color: var(--white); margin-bottom: 10px; }
.lightbox-body p { color: rgba(255,255,255,0.75); }
.lightbox-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--yellow); color: var(--navy-900); }
.lightbox-close svg { width: 20px; height: 20px; }

/* ---------- 14. About page extras ---------- */
.pillars-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 980px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .pillars-grid { grid-template-columns: repeat(2, 1fr); } }
.pillar {
  text-align: center;
  padding: 26px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.pillar .icon-wrap { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.pillar .icon-wrap svg { width: 24px; height: 24px; color: var(--yellow-dark); }
.pillar h4 { font-size: 0.98rem; }

.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--gray-300); }
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -32px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--navy-900); }
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item .year { font-family: var(--font-heading); font-weight: 700; color: var(--yellow-dark); font-size: 0.85rem; letter-spacing: 0.5px; }

.mv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .mv-grid { grid-template-columns: 1fr; } }
.mv-card { background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: 34px; }
.mv-card .icon-wrap { width: 52px; height: 52px; border-radius: 14px; background: var(--yellow); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.mv-card .icon-wrap svg { width: 26px; height: 26px; color: var(--navy-900); }
.mv-card h3 { color: var(--white); margin-bottom: 12px; }
.mv-card p { color: rgba(255,255,255,0.78); margin: 0; }

/* ---------- 15. Services page ---------- */
.services-tabs { display: flex; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.services-category-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.services-category-head .icon-wrap { width: 50px; height: 50px; border-radius: 12px; background: var(--navy-900); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.services-category-head .icon-wrap svg { width: 26px; height: 26px; color: var(--yellow); }

.service-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  align-items: center;
}
@media (max-width: 760px) { .service-row { grid-template-columns: 1fr; } }
.service-row .row-media { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; }
.service-row .row-media img { width: 100%; height: 100%; object-fit: cover; }
.service-row .row-body h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.service-row .row-body h3 svg { width: 22px; height: 22px; color: var(--yellow-dark); flex-shrink: 0; }
.service-row .row-body p { margin-bottom: 16px; }

.editable-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; color: var(--gray-500);
  border: 1px dashed var(--gray-300); border-radius: 999px;
  padding: 5px 12px; margin-top: 14px;
}

/* ---------- 16. Fleet ---------- */
.fleet-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .fleet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fleet-grid { grid-template-columns: 1fr; } }
.fleet-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.fleet-card .fleet-media { aspect-ratio: 4/3; overflow: hidden; background: var(--navy-900); }
.fleet-card .fleet-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.fleet-card:hover .fleet-media img { transform: scale(1.06); }
.fleet-card .fleet-body { padding: 20px; }
.fleet-card h4 { margin-bottom: 6px; }
.fleet-card p { font-size: 0.88rem; margin: 0; }

/* ---------- 17. FAQ / accordion (used on services or contact) ---------- */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px;
  text-align: left;
  font-family: var(--font-heading); font-weight: 700; color: var(--navy-900);
}
.accordion-trigger svg { width: 20px; height: 20px; color: var(--yellow-dark); flex-shrink: 0; transition: transform var(--transition); }
.accordion-item.is-open .accordion-trigger svg { transform: rotate(180deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.accordion-panel p { padding: 0 4px 20px; margin: 0; }

/* ---------- 18. Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); }
.footer-top { padding: 72px 0 48px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 42px; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.92rem; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.footer-social a svg { width: 17px; height: 17px; color: var(--white); }
.footer-social a:hover { background: var(--yellow); }
.footer-social a:hover svg { color: var(--navy-900); }

.footer-col h4 { color: var(--white); font-size: 0.95rem; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.93rem; color: rgba(255,255,255,0.68); transition: color var(--transition); }
.footer-col a:hover { color: var(--yellow); }
.footer-col .contact-line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: rgba(255,255,255,0.68); }
.footer-col .contact-line svg { width: 17px; height: 17px; color: var(--yellow); flex-shrink: 0; margin-top: 2px; }
.footer-col .contact-line + .contact-line { margin-top: 12px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- 19. Floating UI: back-to-top, whatsapp ---------- */
.float-stack { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), opacity var(--transition);
}
.float-btn:hover { transform: translateY(-3px); }
.whatsapp-btn { background: #25d366; color: var(--white); }
.whatsapp-btn svg { width: 26px; height: 26px; }
.to-top-btn { background: var(--navy-900); color: var(--yellow); opacity: 0; pointer-events: none; transform: translateY(10px); }
.to-top-btn.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top-btn svg { width: 22px; height: 22px; }

/* ---------- 20. Reveal animation ----------
   Content must never depend on JavaScript to become visible (no-JS
   visitors, search crawlers, and headless tools all need the full page).
   The hidden starting state is therefore scoped to html.js, a class set
   by an inline script at the top of <body>; without it every .reveal
   element is simply shown, and with it main.js progressively reveals
   sections as they scroll into view. */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms ease, transform 700ms ease; }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 80ms; }
.reveal-2 { transition-delay: 160ms; }
.reveal-3 { transition-delay: 240ms; }
.reveal-4 { transition-delay: 320ms; }

/* ---------- 21. Misc pages: careers-style banner reused / logos strip ---------- */
.divider-line { height: 1px; background: var(--border); }

.two-col-text { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; }
@media (max-width: 760px) { .two-col-text { grid-template-columns: 1fr; } }

.badge-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--bg-alt); border: 1px solid var(--border);
  font-size: 0.86rem; font-weight: 600; color: var(--navy-800);
}
.badge-pill svg { width: 16px; height: 16px; color: var(--yellow-dark); }

/* ---------- 22. Print ---------- */
@media print {
  .site-header, .float-stack, .lightbox, .site-footer .footer-social { display: none; }
}
