/* ==========================================================================
   MARY'S LOGISTICS — DESIGN SYSTEM
   Signature motif: the "route line" — a dashed shipping path with a moving
   marker. It stands in for the generic gradient-blob hero and reappears as
   the connector in the process timeline and as a quiet divider elsewhere.
   ========================================================================== */

:root {
  /* ---- Color: black + gold palette, matched to the brand logo ---- */
  --navy: #1C1917;
  --navy-deep: #100E0C;
  --navy-ink: #0A0908;
  --white: #FFFFFF;
  --orange: #C9962E;
  --orange-deep: #A67B25;
  --gold: #CBA135;
  --gold-light: #E3C077;
  --text: #262420;
  --text-muted: #6B6458;
  --text-soft: #9A9384;
  --bg-light: #FAF9F6;
  --bg-navy-tint: #F3EFE6;
  --border: #E7E2D9;
  --border-strong: #D2CABA;
  --success: #1B8A5A;
  --danger: #C0392B;

  /* ---- Type ---- */
  --font-display: 'Poppins', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Spacing scale ---- */
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* ---- Radius / shadow ---- */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(28, 25, 23, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.10);
  --shadow-lg: 0 20px 48px rgba(7, 30, 66, 0.16);
  --shadow-orange: 0 10px 24px rgba(201, 150, 46, 0.28);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.25s var(--ease);

  /* ---- Layout ---- */
  --container-w: 1280px;
  --nav-h: 76px;
}

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

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); color: var(--navy-ink); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Layout helpers ---- */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

.section { padding: var(--space-xl) 0; }
@media (min-width: 1024px) { .section { padding: var(--space-3xl) 0; } }
.section-tight { padding: var(--space-lg) 0; }
.section-alt { background: var(--bg-light); }
.section-navy { background: var(--navy-ink); color: rgba(255,255,255,0.85); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.section-navy .eyebrow { color: var(--gold-light); }
.section-navy .eyebrow::before { background: var(--gold-light); }

.section-head { max-width: 680px; margin-bottom: var(--space-lg); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.15; }
.section-head p { margin-top: 0.9rem; color: var(--text-muted); font-size: 1.05rem; }
.section-navy .section-head p { color: rgba(255,255,255,0.72); }

.grand-title { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.08; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--orange); color: var(--navy-ink); box-shadow: var(--shadow-orange); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(201,150,46,0.32); }
.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--navy); background: var(--bg-navy-tint); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.btn-block { width: 100%; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.88rem; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #a53224; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; }
.btn-icon-only { padding: 0.55rem; border-radius: var(--radius-sm); }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; color: var(--navy); }
.link-arrow i { transition: transform var(--transition); }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow:hover { color: var(--orange-deep); }

/* ---- Navbar ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition), height var(--transition);
}
.navbar.is-scrolled {
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(7,30,66,0.08);
  height: 68px;
}
.navbar.solid { background: var(--white); box-shadow: 0 1px 0 var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-ink) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(28,25,23,0.35);
  flex-shrink: 0;
}
.brand-logo-chip {
  background: #fff; border-radius: 10px; padding: 5px 9px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(10,9,8,0.16); flex-shrink: 0; line-height: 0;
}
.brand-logo-img { height: 34px; width: auto; display: block; }
.brand-logo-chip.lg { padding: 12px 18px; border-radius: 16px; margin: 0 auto 1.2rem; }
.brand-logo-chip.lg .brand-logo-img { height: 58px; }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word b { font-size: 1.2rem; font-weight: 800; color: var(--navy-ink); letter-spacing: -0.01em; }
.brand-word b span { color: var(--gold); }
.navbar.is-scrolled .brand-word b, .navbar:not(.is-scrolled).light-off .brand-word b { color: var(--navy-ink); }
.brand-word small { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-soft); font-weight: 600; }
.navbar.on-dark:not(.is-scrolled) .brand-word b { color: var(--white); }
.navbar.on-dark:not(.is-scrolled) .brand-word small { color: rgba(255,255,255,0.65); }

.nav-links { display: none; align-items: center; gap: 1.9rem; }
.nav-links a {
  font-size: 0.95rem; font-weight: 600; color: var(--text);
  position: relative; padding: 0.4rem 0;
}
.navbar.on-dark:not(.is-scrolled) .nav-links a { color: rgba(255,255,255,0.88); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--orange); transition: width var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--orange-deep); }
.navbar.on-dark:not(.is-scrolled) .nav-links a.active { color: var(--gold-light); }

.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.nav-cta-group { display: none; }
@media (min-width: 640px) { .nav-cta-group { display: flex; gap: 0.6rem; } }

.nav-burger {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong); background: var(--white);
  font-size: 1.1rem; color: var(--navy);
}
.navbar.on-dark:not(.is-scrolled) .nav-burger { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.4); color: var(--white); }

@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-burger { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 600;
  background: var(--navy-ink);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column;
  padding: 1.5rem 1.5rem 2.5rem;
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.mobile-menu-close { width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); font-size: 1.1rem; }
.mobile-menu a { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu a.active { color: var(--gold-light); }
.mobile-menu .nav-actions-mobile { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
body.menu-open { overflow: hidden; }

/* ---- Route-line signature motif ---- */
.route-line { stroke: var(--gold-light); stroke-width: 2; fill: none; stroke-dasharray: 7 8; stroke-linecap: round; opacity: 0.55; }
.route-line.on-light { stroke: var(--navy); opacity: 0.22; }
.route-dot { fill: var(--orange); }
.route-marker {
  offset-rotate: 0deg;
  animation: travel 9s linear infinite;
}
@keyframes travel { to { offset-distance: 100%; } }
.route-divider { display: block; width: 100%; height: 46px; margin: 0 auto; }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 3rem;
  background: radial-gradient(120% 100% at 85% -10%, #2A2620 0%, var(--navy-ink) 55%, #030302 100%);
  color: var(--white);
  overflow: hidden;
}
.hero-bg-art { position: absolute; inset: 0; z-index: 0; opacity: 0.9; }
.hero-grid-dots {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(70% 60% at 75% 20%, black 0%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2rem; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 0.45rem 0.95rem; border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 600; color: var(--gold-light);
  backdrop-filter: blur(6px); margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.4vw, 3.7rem); line-height: 1.08; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero p.lead { margin-top: 1.4rem; font-size: 1.15rem; color: rgba(255,255,255,0.78); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero-art-panel {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; aspect-ratio: 5/4.3;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.14);
}
.hero-float-chip {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,0.97); color: var(--navy-ink);
  padding: 0.7rem 1rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.82rem; font-weight: 700; backdrop-filter: blur(6px);
  animation: floatChip 5s ease-in-out infinite;
}
.hero-float-chip i { color: var(--success); font-size: 1.05rem; }
.hero-float-chip .fc-label { display: block; font-size: 0.64rem; font-weight: 600; color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.04em; }
.hero-float-chip.chip-tl { top: 7%; left: 6%; }
.hero-float-chip.chip-br { bottom: 9%; right: 6%; animation-delay: -2.5s; }
@keyframes floatChip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 640px) { .hero-float-chip { font-size: 0.72rem; padding: 0.55rem 0.8rem; } }

.stat-strip {
  position: relative; z-index: 2;
  margin-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 2.2rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1rem;
}
@media (min-width: 720px) { .stat-strip { grid-template-columns: repeat(5, 1fr); } }
.stat-item { text-align: left; }
.stat-num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--white); display: flex; align-items: baseline; gap: 0.15rem; }
.stat-num .unit { font-size: 1.1rem; color: var(--gold-light); }
.stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 0.3rem; letter-spacing: 0.02em; }

/* ---- Page header (non-home pages) ---- */
.page-header {
  position: relative;
  padding: calc(var(--nav-h) + 3.2rem) 0 3.2rem;
  background: radial-gradient(120% 140% at 15% -20%, #2A2620 0%, var(--navy-ink) 60%, #030302 100%);
  color: var(--white); overflow: hidden;
}
.page-header .eyebrow { color: var(--gold-light); }
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3rem); max-width: 22ch; }
.page-header p { margin-top: 1rem; color: rgba(255,255,255,0.75); max-width: 55ch; font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---- Cards (generic) ---- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }

.grid { display: grid; gap: 1.6rem; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Service card */
.service-card { padding: 2rem 1.7rem; display: flex; flex-direction: column; height: 100%; }
.service-icon {
  width: 56px; height: 56px; border-radius: 15px;
  background: var(--bg-navy-tint); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.3rem;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.service-card:hover .service-icon { background: var(--orange); color: var(--navy-ink); transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; flex-grow: 1; }
.service-card ul { margin: 1rem 0 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.service-card ul li { font-size: 0.88rem; color: var(--text-muted); display: flex; gap: 0.5rem; align-items: flex-start; }
.service-card ul li i { color: var(--orange); font-size: 0.75rem; margin-top: 0.3rem; }
.service-card .learn-more { margin-top: auto; }

/* Why-choose card */
.why-card { padding: 1.8rem; text-align: left; }
.why-icon {
  width: 48px; height: 48px; border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--gold-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; margin-bottom: 1.1rem;
}
.why-card h4 { font-size: 1.02rem; margin-bottom: 0.4rem; }
.why-card p { font-size: 0.88rem; color: var(--text-muted); }

/* Process timeline */
.process-rail { position: relative; }
.process-track {
  display: grid; gap: 2.2rem;
  grid-template-columns: repeat(1, 1fr);
  position: relative;
}
@media (min-width: 900px) { .process-track { grid-template-columns: repeat(6, 1fr); } }
.process-step { position: relative; text-align: left; }
.process-num {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 800;
  color: var(--white); background: var(--navy);
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; position: relative; z-index: 2;
  box-shadow: 0 0 0 6px var(--white);
}
.section-alt .process-num { box-shadow: 0 0 0 6px var(--bg-light); }
.process-step h4 { font-size: 1rem; margin-bottom: 0.35rem; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); }
@media (min-width: 900px) {
  .process-track::before {
    content: '';
    position: absolute; top: 17px; left: 8%; right: 8%; height: 0;
    border-top: 2px dashed var(--border-strong);
    z-index: 1;
  }
}

/* Testimonials */
.testi-card { padding: 1.9rem; }
.testi-stars { color: var(--orange); font-size: 0.85rem; margin-bottom: 0.9rem; letter-spacing: 0.15em; }
.testi-text { font-size: 0.98rem; color: var(--text); font-style: italic; margin-bottom: 1.4rem; }
.testi-person { display: flex; align-items: center; gap: 0.8rem; }
.avatar-badge {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--gold-light); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.testi-person b { display: block; font-size: 0.92rem; color: var(--navy-ink); }
.testi-person span { font-size: 0.8rem; color: var(--text-soft); }

.testi-slider-wrap { position: relative; }
.testi-track { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0.2rem 1.2rem; scrollbar-width: none; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-track .testi-card { flex: 0 0 88%; scroll-snap-align: start; }
@media (min-width: 680px) { .testi-track .testi-card { flex: 0 0 46%; } }
@media (min-width: 1024px) { .testi-track .testi-card { flex: 0 0 31.5%; } }
.slider-controls { display: flex; gap: 0.6rem; justify-content: center; margin-top: 1rem; }
.slider-controls button {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border-strong);
  background: var(--white); color: var(--navy); font-size: 0.9rem;
}
.slider-controls button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Client logos */
.logo-strip { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; }
.logo-chip {
  padding: 1rem 1.6rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; color: var(--text-soft);
  filter: grayscale(1); opacity: 0.7; transition: var(--transition);
  font-size: 1rem; letter-spacing: -0.01em;
}
.logo-chip:hover { filter: grayscale(0); opacity: 1; color: var(--navy); border-color: var(--navy); transform: translateY(-2px); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700; color: var(--navy-ink);
}
.faq-q i { transition: transform var(--transition); color: var(--orange); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a-inner { padding: 0 0 1.35rem; color: var(--text-muted); font-size: 0.95rem; max-width: 68ch; }
.faq-item.open .faq-a { max-height: 400px; }

/* Blog */
.blog-card { overflow: hidden; display: flex; flex-direction: column; }
.blog-thumb {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}
.blog-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.blog-cat {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 2;
  background: var(--orange); color: var(--navy-ink); font-size: 0.72rem; font-weight: 700;
  padding: 0.32rem 0.75rem; border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: 0.04em;
}
.blog-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex-grow: 1; }
.blog-date { font-size: 0.78rem; color: var(--text-soft); font-weight: 600; margin-bottom: 0.6rem; letter-spacing: 0.03em; }
.blog-body h3 { font-size: 1.08rem; margin-bottom: 0.7rem; line-height: 1.3; }
.blog-body p { font-size: 0.9rem; color: var(--text-muted); flex-grow: 1; }
.blog-body .link-arrow { margin-top: 1.1rem; font-size: 0.9rem; }

/* ---- Forms ---- */
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--navy-ink); margin-bottom: 0.5rem; }
.hint { font-size: 0.78rem; color: var(--text-soft); }
.field .hint { display: inline-block; margin-top: 0.4rem; }
.field .req { color: var(--orange-deep); }
.input, select.input, textarea.input {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--white); color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input:focus, select.input:focus, textarea.input:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(28,25,23,0.1);
}
textarea.input { resize: vertical; min-height: 110px; }
.input-file {
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-sm);
  padding: 1.2rem; text-align: center; cursor: pointer; transition: var(--transition);
  background: var(--bg-light);
}
.input-file:hover { border-color: var(--navy); background: var(--bg-navy-tint); }
.input-file input { display: none; }
.input-file i { font-size: 1.3rem; color: var(--navy); margin-bottom: 0.4rem; }
.input-file .file-label-text { font-size: 0.85rem; color: var(--text-muted); }
.file-chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.file-chip { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--bg-navy-tint); color: var(--navy); padding: 0.35rem 0.7rem; border-radius: var(--radius-pill); font-size: 0.78rem; }
.file-chip button { background: none; border: none; color: var(--navy); font-size: 0.75rem; }

.radio-card-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-card .rc-face {
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 1rem; text-align: center; transition: var(--transition);
}
.radio-card .rc-face i { font-size: 1.3rem; color: var(--navy); display: block; margin-bottom: 0.5rem; }
.radio-card .rc-face span { font-size: 0.88rem; font-weight: 600; }
.radio-card input:checked + .rc-face { border-color: var(--orange); background: #FBF3DE; box-shadow: 0 0 0 3px rgba(201,150,46,0.14); }
.radio-card input:focus-visible + .rc-face { outline: 2px solid var(--orange); outline-offset: 2px; }

.form-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } .form-row.cols-3 { grid-template-columns: repeat(3,1fr); } }

.form-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .form-panel { padding: 2.6rem; } }

/* Stepper (multi-step quote form) */
.stepper { display: flex; align-items: center; margin-bottom: 2.4rem; gap: 0.3rem; }
.stepper-item { display: flex; align-items: center; gap: 0.6rem; flex: 1; }
.stepper-circle {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-navy-tint); color: var(--text-soft); font-weight: 700; font-size: 0.85rem;
  border: 2px solid var(--border-strong); transition: var(--transition);
}
.stepper-item.done .stepper-circle { background: var(--success); border-color: var(--success); color: var(--white); }
.stepper-item.active .stepper-circle { background: var(--orange); border-color: var(--orange); color: var(--navy-ink); }
.stepper-label { font-size: 0.78rem; font-weight: 600; color: var(--text-soft); display: none; }
.stepper-item.active .stepper-label { color: var(--navy-ink); }
@media (min-width: 768px) { .stepper-label { display: block; } }
.stepper-line { flex-grow: 1; height: 2px; background: var(--border-strong); margin: 0 -0.3rem; }
.stepper-item.done + .stepper-item .stepper-line, .stepper-line.done { background: var(--success); }

.form-step { display: none; animation: fadeInUp 0.4s var(--ease); }
.form-step.active { display: block; }
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; gap: 1rem; }

/* ---- Calculator ---- */
.calc-panel { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 960px) { .calc-panel { grid-template-columns: 1fr 0.85fr; } }
.calc-result {
  background: linear-gradient(160deg, var(--navy-ink), var(--navy-deep));
  border-radius: var(--radius-lg); padding: 2rem; color: var(--white); position: relative; overflow: hidden;
}
.calc-result-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.calc-result-row.total { border-bottom: none; padding-top: 1.1rem; font-size: 1.3rem; font-weight: 800; color: var(--white); font-family: var(--font-display); }
.calc-result-row b { color: var(--white); font-weight: 700; }
.calc-disclaimer { font-size: 0.76rem; color: rgba(255,255,255,0.5); margin-top: 1.2rem; line-height: 1.5; }
.calc-empty { text-align: center; padding: 2rem 0; color: rgba(255,255,255,0.55); font-size: 0.9rem; }

/* Rate tables */
.rate-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border); }
table.rate-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--white); }
table.rate-table th, table.rate-table td { padding: 1rem 1.2rem; text-align: left; font-size: 0.9rem; }
table.rate-table thead th { background: var(--navy-ink); color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.rate-table tbody tr:nth-child(even) { background: var(--bg-light); }
table.rate-table tbody td { color: var(--text-muted); border-bottom: 1px solid var(--border); }
table.rate-table tbody td:first-child { color: var(--navy-ink); font-weight: 700; }
.last-updated-chip { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--bg-navy-tint); color: var(--navy); padding: 0.5rem 1rem; border-radius: var(--radius-pill); font-size: 0.82rem; font-weight: 600; }
.last-updated-chip i { color: var(--success); }

/* ---- Tracking ---- */
.track-visual { display: flex; flex-direction: column; gap: 0; margin-top: 2.5rem; }
.track-node { display: flex; gap: 1.1rem; }
.track-node-rail { display: flex; flex-direction: column; align-items: center; }
.track-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 0.8rem; flex-shrink: 0; }
.track-node.done .track-dot { background: var(--success); }
.track-node.current .track-dot { background: var(--orange); color: var(--navy-ink); box-shadow: 0 0 0 6px rgba(201,150,46,0.18); }
.track-bar { width: 2px; flex-grow: 1; min-height: 34px; background: var(--border); }
.track-node.done .track-bar { background: var(--success); }
.track-node-content { padding-bottom: 2rem; }
.track-node-content h4 { font-size: 0.98rem; margin-bottom: 0.25rem; }
.track-node-content span { font-size: 0.8rem; color: var(--text-soft); }
.track-node:not(.done):not(.current) .track-node-content h4 { color: var(--text-soft); }

/* ---- Contact ---- */
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--bg-navy-tint); color: var(--navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item b { display: block; font-size: 0.92rem; color: var(--navy-ink); margin-bottom: 0.15rem; }
.contact-info-item span, .contact-info-item a { font-size: 0.9rem; color: var(--text-muted); }
.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/10; }
.social-row { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.social-circle { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--navy); transition: var(--transition); }
.social-circle:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-3px); }

/* ---- CTA band ---- */
.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-ink) 100%);
  padding: 3rem 2rem; text-align: center; color: var(--white); position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.3rem); max-width: 26ch; margin: 0 auto; }
.cta-band p { color: rgba(255,255,255,0.75); margin-top: 0.8rem; max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 1.8rem; }

/* ---- Footer ---- */
footer.site-footer { background: var(--navy-ink); color: rgba(255,255,255,0.65); padding: var(--space-xl) 0 0; }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; padding-bottom: 3rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.1fr; } }
.footer-brand p { font-size: 0.88rem; margin-top: 1rem; line-height: 1.7; max-width: 34ch; }
.footer-col h5 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.4rem 0; display: flex; flex-direction: column; gap: 0.8rem; align-items: center; text-align: center; font-size: 0.82rem; }
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---- WhatsApp floating button ---- */
.wa-float {
  position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 400;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 10px 28px rgba(37,211,102,0.45);
  animation: pulseWa 2.6s ease-in-out infinite;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 10px 28px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 10px rgba(37,211,102,0.12); }
}

/* ---- Toast ---- */
.toast-wrap { position: fixed; top: 1.2rem; right: 1.2rem; z-index: 900; display: flex; flex-direction: column; gap: 0.6rem; }
.toast {
  background: var(--navy-ink); color: var(--white); padding: 0.9rem 1.3rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); font-size: 0.88rem; display: flex; align-items: center; gap: 0.6rem;
  animation: fadeInUp 0.3s var(--ease); max-width: 320px;
}
.toast.success i { color: #4ADE80; }
.toast.error { background: var(--danger); }

/* ---- Animations ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in .reveal-child:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in .reveal-child:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.in .reveal-child:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.in .reveal-child:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.in .reveal-child:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.in .reveal-child:nth-child(6) { transition-delay: 0.4s; }

/* ---- Misc utility ---- */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.pill-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--bg-navy-tint); color: var(--navy); font-size: 0.78rem; font-weight: 700; padding: 0.35rem 0.8rem; border-radius: var(--radius-pill); }
.divider { height: 1px; background: var(--border); border: none; margin: var(--space-lg) 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--navy-ink); padding: 0.8rem 1.2rem; z-index: 999; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.empty-state { text-align: center; padding: 3rem 1.5rem; color: var(--text-soft); }
.empty-state i { font-size: 2rem; color: var(--border-strong); margin-bottom: 1rem; }

/* ---- Service detail rows (services.html) ---- */
.service-detail-row { display: grid; gap: 2.5rem; align-items: center; padding: 3rem 0; border-bottom: 1px solid var(--border); grid-template-columns: 1fr; }
.service-detail-row:last-child { border-bottom: none; }
@media (min-width: 860px) {
  .service-detail-row { grid-template-columns: 0.85fr 1.15fr; }
  .service-detail-row.reverse .sdr-visual { order: 2; }
  .service-detail-row.reverse .sdr-content { order: 1; }
}
.sdr-visual {
  aspect-ratio: 4/3.1; border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--navy), var(--navy-ink));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.sdr-visual i { font-size: 4rem; color: rgba(255,255,255,0.92); position: relative; z-index: 2; }
.sdr-visual::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px); background-size: 22px 22px; }
.sdr-visual::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(201,150,46,0.25); filter: blur(16px); bottom: -60px; right: -60px; }
.sdr-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.9rem; }
.sdr-content > p.sdr-desc { color: var(--text-muted); font-size: 1.02rem; line-height: 1.75; margin-bottom: 1.3rem; }
.sdr-points { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 0.7rem; margin-bottom: 1.6rem; }
.sdr-points li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: 0.92rem; color: var(--text); }
.sdr-points li i { color: var(--success); margin-top: 0.2rem; }
.quick-nav-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.quick-nav-pills a {
  padding: 0.55rem 1.1rem; border-radius: var(--radius-pill); border: 1.5px solid var(--border-strong);
  font-size: 0.85rem; font-weight: 600; color: var(--navy); transition: var(--transition);
}
.quick-nav-pills a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.quick-nav-pills a.active-pill { background: var(--navy); color: #fff; border-color: var(--navy); }
