/* ============================================================
   SWIFTLINE LOGISTICS — Premium Multi-Page Template
   Plain CSS3 design system. Shared across all pages.
   ------------------------------------------------------------
   REBRAND: To rebrand, edit the :root variables below.
   - Change --brand for the primary accent color.
   - Change --ink for the dark slate.
   - Swap Google Fonts in each HTML <head> if desired.
   ============================================================ */

:root {
  /* ---- Brand palette ---- */
  --brand: #dc2626;          /* bold red — primary accent       */
  --brand-dark: #b91c1c;     /* darker red for hover states     */
  --brand-soft: #fee2e2;     /* tinted red background           */
  --ink: #0f172a;            /* dark slate — text / dark areas  */
  --ink-2: #1e293b;          /* secondary dark surface          */
  --muted: #64748b;          /* muted slate text                */
  --line: #e2e8f0;           /* hairline borders                */
  --bg: #ffffff;             /* page background                 */
  --alt: #f5f6f8;            /* soft alternate section bg       */
  --white: #ffffff;

  /* ---- Typography ---- */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* ---- Layout tokens ---- */
  --max: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --gradient: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
  --gradient-ink: linear-gradient(160deg, #0f172a 0%, #1e293b 60%, #312420 100%);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--alt); }
.section--ink { background: var(--gradient-ink); color: #cbd5e1; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); display: inline-block; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }
.section-head .eyebrow { justify-content: center; }

.lead { font-size: 1.12rem; line-height: 1.8; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 14px 28px; border-radius: 999px; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(220, 38, 38, 0.3); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(220, 38, 38, 0.4); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ============================================================
   HEADER / NAV  (shared, sticky)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, 0.07); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; color: var(--ink); letter-spacing: -0.02em; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--gradient);
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand b { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: var(--ink-2);
  padding: 9px 16px; border-radius: 9px; transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--brand); background: var(--alt); }
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  background: var(--brand); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; padding: 0; place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: var(--transition);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO  (home)
   ============================================================ */
.hero {
  position: relative; background: var(--gradient-ink); color: #e2e8f0; overflow: hidden;
  padding: 120px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(220,38,38,0.32), transparent 60%),
    radial-gradient(500px 360px at 10% 90%, rgba(249,115,22,0.18), transparent 60%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--brand); }
.hero-lead { color: #cbd5e1; font-size: 1.15rem; margin: 22px 0 30px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; color: #94a3b8; font-size: 0.9rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }

/* Mini track widget */
.track-mini {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(8px);
}
.track-mini h3 { color: #fff; margin-bottom: 6px; }
.track-mini p { color: #94a3b8; font-size: 0.92rem; margin-bottom: 18px; }
.track-form { display: flex; gap: 10px; }
.track-form input {
  flex: 1; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.95); color: var(--ink); font-family: var(--font-body); font-size: 0.95rem;
}
.track-form input:focus { outline: 2px solid var(--brand); }
.track-mini-help { margin-top: 14px; font-size: 0.82rem; color: #64748b; }

.hero-visual { display: grid; gap: 16px; }
.hero-stat-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 22px;
}
.hero-stat-card .big { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: #fff; }
.hero-stat-card .lbl { color: #94a3b8; font-size: 0.85rem; }

/* ============================================================
   PAGE BANNER  (inner pages)
   ============================================================ */
.page-banner {
  position: relative; background: var(--gradient-ink); color: #fff; padding: 90px 0 72px; overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 80% 0%, rgba(220,38,38,0.3), transparent 60%);
}
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; }
.page-banner p { color: #cbd5e1; font-size: 1.1rem; margin-top: 14px; max-width: 600px; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.88rem; color: #94a3b8; margin-bottom: 18px; font-family: var(--font-head); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--brand); }

/* ============================================================
   CARDS / GRID COMPONENTS
   ============================================================ */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--brand-soft);
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.card-link:hover { gap: 11px; }

/* feature list */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .ficon {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 13px; background: var(--gradient);
  color: #fff; display: grid; place-items: center; font-size: 1.4rem;
}
.feature h3 { margin-bottom: 6px; }
.feature p { font-size: 0.95rem; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--brand); line-height: 1; }
.stat .lbl { margin-top: 10px; color: #cbd5e1; font-size: 0.95rem; }
.section--ink .stat .lbl { color: #cbd5e1; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote-card {
  max-width: 820px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 56px 48px; box-shadow: var(--shadow);
}
.quote-card .stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 18px; letter-spacing: 2px; }
.quote-card blockquote { font-family: var(--font-head); font-size: clamp(1.25rem, 2.5vw, 1.6rem); line-height: 1.5; color: var(--ink); font-weight: 600; }
.quote-author { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.quote-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--gradient); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; }
.quote-author .name { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.quote-author .role { font-size: 0.86rem; color: var(--muted); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; background: var(--gradient); color: #fff; border-radius: 24px; padding: 60px; overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 10%, rgba(255,255,255,0.18), transparent 60%); }
.cta-band .container, .cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); margin: 14px auto 28px; max-width: 560px; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   SPLIT (image-placeholder + text)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.media-card {
  border-radius: var(--radius); min-height: 380px; position: relative; overflow: hidden;
  background: var(--gradient-ink); display: grid; place-items: center;
}
.media-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 300px at 70% 20%, rgba(220,38,38,0.4), transparent 60%);
}
.media-card .glyph { position: relative; font-size: 5rem; opacity: 0.9; }
.media-tag {
  position: absolute; bottom: 18px; left: 18px; background: #fff; color: var(--ink);
  border-radius: 12px; padding: 12px 16px; font-family: var(--font-head); font-weight: 600;
  font-size: 0.85rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px;
}
.checklist { margin-top: 22px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist li::before {
  content: "✓"; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; margin-top: 2px;
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step .step-num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff;
  font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: 0.92rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; transition: var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar { width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 18px; background: var(--gradient); display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; }
.team-card h3 { font-size: 1.1rem; }
.team-card .role { color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }
.team-card p { font-size: 0.9rem; }

/* ============================================================
   LOGOS / CERTIFICATIONS
   ============================================================ */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 24px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.cert .badge { font-size: 2rem; }
.cert .t { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.cert .s { font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   TRACKING PAGE
   ============================================================ */
.track-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px; max-width: 760px; margin: -80px auto 0; position: relative; z-index: 5;
}
.track-panel h2 { font-size: 1.6rem; margin-bottom: 6px; }
.track-panel .sub { margin-bottom: 24px; }
.track-row { display: flex; gap: 12px; }
.track-row input {
  flex: 1; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; transition: var(--transition);
}
.track-row input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.track-hint { margin-top: 14px; font-size: 0.86rem; color: var(--muted); }
.track-hint code { background: var(--alt); padding: 2px 8px; border-radius: 6px; color: var(--brand); font-family: monospace; }

/* result timeline */
.track-result { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.track-result[hidden] { display: none; }
.track-summary {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  background: var(--alt); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 28px;
}
.track-summary .ts-id { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.track-summary .ts-meta { font-size: 0.85rem; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; background: #dcfce7; color: #166534; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--line);
}
.tl-item.done::before { background: var(--brand); border-color: var(--brand); }
.tl-item.current::before { background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.tl-item h4 { font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.tl-item .when { font-size: 0.82rem; color: var(--muted); }
.tl-item .where { font-size: 0.9rem; color: var(--ink-2); margin-top: 2px; }

/* ============================================================
   FAQ (accordion)
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .ico { color: var(--brand); font-size: 1.4rem; transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.32s ease; }
.faq-a p { padding: 0 24px 20px; font-size: 0.96rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--ink-2); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.96rem; color: var(--ink); transition: var(--transition); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.field textarea { resize: vertical; min-height: 130px; }
.field .err { color: var(--brand); font-size: 0.8rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--brand); }
.field.invalid .err { display: block; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-success { display: none; background: #dcfce7; color: #166534; border-radius: var(--radius-sm); padding: 16px 18px; font-family: var(--font-head); font-weight: 600; }
.form-success.show { display: block; }

.info-card { background: var(--alt); border-radius: var(--radius); padding: 30px; }
.info-card h3 { margin-bottom: 18px; }
.info-list { display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; font-size: 1.2rem; }
.info-list .t { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.92rem; }
.info-list .v { font-size: 0.9rem; color: var(--muted); }

.map-placeholder {
  margin-top: 22px; border-radius: var(--radius); min-height: 240px; position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
  display: grid; place-items: center; border: 1px solid var(--line);
}
.map-placeholder::before {
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-pin { position: relative; text-align: center; color: var(--ink-2); font-family: var(--font-head); font-weight: 600; }
.map-pin .dot { font-size: 2.6rem; color: var(--brand); }

/* office cards */
.office { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.office h3 { font-size: 1.1rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.office p { font-size: 0.92rem; margin-bottom: 6px; }
.office .tag { display: inline-block; background: var(--brand-soft); color: var(--brand); font-family: var(--font-head); font-weight: 600; font-size: 0.74rem; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }

/* ============================================================
   FOOTER  (shared)
   ============================================================ */
.site-footer { background: var(--ink); color: #94a3b8; padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: #94a3b8; font-size: 0.92rem; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.07); display: grid; place-items: center; color: #cbd5e1; transition: var(--transition); }
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 0.98rem; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #94a3b8; font-size: 0.92rem; transition: var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-news p { font-size: 0.9rem; margin-bottom: 14px; }
.footer-news form { display: flex; gap: 8px; }
.footer-news input { flex: 1; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-body); font-size: 0.9rem; }
.footer-news input::placeholder { color: #64748b; }
.footer-news button { padding: 12px 16px; border-radius: var(--radius-sm); border: none; background: var(--brand); color: #fff; cursor: pointer; font-family: var(--font-head); font-weight: 600; transition: var(--transition); }
.footer-news button:hover { background: var(--brand-dark); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
/* Fallback: if JS disabled, show everything */
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 0; }
  .grid-4, .stats, .steps, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; padding: 16px 24px 28px; gap: 4px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform var(--transition); height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 12px; border-radius: 10px; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--alt); }
  .nav-cta-mobile { margin-top: 8px; }
  .nav-toggle { display: grid; }
  .nav-actions .btn:not(.nav-cta-mobile) { display: none; }
  .cta-band { padding: 44px 26px; }
  .track-panel { padding: 28px 22px; }
  .track-form, .track-row, .form-row { flex-direction: column; grid-template-columns: 1fr; }
  .footer-news form { flex-direction: column; }
}

@media (max-width: 520px) {
  .grid-2, .grid-3, .grid-4, .stats, .steps, .cert-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 36px 24px; }
}
