/* ============================================================================
   Skyway Parcel — modern site stylesheet (2026 redesign)
   Palette: deep navy primary + bright cyan accent + warm coral CTA
   Fonts: Inter (sans), loaded via Google Fonts in layout.php
   ============================================================================ */

:root {
  /* Colors */
  --c-bg:         #f7f9fc;
  --c-surface:    #ffffff;
  --c-fg:         #0f1729;
  --c-fg-soft:    #334155;
  --c-muted:      #64748b;
  --c-border:     #e2e8f0;
  --c-border-strong: #cbd5e1;

  --c-primary:    #0a2540;          /* deep navy */
  --c-primary-2:  #061a30;
  --c-accent:     #06b6d4;          /* bright cyan */
  --c-accent-2:   #0891b2;
  --c-cta:        #ff5a5f;          /* warm coral */
  --c-cta-2:      #e23e44;

  --c-success:    #10b981;
  --c-warning:    #f59e0b;
  --c-danger:     #ef4444;
  --c-info:       #0ea5e9;

  /* Gradients */
  --grad-hero:    radial-gradient(1200px 600px at 20% 10%, rgba(6,182,212,.18), transparent 60%),
                  radial-gradient(900px 500px at 80% 20%, rgba(99,102,241,.18), transparent 60%),
                  linear-gradient(135deg, #0a2540 0%, #0d1b3d 60%, #061634 100%);
  --grad-accent:  linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
  --grad-cta:     linear-gradient(135deg, #ff5a5f 0%, #ff7a52 100%);

  /* Radii */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,23,41,.04);
  --shadow-sm: 0 2px 4px rgba(15,23,41,.06), 0 1px 2px rgba(15,23,41,.04);
  --shadow:    0 8px 24px rgba(15,23,41,.08), 0 2px 6px rgba(15,23,41,.04);
  --shadow-lg: 0 24px 56px rgba(15,23,41,.14), 0 6px 16px rgba(15,23,41,.06);
  --shadow-glow: 0 0 0 4px rgba(6,182,212,.15);

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing rhythm */
  --container: 1200px;
  --section-py: clamp(3.5rem, 8vw, 6.5rem);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-fg);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent-2); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--c-accent); }
h1, h2, h3, h4, h5 { line-height: 1.15; margin: 0 0 .5em; color: var(--c-fg); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
p  { margin: 0 0 1em; color: var(--c-fg-soft); }
hr { border: none; border-top: 1px solid var(--c-border); margin: 2rem 0; }
ul { padding-left: 1.1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.skip-link { position:absolute; left:-9999px; top:0; padding:.5rem 1rem; background:var(--c-primary); color:#fff; z-index:999; }
.skip-link:focus { left:1rem; top:1rem; border-radius: var(--r-sm); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.4rem;
  font-family: inherit; font-weight: 600; font-size: .95rem;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-2); color: #fff; box-shadow: var(--shadow); }
.btn--accent  { background: var(--grad-accent); color: #fff; box-shadow: 0 6px 16px rgba(6,182,212,.35); }
.btn--accent:hover { color: #fff; box-shadow: 0 10px 24px rgba(6,182,212,.45); }
.btn--cta     { background: var(--grad-cta); color: #fff; box-shadow: 0 6px 18px rgba(255,90,95,.4); }
.btn--cta:hover { color: #fff; box-shadow: 0 10px 26px rgba(255,90,95,.5); }
.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-border-strong); }
.btn--outline:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn--ghost   { background: transparent; color: var(--c-fg-soft); }
.btn--ghost:hover { background: rgba(15,23,41,.05); color: var(--c-primary); }
.btn--block { width: 100%; }
.btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn--sm { padding: .5rem 1rem; font-size: .85rem; }

/* ---- Header ---- */
.site-header {
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226,232,240,.7);
  position: sticky; top: 0; z-index: 50;
  transition: box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 4px 24px rgba(15,23,41,.07);
  border-bottom-color: rgba(226,232,240,.95);
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 76px;
}
.brand {
  display: flex; align-items: center;
  color: var(--c-primary); font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: auto;
}
/* Logo: sized so the new wide "SKYWAY PARCEL — Fast. Reliable. Global."
   artwork (704x218 ≈ 3.2:1) is legible without dominating the bar. */
.brand img {
  display: block;
  height: 52px; max-height: 52px; width: auto;
  object-fit: contain;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.brand:hover img { transform: scale(1.03); opacity: .92; }
.brand__name { font-size: 1.05rem; letter-spacing: -.01em; }
.brand--footer { color: #fff; }

.site-nav {
  display: flex; gap: .15rem; align-items: center;
}
.site-nav a {
  position: relative;
  color: var(--c-fg-soft); font-weight: 500; font-size: .94rem;
  padding: .65rem .95rem;
  border-radius: var(--r-sm);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: .95rem; right: .95rem; bottom: .35rem;
  height: 2px; border-radius: 2px;
  background: var(--grad-accent, linear-gradient(90deg, #06b6d4, #0ea5e9));
  transform: scaleX(0); transform-origin: center;
  transition: transform .25s var(--ease);
}
.site-nav a:hover {
  color: var(--c-primary);
  background: rgba(15,23,41,.035);
}
.site-nav a:hover::after { transform: scaleX(.6); }
.site-nav a.is-active {
  color: var(--c-primary);
  font-weight: 600;
  background: transparent;
}
.site-nav a.is-active::after { transform: scaleX(1); }

.site-header__cta { display: flex; gap: .55rem; align-items: center; flex-shrink: 0; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; border-radius: var(--r-sm); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-fg); margin: 4px 0; transition: transform .25s var(--ease), opacity .2s var(--ease); border-radius: 2px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 980px) {
  .site-nav, .site-header__cta { display: none; }
  .nav-toggle { display: block; }
  body.nav-open .site-nav,
  body.nav-open .site-header__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0; right: 0; top: 76px;
    background: #fff;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    gap: .15rem;
  }
  body.nav-open .site-nav a {
    padding: .9rem 1rem;
    border-radius: var(--r-sm);
    font-size: 1rem;
  }
  body.nav-open .site-nav a::after { display: none; }
  body.nav-open .site-nav a.is-active {
    background: rgba(6,182,212,.08);
    color: var(--c-primary);
  }
  body.nav-open .site-header__cta {
    top: auto;
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    box-shadow: none;
    padding: .85rem 1.25rem 1rem;
    flex-direction: column;
    gap: .55rem;
  }
  body.nav-open .site-header__cta .btn { width: 100%; justify-content: center; }
}
/* Tighter spacing on medium screens so 6 nav links + 2 CTAs don't crowd */
@media (max-width: 1180px) and (min-width: 981px) {
  .site-header__inner { gap: 1rem; }
  .site-nav a { padding: .65rem .7rem; font-size: .9rem; }
  .site-nav a::after { left: .7rem; right: .7rem; }
}

/* ---- Main ---- */
.site-main { min-height: 60vh; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: -1;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.hero h1 { color: #fff; max-width: 920px; }
.hero h1 br { display: none; }
@media (min-width: 700px) { .hero h1 br { display: inline; } }
.hero .lead {
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 720px;
  margin: 1rem 0 2rem;
}
.hero-search {
  display: flex;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: .5rem;
  border-radius: var(--r-pill);
  max-width: 640px;
  gap: .5rem;
  box-shadow: 0 12px 36px rgba(0,0,0,.25);
}
.hero-search input {
  flex: 1;
  border: 0; outline: 0; background: transparent;
  padding: .85rem 1.2rem;
  font: inherit; color: #fff;
  font-size: 1rem;
}
.hero-search input::placeholder { color: rgba(255,255,255,.55); }
.hero-search .btn { flex-shrink: 0; }

@media (max-width: 600px) {
  .hero-search { flex-direction: column; border-radius: var(--r-lg); padding: .75rem; }
  .hero-search input { padding: .85rem 1rem; text-align: center; }
  .hero-search .btn { width: 100%; }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
  max-width: 800px;
}
.hero-stat {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
}
.hero-stat .num { font-size: 1.85rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.hero-stat .lbl { color: rgba(255,255,255,.65); font-size: .85rem; margin-top: .25rem; }

/* ---- Sections ---- */
.section {
  padding: var(--section-py) 0;
}
.section--alt {
  background: linear-gradient(180deg, #fff 0%, var(--c-bg) 100%);
}
.section--dark {
  background: var(--c-primary);
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.78); }
.section h2 { text-align: center; max-width: 800px; margin: 0 auto .75rem; }
.section .lead {
  text-align: center; max-width: 720px; margin: 0 auto 3rem;
  font-size: 1.1rem; color: var(--c-muted);
}

/* ---- Feature grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.feature {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature:hover::before { transform: scaleX(1); }
.feature .icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(6,182,212,.10);
  color: var(--c-accent-2);
  border-radius: var(--r-md);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature h3 { margin: 0 0 .5rem; }
.feature p { color: var(--c-muted); margin: 0; font-size: .95rem; }

/* ---- Service tiles (pricing) ---- */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-tile {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-tile__head {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--c-border);
}
.service-tile__head h3 { margin: 0 0 .35rem; color: var(--c-primary); }
.service-tile .price {
  font-size: 2.25rem; font-weight: 800; color: var(--c-fg);
  letter-spacing: -.02em; line-height: 1;
}
.service-tile .price small { font-size: .85rem; color: var(--c-muted); font-weight: 500; margin-left: .25rem; }
.service-tile__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; gap: 1.25rem; }
.service-tile__body ul { list-style: none; padding: 0; margin: 0; }
.service-tile__body li {
  padding: .55rem 0 .55rem 1.6rem;
  position: relative;
  color: var(--c-fg-soft);
  font-size: .95rem;
  border-bottom: 1px solid var(--c-border);
}
.service-tile__body li:last-child { border-bottom: 0; }
.service-tile__body li::before {
  content: "✓";
  position: absolute; left: 0; top: .55rem;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-accent); color: #fff;
  border-radius: 50%;
  font-size: .7rem; font-weight: 800;
}
.service-tile__body .btn { margin-top: auto; }

/* ---- Split (image + text) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.split img {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Forms / inputs ---- */
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--c-fg); font-size: .9rem; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password],
input[type=search], input[type=url], select, textarea {
  width: 100%;
  padding: .75rem 1rem;
  font: inherit;
  color: var(--c-fg);
  background: #fff;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: var(--shadow-glow);
}
textarea { min-height: 130px; resize: vertical; }

/* ---- Cards / generic ---- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

/* ---- Alerts ---- */
.alert {
  padding: .9rem 1.1rem;
  border-radius: var(--r-md);
  margin: 1.25rem 0;
  border: 1px solid;
  font-weight: 500;
}
.alert--success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert--error,
.alert--danger  { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert--info    { background: #eff6ff; color: #1e3a8a; border-color: #bfdbfe; }
.alert--warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }

/* ---- Tables ---- */
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--c-border); }
th { background: #f8fafc; color: var(--c-fg); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:hover { background: #f8fafc; }

/* ---- Badges ---- */
.badge {
  display: inline-flex; align-items: center;
  padding: .25rem .7rem; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 600;
  background: rgba(6,182,212,.12); color: var(--c-accent-2);
}
.badge--success { background: #d1fae5; color: #065f46; }
.badge--warning { background: #fef3c7; color: #92400e; }
.badge--danger  { background: #fee2e2; color: #991b1b; }

/* ---- Steps (How it works) ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--grad-accent); color: #fff;
  border-radius: 50%;
  font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 18px rgba(6,182,212,.35);
}

/* ═══════════════════════════════════════════════════════════════
   Footer — bulky, content-rich, professional
   ═══════════════════════════════════════════════════════════════ */
.site-footer {
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(6,182,212,.08), transparent 60%),
    radial-gradient(900px 400px at 100% 100%, rgba(255,90,95,.08), transparent 60%),
    var(--c-primary);
  color: rgba(255,255,255,.78);
  margin-top: 4rem;
}

/* ---- Top CTA strip ---- */
.site-footer__cta {
  background:
    linear-gradient(135deg, rgba(6,182,212,.15) 0%, rgba(255,90,95,.12) 100%),
    rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer__cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  padding: 2.25rem 0;
}
.site-footer__cta-text { max-width: 620px; }
.site-footer__cta-eyebrow {
  display: inline-block;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent); font-weight: 700; margin-bottom: .35rem;
}
.site-footer__cta-title {
  margin: 0; color: #fff; font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  font-weight: 700; line-height: 1.3; letter-spacing: -.01em;
}
.site-footer__cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn--whatsapp {
  background: #25D366; border-color: #25D366; color: #fff;
}
.btn--whatsapp:hover { background: #1ebe5a; border-color: #1ebe5a; color: #fff; }

/* ---- Main grid: 5 columns ---- */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.75rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
  .site-footer__grid > nav:nth-child(4) { display: none; } /* drop "Resources" col on tablet */
}
@media (max-width: 820px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer__grid > nav:nth-child(4) { display: block; } /* show again, but stacked */
  .site-footer__brand, .site-footer__contact { grid-column: span 2; }
}
@media (max-width: 520px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__brand, .site-footer__contact { grid-column: auto; }
}

.site-footer h4 {
  color: #fff; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em;
  margin: 0 0 1.1rem; font-weight: 700;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li, .site-footer__bottom-links li { margin: .5rem 0; font-size: .92rem; }
.site-footer a { color: rgba(255,255,255,.72); transition: color .18s var(--ease), transform .18s var(--ease); display: inline-block; }
.site-footer a:hover { color: var(--c-accent); transform: translateX(2px); }
.site-footer__bottom-links a:hover { transform: none; }

/* ---- Brand column ---- */
.site-footer__about { color: rgba(255,255,255,.65); margin-top: 1rem; line-height: 1.65; font-size: .9rem; }
.site-footer__address {
  font-style: normal;
  display: flex; gap: .55rem; align-items: flex-start;
  color: rgba(255,255,255,.65);
  font-size: .88rem; line-height: 1.55;
  margin: 1rem 0 1.1rem;
}
.site-footer__addr-icon { flex-shrink: 0; line-height: 1.2; }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.site-footer__badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .76rem; font-weight: 500;
}

/* ---- Contact tiles ---- */
.site-footer__contact h4 { margin-bottom: .9rem; }
.site-footer__tile {
  display: flex; gap: .8rem; align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: .75rem .9rem;
  margin-bottom: .55rem;
  text-decoration: none;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
}
.site-footer__tile:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.18);
  transform: none;
  color: #fff;
}
.site-footer__tile-icon { font-size: 1.15rem; flex-shrink: 0; }
.site-footer__tile-body { display: flex; flex-direction: column; min-width: 0; }
.site-footer__tile-label {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 600;
}
.site-footer__tile-value { color: #fff; font-size: .95rem; font-weight: 600; word-break: break-word; }
.site-footer__tile--whatsapp { border-color: rgba(37,211,102,.35); }
.site-footer__tile--whatsapp:hover { border-color: rgba(37,211,102,.6); background: rgba(37,211,102,.1); }
.site-footer__hours {
  display: flex; gap: .5rem; align-items: center;
  margin: .75rem 0 0;
  font-size: .82rem; color: rgba(255,255,255,.6);
}

/* ---- Trust / payments strip ---- */
.site-footer__trust {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-footer__trust-block { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.site-footer__trust-label {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55); font-weight: 700;
}
.site-footer__pays {
  display: flex; flex-wrap: wrap; gap: .4rem;
  list-style: none; padding: 0; margin: 0;
}
.site-footer__pays li {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  padding: .35rem .65rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 500;
}

/* ---- Bottom bar ---- */
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.site-footer__bottom-sep { margin: 0 .35rem; opacity: .5; }
.site-footer__bottom-links {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  list-style: none; padding: 0; margin: 0;
}
.site-footer__bottom-links li { margin: 0; }
.site-footer__bottom-links a { font-size: .82rem; }
@media (max-width: 600px) {
  .site-footer__bottom { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ---- City landing pages ---- */
.city-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 0 auto;
  max-width: 900px;
}
@media (max-width: 700px) { .city-highlights { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .city-highlights { grid-template-columns: 1fr; } }
.city-highlight {
  text-align: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
}
.city-highlight__icon { font-size: 1.5rem; margin-bottom: .5rem; }
.city-highlight__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--c-muted); font-weight: 600; margin-bottom: .25rem; }
.city-highlight__value { font-size: 1.15rem; font-weight: 700; color: var(--c-text); }

.city-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem;
}
.city-link-card {
  display: flex; flex-direction: column; gap: .2rem;
  padding: .85rem 1.1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--c-text);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.city-link-card:hover {
  border-color: var(--c-accent);
  box-shadow: 0 2px 8px rgba(6,182,212,.12);
}
.city-link-card strong { font-size: .95rem; }
.city-link-card__rate { font-size: .82rem; color: var(--c-muted); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (max-width: 800px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.step-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700; font-size: .9rem;
  margin-bottom: .75rem;
}
.step-card h4 { margin: 0 0 .5rem; font-size: 1rem; }
.step-card p { margin: 0; font-size: .9rem; color: var(--c-muted); line-height: 1.55; }

.breadcrumb a { color: var(--c-muted); text-decoration: underline; }
.breadcrumb a:hover { color: var(--c-accent); }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ---- Animations ----
   Reveal-on-scroll is gated on `html.js-reveal` so that if JS fails,
   never runs, or is slow to load, content stays visible by default
   (progressive enhancement, not a hard dependency). main.js sets
   the class synchronously in the <head>.
   Scoped intentionally to the marketing-page primitives only — `.card`
   is used widely inside admin and form pages and must NOT be hidden. */
@media (prefers-reduced-motion: no-preference) {
  html.js-reveal .feature,
  html.js-reveal .service-tile,
  html.js-reveal .step { opacity: 0; transform: translateY(20px); }
  html.js-reveal .feature.in-view,
  html.js-reveal .service-tile.in-view,
  html.js-reveal .step.in-view {
    opacity: 1; transform: none;
    transition: opacity .55s var(--ease), transform .55s var(--ease);
  }
  .hero h1, .hero .lead, .hero-search, .hero-stats {
    animation: fadeUp .8s var(--ease) both;
  }
  .hero .lead { animation-delay: .1s; }
  .hero-search { animation-delay: .2s; }
  .hero-stats { animation-delay: .3s; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Page hero (smaller, used on inner pages) ---- */
.page-hero {
  background: var(--grad-hero);
  color: #fff;
  padding: 4rem 0 3rem;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 720px; }

/* ---- Track / shipment status ---- */
.track-result { margin-top: 2rem; }
.track-status { display: inline-flex; align-items: center; padding: .35rem .9rem; border-radius: var(--r-pill); font-weight: 600; font-size: .85rem; }
.track-timeline { list-style: none; padding: 0; margin: 1.5rem 0 0; position: relative; }
.track-timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--c-border); }
.track-timeline li { position: relative; padding: 0 0 1.5rem 2.5rem; }
.track-timeline li::before {
  content: ""; position: absolute; left: 4px; top: 6px;
  width: 16px; height: 16px;
  background: var(--c-accent);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--c-accent);
}

/* ---- Admin login (overrides) ---- */
.auth-shell {
  min-height: 100vh;
  display: grid; place-items: center;
  background: var(--grad-hero);
  padding: 2rem 1rem;
}
.auth-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 2.5rem;
  width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg);
}

/* ---- Print ---- */
@media print {
  .site-header, .site-footer, .nav-toggle, .hero-search { display: none !important; }
  body { background: #fff; }
}

/* ============================================================================
   ADMIN SHELL
   Sidebar + main content layout used across /admin/*.php pages.
   ============================================================================ */

.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--c-bg);
}

/* On desktop the brand and toggle are laid out by the parent flex column,
   so the wrapper acts as if it isn't there. The mobile media query below
   reinstates flex layout on this wrapper. */
.admin-sidebar__top { display: contents; }
/* Hamburger: hidden on desktop, shown by the mobile media-query block below. */
.admin-nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.admin-nav-toggle:hover { background: rgba(255,255,255,.08); }
.admin-nav-toggle__bar {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.admin-sidebar {
  background: var(--c-primary);
  color: rgba(255,255,255,.85);
  padding: 1.5rem 1rem;
  display: flex; flex-direction: column;
  position: sticky; top: 0;
  height: 100vh;
  overflow-y: auto;
  border-right: 1px solid rgba(255,255,255,.05);
}
.admin-sidebar .brand {
  display: flex; align-items: center; gap: .6rem;
  padding: .25rem .5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1rem;
  text-decoration: none;
  color: #fff;
}
.admin-sidebar .brand img {
  background: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  max-height: 44px;
  width: auto;
  object-fit: contain;
}
.admin-sidebar nav {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1;
}
.admin-sidebar nav a {
  display: flex; align-items: center; gap: .5rem;
  padding: .65rem .85rem;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: .92rem; font-weight: 500;
  border-radius: var(--r-md);
  transition: background .15s var(--ease), color .15s var(--ease);
  position: relative;
}
.admin-sidebar nav a:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.admin-sidebar nav a.is-active {
  background: var(--c-accent);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(6,182,212,.35);
}
.unread-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; height: 22px;
  padding: 0 .45rem;
  margin-left: auto;
  background: var(--c-cta); color: #fff;
  border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 700;
  line-height: 1;
}
.admin-sidebar nav a.is-active .unread-badge { background: rgba(255,255,255,.25); }

.admin-sidebar .who {
  margin-top: 1rem;
  padding: 1rem .85rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; gap: .15rem;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.admin-sidebar .who strong { color: #fff; font-size: .95rem; }
.admin-sidebar .who small { font-size: .78rem; color: rgba(255,255,255,.55); }
.admin-sidebar .who .btn { color: #fff; border-color: rgba(255,255,255,.2); margin-top: .5rem; align-self: flex-start; }
.admin-sidebar .who .btn:hover { background: rgba(255,255,255,.1); color: #fff; }

.admin-main {
  padding: 2rem clamp(1rem, 3vw, 2.5rem);
  min-width: 0;   /* allow tables to scroll, not overflow grid */
}

/* Admin page header */
.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.admin-page-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.02em;
}
.admin-page-header .subtitle {
  color: var(--c-muted);
  font-size: .92rem;
  margin-top: .25rem;
}
.admin-page-header .actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* Metric cards */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.metric {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.metric:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.metric .lbl {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--c-muted);
  font-weight: 600;
}
.metric .val {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-fg);
  letter-spacing: -.02em;
  margin-top: .25rem;
  line-height: 1.1;
}
.metric .delta { font-size: .78rem; color: var(--c-muted); margin-top: .35rem; }

/* Detail grid (dashboard 2-col) */
.detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: 1fr; }
}

/* Card header/body inside admin */
.card__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--c-border);
}
.card__header h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.card__body { padding: 1.25rem; }
.card { padding: 0; }   /* override generic card padding when using header/body */

/* Tables inside admin (wrapped for horizontal scroll on mobile) */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table { box-shadow: none; border-radius: 0; }
.table th, .table td { white-space: nowrap; }
.table .actions { text-align: right; }
.table-empty {
  text-align: center; padding: 2rem 1rem !important;
  color: var(--c-muted); font-style: italic;
}
.row-actions { display: inline-flex; gap: .35rem; align-items: center; }

/* Status badges (one class per shipment status) */
.status-order-placed     { background: #e0e7ff; color: #3730a3; }
.status-picked-up        { background: #ddd6fe; color: #5b21b6; }
.status-in-transit       { background: #bae6fd; color: #075985; }
.status-out-for-delivery { background: #fde68a; color: #92400e; }
.status-delivered        { background: #d1fae5; color: #065f46; }
.status-failed-delivery  { background: #fecaca; color: #991b1b; }
.status-returned         { background: #e2e8f0; color: #475569; }
.status-new              { background: #dbeafe; color: #1e40af; }
.status-resolved         { background: #d1fae5; color: #065f46; }

/* Field helpers */
.field-help  { font-size: .8rem; color: var(--c-muted); margin-top: .3rem; }
.field-error { font-size: .82rem; color: #b91c1c; margin-top: .3rem; }

.text-muted { color: var(--c-muted); }

/* Auth / login subtitle */
.auth-card h1 { font-size: 1.5rem; margin-bottom: .25rem; }
.auth-card .subtitle { color: var(--c-muted); font-size: .92rem; margin-bottom: 1.5rem; }

/* Settings page — current logo preview */
.logo-preview {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  margin-bottom: 1rem;
}
.logo-preview img {
  max-height: 64px;
  max-width: 180px;
  width: auto; height: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--c-border);
  object-fit: contain;
}
.logo-preview .meta { font-size: .85rem; color: var(--c-muted); }
.logo-preview .meta strong { color: var(--c-fg); display: block; }

/* Mobile: collapse sidebar to a top bar */
@media (max-width: 800px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: relative;
    height: auto;
    flex-direction: column;
    gap: .25rem;
    padding: .85rem 1rem;
  }
  .admin-sidebar__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .admin-sidebar .brand { padding: 0; margin: 0; }
  .admin-nav-toggle { display: inline-flex; }
  /* Collapsed by default on mobile; CSS class toggled by JS. */
  .admin-sidebar nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: .5rem;
  }
  .admin-sidebar.is-open nav { display: flex; }
  .admin-sidebar nav a { padding: .55rem .7rem; font-size: .9rem; }
  .admin-sidebar .who {
    width: 100%;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .75rem 0 .25rem;
    margin-top: .5rem;
  }
  .admin-sidebar .who .btn { margin-top: 0; margin-left: auto; }
  .admin-main { padding: 1.25rem 1rem; }
}

/* Tracking page — meta grid */
.tracking-card { padding: 1.5rem; }
.tracking-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 1rem;
  margin-bottom: 1.5rem;
}
.tracking-header .tn { font-family: ui-monospace, Menlo, monospace; font-size: .85rem; color: var(--c-muted); }
.shipment-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-radius: var(--r-md);
  margin-bottom: 1.5rem;
}
.shipment-meta .lbl { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); font-weight: 600; }
.shipment-meta .val { font-size: 1rem; font-weight: 600; color: var(--c-fg); margin-top: .15rem; }

/* Shipment timeline (track.php) */
.timeline { list-style: none; padding: 0; margin: 1rem 0 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 16px; top: 12px; bottom: 12px;
  width: 2px; background: var(--c-border);
}
.timeline li {
  position: relative; padding: .5rem 0 1.25rem 3rem;
}
.timeline li .dot {
  position: absolute; left: 0; top: .25rem;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  border: 2px solid var(--c-border);
  border-radius: 50%;
  font-size: 1rem;
}
.timeline li.is-current .dot { border-color: var(--c-accent); box-shadow: 0 0 0 4px rgba(6,182,212,.15); }
.timeline li.is-done .dot { background: #ecfeff; border-color: var(--c-accent); color: var(--c-accent-2); }
.timeline li .what { font-weight: 600; color: var(--c-fg); }
.timeline li .when { font-size: .85rem; color: var(--c-muted); margin-top: .15rem; }

/* Calculator + contact */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 800px) { .calc-grid { grid-template-columns: 1fr; } }
.calc-form-card,
.calc-result-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.calc-result {
  text-align: center;
  padding: 1.5rem;
}
.calc-result__icon { font-size: 2.25rem; margin-bottom: .5rem; }
.calc-result__label { font-size: .85rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .05em; }
.calc-result__price { font-size: 2.5rem; font-weight: 800; color: var(--c-primary); letter-spacing: -.02em; margin: .25rem 0; }
.calc-result__sub { font-size: .85rem; color: var(--c-muted); margin-bottom: 1rem; }
.calc-result__rows { text-align: left; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--c-border); }
.calc-row { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .9rem; }
.calc-row__k { color: var(--c-muted); }
.calc-row__v { color: var(--c-fg); font-weight: 600; }

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem; align-items: start;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info dl { margin: 0; }
.contact-info dt { font-weight: 600; color: var(--c-fg); margin-top: 1rem; font-size: .9rem; }
.contact-info dd { margin: .15rem 0 0; color: var(--c-fg-soft); font-size: .92rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* Page header (smaller hero used inside pages) */
.page-header {
  background: var(--grad-hero);
  color: #fff;
  padding: 3.5rem 0 2.75rem;
}
.page-header h1 { color: #fff; margin-bottom: .5rem; }
.page-header p { color: rgba(255,255,255,.82); max-width: 720px; }
.section-head { margin-bottom: 1rem; }


/* ═══════════════════════════════════════════════════════════════
   Modern admin dashboard
   ═══════════════════════════════════════════════════════════════ */

/* Hero greeting */
.dash-hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at -10% -50%, rgba(6,182,212,.35), transparent 55%),
    radial-gradient(900px 500px at 110% 130%, rgba(255,90,95,.25), transparent 55%),
    linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dash-hero__eyebrow {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 600;
  margin-bottom: .35rem;
}
.dash-hero__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: -.02em;
}
.dash-hero__subtitle {
  margin: .35rem 0 0;
  color: rgba(255,255,255,.78);
  font-size: .98rem;
}
.dash-hero__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* Modern stat cards (4-up grid) */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-xs);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  text-decoration: none;
  color: var(--c-fg);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--stat-accent, var(--c-accent));
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: transparent;
  color: var(--c-fg);
}
.stat-card--primary { --stat-accent: linear-gradient(90deg, #0a2540, #1e40af); }
.stat-card--accent  { --stat-accent: linear-gradient(90deg, #06b6d4, #0891b2); }
.stat-card--success { --stat-accent: linear-gradient(90deg, #10b981, #059669); }
.stat-card--warning { --stat-accent: linear-gradient(90deg, #f59e0b, #ea580c); }

.stat-card__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .9rem; }
.stat-card__icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: rgba(15,23,41,.06);
  color: var(--c-primary);
}
.stat-card--accent  .stat-card__icon { background: rgba(6,182,212,.12);  color: #0891b2; }
.stat-card--success .stat-card__icon { background: rgba(16,185,129,.12); color: #059669; }
.stat-card--warning .stat-card__icon { background: rgba(245,158,11,.12); color: #ea580c; }

.stat-card__label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.stat-card__value {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--c-fg);
}
.stat-card__sub { font-size: .82rem; color: var(--c-muted); margin-top: .35rem; }

/* Charts row */
.chart-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 1000px) { .chart-row { grid-template-columns: 1fr; } }

.chart-card .card__header { padding: 1rem 1.25rem .75rem; }
.chart-card__meta { font-size: .85rem; color: var(--c-muted); margin-top: .25rem; }
.chart-card__meta strong { color: var(--c-fg); font-size: 1rem; margin-right: .35rem; }
.trend {
  display: inline-flex; align-items: center; gap: .2rem;
  font-size: .78rem; font-weight: 600;
  padding: .15rem .5rem;
  border-radius: var(--r-pill);
  margin-left: .5rem;
}
.trend--up   { background: #d1fae5; color: #065f46; }
.trend--down { background: #fee2e2; color: #991b1b; }
.chart-empty {
  color: var(--c-muted);
  text-align: center;
  padding: 2rem 1rem;
  font-style: italic;
}

/* CSS bar chart */
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: .35rem;
  height: 160px;
  padding: 0 .25rem;
}
.bar-chart__col {
  flex: 1 1 0;
  display: flex; flex-direction: column;
  align-items: center;
  height: 100%;
  position: relative;
}
.bar-chart__bar {
  width: 100%;
  max-width: 28px;
  background: linear-gradient(180deg, var(--c-accent), var(--c-accent-2));
  border-radius: 6px 6px 0 0;
  position: relative;
  margin-top: auto;
  transition: opacity .2s var(--ease), transform .15s var(--ease);
}
.bar-chart__col:hover .bar-chart__bar { opacity: .85; transform: scaleY(1.02); }
.bar-chart__col.is-today .bar-chart__bar {
  background: linear-gradient(180deg, var(--c-cta), var(--c-cta-2));
}
.bar-chart__count {
  position: absolute;
  top: -1.25rem; left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  font-weight: 700;
  color: var(--c-fg);
  opacity: 0;
  transition: opacity .15s var(--ease);
}
.bar-chart__col:hover .bar-chart__count { opacity: 1; }
.bar-chart__label {
  font-size: .7rem;
  color: var(--c-muted);
  margin-top: .35rem;
  font-variant-numeric: tabular-nums;
}

/* Status distribution bars */
.status-bars { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.status-bars__row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .35rem;
}
.status-bars__count { font-size: .85rem; font-weight: 600; color: var(--c-fg); font-variant-numeric: tabular-nums; }
.status-bars__track {
  background: var(--c-border);
  height: 8px;
  border-radius: var(--r-pill);
  overflow: hidden;
}
.status-bars__fill {
  height: 100%;
  border-radius: var(--r-pill);
  transition: width .4s var(--ease);
}

/* Activity timeline */
.admin-timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.admin-timeline::before {
  content: '';
  position: absolute;
  left: 7px; top: .5rem; bottom: .5rem;
  width: 2px;
  background: var(--c-border);
}
.admin-timeline__item {
  position: relative;
  padding: .25rem 0 1rem 1.75rem;
  font-size: .9rem;
}
.admin-timeline__item:last-child { padding-bottom: 0; }
.admin-timeline__dot {
  position: absolute; left: 0; top: .5rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 3px solid var(--c-surface);
  background: var(--c-accent);
  box-shadow: 0 0 0 2px var(--c-border);
}
.admin-timeline__title { color: var(--c-fg); line-height: 1.4; }
.admin-timeline__title a { font-weight: 500; }
.admin-timeline__meta { font-size: .76rem; color: var(--c-muted); margin-top: .15rem; }

/* Recent inquiries list */
.inquiry-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.inquiry-list li { padding-bottom: .85rem; border-bottom: 1px solid var(--c-border); }
.inquiry-list li:last-child { border-bottom: none; padding-bottom: 0; }
.inquiry-list__title { font-weight: 600; color: var(--c-fg); }
.inquiry-list__title:hover { color: var(--c-accent-2); }
.inquiry-list__meta { font-size: .82rem; color: var(--c-muted); margin-top: .2rem; }

/* Stat-grid hero buttons stay readable on mobile */
@media (max-width: 700px) {
  .dash-hero { padding: 1.4rem 1.25rem; }
  .dash-hero__actions { width: 100%; }
  .dash-hero__actions .btn { flex: 1 1 auto; justify-content: center; }
  .stat-card__value { font-size: 1.85rem; }
  .bar-chart { height: 130px; }
}
