/* ============================================================
   ShipSwift — demo courier & logistics website
   Designed & built by Pavan Rengade · https://pavan.rengade.in
   ============================================================ */

:root {
  --navy-900: #0a1626;
  --navy-800: #0e1f36;
  --navy-700: #14294a;
  --navy-600: #1c3763;
  --navy-100: #e8edf5;
  --ink: #16233a;
  --muted: #5b6b84;
  --line: #dde4ee;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-soft: #fff1e6;
  --green: #16a34a;
  --bg: #f5f7fb;
  --card: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 22, 38, 0.08);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; }
a { color: var(--orange-dark); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Demo ribbon ---------- */
.demo-ribbon {
  background: linear-gradient(90deg, #1c1207, #3a2410);
  color: #ffd9b8;
  font-size: 0.82rem;
  text-align: center;
  padding: 8px 14px;
  letter-spacing: 0.01em;
}
.demo-ribbon a { color: #ffb168; font-weight: 700; text-decoration: underline; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--navy-900);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), #fdba74);
  display: grid; place-items: center;
  font-size: 1.25rem;
}
.brand-name {
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.brand-name span { color: var(--orange); }
.brand-tag {
  display: block;
  color: #93a5c1;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: #c3cfe2;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  padding: 8px 13px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.nav-links a.current {
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--orange);
  border-radius: 8px 8px 0 0;
}
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 11px 22px;
  border-radius: 10px;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(249, 115, 22, 0.22), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(28, 55, 99, 0.9), transparent 65%),
    var(--navy-900);
  color: #fff;
  padding: 72px 0 84px;
  overflow: hidden;
}
.hero-kicker {
  display: inline-block;
  background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fdba74;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-sub {
  color: #b7c4da;
  font-size: 1.08rem;
  max-width: 54ch;
  margin: 18px 0 30px;
}

/* Track bar */
.track-bar {
  display: flex;
  gap: 10px;
  max-width: 560px;
  background: #fff;
  padding: 8px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.track-bar input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 1rem;
  padding: 10px 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.track-bar .btn { white-space: nowrap; }
.track-hint {
  margin-top: 12px;
  font-size: 0.85rem;
  color: #8fa2be;
}
.track-hint code {
  background: rgba(255, 255, 255, 0.1);
  color: #fdba74;
  padding: 2px 8px;
  border-radius: 6px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  cursor: pointer;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  font-size: 0.88rem;
  color: #c3cfe2;
  font-weight: 600;
}
.hero-badges span::before { content: "✔ "; color: var(--orange); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 6px 0 10px;
}
.section-head p { color: var(--muted); }

/* ---------- Emoji gradient tiles ---------- */
.tile {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  flex-shrink: 0;
}
.tile.t1 { background: linear-gradient(135deg, #1c3763, #3b5f9e); }
.tile.t2 { background: linear-gradient(135deg, #f97316, #fdba74); }
.tile.t3 { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.tile.t4 { background: linear-gradient(135deg, #7c3aed, #c4b5fd); }
.tile.t5 { background: linear-gradient(135deg, #be123c, #fda4af); }
.tile.t6 { background: linear-gradient(135deg, #0369a1, #7dd3fc); }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 22, 38, 0.12); }
.card h3 { font-size: 1.08rem; font-weight: 700; margin: 16px 0 6px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card .meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange-dark);
  background: var(--orange-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Stats ---------- */
.stats-band {
  background: var(--navy-800);
  color: #fff;
  padding: 54px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--orange);
}
.stat-label { color: #a9b8d0; font-size: 0.9rem; font-weight: 600; }

/* ---------- How it works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}
.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -14px; left: 20px;
  background: var(--navy-800);
  color: var(--orange);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.step-card h3 { font-size: 1rem; margin: 14px 0 6px; }
.step-card p { color: var(--muted); font-size: 0.9rem; }
.step-emoji { font-size: 1.8rem; }

/* ---------- Client logos strip ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 38px;
}
.logo-strip span {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #97a4b8;
  white-space: nowrap;
}
.logo-strip span b { color: var(--navy-700); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.quote-stars { color: var(--orange); letter-spacing: 2px; margin-bottom: 10px; }
.quote-card blockquote { font-size: 0.95rem; color: var(--ink); }
.quote-who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-800));
  color: #fff;
  font-weight: 800;
  display: grid; place-items: center;
  font-size: 0.85rem;
}
.quote-who strong { display: block; font-size: 0.92rem; }
.quote-who small { color: var(--muted); font-size: 0.8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--navy-600));
  color: #fff;
  border-radius: 18px;
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.cta-band p { color: #b7c4da; margin-top: 4px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 90% -20%, rgba(249, 115, 22, 0.2), transparent 60%),
    var(--navy-900);
  color: #fff;
  padding: 52px 0;
}
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { color: #b7c4da; margin-top: 8px; max-width: 60ch; }

/* ---------- Tracking page ---------- */
.track-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  margin-top: -34px;
}
.track-form { display: flex; gap: 10px; flex-wrap: wrap; }
.track-form input {
  flex: 1;
  min-width: 220px;
  font-family: var(--font);
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: none;
  text-transform: uppercase;
}
.track-form input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15); }
.hint-chip {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.83rem;
  background: var(--orange-soft);
  color: var(--orange-dark);
  border: 1px dashed var(--orange);
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  user-select: none;
}
.track-error {
  display: none;
  margin-top: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.9rem;
  padding: 10px 14px;
  border-radius: 10px;
}

.track-result { display: none; margin-top: 26px; }
.track-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 24px;
}
.track-summary .cell small {
  display: block;
  color: #8fa2be;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.track-summary .cell strong { font-size: 1.02rem; font-weight: 700; }
.status-pill {
  display: inline-block;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
}
.status-pill.delivered { background: var(--green); }

/* Timeline */
.timeline { position: relative; margin: 30px 6px 6px; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 3px;
  background: var(--line);
  border-radius: 2px;
}
.timeline .progress-line {
  position: absolute;
  left: 9px; top: 8px;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--orange), var(--orange-dark));
  border-radius: 2px;
  transition: height 1.2s ease;
}
.tl-step { position: relative; padding: 0 0 26px 8px; }
.tl-step:last-child { padding-bottom: 4px; }
.tl-dot {
  position: absolute;
  left: -29px; top: 4px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--line);
}
.tl-step.done .tl-dot { border-color: var(--orange); background: var(--orange); box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15); }
.tl-step.now .tl-dot { border-color: var(--orange); background: #fff; animation: pulse 1.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.45); }
  100% { box-shadow: 0 0 0 12px rgba(249, 115, 22, 0); }
}
.tl-step h4 { font-size: 0.98rem; font-weight: 700; }
.tl-step.pending h4, .tl-step.pending .tl-meta { color: #9aa7ba; }
.tl-meta { color: var(--muted); font-size: 0.85rem; }
.pod-note {
  margin-top: 18px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 10px;
}

/* ---------- Rate calculator ---------- */
.calc-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 26px;
  align-items: start;
  margin-top: -34px;
}
.calc-card, .form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 7px;
}
.field select, .field input[type="text"], .field input[type="tel"],
.field input[type="email"], .field input[type="date"], .field input[type="number"],
.field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 0.97rem;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--ink);
}
.field select:focus, .field input:focus, .field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
  cursor: pointer;
}
.range-value {
  font-weight: 800;
  color: var(--orange-dark);
  font-variant-numeric: tabular-nums;
}

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-chip { position: relative; }
.radio-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-chip span {
  display: inline-block;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--muted);
  transition: all 0.15s;
}
.radio-chip input:checked + span {
  border-color: var(--orange);
  background: var(--orange-soft);
  color: var(--orange-dark);
}

.price-panel {
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.price-panel small { color: #8fa2be; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; }
.price-big {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #c3cfe2;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}
.price-line strong { color: #fff; }
.eta-chip {
  display: inline-block;
  margin-top: 16px;
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fdba74;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: 999px;
}

/* Tables */
.rate-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.rate-table th, .rate-table td { text-align: left; padding: 13px 16px; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.rate-table th { background: var(--navy-800); color: #fff; font-weight: 700; font-size: 0.85rem; }
.rate-table tr:last-child td { border-bottom: none; }
.rate-table td:first-child { font-weight: 700; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

.note-box {
  margin-top: 22px;
  background: var(--orange-soft);
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: #7c3a12;
}
.note-box strong { color: var(--orange-dark); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 26px; margin-top: -34px; align-items: start; }
.office-card {
  background: var(--navy-800);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
.office-card h3 { font-size: 1.1rem; margin-bottom: 14px; }
.office-card p, .office-card li { color: #c3cfe2; font-size: 0.93rem; }
.office-card ul { list-style: none; margin-top: 10px; }
.office-card li { padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.12); }
.office-card li:last-child { border-bottom: none; }
.office-card li b { color: #fff; }
.office-line { display: flex; gap: 10px; margin: 10px 0; align-items: flex-start; }
.office-line span:first-child { flex-shrink: 0; }
.office-card a { color: #fdba74; }

.map-placeholder {
  margin-top: 20px;
  border-radius: 12px;
  background:
    linear-gradient(rgba(20, 41, 74, 0.85), rgba(20, 41, 74, 0.85)),
    repeating-linear-gradient(0deg, #3b5f9e 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, #3b5f9e 0 1px, transparent 1px 34px),
    var(--navy-700);
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #8fa2be;
  font-size: 0.88rem;
  padding: 20px;
}
.map-placeholder .pin { font-size: 2rem; display: block; }

.form-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.form-card .form-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 20px; }
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.94rem;
  margin-top: 6px;
}
.form-success strong { font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #a9b8d0;
  padding: 56px 0 0;
  margin-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #a9b8d0; text-decoration: none; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-about p { font-size: 0.9rem; margin-top: 12px; max-width: 32ch; }
.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.84rem;
  padding: 20px;
  color: #8fa2be;
}
.footer-credit a { color: var(--orange); font-weight: 700; }

/* ---------- Reveal helper (motion.js friendly) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible, .reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid, .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-layout, .contact-layout { grid-template-columns: 1fr; }
  .price-panel { position: static; }
  .track-summary { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy-800);
    padding: 12px 20px 20px;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a.current { box-shadow: inset 3px 0 0 var(--orange); border-radius: 0 8px 8px 0; }
  .nav-links .btn { text-align: center; margin-top: 6px; }
  .hero { padding: 52px 0 60px; }
}

@media (max-width: 520px) {
  .card-grid, .quote-grid, .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .track-bar { flex-direction: column; padding: 10px; }
  .track-bar .btn { width: 100%; }
  .track-summary { grid-template-columns: 1fr 1fr; padding: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 14px; }
  .track-summary { grid-template-columns: 1fr; }
  .calc-card, .form-card, .track-panel, .office-card, .price-panel { padding: 20px 16px; }
}
