/**
 * PBEX TRANSPORTES & LOGÍSTICA - Design System
 * Standard: QG Web Pro Kit (Human-Craft Standard)
 * Zero AI Clichés · WCAG 2.2 AAA Contrast · Mobile-First Touch
 */

:root {
  --primary: #1e3a8a;
  --primary-hover: #172554;
  --primary-light: rgba(30, 58, 138, 0.08);
  --accent-red: #dc2626;
  --accent-red-hover: #b91c1c;
  --accent-amber: #f59e0b;
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #ffffff;
  --text-light-muted: #94a3b8;
  --bg-body: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-surface: #ffffff;
  --bg-dark: #0b1329;
  --bg-dark-surface: #131e3d;
  --border-light: #e2e8f0;
  --border-dark: #1e293b;
  --green: #16a34a;
  --whatsapp: #25d366;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: light;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ==========================================================================
   Top Announcement Bar (Live 24h Fleet & Monitoring Status)
   ========================================================================== */
.top-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.kit-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  max-width: 100%;
}

.kit-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse-dot 2s infinite ease-in-out;
}

.kit-status.is-open {
  color: var(--green);
  border-color: rgba(22, 163, 74, 0.3);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.top-contact-item:hover {
  color: var(--primary);
}

.top-contact-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-svg {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-red);
  border-radius: var(--radius-full);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header-quote {
  background: var(--accent-red);
  color: #ffffff;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  transition: background-color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-header-quote:hover {
  background: var(--accent-red-hover);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.5rem;
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   Mobile Drawer
   ========================================================================== */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-drawer.is-active {
  display: flex;
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-main);
}

.mobile-drawer-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-drawer-link {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-drawer-link:hover, .mobile-drawer-link.active {
  background: var(--bg-subtle);
  color: var(--primary);
}

/* ==========================================================================
   Buttons & UI Elements
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-red {
  background: var(--accent-red);
  color: #ffffff;
}

.btn-red:hover {
  background: var(--accent-red-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section (Human-Craft Clean)
   ========================================================================== */
.hero-clean {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-badge-clean {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(30, 58, 138, 0.07);
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-headline-clean {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-main);
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.hero-headline-clean .highlight-blue {
  color: var(--primary);
}

.hero-headline-clean .highlight-red {
  color: var(--accent-red);
}

.hero-lead-clean {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 2rem;
}

.hero-actions-clean {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-trust-clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
}

.trust-item-clean {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.trust-item-clean svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-item-clean strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.trust-item-clean span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Page Banners (Subpages)
   ========================================================================== */
.page-banner {
  padding: 3.5rem 0;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

.page-banner-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--accent-red);
  margin-bottom: 0.5rem;
  display: inline-block;
}

.page-banner-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.page-banner-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
}

/* ==========================================================================
   General Sections
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--accent-red);
  margin-bottom: 0.4rem;
  display: inline-block;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Pillars & Cards Grid
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.pillar-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.pillar-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.pillar-link:hover {
  color: var(--accent-red);
}

/* ==========================================================================
   Client Logos Grid
   ========================================================================== */
.clients-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  align-items: center;
}

.client-logo-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.2s ease;
}

.client-logo-box:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.client-logo-box img {
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
}

/* ==========================================================================
   Freight Simulator Box (Receita R11)
   ========================================================================== */
.freight-calc-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.calc-group-clean {
  margin-bottom: 1.25rem;
}

.calc-label-clean {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.calc-input-clean, .calc-select-clean {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.calc-input-clean:focus, .calc-select-clean:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  background: #ffffff;
}

.calc-result-clean {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.calc-stat-val-clean {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

/* ==========================================================================
   Tables & Responsiveness
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
}

.spec-table-clean {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  min-width: 600px;
}

.spec-table-clean th {
  background: var(--bg-subtle);
  padding: 0.85rem 1.15rem;
  text-align: left;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
}

.spec-table-clean td {
  padding: 0.85rem 1.15rem;
  font-size: 0.875rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}

.spec-table-clean tr:last-child td {
  border-bottom: none;
}

.spec-table-clean tr:nth-child(even) td {
  background: #fbfcfe;
}

/* ==========================================================================
   Subpage Responsive Grids
   ========================================================================== */
.overview-grid-clean {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.models-grid-clean, .cases-grid-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.story-grid-clean {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}

.steps-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.step-card-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card-clean:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: #cbd5e1;
}

.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.about-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-metric-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
}

.about-metric-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.about-metric-lbl {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact Layout & Form
   ========================================================================== */
.contact-layout-clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-list-clean {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-card-clean {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.contact-icon-clean {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-title-clean {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.contact-val-clean {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
}

.form-panel-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-grid-clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group-clean label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-input-clean, .form-textarea-clean, .form-select-clean {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.form-input-clean:focus, .form-textarea-clean:focus, .form-select-clean:focus {
  border-color: var(--primary);
  background: #ffffff;
  outline: 2px solid var(--primary);
  outline-offset: 1px;
}

.form-textarea-clean {
  min-height: 110px;
  resize: vertical;
}

.map-frame-clean {
  width: 100%;
  height: 380px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: block;
}

/* ==========================================================================
   CTA Strip
   ========================================================================== */
.cta-strip-clean {
  background: var(--primary);
  color: #ffffff;
  padding: 3.5rem 0;
}

.cta-strip-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cta-strip-wrap h3 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.25;
}

.cta-strip-wrap p {
  color: #bfdbfe;
  font-size: 1.05rem;
}

/* ==========================================================================
   Site Footer (Deep Navy Grounding)
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  padding: 4.5rem 0 2rem;
  color: var(--text-light-muted);
  font-size: 0.875rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-brand-svg {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-col h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-light-muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  transition: all 0.15s ease;
}

.social-btn:hover {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
}

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Mobile Action Dock (R12)
   ========================================================================== */
.kit-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.kit-dock-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.65rem 0.25rem;
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-light);
}

.kit-dock-btn:last-child {
  border-right: none;
}

.kit-dock-btn svg {
  width: 20px;
  height: 20px;
}

.kit-dock-btn.wa {
  background: var(--whatsapp);
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout-clean, .overview-grid-clean, .story-grid-clean {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .models-grid-clean, .cases-grid-clean {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .about-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 64px;
  }
  .nav-menu, .nav-cta {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .top-contacts {
    display: none;
  }
  .kit-status {
    white-space: normal;
    text-align: left;
    font-size: 0.71875rem;
  }
  .hero-clean {
    padding: 3rem 0;
  }
  .hero-trust-clean {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .models-grid-clean, .cases-grid-clean {
    grid-template-columns: 1fr;
  }
  .form-grid-clean {
    grid-template-columns: 1fr;
  }
  .kit-dock {
    display: grid;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .cta-strip-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================================
   Subpages Specific Components (QG Web Pro Human-Craft Standard)
   ========================================================================== */

.page-header {
  background: linear-gradient(135deg, #0b1329 0%, #1e293b 100%);
  color: var(--text-light);
  padding: 3.5rem 0 3rem;
  border-bottom: 3px solid var(--accent-red);
  position: relative;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-light-muted);
  margin-bottom: 1rem;
}

.page-breadcrumb a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-breadcrumb a:hover {
  color: #ffffff;
}

.page-breadcrumb .sep {
  opacity: 0.5;
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.875rem;
}

.page-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #cbd5e1;
  max-width: 820px;
  line-height: 1.6;
}

/* Service Detail Cards */
.service-full-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-full-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.service-full-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-full-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
}

.service-tag.red {
  background: #fef2f2;
  color: var(--accent-red);
  border-color: #fecaca;
}

.service-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

.spec-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.spec-item-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Fleet Cards Grid */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.fleet-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fleet-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.fleet-card-img-wrap {
  width: 100%;
  height: 200px;
  background: #e2e8f0;
  overflow: hidden;
  position: relative;
}

.fleet-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.fleet-card:hover .fleet-card-img-wrap img {
  transform: scale(1.03);
}

.fleet-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(11, 19, 41, 0.9);
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.fleet-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fleet-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.fleet-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.fleet-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
}

.fleet-specs-table td {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border-light);
}

.fleet-specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 500;
}

.fleet-specs-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

/* Gallery Grid */
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.photo-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
}

.photo-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.photo-gallery-item:hover img {
  transform: scale(1.04);
}

.photo-gallery-caption {
  padding: 0.875rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
  background: #ffffff;
  border-top: 1px solid var(--border-light);
}

/* Timeline Components */
.timeline-list {
  position: relative;
  padding-left: 2rem;
  margin: 2.5rem 0;
  border-left: 3px solid #cbd5e1;
}

.timeline-step {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-bullet {
  position: absolute;
  left: -2.625rem;
  top: 0.25rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-year {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--accent-red);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.375rem;
}

.timeline-desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
}

.value-card.red-top {
  border-top-color: var(--accent-red);
}

.value-card.amber-top {
  border-top-color: var(--accent-amber);
}

.value-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Clients Grid Page */
.clients-category-block {
  margin-bottom: 3rem;
}

.clients-category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-light);
}

.clients-grid-clean {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1rem;
}

.client-logo-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.client-logo-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.client-logo-card img {
  max-width: 120px;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo-name {
  margin-top: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* Interactive Map & Contact Layout */
.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.map-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.map-card iframe {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
}

.map-card-body {
  padding: 1.25rem;
}

.map-card-body h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.map-card-body p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Feature Checklist */
.feature-checklist {
  list-style: none;
  margin: 1.25rem 0;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.feature-checklist li svg {
  width: 20px;
  height: 20px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ Details/Summary Accordion */
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: var(--bg-surface);
  overflow: hidden;
}

.faq-item summary {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .contact-page-layout {
    grid-template-columns: 1fr;
  }
}


/* Responsive Grid Utility & Touch Safety */
.two-col-grid-responsive {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 900px) {
  .two-col-grid-responsive {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .freight-calc-box,
  .service-full-card,
  .value-card,
  .map-card-body,
  .contact-page-layout > div > div {
    padding: 1.25rem !important;
  }
}
