/* ==========================================================================
   REVA Logistics — site styles.  Navy + orange. Poppins headings / Inter body.
   ========================================================================== */
:root {
  --ink: #0f1f3d;
  --brand: #123a6b;
  --brand-dark: #0c2748;
  --accent: #ff6a2b;
  --accent-dark: #e6551b;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-navy: #0e2036;
  --muted: #5b6b82;
  --line: #e3e9f2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(15, 31, 61, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 31, 61, 0.16);
  --maxw: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4 { font-family: 'Poppins', system-ui, sans-serif; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; }
img, svg { max-width: 100%; }
img { display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 82px 0; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: var(--bg-navy); color: #dfe8f3; }
.section.navy h2, .section.navy h3 { color: #fff; }
/* Client-side pages: hidden by default; the router shows one. Without JS, the
   first page (home) still shows as a graceful fallback. */
.spa-page { display: none; }
.spa-page:first-of-type { display: block; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 62ch; margin: 0 auto 2.6rem; }

/* ---- Buttons ------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: .98rem; padding: .85rem 1.5rem; border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(255,106,43,.32); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* ---- Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.brand { display: flex; align-items: baseline; gap: .4rem; }
.brand-mark { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.55rem; color: var(--ink); letter-spacing: -.02em; }
.brand-sub { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .66rem; letter-spacing: .28em; color: var(--muted); }
.logo-img { height: 78px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-weight: 500; color: var(--ink); font-size: .95rem; position: relative; }
.nav a:not(.nav-cta):hover, .nav a.active:not(.nav-cta) { color: var(--brand); }
.nav a.active:not(.nav-cta)::after { content:""; position:absolute; left:0; right:0; bottom:-8px; height:3px; background: var(--accent); border-radius:2px; }
.nav-cta { background: var(--accent); color:#fff !important; padding:.6rem 1.2rem; border-radius:8px; font-weight:600; }
.nav-cta:hover { background: var(--accent-dark); }
.nav-toggle { display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span { width:24px; height:2px; background: var(--ink); border-radius:2px; }

/* ---- Hero (split: copy + media) ---------------------------------------- */
.hero { background:
    linear-gradient(120deg, rgba(9,20,36,.96), rgba(14,32,54,.9)),
    radial-gradient(1000px 460px at 90% -20%, rgba(255,106,43,.28), transparent 60%);
  background-color: var(--bg-navy); color:#eaf1fb; padding: 78px 0 84px; }
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items:center; }
.hero h1 { color:#fff; }
.hero h1 .accent { color: var(--accent); display:block; }
.hero p { color:#c6d4e8; font-size:1.15rem; max-width:46ch; }
.hero-actions { display:flex; flex-wrap:wrap; gap:1rem; margin-top:1.8rem; }
.hero-badges { display:flex; flex-wrap:wrap; gap:.55rem; margin-bottom:1.3rem; }
.badge { font-size:.8rem; font-weight:600; padding:.35rem .8rem; border-radius:999px;
  background: rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18); color:#dbe6f5; }
.hero-media { min-height: 320px; }

/* ---- Image placeholder -------------------------------------------------- */
.img-ph { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.35rem;
  min-height: 260px; border-radius: var(--radius); text-align:center; padding:1.5rem;
  background: repeating-linear-gradient(45deg, #eef2f8, #eef2f8 12px, #e7edf6 12px, #e7edf6 24px);
  border: 1px dashed #c3cfe0; color: var(--muted); }
.img-ph-ic { font-size: 2rem; }
.img-ph-label { font-family:'Poppins',sans-serif; font-weight:600; color: var(--brand); }
.img-ph-note { font-size:.8rem; color:#8494ab; }
.asset-img { border-radius: var(--radius); width:100%; height:100%; object-fit:cover; }
.hero-media .img-ph, .hero-media .asset-img { min-height: 320px; height:100%; }

/* ---- Cards / grids ------------------------------------------------------ */
.grid { display:grid; gap:1.5rem; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:1.7rem;
  box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; text-align:center; }
.card.left { text-align:left; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ic { width:52px; height:52px; border-radius:14px; display:grid; place-items:center; margin:0 auto 1rem;
  background: rgba(255,106,43,.12); color: var(--accent); font-size:1.5rem; }
.card.left .ic { margin-left:0; }
.card h3 { margin-bottom:.4rem; }
.card p { color: var(--muted); margin:0; font-size:.95rem; }

/* ---- Split -------------------------------------------------------------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap:3rem; align-items:center; }
.split.wide-left { grid-template-columns: 1.05fr .95fr; }
.panel { background:var(--bg-soft); border:1px solid var(--line); border-radius:var(--radius); padding:2rem; }

/* ---- Check lists -------------------------------------------------------- */
.checklist { list-style:none; padding:0; margin:1.2rem 0 0; display:grid; gap:.85rem; }
.checklist li { display:flex; gap:.7rem; align-items:flex-start; }
.checklist li::before { content:"✓"; color:#fff; background:var(--accent); width:20px; height:20px; border-radius:50%;
  display:inline-grid; place-items:center; font-size:.72rem; font-weight:800; flex:0 0 auto; margin-top:2px; }

/* ---- Stats row ---------------------------------------------------------- */
.stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }
.stat { display:flex; gap:1rem; align-items:flex-start; }
.stat .s-ic { width:46px; height:46px; border-radius:12px; display:grid; place-items:center; flex:0 0 auto;
  background:#eef2f8; color:var(--brand); font-size:1.3rem; }
.stat .num { font-family:'Poppins',sans-serif; font-weight:800; font-size:1.7rem; color:var(--accent); line-height:1.05; }
.stat .label { font-size:.9rem; color:var(--muted); }

/* ---- Testimonials ------------------------------------------------------- */
.quote { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:1.7rem; box-shadow:var(--shadow); }
.quote .mark { color:var(--accent); font-family:Georgia,serif; font-size:2.4rem; line-height:0; display:block; height:16px; }
.quote p { font-size:1rem; color:var(--ink); }
.quote .who { display:flex; align-items:center; gap:.8rem; margin-top:1rem; }
.avatar { width:46px; height:46px; border-radius:50%; flex:0 0 auto; background:linear-gradient(135deg,var(--brand),var(--accent));
  color:#fff; display:grid; place-items:center; font-family:'Poppins',sans-serif; font-weight:700; }
.who .name { font-weight:600; font-size:.95rem; }
.who .role { color:var(--muted); font-size:.85rem; }

/* ---- CTA bands ---------------------------------------------------------- */
.cta-inline { background: var(--bg-navy); color:#fff; border-radius:0; }
.cta-inline .wrap { display:flex; align-items:center; justify-content:space-between; gap:2rem; flex-wrap:wrap; padding-top:0; padding-bottom:0; }
.cta-inline .cta-copy { display:flex; align-items:center; gap:1.2rem; }
.cta-inline .cta-ic { color:var(--accent); font-size:2rem; }
.cta-inline h2 { color:#fff; margin:0; }
.cta-inline p { color:#c6d4e8; margin:.2rem 0 0; }
.cta-band { background: linear-gradient(120deg,var(--brand),var(--brand-dark)); color:#fff; border-radius:20px;
  padding:3rem; text-align:center; box-shadow:var(--shadow-lg); }
.cta-band h2 { color:#fff; }
.cta-band p { color:#cfe0f5; max-width:52ch; margin-inline:auto; }

/* ---- Day in the life (timeline) ---------------------------------------- */
.daytimeline { display:grid; grid-template-columns:repeat(5,1fr); gap:1rem; margin-top:2rem; position:relative; }
.daytimeline::before { content:""; position:absolute; top:26px; left:8%; right:8%; height:3px; background:var(--line); z-index:0; }
.day-step { text-align:center; position:relative; z-index:1; }
.day-step .dot { width:54px; height:54px; border-radius:50%; margin:0 auto .9rem; display:grid; place-items:center;
  background:var(--accent); color:#fff; font-size:1.3rem; box-shadow:0 0 0 5px #fff, 0 6px 16px rgba(255,106,43,.28); }
.day-step .time { font-family:'Poppins',sans-serif; font-weight:700; color:var(--brand); font-size:.86rem; }
.day-step h3 { font-size:1rem; margin:.15rem 0 .3rem; }
.day-step p { font-size:.86rem; color:var(--muted); margin:0; }

/* ---- FAQ accordion ------------------------------------------------------ */
.faq-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:2rem; }
.faq { background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); box-shadow:var(--shadow); }
.faq summary { list-style:none; cursor:pointer; padding:1.1rem 1.3rem; font-weight:600; font-family:'Poppins',sans-serif;
  display:flex; justify-content:space-between; align-items:center; gap:1rem; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"⌄"; color:var(--accent); font-size:1.4rem; line-height:1; transition:transform .2s; }
.faq[open] summary::after { transform:rotate(180deg); }
.faq .faq-body { padding:0 1.3rem 1.2rem; color:var(--muted); font-size:.95rem; }

/* ---- Leadership --------------------------------------------------------- */
.leader { display:grid; grid-template-columns:140px 1fr; gap:1.5rem; align-items:center; background:#fff;
  border:1px solid var(--line); border-radius:var(--radius); padding:1.6rem; box-shadow:var(--shadow); }
.leader .lead-photo { width:140px; height:140px; }
.leader .lead-photo .img-ph { min-height:140px; border-radius:12px; }
.leader .lead-photo .asset-img { height:140px; border-radius:12px; }
.leader h3 { margin-bottom:.1rem; }
.leader .role { color:var(--accent); font-weight:600; font-size:.9rem; margin-bottom:.5rem; }
.leader p { color:var(--muted); font-size:.93rem; margin:0; }

/* ---- Community feature row --------------------------------------------- */
.feature-row { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; margin-top:1.5rem; }
.feature { display:flex; gap:.9rem; align-items:flex-start; }
.feature .f-ic { color:var(--accent); font-size:1.6rem; flex:0 0 auto; }
.feature p { margin:0; font-weight:500; }

/* ---- Forms -------------------------------------------------------------- */
.form { display:grid; gap:1.1rem; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:1.1rem; }
.field { display:grid; gap:.35rem; }
.field label { font-weight:600; font-size:.9rem; }
.field input, .field textarea, .field select { font:inherit; padding:.8rem .9rem; border:1px solid var(--line);
  border-radius:var(--radius-sm); background:#fff; color:var(--ink); transition:border .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(255,106,43,.15); }
.field textarea { min-height:130px; resize:vertical; }
.form-note { font-size:.85rem; color:var(--muted); }
.form-status { font-weight:600; padding:.8rem 1rem; border-radius:var(--radius-sm); display:none; }
.form-status.show { display:block; }
.form-status.ok { background:#e7f7ec; color:#1a7f37; }
.form-status.err { background:#fdecec; color:#c0392b; }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background:var(--bg-navy); color:#b9c7db; padding:56px 0 26px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1.2fr 1fr; gap:2rem; }
.footer-logo .brand-mark { color:#fff; }
.footer-logo .brand-sub { color:#8aa0bd; }
.footer-tag { margin-top:.9rem; max-width:36ch; color:#93a4bd; font-size:.92rem; }
.footer-logo-white { line-height:0; }
.footer-logo-white .logo-img { height:75px; }
.footer-col h4 { color:#fff; font-size:.95rem; margin-bottom:1rem; }
.footer-col a, .footer-muted { display:block; color:#b9c7db; font-size:.92rem; margin-bottom:.55rem; }
.footer-col a:hover { color:var(--accent); }
.footer-muted { color:#7d8ea7; }
.social { display:flex; gap:.6rem; }
.social-ic { width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); color:#dbe6f5 !important;
  display:grid !important; place-items:center; margin:0 !important; transition:background .15s; }
.social-ic:hover { background:var(--accent); color:#fff !important; }
.footer-bottom { display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-top:2.5rem;
  padding-top:1.4rem; border-top:1px solid rgba(255,255,255,.1); font-size:.85rem; color:#8698b2; }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns:repeat(2,1fr); }
  .stats-row { grid-template-columns:repeat(2,1fr); }
  .daytimeline { grid-template-columns:repeat(2,1fr); }
  .daytimeline::before { display:none; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-grid, .split, .split.wide-left { grid-template-columns:1fr; gap:2rem; }
  .grid-3, .grid-2 { grid-template-columns:1fr; }
  .faq-grid { grid-template-columns:1fr; }
  .feature-row { grid-template-columns:1fr; gap:1.2rem; }
  .leader { grid-template-columns:1fr; text-align:center; justify-items:center; }
  .form-row { grid-template-columns:1fr; }
  .cta-inline .wrap { flex-direction:column; text-align:center; }
  .cta-inline .cta-copy { flex-direction:column; }
}
@media (max-width: 640px) {
  .section { padding:58px 0; }
  .nav-toggle { display:flex; }
  .nav { position:absolute; top:90px; left:0; right:0; flex-direction:column; align-items:stretch; gap:0;
    background:#fff; border-bottom:1px solid var(--line); padding:.5rem 24px 1rem; box-shadow:var(--shadow); display:none; }
  .nav.open { display:flex; }
  .nav a { padding:.75rem 0; border-bottom:1px solid var(--line); }
  .nav a.active:not(.nav-cta)::after { display:none; }
  .nav-cta { text-align:center; margin-top:.6rem; }
  .grid-4, .stats-row { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; }
  .cta-band { padding:2rem 1.4rem; }
}
/* live-site fallback for empty image slots */
.brand-fill{background:linear-gradient(135deg,var(--brand),var(--accent));}
.hero-media .brand-fill{min-height:320px;height:100%;border-radius:var(--radius);}
