/* ===================================================================
   R-Sri Logistics — Shared Stylesheet
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color tokens */
  --navy-deep: #101c29;
  --navy: #172c45;
  --navy-panel: #1f3a5c;
  --orange: #e8632a;
  --orange-dark: #c94f1e;
  --fog: #f4f5f7;
  --white: #ffffff;
  --ink: #16232f;
  --steel: #5c6b7a;
  --steel-light: #8b97a3;
  --line: #2c4463;
  --line-light: #e0e4e9;

  /* Type */
  --font-head: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.4rem; font-weight: 700; }

p { margin: 0 0 1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  color: var(--orange);
  margin-bottom: 0.9em;
}

.lede {
  font-size: 1.15rem;
  color: var(--steel);
  max-width: 60ch;
}

.on-dark .lede { color: #c3cedb; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 0; }
@media (max-width: 700px) { section { padding: 56px 0; } }

/* ---------- Scroll reveal ---------- */
.card, .leader-card, .section-head, .faq-item, .process-item, .contact-info-item, .hero-grid > div {
  transition: opacity 0.6s ease, transform 0.45s ease;
}
.card, .leader-card {
  transition: opacity 0.6s ease, transform 0.45s ease, box-shadow 0.3s ease;
}
body.js-reveal-enabled .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Header scroll shadow ---------- */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,0.28); }

/* ---------- Hero route animation ---------- */
.hero-route path { animation: dashFlow 2.8s linear infinite; }
@keyframes dashFlow { to { stroke-dashoffset: -120; } }
.pulse-dot { animation: pulseDot 1.8s ease-in-out infinite; transform-origin: center; }
@keyframes pulseDot {
  0%, 100% { r: 7; opacity: 1; }
  50% { r: 9.5; opacity: 0.55; }
}

.bg-dark { background: var(--navy); color: var(--white); }
.bg-navy-deep { background: var(--navy-deep); color: var(--white); }
.bg-fog { background: var(--fog); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  padding: 14px 28px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.on-light .btn-outline:hover { background: rgba(23,44,69,0.06); }
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 11px 20px;
  gap: 8px;
}
.btn-whatsapp:hover { background: #1ebe5b; }
.btn-whatsapp svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.3px;
  line-height: 1;
}
.brand-word span { color: var(--orange); }
.brand-mark-img { height: 42px; width: auto; display: block; }
.brand-word-img { height: 21px; width: auto; display: block; }
.footer-brand .brand-mark-img { height: 50px; }
.footer-brand .brand-word-img { height: 25px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  color: #d7dee6;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--white);
  border-color: var(--orange);
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none; border: none; color: var(--white);
  cursor: pointer; padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a { width: 100%; padding: 14px 28px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { border-left-color: var(--orange); border-bottom-color: var(--line); }
  .nav-cta .btn-primary { display: none; }
  .nav-cta .btn-whatsapp span { display: none; }
  .nav-cta .btn-whatsapp { padding: 10px; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-tag {
  font-family: var(--font-head);
  font-weight: 800;
  font-style: italic;
  color: var(--orange);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  display: block;
  margin-top: 0.15em;
}
.hero-meta {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  flex-wrap: wrap;
  color: #b9c4d0;
  font-size: 0.95rem;
}
.hero-meta strong { color: var(--white); }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; }
.hero-route {
  position: relative;
  height: 340px;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-route { height: 220px; order: -1; }
}

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--navy-panel);
  color: var(--white);
  padding: 44px 0;
}
.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--orange);
  line-height: 1;
}
.stat-label { color: #cad4de; font-size: 0.92rem; margin-top: 8px; }
@media (max-width: 700px) {
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Grids / cards ---------- */
.grid {
  display: grid;
  gap: 30px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: 4px;
  padding: 30px 26px;
}
.bg-dark .card, .bg-navy-deep .card {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
}
.card-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(232,99,42,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 22px; height: 22px; stroke: var(--orange); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--steel); margin-bottom: 0; font-size: 0.97rem; }
.bg-dark .card p, .bg-navy-deep .card p { color: #b9c4d0; }
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 26px rgba(16,28,41,0.12); }
.bg-dark .card:hover, .bg-navy-deep .card:hover { box-shadow: 0 12px 26px rgba(0,0,0,0.4); }

/* ---------- Numbered process ---------- */
.process-list { counter-reset: step; display: grid; gap: 26px; }
.process-item { display: flex; gap: 20px; align-items: flex-start; }
.process-num {
  counter-increment: step;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 50%;
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.process-num::before { content: counter(step); }

/* ---------- Comparison table ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.compare-col { padding: 34px 30px; }
.compare-col.other { background: rgba(255,255,255,0.03); }
.compare-col.rsri { background: rgba(232,99,42,0.09); }
.compare-col h3 { margin-bottom: 20px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li { display: flex; gap: 10px; padding: 9px 0; font-size: 0.98rem; color: #c3cedb; }
.compare-col.rsri li { color: #eef1f4; }
.compare-mark { flex-shrink: 0; font-weight: 700; }
.compare-col.other .compare-mark { color: #7c8a99; }
.compare-col.rsri .compare-mark { color: var(--orange); }
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Leadership ---------- */
.leader-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 30px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.leader-initials {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.leader-role { color: var(--orange); font-weight: 600; font-size: 0.92rem; margin-bottom: 10px; }
.leader-contact { margin-top: 14px; font-size: 0.92rem; color: #b9c4d0; }
.leader-contact div { margin-bottom: 4px; }
.leader-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,0.35); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line-light); padding: 22px 0; }
.faq-item h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--navy); }
.faq-item p { color: var(--steel); margin: 0; }

.tag {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line-light);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
}
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .card-icon { flex-shrink: 0; margin-bottom: 0; }
.contact-info-item h4 { margin: 0 0 4px; font-family: var(--font-body); font-weight: 700; font-size: 1rem; }
.contact-info-item p { margin: 0; color: var(--steel); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c4d0; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.3px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.94rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-tagline { color: var(--orange); font-family: var(--font-head); font-weight: 700; font-style: italic; }
.legal-bar {
  border-top: 1px solid var(--line);
  padding: 16px 0 26px;
  font-size: 0.78rem;
  color: #7c8a99;
  line-height: 1.7;
}
.legal-bar a { color: #9aa6b2; text-decoration: underline; }
.legal-bar a:hover { color: #fff; }
.whatsapp-float { display: none; }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--navy-deep);
  color: var(--white);
  padding: 70px 0 60px;
}
.page-header .eyebrow { color: var(--orange); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
