/* =========================================================
   GRAMEX LOGISTICS — STYLESHEET
   Palette: White #FFFFFF / Gold #C9962E / Deep Gold #8C6D1F / Cream #FBF8F1 (dark brown-black only as a small accent)
            Gold #C9962E / Deep Gold #8C6D1F
   Type: 'Space Grotesk' (display) + 'Inter' (body)
   ========================================================= */

:root {
  --black: #0A0A0A;
  --charcoal: #141414;
  --charcoal-2: #1D1D1D;
  --white: #FFFFFF;
  --off-white: #F7F6F2;
  --gold: #C9962E;
  --gold-light: #E0B54F;
  --gold-deep: #8C6D1F;
  --gray-600: #6B6B6B;
  --gray-300: #D9D7D0;
  --border: rgba(255,255,255,0.10);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --max-width: 1200px;
  --radius: 10px;
  --radius-sm: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* =========================================================
   ANIMATION SYSTEM
   Scroll-reveal, marquee, float, parallax. GPU-cheap:
   opacity + transform only. Respects prefers-reduced-motion.
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.reveal-left { transform: translateX(-36px); }
.reveal.reveal-right { transform: translateX(36px); }
.reveal.reveal-scale { transform: scale(0.96); }

.reveal.in-view {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-el { animation: floaty 5s ease-in-out infinite; }

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.16; }
  50% { transform: scale(1.12); opacity: 0.26; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Marquee — two identical tracks placed edge to edge, shifted by -50% */
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track.marquee-reverse { animation-direction: reverse; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .float-el { animation: none !important; }
  .marquee-track { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h3 { letter-spacing: -0.01em; }
h4 { letter-spacing: -0.005em; }

section { padding: 96px 0; scroll-margin-top: 90px; }

@media (max-width: 768px) {
  section { padding: 64px 0; }
}

/* ---------- Buttons ---------- */

/* Defensive stacking-context fix: guarantees these tap targets always sit
   above any neighboring element, even in an unusual stacking context. */
.btn,
.header-actions,
.hero-actions,
.nav-toggle,
.main-nav {
  position: relative;
  z-index: 5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:active { transform: scale(0.97); }

.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201,150,46,0.28); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: rgba(10,10,10,0.25);
}
.btn-outline-dark:hover { border-color: var(--gold-deep); color: var(--gold-deep); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo span { color: var(--gold); }

.logo img { height: 60px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 34px;
}

.main-nav a {
  position: relative;
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -8px -10px -8px 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 480px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 20px; }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-toggle { display: flex; }
  .header-actions .btn-gold { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--black) 0%, var(--charcoal) 100%);
  color: var(--white);
  padding: 200px 0 120px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(201,150,46,0.16) 0%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 7s ease-in-out infinite;
  will-change: transform, opacity;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero-stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.stat-item {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stat-item.in-view {
  opacity: 1;
  transform: translateX(0);
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.hero-stats div span {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.01em;
}

.hero-visual-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  border: 1px solid var(--border);
}

.hero-visual {
  position: absolute;
  top: -60px; bottom: -60px; left: 0; right: 0;
  background: var(--charcoal-2) url('../images/hero-truck.jpg') center/cover;
  transform: translateY(var(--parallax-y, 0px));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-visual-wrap:hover .hero-visual { transform: translateY(var(--parallax-y, 0px)) scale(1.04); }

.hero-visual-wrap .tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(10,10,10,0.85);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--white);
}
.hero-visual-wrap .tag strong { color: var(--gold); display: block; font-family: var(--font-display); font-size: 1.1rem; }

@media (max-width: 900px) {
  .hero { padding: 150px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; row-gap: 20px; }
  .hero-visual-wrap { aspect-ratio: 16/10; }
}

/* ---------- Section heading ---------- */

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head .kicker {
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.section-head p { color: var(--gray-600); margin-top: 14px; font-size: 1.02rem; }

.section-dark .section-head .kicker { color: var(--gold); }
.section-dark .section-head p { color: rgba(255,255,255,0.65); }

/* ---------- Services preview ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 26px;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(10,10,10,0.08);
}

.service-card .icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .icon { transform: scale(1.1) rotate(-4deg); }

.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 16px; }
.service-card a {
  position: relative;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.9rem;
  transition: letter-spacing 0.25s ease;
}
.service-card a:hover { letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Insights / Blog ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  display: block;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}
.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(10,10,10,0.08);
}

.blog-card-img {
  height: 190px;
  overflow: hidden;
  background: var(--gray-100, #eee);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body { padding: 24px 22px; }

.blog-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}

.blog-card-body h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--charcoal); line-height: 1.35; }
.blog-card-body p { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 16px; }

.blog-card-link {
  position: relative;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.9rem;
  transition: letter-spacing 0.25s ease;
}
.blog-card:hover .blog-card-link { letter-spacing: 0.02em; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Insight post (full article, inline on homepage) ---------- */

.insight-post { padding: 70px 0; background: var(--white); }
.insight-post.alt { background: var(--off-white); }

.article-wrap { max-width: 760px; margin: 0 auto; }
.insight-post .kicker { color: var(--gold-deep); font-weight: 600; font-size: 0.85rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
.insight-post h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; }

.share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.share-label { color: var(--gray-600); font-size: 0.88rem; font-weight: 600; margin-right: 2px; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(10,10,10,0.12);
  border-radius: 50%;
  background: var(--white);
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.share-btn svg { width: 17px; height: 17px; display: block; }
.share-btn:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.share-btn.copied { border-color: var(--gold); color: var(--gold-deep); }

/* ---------- Why choose us ---------- */

.section-dark {
  background: var(--black);
  color: var(--white);
}

/* ---------- What makes Gramex different (icon list + image collage) ---------- */

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.diff-list { display: flex; flex-direction: column; }

.diff-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(10,10,10,0.08);
}
.diff-item:first-child { border-top: none; padding-top: 0; }

.diff-icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.diff-item h3 { font-size: 1.08rem; margin-bottom: 8px; }
.diff-item p { color: var(--gray-600); font-size: 0.93rem; }

.diff-collage {
  position: relative;
  aspect-ratio: 4 / 3.6;
}
.diff-collage-main {
  position: absolute;
  top: 0; right: 0; bottom: 14%; left: 12%;
  border-radius: var(--radius);
  background: var(--charcoal-2) center/cover no-repeat;
  border: 1px solid var(--border);
}
.diff-collage-small {
  position: absolute;
  left: -4%; bottom: -6%;
  width: 54%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--charcoal-2) center/cover no-repeat;
  border: 5px solid var(--white);
  box-shadow: 0 20px 40px rgba(10,10,10,0.18);
}

@media (max-width: 900px) {
  .diff-grid { grid-template-columns: 1fr; }
  .diff-collage { order: -1; margin-bottom: 8px; }
}

/* ---------- How it works ---------- */

.flow-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.flow-step {
  text-align: left;
  padding-top: 20px;
  border-top: 2px solid var(--gold);
}

.flow-step .step-num {
  font-family: var(--font-display);
  color: var(--gold-deep);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.flow-step h4 { font-size: 1rem; margin-bottom: 6px; }
.flow-step p { font-size: 0.87rem; color: var(--gray-600); }

@media (max-width: 900px) {
  .flow-row { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}

/* ---------- Calculator ---------- */

.calc-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

/* About section reuses .calc-panel but wants an even 50/50 split on desktop */
.about-panel { grid-template-columns: 1fr 1fr; }

.calc-info {
  background: var(--charcoal);
  color: var(--white);
  padding: 44px 36px;
}

.calc-info h3 { font-size: 1.4rem; margin-bottom: 16px; }
.calc-info p { color: rgba(255,255,255,0.68); font-size: 0.95rem; margin-bottom: 24px; }

.calc-info ul li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.calc-info ul li:first-child { border-top: none; }
.calc-info ul li strong { color: var(--gold); margin-right: 6px; }

.calc-form { padding: 34px 30px; background: var(--off-white); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 13px; }

.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 13px; }
.form-row .field { margin-bottom: 0; }

.field.has-icon { position: relative; }
.field.has-icon input { padding-left: 40px; }
.field.has-icon .field-icon {
  position: absolute;
  left: 13px;
  bottom: 13px;
  font-size: 0.95rem;
  opacity: 0.45;
  pointer-events: none;
}

.field label { font-size: 0.85rem; font-weight: 600; color: var(--charcoal); }

.field input, .field select, .field textarea {
  padding: 12px 13px;
  border: 1px solid rgba(10,10,10,0.16);
  border-radius: var(--radius);
  font-family: var(--font-body);
  /* 16px minimum stops iOS Safari from auto-zooming the page on focus */
  font-size: 16px;
  background: var(--white);
  color: var(--charcoal);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.calc-result {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px dashed var(--gold-deep);
  display: none;
}
.calc-result.show { display: block; }
.calc-result .amount {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-deep);
}
.calc-result p { font-size: 0.85rem; color: var(--gray-600); margin-top: 6px; }

@media (max-width: 900px) {
  .calc-panel, .about-panel { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Coverage ---------- */

.coverage-map {
  max-width: 900px;
  margin: 36px auto 10px;
}
.coverage-map svg { display: block; width: 100%; height: auto; }

@media (max-width: 600px) {
  .coverage-map svg text { font-size: 11px; }
}

.coverage-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.coverage-list span {
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.8);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.coverage-stats {
  display: flex;
  gap: 50px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.coverage-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.coverage-stats span { font-size: 0.85rem; color: rgba(255,255,255,0.6); letter-spacing: 0.01em; }

@media (max-width: 600px) {
  .coverage-stats { flex-wrap: wrap; gap: 28px 40px; }
}

/* ---------- Testimonials ---------- */

.review-marquee { margin: 0 -24px; padding: 4px 0 8px; }
.review-marquee .marquee-track { gap: 18px; align-items: stretch; animation-duration: 42s; }

.review-empty {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed rgba(10,10,10,0.15);
  border-radius: var(--radius);
  color: var(--gray-600);
  font-size: 0.98rem;
}

.review-card {
  flex: 0 0 260px;
  width: 260px;
  padding: 18px 20px;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(10,10,10,0.07);
  border-color: rgba(201,150,46,0.35);
}

/* Star rating: two layered star rows, top row clipped to the rating percentage
   so fractional ratings like 4.5 render as an accurately half-filled star. */
.review-stars {
  position: relative;
  display: inline-block;
  font-size: 0.82rem;
  line-height: 1;
  margin-bottom: 9px;
  color: rgba(10,10,10,0.16);
}
.review-stars::before { content: "★★★★★"; }
.review-stars::after {
  content: "★★★★★";
  position: absolute;
  top: 0; left: 0;
  width: calc(var(--rating, 5) / 5 * 100%);
  overflow: hidden;
  white-space: nowrap;
  color: var(--gold);
}
.review-card p.text {
  font-size: 0.84rem;
  color: var(--charcoal);
  margin-bottom: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-person { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  flex-shrink: 0;
  background: var(--black); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-person strong { display: block; font-size: 0.85rem; }
.review-person span { font-size: 0.74rem; color: var(--gray-600); }

.review-footer {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 600px) {
  .review-card { flex-basis: 220px; width: 220px; }
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--charcoal) center/cover no-repeat;
  color: var(--black);
  padding: 72px 0;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(140,109,31,0.93), rgba(201,150,46,0.88), rgba(140,109,31,0.93));
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.cta-band p { max-width: 50ch; margin: 0 auto 30px; color: rgba(10,10,10,0.75); }
.cta-band .btn-outline-dark { border-color: rgba(10,10,10,0.4); }

/* ---------- Legal pages (Terms / Privacy) ---------- */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 150px 24px 100px;
}
.legal-page .updated { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 40px; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 10px; }
.legal-page h2 { font-size: 1.25rem; margin: 40px 0 14px; }
.legal-page p { color: var(--charcoal); font-size: 0.98rem; margin-bottom: 14px; }
.legal-page ul { margin: 0 0 14px 0; padding-left: 20px; list-style: disc; }
.legal-page li { color: var(--charcoal); font-size: 0.98rem; margin-bottom: 8px; }
.legal-page a { color: var(--gold-deep); font-weight: 600; }
.legal-page a:hover { text-decoration: underline; }
.legal-note {
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 36px;
}
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 24px;
}

/* ---------- Contact / quote section ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}

.contact-info-card {
  position: relative;
  background: var(--charcoal) center/cover no-repeat;
  color: var(--white);
  padding: 36px 30px;
  border-radius: var(--radius);
  overflow: hidden;
}
.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.94) 100%);
}
.contact-info-card > * { position: relative; z-index: 2; }
.contact-info-card h3 { font-size: 1.2rem; margin-bottom: 20px; }
.contact-line { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); font-size: 0.92rem; }
.contact-line:first-of-type { border-top: none; }
.contact-line strong { display: block; color: var(--gold); font-size: 0.82rem; margin-bottom: 3px; }

.hours-table { margin-top: 24px; font-size: 0.88rem; }
.hours-row { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--border); color: rgba(255,255,255,0.75); }
.hours-row:first-child { border-top: none; }
.hours-row.closed span:last-child { color: #E0785C; }

.social-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.social-row a {
  width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.contact-form-card {
  background: var(--off-white);
  padding: 36px 30px;
  border-radius: var(--radius);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; }

.footer-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 280px;
}
.footer-rating strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
}
.footer-rating .stars { color: var(--gold); font-size: 0.85rem; display: block; }
.footer-rating .count { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form button {
  width: 42px;
  border: none;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--black);
  font-size: 1rem;
  cursor: pointer;
}
.newsletter-form button:hover { background: var(--gold-light); }

.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-col ul li a { display: inline-block; transition: color 0.2s ease, transform 0.2s ease; }
.footer-col ul li a:hover { color: var(--gold); transform: translateX(3px); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 22px 0;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp quick-reply widget ---------- */

.wa-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 401;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none; /* the panel's own rules (below) re-enable it while open */
}

.whatsapp-float {
  pointer-events: auto; /* stays clickable even though .wa-widget is click-through */
  width: 56px; height: 56px;
  border: none;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  animation: floaty 4s ease-in-out infinite;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3);
  animation-play-state: paused;
}

.wa-panel {
  width: 320px;
  max-width: calc(100vw - 48px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 24px 56px rgba(10,10,10,0.28);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-widget.open .wa-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-panel-header {
  background: var(--charcoal);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 18px;
}
.wa-avatar {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}
.wa-header-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wa-header-text strong { font-size: 0.92rem; }
.wa-status { font-size: 0.75rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 5px; }
.wa-dot { width: 6px; height: 6px; border-radius: 50%; background: #25D366; display: inline-block; }
.wa-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.2s ease;
}
.wa-close:hover { color: var(--white); }

.wa-panel-body { padding: 16px 16px 4px; }
.wa-bubble {
  background: var(--off-white);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.86rem;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 14px;
}

.wa-questions { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; }
.wa-question {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(37,211,102,0.35);
  background: rgba(37,211,102,0.07);
  color: var(--charcoal);
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.wa-question:hover { background: rgba(37,211,102,0.16); border-color: #25D366; transform: translateX(3px); }

.wa-panel-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-600);
  padding: 10px;
  border-top: 1px solid rgba(10,10,10,0.06);
}

@media (max-width: 480px) {
  .wa-widget { right: 16px; bottom: 16px; }
}

/* ---------- Image banner (full-bleed photo + text overlay) ----------
   Reusable across the site. Swap the background-image URL per instance
   once real photos are ready — see comments in index.html for filenames. */
.img-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background: var(--charcoal) center/cover no-repeat;
  overflow: hidden;
}
.img-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10,10,10,0.88) 0%, rgba(10,10,10,0.55) 45%, rgba(10,10,10,0.25) 100%);
}
.img-banner .container { position: relative; z-index: 2; }
.img-banner-content { max-width: 560px; color: var(--white); }
.img-banner-content .kicker { color: var(--gold); font-weight: 600; font-size: 0.88rem; margin-bottom: 12px; }
.img-banner-content h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.img-banner-content p { color: rgba(255,255,255,0.75); font-size: 1.02rem; margin-bottom: 26px; }
.img-banner-content .btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.img-banner.center { justify-content: center; text-align: center; }
.img-banner.center .img-banner-content { max-width: 640px; }
.img-banner.center .img-banner-content .btn-row { justify-content: center; }

@media (max-width: 700px) {
  .img-banner { min-height: 360px; }
}
.partner-marquee {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 26px 0;
}
.partner-marquee .marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 44px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.01em;
}
.partner-marquee .marquee-item .dot { color: var(--gold); }

/* ---------- Coverage marquee ---------- */
.coverage-marquee { padding: 8px 0; }
.coverage-marquee .marquee-track { gap: 14px; align-items: center; }
.coverage-list-item {
  border: 1px solid var(--border);
  color: rgba(255,255,255,0.8);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  white-space: nowrap;
  margin-right: 14px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.coverage-list-item:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }

/* ---------- Article / blog post page ---------- */

.article-hero {
  padding: 150px 0 40px;
  background: var(--charcoal);
  color: var(--white);
}
.article-hero .container { max-width: 760px; }
.article-hero .kicker { color: var(--gold); font-weight: 600; font-size: 0.85rem; margin-bottom: 14px; }
.article-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 16px; }
.article-meta { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.article-cover {
  max-width: 900px;
  margin: -30px auto 0;
  padding: 0 24px;
}
.article-cover img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 10px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--charcoal);
}
.article-body h2 { font-size: 1.35rem; margin: 34px 0 14px; }
.article-body p { margin-bottom: 18px; color: var(--gray-600); }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; color: var(--gray-600); }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--charcoal); }

.article-cta {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 0 24px 60px;
}
.article-back {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

.article-back {
  display: inline-block;
  margin-top: 10px;
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Stagger delay helpers for grids revealed via IntersectionObserver */
.d-1 { transition-delay: 0.05s; }
.d-2 { transition-delay: 0.12s; }
.d-3 { transition-delay: 0.19s; }
.d-4 { transition-delay: 0.26s; }
.d-5 { transition-delay: 0.33s; }
.d-6 { transition-delay: 0.40s; }
.d-7 { transition-delay: 0.47s; }
.d-8 { transition-delay: 0.54s; }

/* ---------- Video sections ---------- */
.video-wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 20px 50px rgba(0,0,0,0.18);
  border: 2px solid var(--gold);
}
.video-wrap video,
.video-wrap iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* =========================================================
   BRAND REFRESH: White + Gold
   Black is now only a small accent (footer + coverage map section).
   To undo the rebrand, delete everything from this comment down.
   ========================================================= */
:root {
  --ink: #1F1A10;
  --cream: #FBF8F1;
  --gold-pale: #F6EBCF;
  --border-light: rgba(140,109,31,0.18);
}
::selection { background: var(--gold); color: #fff; }
body { color: var(--ink); }

/* Buttons */
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); }

/* Section headings: small gold bar */
.section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-top: 14px;
}

/* Header (white) */
.site-header {
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 18px rgba(140,109,31,0.08);
}
.logo { color: var(--ink); }
.main-nav a { color: rgba(31,26,16,0.82); }
.main-nav a:hover { color: var(--gold-deep); }
.nav-toggle { color: var(--ink); }
@media (max-width: 900px) {
  .main-nav { background: #fff; border-bottom: 1px solid var(--border-light); box-shadow: 0 12px 24px rgba(140,109,31,0.10); }
  .main-nav li { border-bottom: 1px solid var(--border-light); }
}

/* Hero (white to cream, gold glow) */
.hero { background: linear-gradient(180deg, #FFFFFF 0%, var(--cream) 100%); color: var(--ink); }
.hero::after { background: radial-gradient(circle, rgba(201,150,46,0.22) 0%, transparent 70%); }
.hero-eyebrow { color: var(--gold-deep); }
.hero h1 { color: var(--ink); }
.hero h1 em { color: var(--gold); }
.hero p { color: var(--gray-600); }
.hero .btn-outline-light { color: var(--ink); border-color: rgba(31,26,16,0.28); }
.hero .btn-outline-light:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.hero-stats { border-top: 1px solid var(--border-light); }
.hero-stats div strong { color: var(--gold-deep); }
.hero-stats div span { color: var(--gray-600); }
.hero-stats strong .stat-num { font-size: inherit; color: inherit; letter-spacing: inherit; }
.hero-visual-wrap { border: 2px solid var(--gold); box-shadow: 0 24px 50px rgba(140,109,31,0.18); }
.hero-visual-wrap .tag { background: rgba(255,255,255,0.94); color: var(--ink); border: 1px solid var(--border-light); }
.hero-visual-wrap .tag strong { color: var(--gold-deep); }

/* Partner strip */
.partner-marquee { background: var(--cream); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.partner-marquee .marquee-item { color: rgba(31,26,16,0.62); }

/* Icon chips (were black boxes) */
.service-card .icon,
.diff-icon,
.review-avatar {
  background: var(--gold-pale);
  color: var(--gold-deep);
  border: 1px solid rgba(201,150,46,0.35);
}
.diff-item { border-top: 1px solid var(--border-light); }

/* Gold info panels (About / Calculator) */
.calc-info { background: linear-gradient(160deg, #8C6D1F 0%, #A67C1C 100%); color: #fff; }
.calc-info p { color: rgba(255,255,255,0.88); }
.calc-info ul li { color: rgba(255,255,255,0.9); border-top-color: rgba(255,255,255,0.22); }
.calc-info ul li strong { color: #FFF1C9; }

/* Photo banners: warm gold overlay instead of black */
.img-banner { background-color: var(--gold-deep); }
.img-banner::before { background: linear-gradient(100deg, rgba(110,83,20,0.90) 0%, rgba(140,109,31,0.62) 45%, rgba(201,150,46,0.22) 100%); }
.img-banner-content .kicker { color: #FFE9AE; }
.img-banner-content p { color: rgba(255,255,255,0.9); }
.img-banner .btn-gold { background: #fff; color: var(--gold-deep); }
.img-banner .btn-gold:hover { background: var(--cream); }

/* CTA band + contact card */
.cta-band { background-color: var(--gold-deep); color: var(--ink); }
.cta-band p { color: rgba(31,26,16,0.8); }
.contact-info-card { background-color: var(--gold-deep); }
.contact-info-card::before { background: linear-gradient(180deg, rgba(140,109,31,0.93) 0%, rgba(108,82,19,0.97) 100%); }
.contact-line strong { color: #FFF1C9; }
.hours-row.closed span:last-child { color: #FFD9CF; }

/* Blog article header */
.article-hero { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); color: var(--ink); border-bottom: 3px solid var(--gold); }
.article-hero h1 { color: var(--ink); }
.article-hero .kicker { color: var(--gold-deep); }
.article-meta { color: var(--gray-600); }

/* WhatsApp chat header */
.wa-panel-header { background: linear-gradient(135deg, #8C6D1F, #A67C1C); }
.wa-avatar { background: #fff; color: var(--gold-deep); }

/* Dark accents kept on purpose: coverage map section + footer (warm, not pure black) */
.section-dark { background: linear-gradient(160deg, #1C160A 0%, #2A200C 100%); }
.site-footer { background: #1A150C; border-top: 3px solid var(--gold); }

/* ---------- DHL-style headline (bold, clean sans like DHL's "Delivery" typeface) ---------- */
.section-head h2.title-dhl {
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(2rem, 4vw, 3rem);
}
/* Video headlines: let the heading span the full container so the longer
   "Behind every delivery is a Commitment" stays on one line at the same size as "End to End Logistics" */
.section-head:has(> h2.title-dhl) { max-width: none; }
.section-head h2.title-dhl { white-space: normal; }
@media (min-width: 901px) {
  .section-head h2.title-dhl { font-size: clamp(2rem, 3.6vw, 3rem); }
}

/* Reviews: slower scroll now that there are more cards */
.review-marquee .marquee-track { animation-duration: 110s; }
.review-card p.text { -webkit-line-clamp: 8; line-clamp: 8; }

/* Review avatars: show photo if it exists, otherwise the letter underneath */
.review-avatar { position: relative; }
.review-avatar img { position: absolute; inset: 0; }