/* =============================================
   KANSON GROUP – WEBSITE STYLES
   ============================================= */

:root {
  --primary:       #1e40af;
  --primary-dark:  #1e3a8a;
  --primary-light: #3b82f6;
  --accent:        #f59e0b;
  --dark:          #0f172a;
  --text:          #1e293b;
  --muted:         #64748b;
  --light:         #f1f5f9;
  --lighter:       #f8fafc;
  --border:        #e2e8f0;
  --white:         #ffffff;
  --success:       #10b981;
  --shadow:        0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.06);
  --shadow-lg:     0 10px 20px -4px rgba(0,0,0,0.12), 0 4px 8px -4px rgba(0,0,0,0.08);
  --radius:        12px;
  --radius-lg:     20px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.9);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 10px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 34px; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  height: 68px;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-svg {
  width: 38px;
  height: 38px;
  display: block;
  flex-shrink: 0;
}
.logo-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta { margin-left: 4px; }

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-nav-login {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
  padding: 8px 16px;
  font-size: 14px;
}
.btn-nav-login:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #0a1628 0%, #1a2f6e 45%, #1e40af 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 102px; /* 34px top-bar + 68px navbar */
}

.hero-bg {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 60% at 75% 40%, rgba(59,130,246,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 15% 75%, rgba(245,158,11,0.05) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ── Full-bleed background video ── */
.hero-video-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* Image background mode (toggled by admin Site Settings) */
.hero-image-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
/* Dark gradient overlay — lets video show while keeping text readable */
.hero-video-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(5, 12, 30, 0.62) 0%,
      rgba(8, 18, 42, 0.48) 45%,
      rgba(5, 12, 30, 0.78) 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 3;
  padding: 80px 24px;
  max-width: 760px;
}

/* Frosted-glass card behind the hero text */
.hero-content > * {
  position: relative; z-index: 1;
}
.hero-content::before {
  content: '';
  position: absolute;
  inset: 20px -32px;
  background: rgba(5, 12, 30, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-content::before { inset: 10px -16px; border-radius: 16px; }
  .hero-content { padding: 56px 24px; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}
.hero-badge i { color: var(--accent); }

.hero-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 26px;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =============================================
   SECTION COMMONS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 100px 0;
  background: var(--lighter);
}

/* ── Process flow connector ── */
.svc-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  gap: 0;
}
.svc-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.svc-flow-step span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.svc-flow-dot {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
.svc-flow-dot:hover { transform: scale(1.1); }
.svc-flow-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--border), var(--border));
  background-size: 8px 2px;
  background-repeat: repeat-x;
  margin: 0 6px;
  margin-bottom: 32px; /* align with dot center before label */
  border-top: 2px dashed var(--border);
  height: 0;
}

/* ── Service cards: 3-column top, 2 centered bottom ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.services-grid .service-card:nth-child(1) { grid-column: 1 / 3; }
.services-grid .service-card:nth-child(2) { grid-column: 3 / 5; }
.services-grid .service-card:nth-child(3) { grid-column: 5 / 7; }
.services-grid .service-card:nth-child(4) { grid-column: 2 / 4; }
.services-grid .service-card:nth-child(5) { grid-column: 4 / 6; }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
/* Color accent on top edge when hovered */
.service-card:hover { border-top-width: 3px; }
.service-card:nth-child(1):hover { border-top-color: #3b82f6; }
.service-card:nth-child(2):hover { border-top-color: #8b5cf6; }
.service-card:nth-child(3):hover { border-top-color: #10b981; }
.service-card:nth-child(4):hover { border-top-color: #f59e0b; }
.service-card:nth-child(5):hover { border-top-color: #ef4444; }

/* Step number badge */
.svc-step-badge {
  position: absolute;
  top: 20px; right: 22px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--border);
}

/* Large colored icon */
.service-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon i { font-size: 24px; }

/* Per-service icon colors */
.svc-c-blue   { background: rgba(59,130,246,0.12);  color: #2563eb; }
.svc-c-purple { background: rgba(139,92,246,0.12);  color: #7c3aed; }
.svc-c-green  { background: rgba(16,185,129,0.12);  color: #059669; }
.svc-c-amber  { background: rgba(245,158,11,0.12);  color: #d97706; }
.svc-c-red    { background: rgba(239,68,68,0.12);   color: #dc2626; }

/* Flow dots use solid bg */
.svc-flow-dot.svc-c-blue   { background: #3b82f6; }
.svc-flow-dot.svc-c-purple { background: #8b5cf6; }
.svc-flow-dot.svc-c-green  { background: #10b981; }
.svc-flow-dot.svc-c-amber  { background: #f59e0b; }
.svc-flow-dot.svc-c-red    { background: #ef4444; }

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 7px;
}
.service-list li {
  font-size: 13px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 11px;
  top: 1px;
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-grid .service-card:nth-child(n) { grid-column: span 1; }
  .svc-flow-step span { display: none; }
  .svc-flow-dot { width: 42px; height: 42px; font-size: 15px; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc-flow { gap: 0; }
}

/* =============================================
   PRICING CALCULATOR
   ============================================= */
.calculator-section {
  padding: 100px 0;
  background: var(--white);
}

.calc-wrapper {
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.calc-tabs {
  display: flex;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.calc-tabs::-webkit-scrollbar { display: none; }

.calc-tab {
  flex: 1;
  min-width: 150px;
  padding: 16px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.calc-tab:hover { color: var(--primary); background: var(--lighter); }
.calc-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--lighter);
}

.calc-panel { display: none; padding: 40px; }
.calc-panel.active { display: block; }

.panel-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
  align-items: end;
}

/* Shared form group (used in calc + contact) */
.form-group {
  display: flex; flex-direction: column; gap: 6px;
}
.form-group label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}
.form-group small {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
/* Inline field errors */
.form-error {
  font-size: 12px;
  color: #dc2626;
  font-weight: 500;
  min-height: 16px;
  display: block;
}
.input-error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12) !important;
}
.input-error:focus {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.18) !important;
}

/* Storage rate reference table */
.rate-table {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  font-size: 13px;
}
.rate-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.rate-row:last-child { border-bottom: none; }
.rate-row span:last-child { font-weight: 600; color: var(--text); }

/* Panel header with unit toggle */
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.panel-header .panel-title { margin-bottom: 0; }

.unit-toggle-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.unit-toggle-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.unit-toggle {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.unit-btn {
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  border: none;
  border-right: 1.5px solid var(--border);
  cursor: pointer;
  color: var(--muted);
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.unit-btn:last-child { border-right: none; }
.unit-btn.active { background: var(--primary); color: white; }
.unit-btn:not(.active):hover { background: var(--light); color: var(--text); }

/* Calc action button row */
.calc-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.btn-reset {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--muted);
  transition: all 0.2s;
  font-family: inherit;
}
.btn-reset:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--light);
}

.calc-result {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  animation: fadeIn 0.25s ease;
}
.calc-result.show { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.result-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.result-line:last-of-type { border-bottom: none; }
.result-label { color: var(--muted); flex: 1; }
.result-value { font-weight: 600; color: var(--text); text-align: right; }

.result-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0;
  margin-top: 10px;
  border-top: 2px solid var(--border);
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}
.total-amount { color: var(--primary); }

.result-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 12.5px;
  color: #78350f;
  display: flex;
  gap: 8px;
  line-height: 1.5;
}
.result-note i { flex-shrink: 0; margin-top: 1px; }

/* ── Volume tier selector row (above calc tabs) ── */
.calc-volume-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: 10px;
  padding: 12px 20px;
  margin-bottom: 2px;
}

.volume-row-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}
.volume-row-label i { font-size: 13px; }

.calc-volume-row select {
  flex: 1;
  min-width: 200px;
  max-width: 340px;
  padding: 8px 12px;
  border: 1.5px solid #93c5fd;
  border-radius: 7px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
}
.calc-volume-row select:focus {
  outline: none;
  border-color: var(--primary);
}

.volume-tier-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.volume-tier-badge.surcharge {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.volume-tier-badge.discount {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}
.volume-tier-badge.base {
  background: #f1f5f9;
  color: var(--muted);
  border: 1px solid var(--border);
}

/* (kept for any legacy references) */
.volume-tier-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 16px;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: 8px;
  font-size: 13px;
  color: #78350f;
  margin-top: 12px;
  line-height: 1.5;
}
.volume-tier-note i { flex-shrink: 0; margin-top: 1px; color: #d97706; }
.volume-tier-note a { color: var(--primary); font-weight: 600; }

.result-error {
  color: #dc2626;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 0;
}

.inbound-type-selector, .outbound-type-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.type-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--lighter);
  color: var(--muted);
  transition: all 0.2s;
  font-family: inherit;
}
.type-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.type-btn:hover:not(.active) {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
}
.optional-label {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

/* =============================================
   ABOUT
   ============================================= */
.about {
  padding: 100px 0;
  background: var(--lighter);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-text .section-title { text-align: left; }
.about-text p {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: flex; flex-direction: column; gap: 13px;
  margin-top: 28px;
}
.about-feature {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 500; color: var(--text);
}
.about-feature i { color: var(--success); font-size: 17px; flex-shrink: 0; }

.about-visual { display: flex; justify-content: center; }
.about-card-stack {
  display: flex; flex-direction: column; gap: 14px;
  width: 100%; max-width: 320px;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.about-card:hover { transform: translateX(4px); }

.about-card-icon {
  width: 38px; height: 38px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.about-card div { display: flex; flex-direction: column; gap: 2px; }
.about-card strong { font-size: 14px; font-weight: 700; color: var(--dark); }
.about-card span  { font-size: 13px; color: var(--muted); }

.card-1 { transform: translateX(-12px); }
.card-2 { transform: translateX(12px); }
.card-3 { transform: translateX(-6px); }
.card-1:hover { transform: translateX(-8px); }
.card-2:hover { transform: translateX(16px); }
.card-3:hover { transform: translateX(-2px); }

/* =============================================
   PARTNERS & INTEGRATIONS
   ============================================= */
.partners {
  padding: 100px 0;
  background: var(--white);
}

.partners-groups {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.partner-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 20px;
}
.partner-group-header i {
  color: var(--primary);
  font-size: 13px;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.partner-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.partner-logo-img {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.checkbox-group {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 6px;
}
.checkbox-label {
  display: flex; align-items: center; gap: 7px;
  font-size: 14px; color: var(--text); cursor: pointer;
}
.checkbox-label input { accent-color: var(--primary); }

.submit-btn { align-self: flex-start; }

.form-success {
  padding: 14px 18px;
  background: #d1fae5;
  border-radius: 8px;
  color: #065f46;
  font-weight: 600;
  font-size: 14px;
  display: flex; align-items: center; gap: 8px;
  animation: fadeIn 0.3s ease;
}

.contact-info {
  display: flex; flex-direction: column; gap: 22px;
}
.contact-info h3 {
  font-size: 19px; font-weight: 700; color: var(--dark);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
}
.contact-item-icon {
  width: 36px; height: 36px;
  background: var(--light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}
.contact-item div { display: flex; flex-direction: column; gap: 2px; }
.contact-item strong { font-size: 13.5px; font-weight: 700; color: var(--dark); }
.contact-item span  { font-size: 13.5px; color: var(--muted); }

.note-box {
  background: var(--lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: flex; gap: 12px;
  margin-top: auto;
}
.note-box i { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.note-box p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* =============================================
   QUOTE FLOW — STEP INDICATOR
   ============================================= */
.qf-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.qf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.qf-step-dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s;
}
.qf-step.active   .qf-step-dot { background: var(--primary); color: #fff; }
.qf-step.done     .qf-step-dot { background: var(--success);  color: #fff; }
.qf-step-label {
  font-size: 12px; font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s;
}
.qf-step.active .qf-step-label { color: var(--primary); }
.qf-step.done   .qf-step-label { color: var(--success); }
.qf-step-line {
  flex: 1; min-width: 60px; height: 2px;
  background: var(--border);
  margin-bottom: 18px;
  transition: background 0.25s;
}
.qf-step-line.done { background: var(--success); }

/* ── Panels ── */
.qf-panel { display: none; }
.qf-panel.active { display: block; }

/* ── Step 1 action buttons ── */
.qf-step1-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 20px;
}
.btn-outline-muted {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-muted:hover { border-color: var(--text); color: var(--text); }

/* ── Forecast Cards ── */
.fc-card {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  margin-bottom: 16px;
  overflow: hidden;
}
.fc-card-header {
  padding: 16px 20px;
  background: var(--bg);
  border-bottom: 1.5px solid var(--border);
}
.fc-card-title {
  font-size: 15px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.fc-card-title i { color: var(--primary); font-size: 14px; }
.fc-card-body {
  padding: 20px;
}
.fc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.fc-type-row {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.fc-field-label {
  font-size: 13px; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.qf-type-btns {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.qf-type-btn {
  padding: 5px 14px; font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--border); border-radius: 20px;
  background: transparent; color: var(--muted); cursor: pointer;
  transition: all 0.15s;
}
.qf-type-btn.active { border-color: var(--primary); background: var(--primary); color: #fff; }
.fc-fields { display: none; }
.fc-fields.active { display: block; }
.fc-note {
  font-size: 12.5px; color: var(--muted);
  margin: 12px 0 0; display: flex; align-items: center; gap: 6px;
}
.fc-note i { color: var(--primary); }
.fc-subsection-label {
  font-size: 12px; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
  letter-spacing: 0.06em; margin: 0 0 12px;
  display: flex; align-items: center; gap: 6px;
}
.fc-subsection-label i { color: var(--primary); }
.fc-subsection-divider {
  border: none; border-top: 1.5px solid var(--border);
  margin: 18px 0;
}
/* Volume tier badge inside outbound forecast card */
.fc-tier-badge {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-top: 12px;
  line-height: 1.5;
  display: block;
}
.fc-tier-badge:empty { display: none; }
.fc-tier-badge.fc-tier-good {
  background: rgba(16,185,129,0.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.3);
}
.fc-tier-badge.fc-tier-warn {
  background: rgba(245,158,11,0.1);
  color: #b45309;
  border: 1px solid rgba(245,158,11,0.3);
}

/* ── Step 2 / 3 nav row ── */
.qf-nav-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 24px; padding-top: 20px;
  border-top: 1.5px solid var(--border);
}
.qf-action-btns {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.qf-send-hint {
  font-size: 12px; color: var(--muted);
  margin: 10px 0 0; text-align: right;
  display: flex; align-items: center; justify-content: flex-end; gap: 5px;
}
.qf-send-hint i { color: var(--primary); }

/* ── Results table ── */
.qf-result-header { margin-bottom: 24px; }
.qf-proj-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.qf-proj-table th,
.qf-proj-table td {
  padding: 12px 16px; text-align: right;
  border-bottom: 1px solid var(--border);
}
.qf-proj-table th:first-child,
.qf-proj-table td:first-child { text-align: left; }
.qf-proj-table thead th {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); background: var(--bg);
}
.qf-proj-table thead th:not(:first-child) { color: var(--primary); }
.qf-proj-table .qf-tr-total td {
  font-weight: 700; font-size: 15px;
  color: var(--primary); border-top: 2px solid var(--primary);
  border-bottom: none;
}
.qf-proj-table .qf-tr-total td:first-child { color: var(--text); }
.qf-zero { color: var(--muted); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 60px 0 48px;
}

.footer-brand .logo-text { color: white; }
.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.7; max-width: 280px; }

.footer-links h4 {
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bottom-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.45);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #fff; }
.footer-bottom-links span { color: rgba(255,255,255,0.25); }
@media (max-width: 600px) {
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* =============================================
   STORAGE SUB-TABS
   ============================================= */
.st-sub-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
  overflow-x: auto;
  scrollbar-width: none;
}
.st-sub-tabs::-webkit-scrollbar { display: none; }

.st-sub-tab {
  padding: 11px 22px;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  font-family: inherit;
  display: flex; align-items: center; gap: 7px;
  white-space: nowrap;
  transition: all 0.18s;
}
.st-sub-tab:hover { color: var(--primary); background: var(--lighter); }
.st-sub-tab.active { color: var(--primary); border-bottom-color: var(--primary); background: var(--lighter); }

.st-sub-panel { display: none; }
.st-sub-panel.active { display: block; }

.st-desc {
  font-size: 14px;
  color: var(--muted);
  margin: -16px 0 28px;
  line-height: 1.6;
}

/* =============================================
   PALLET BUILDER
   ============================================= */
.pb-section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.pb-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.opt-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
}

/* ── "No mix" toggle option row ── */
.pb-option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
.pb-option-row input[type="checkbox"] { display: none; }
.pb-tog-track {
  flex-shrink: 0;
  width: 38px;
  height: 22px;
  background: var(--border);
  border-radius: 11px;
  position: relative;
  transition: background 0.2s;
}
.pb-tog-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: left 0.2s;
}
.pb-option-row input:checked ~ .pb-tog-track { background: var(--primary); }
.pb-option-row input:checked ~ .pb-tog-track .pb-tog-thumb { left: 19px; }

/* Column header row above box rows */
.pb-col-headers {
  display: grid;
  grid-template-columns: 2fr 0.65fr 0.65fr 0.65fr 0.65fr 0.75fr 36px;
  gap: 8px;
  padding: 0 12px;
  margin-bottom: 6px;
}
.pb-col-headers span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Individual box type row */
.box-row {
  display: grid;
  grid-template-columns: 2fr 0.65fr 0.65fr 0.65fr 0.65fr 0.75fr 36px;
  gap: 8px;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  transition: border-color 0.15s;
}
.box-row:hover { border-color: #c7d2fe; }

.box-name-input,
.box-num-input {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 13.5px;
  font-family: inherit;
  background: white;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.box-name-input:focus,
.box-num-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.08);
}
.box-num-input { text-align: center; }

.btn-add-box {
  display: flex; align-items: center; gap: 6px;
  background: var(--lighter);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.btn-add-box:hover { background: var(--primary); color: white; }

.btn-remove-box {
  background: none;
  border: 1.5px solid #fca5a5;
  color: #ef4444;
  border-radius: 6px;
  width: 34px;
  height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.btn-remove-box:hover { background: #ef4444; color: white; border-color: #ef4444; }

/* Pallet result cards */
.pb-result-card {
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 20px;
}
.pb-result-card.success { background: #f0fdf4; border: 1.5px solid #86efac; }
.pb-result-card.warning { background: #fffbeb; border: 1.5px solid #fcd34d; }
.pb-result-card.danger  { background: #fef2f2; border: 1.5px solid #fca5a5; }

.pb-status-line {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 16px;
}
.pb-status-line.success { color: #166534; }
.pb-status-line.warning { color: #92400e; }
.pb-status-line.danger  { color: #991b1b; }

.pb-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 20px;
}
.pb-summary-item { text-align: center; }
.pb-summary-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}
.pb-summary-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.pb-summary-lbl {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.pb-warn-list { margin: 0 0 16px; }
.pb-warn-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 7px 0;
  font-size: 13.5px;
  color: #92400e;
  border-bottom: 1px solid rgba(245,158,11,0.2);
}
.pb-warn-item:last-child { border-bottom: none; }
.pb-warn-item i { margin-top: 2px; color: #f59e0b; flex-shrink: 0; }
.pb-warn-item.danger-item { color: #991b1b; }
.pb-warn-item.danger-item i { color: #ef4444; }

/* Outbound pallet charges section (embedded in pallet builder result) */
.pb-outbound-charges {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px 14px;
  margin: 10px 0 16px;
}
.pb-oc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.pb-oc-header i { color: var(--primary); }
.pb-oc-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13.5px;
}
.pb-oc-line-last { border-bottom: none; }
.pb-oc-lbl { flex: 0 0 80px; color: var(--muted); font-size: 13px; }
.pb-oc-formula {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--dark);
}
.pb-oc-rate-note { font-size: 12px; color: var(--muted); }
.pb-oc-amt {
  min-width: 82px;
  text-align: right;
  font-weight: 600;
  color: var(--dark);
  font-size: 13.5px;
}
.pb-ob-label-input {
  width: 64px;
  border: 1.5px solid #e2e8f0;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 13px;
  text-align: center;
  font-family: inherit;
  color: var(--dark);
  transition: border-color 0.15s;
}
.pb-ob-label-input:focus { outline: none; border-color: var(--primary); }
.pb-oc-total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
  border-top: 1.5px solid #e2e8f0;
  margin-top: 4px;
}
.pb-oc-total-line span:last-child { color: var(--primary); font-size: 19px; }
.pb-oc-tier-note {
  font-size: 12px;
  color: #6d28d9;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}
.pb-oc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.pb-oc-note {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.pb-outbound-go-btn {
  padding: 6px 14px !important;
  font-size: 12.5px !important;
  white-space: nowrap;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
.pb-outbound-go-btn:hover {
  background: var(--primary) !important;
  color: #fff !important;
}

.pb-layers-section { margin-top: 24px; }
.pb-layers-section .panel-title {
  font-size: 15px;
  margin-bottom: 12px;
}

.pb-layers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.pb-layers-table th {
  background: #f1f5f9;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--border);
}
.pb-layers-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--dark);
  vertical-align: top;
}
.pb-layers-table tr:last-child td { border-bottom: none; }
.pb-layers-table tr:nth-child(even) td { background: #f8fafc; }
.pb-layer-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}
.pb-layer-item { font-size: 12.5px; color: var(--text); line-height: 1.7; }
.pb-mix-note {
  font-size: 11px;
  color: #f59e0b;
  font-weight: 600;
  margin-top: 3px;
}

/* ── CuFT / m³ Dimension Calculator ── */
.cuft-section {
  background: var(--lighter);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px 16px;
  margin-bottom: 18px;
}
.cuft-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.cuft-section-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 7px;
}
.cuft-section-title i { color: var(--primary); }

/* Column headers */
.cuft-col-hd {
  display: grid;
  grid-template-columns: 2fr 0.65fr 0.65fr 0.65fr 0.65fr 0.85fr 36px;
  gap: 8px;
  padding: 0 10px;
  margin-bottom: 6px;
}
.cuft-col-hd span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cuft-col-hd em { font-style: normal; font-weight: 400; text-transform: none; }

/* Individual row */
.cuft-row {
  display: grid;
  grid-template-columns: 2fr 0.65fr 0.65fr 0.65fr 0.65fr 0.85fr 36px;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 7px;
  transition: border-color 0.15s;
}
.cuft-row:hover { border-color: #c7d2fe; }

.cuft-inp {
  width: 100%;
  padding: 7px 8px;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  font-size: 13px;
  font-family: inherit;
  background: white;
  color: var(--text);
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.cuft-inp:focus { outline: none; border-color: var(--primary); }
.cuft-inp.cuft-nm { font-size: 13px; }
.cuft-inp.cuft-qt,
.cuft-inp.cuft-l,
.cuft-inp.cuft-w,
.cuft-inp.cuft-h  { text-align: center; }

.cuft-each {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-align: right;
  padding-right: 2px;
}
.cuft-each.has-value { color: var(--primary); }

/* Live total bar */
.cuft-live-bar {
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}
.cuft-live-bar.has-value {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1.5px solid #bfdbfe;
  padding: 12px 16px;
}
.cuft-live-nums {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cuft-live-block {
  display: flex;
  flex-direction: column;
}
.cuft-live-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.cuft-live-lbl {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 2px;
}
.cuft-live-sep {
  font-size: 18px;
  color: var(--muted);
  font-weight: 300;
}

/* ── Returns multi-row ── */
.ret-col-hd {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 36px;
  gap: 8px;
  padding: 0 10px;
  margin-bottom: 6px;
}
.ret-col-hd span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ret-col-hd em { font-style: normal; font-weight: 400; text-transform: none; }
.ret-row {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr 0.8fr 36px;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 7px;
  transition: border-color 0.15s;
}
.ret-row:hover { border-color: #c7d2fe; }
.ret-row .cuft-inp { text-align: center; }
.ret-row .ret-nm   { text-align: left; }

/* ══════════════════════════════════════════════
   STORAGE FORECAST
   ══════════════════════════════════════════════ */
.forecast-section {
  border-top: 2px solid var(--border);
  margin-top: 28px;
  padding-top: 24px;
}
.forecast-hd { margin-bottom: 16px; }
.forecast-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 5px;
}
.forecast-title i { color: var(--primary); }
.forecast-desc {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* Forecast column headers */
.fc-col-hd {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr 0.85fr 0.95fr 36px;
  gap: 8px;
  padding: 0 10px;
  margin-bottom: 6px;
}
.fc-col-hd span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Forecast row */
.fc-row {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 0.75fr 0.85fr 0.95fr 36px;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 7px;
  transition: border-color 0.15s;
}
.fc-row:hover { border-color: #c7d2fe; }

/* Row action buttons */
.fc-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.fc-import-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px dashed var(--primary);
  border-radius: 8px;
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 13px;
  cursor: pointer;
  transition: background 0.15s;
}
.fc-import-btn:hover { background: var(--lighter); }

/* Options row */
.fc-options { margin-bottom: 0; }
.fc-months-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fc-months-wrap input { max-width: 80px; text-align: center; }
.fc-months-lbl { font-size: 13px; color: var(--muted); font-weight: 500; }
.fc-radio-group {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 6px;
}
.fc-radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text);
  cursor: pointer;
}
.fc-radio-label input[type="radio"] { accent-color: var(--primary); }

/* Result */
.fc-note {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0 14px;
}
.fc-table-wrap { overflow-x: auto; }
.fc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.fc-table th {
  background: var(--lighter);
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 1.5px solid var(--border);
  white-space: nowrap;
}
.fc-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--dark);
  white-space: nowrap;
}
.fc-table tbody tr:hover { background: #f8fafc; }
.fc-td-r { text-align: right; }
.fc-td-m { font-weight: 600; }
.fc-green { color: #059669; font-weight: 600; }
.fc-red   { color: #dc2626; font-weight: 600; }
.fc-cost  { font-weight: 700; color: var(--primary); }
.fc-total-row td {
  font-weight: 700;
  background: var(--lighter);
  border-top: 2px solid var(--border);
  border-bottom: none;
  padding-top: 10px;
}

/* ── Pallet 3-D interactive diagram ── */
.pb-canvas-wrap {
  margin: 20px 0;
  background: #f0f5fb;
  border: 1.5px solid #d1dce8;
  border-radius: 12px;
  padding: 14px 14px 12px;
  overflow: hidden;
}
.pb-canvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.pb-canvas-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.pb-canvas-title i { margin-right: 5px; color: var(--primary); }

/* View preset buttons */
.pb-view-btns {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.pb-view-btn {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 7px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  line-height: 1.4;
}
.pb-view-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
}
.pb-view-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pb-view-btn i { margin-right: 3px; }

/* Canvas element */
#pallet-3d {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  border-radius: 8px;
}

/* Drag hint */
.pb-canvas-hint {
  text-align: center;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.01em;
}
.pb-canvas-hint i { margin-right: 4px; opacity: 0.75; }

/* Legend */
.pb-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--dark);
}
.pb-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
}
.pb-legend-swatch {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.18);
  display: inline-block;
}

/* ── Layer Floor Plan section ── */
.pb-floorplan-section {
  margin-top: 28px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 16px 14px;
  background: #fff;
}
.pb-floorplan-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.pb-floorplan-sub {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.pb-layer-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pb-layer-tab-btn {
  background: #f1f5f9;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.pb-layer-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.pb-layer-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pb-floorplan-canvas-wrap {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  overflow: hidden;
  padding: 6px;
}
#pallet-layer-view {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links, .nav-buttons { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: white;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }

  .hero-stats { gap: 28px; }

  .calc-tab { min-width: 120px; font-size: 12.5px; padding: 13px 12px; }
  .calc-panel { padding: 24px 18px; }
  .calc-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }

  /* Pallet builder responsive */
  .pb-col-headers,
  .box-row {
    grid-template-columns: 1.4fr 0.6fr 0.6fr 0.6fr 0.6fr 0.7fr 32px;
    gap: 5px;
  }
  .pb-summary-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .checkbox-group { flex-direction: column; }
}

/* ── Multi-pallet summary grid ───────────────── */
.pb-summary-grid.multi-pallet { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 600px) {
  .pb-summary-grid.multi-pallet { grid-template-columns: repeat(2, 1fr); }
}
.pb-summary-highlight .pb-summary-num {
  color: var(--primary);
  font-size: 26px;
  font-weight: 800;
}

/* ── Pallet group selector ────────────────────── */
.pb-pallet-selector {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px 16px;
  margin: 4px 0 18px;
}
.pb-selector-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pb-pallet-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pb-pallet-tab {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 16px 12px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  min-width: 140px;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.pb-pallet-tab:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(30,64,175,0.1);
}
.pb-pallet-tab.active {
  border-color: var(--primary);
  background: #eff6ff;
  box-shadow: 0 2px 8px rgba(30,64,175,0.12);
}
.pb-ptab-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.pb-ptab-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--dark);
}
.pb-ptab-count {
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  line-height: 1;
}
.pb-ptab-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ════════════════════════════════════════════
   LANGUAGE TOGGLE
   ════════════════════════════════════════════ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.lang-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(30,64,175,0.05);
}
@media (max-width: 768px) {
  .lang-toggle {
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    padding: 10px;
    margin-top: 8px;
  }
}

/* ════════════════════════════════════════════
   STATS STRIP  (between Hero and Services)
   ════════════════════════════════════════════ */
.stats-strip {
  background: var(--dark);
  padding: 32px 0;
}
.stats-strip-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.strip-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.strip-stat:last-child { border-right: none; }
.strip-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  line-height: 1.1;
}
.strip-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-align: center;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .stats-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .strip-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .strip-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .strip-stat:nth-last-child(-n+2) { border-bottom: none; }
}

/* ════════════════════════════════════════════
   HOW IT WORKS SECTION
   ════════════════════════════════════════════ */
.how-it-works {
  padding: 100px 0;
  background: var(--lighter);
}
.hiw-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.hiw-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
/* Connecting line between steps */
.hiw-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(50% + 28px);
  right: calc(-50% + 28px);
  height: 2px;
  background: linear-gradient(to right, var(--primary-light), rgba(59,130,246,0.3));
  border-radius: 2px;
}
.hiw-step-num {
  width: 40px; height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(30,64,175,0.12);
  margin-bottom: 18px;
}
.hiw-step-icon {
  width: 56px; height: 56px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.hiw-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.hiw-step-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 200px;
}
@media (max-width: 768px) {
  .hiw-steps {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .hiw-step:not(:last-child)::after {
    top: auto;
    bottom: -24px;
    left: 50%;
    right: auto;
    width: 2px;
    height: 24px;
    background: linear-gradient(to bottom, var(--primary-light), rgba(59,130,246,0.3));
  }
  .hiw-step { padding: 0; max-width: 260px; }
}

/* ════════════════════════════════════════════
   FAQ SECTION
   ════════════════════════════════════════════ */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}
.faq-list {
  max-width: 760px;
  margin: 60px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--primary); }
.faq-question-text {
  font-size: 16px;
  font-weight: 600;
  color: inherit;
  line-height: 1.4;
  transition: color 0.2s;
}
.faq-item.open .faq-question-text { color: var(--primary); }
.faq-chevron {
  width: 28px; height: 28px;
  background: var(--light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.2s, color 0.2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--primary);
  color: white;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 4px 20px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* ════════════════════════════════════════════
   TESTIMONIALS SECTION
   ════════════════════════════════════════════ */
.testimonials {
  padding: 100px 0;
  background: var(--light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.testimonial-quote-mark {
  font-size: 64px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.1;
  line-height: 0.6;
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  flex: 1;
}
.testimonial-stars {
  display: flex;
  gap: 3px;
}
.testimonial-stars i {
  color: var(--accent);
  font-size: 13px;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.testimonial-role {
  font-size: 13px;
  color: var(--muted);
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 560px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid .testimonial-card:last-child { grid-column: auto; max-width: none; }
}

/* ════════════════════════════════════════════
   FLOATING EMAIL BUTTON
   ════════════════════════════════════════════ */
.floating-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 54px;
  height: 54px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(30,64,175,0.45);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.floating-btn:hover {
  transform: scale(1.1) translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 6px 28px rgba(30,64,175,0.55);
}
.floating-btn-tooltip {
  position: absolute;
  right: 62px;
  background: var(--dark);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.floating-btn-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--dark);
}
.floating-btn:hover .floating-btn-tooltip { opacity: 1; }
@media (max-width: 768px) {
  .floating-btn { bottom: 20px; right: 20px; width: 48px; height: 48px; font-size: 18px; }
}

/* ════════════════════════════════════════════
   GOOGLE MAPS EMBED
   ════════════════════════════════════════════ */
.contact-map {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  line-height: 0;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 220px;
  border: none;
}

/* ── Technology & API Section ── */
.tech-section {
  padding: 80px 0;
  background: var(--dark);
}
.tech-section .section-label { color: var(--accent); }
.tech-section .section-label::before { background: var(--accent); }
.tech-section .section-title { color: #fff; }
.tech-section .section-sub   { color: rgba(255,255,255,0.60); }

/* Platform banner */
.tech-platform-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 20px 28px;
  margin: 36px 0 20px;
  flex-wrap: wrap;
}
.tech-platform-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.tech-platform-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
/* Shipout SVG has its own dark background — skip the invert filter */
.tech-platform-logo.shipout-logo {
  filter: none;
  height: 44px;
  border-radius: 6px;
  opacity: 1;
}
.tech-platform-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tech-platform-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.tech-platform-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.tech-api-link {
  color: #fff;
  border-color: rgba(255,255,255,0.30);
  font-size: 14px;
  white-space: nowrap;
}
.tech-api-link:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}

/* "What you can do" label */
.tech-features-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
}

/* 3×2 feature grid */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 900px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tech-grid { grid-template-columns: 1fr; }
}

.tech-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 24px 22px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.tech-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(59,130,246,0.45);
  transform: translateY(-3px);
}
.tech-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59,130,246,0.20);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}
.tech-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.tech-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* Bottom CTA row */
.tech-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 36px;
}
.tech-cta p {
  font-size: 15px;
  color: rgba(255,255,255,0.70);
  margin: 0;
}

@media (max-width: 768px) {
  .tech-platform-card { flex-direction: column; align-items: flex-start; }
  .tech-cta { flex-direction: column; text-align: center; }
}

/* ── Page Load Progress Bar ── */
.page-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 99999;
  transition: width 0.5s ease, opacity 0.5s ease;
  opacity: 1;
  pointer-events: none;
}

/* ── Scroll-to-Top Button ── */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, background 0.2s, color 0.2s;
  z-index: 9998;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Floating Buttons Stack ── */
/* Replace single floating-btn with a stacked group */
.floating-btns {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 9999;
}
/* WhatsApp variant */
.floating-btn-wa {
  background: #25d366 !important;
}
.floating-btn-wa:hover {
  background: #1da851 !important;
  transform: scale(1.08);
}

/* ── Mobile Sticky CTA Bar ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 10px 16px;
  gap: 10px;
  z-index: 9997;
}
.mobile-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.mobile-cta-email {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.mobile-cta-email:hover { background: rgba(255,255,255,0.16); }
.mobile-cta-quote {
  background: var(--primary);
  color: #fff;
  border: 2px solid transparent;
}
.mobile-cta-quote:hover { background: var(--primary-dark); }

@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  .floating-btns  { bottom: 80px; right: 20px; }
  .scroll-top-btn { bottom: 80px; left: 16px; }
}

/* ── CCPA / Cookie Banner ── */
.ccpa-banner {
  position: fixed;
  bottom: -140px;
  left: 0; right: 0;
  background: #1a2744;
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 14px 24px;
  z-index: 9996;
  transition: bottom 0.45s cubic-bezier(0.34, 1.3, 0.64, 1);
}
.ccpa-banner.visible { bottom: 0; }
@media (max-width: 768px) {
  .ccpa-banner.visible { bottom: 60px; }
}
.ccpa-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ccpa-banner p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.72);
  margin: 0;
  line-height: 1.55;
}
.ccpa-banner a { color: var(--accent); text-decoration: underline; }
.ccpa-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-sm { padding: 7px 18px !important; font-size: 13px !important; }
.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.30);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}


/* =============================================
   TOP INFO BAR
   ============================================= */
.top-bar {
  background: #0a0f1e;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 7px 0;
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 34px;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.top-bar-link {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}
.top-bar-link:hover { color: #fff; }
.top-bar-link i { font-size: 11px; color: var(--primary-light); }
.top-bar-divider { color: rgba(255,255,255,0.2); }
.top-bar-right { display: flex; align-items: center; gap: 8px; }
.top-bar-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #10b981;
  font-weight: 500;
}
.top-bar-live {
  font-size: 7px;
  color: #10b981;
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
@media (max-width: 600px) {
  .top-bar-right { display: none; }
  .top-bar-divider:last-of-type { display: none; }
}

/* =============================================
   BOOK A CALL BUTTON
   ============================================= */
.btn-book-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-book-call:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-book-call i { color: var(--accent); }
@media (max-width: 900px) { .btn-book-call { display: none; } }

/* =============================================
   HERO TRUST ROW & PILL
   ============================================= */
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  padding: 5px 14px;
  backdrop-filter: blur(6px);
}
.hero-trust-pill-text {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.hero-trust-logo {
  height: 16px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
@media (max-width: 600px) { .hero-trust-pill { display: none; } }

/* =============================================
   HERO TESTIMONIAL CARD
   ============================================= */
.hero-testimonial {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px 18px;
  backdrop-filter: blur(10px);
  margin-top: 28px;
  max-width: 520px;
  animation: fadeSlideUp 0.8s ease 0.6s both;
}
.hero-testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  color: #fff;
}
.hero-testi-body { display: flex; flex-direction: column; gap: 2px; }
.hero-testi-quote {
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  line-height: 1.45;
  margin: 0;
  font-style: italic;
}
.hero-testi-name {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
}
.hero-testi-stars { color: var(--accent); font-size: 11px; letter-spacing: 1px; }
@media (max-width: 600px) { .hero-testimonial { display: none; } }

/* =============================================
   STATS STRIP — ICONS + DESCRIPTIONS
   ============================================= */
.strip-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--primary-light);
  margin: 0 auto 10px;
  transition: background 0.2s;
}
.strip-stat:hover .strip-stat-icon { background: rgba(59,130,246,0.15); }
.strip-stat-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 3px;
  line-height: 1.4;
}

/* =============================================
   MARKETPLACE LOGO MARQUEE
   ============================================= */
.marquee-section {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 22px 0;
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
}
.marquee-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-logo {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.3s;
  flex-shrink: 0;
}
.marquee-logo:hover { filter: grayscale(0) opacity(1); }
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================
   WHY KANSON SECTION
   ============================================= */
.why-section {
  padding: 90px 0 80px;
  background: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin: 50px 0 60px;
}
.why-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(30,64,175,0.10);
  border-color: #bfdbfe;
}
.why-card-featured {
  background: linear-gradient(145deg, #1e3a8a 0%, #1e40af 100%);
  border-color: transparent;
  color: #fff;
}
.why-card-featured .why-card-title,
.why-card-featured .why-card-desc { color: #fff; }
.why-card-featured .why-card-list  { color: rgba(255,255,255,0.85); }
.why-card-featured:hover { border-color: transparent; box-shadow: 0 24px 60px rgba(30,64,175,0.35); }
.why-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #0f172a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}

/* Animated ring diagram */
.why-card-anim {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}
.why-anim-ring {
  position: absolute;
  top: 0; left: 0;
  width: 80px; height: 80px;
}
.why-ring-path {
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4,0,0.2,1);
}
.why-card.animated .why-ring-path { stroke-dashoffset: 0 !important; }
.why-anim-circle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
}
.why-anim-blue   { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.why-anim-amber  { background: linear-gradient(135deg, #d97706, #f59e0b); }
.why-anim-green  { background: linear-gradient(135deg, #059669, #10b981); }
/* Pulse ring for featured card */
.why-anim-pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(245,158,11,0.4);
  transform: translate(-50%,-50%) scale(1);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: translate(-50%,-50%) scale(0.9); opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(1.8); opacity: 0; }
}

.why-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.why-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 16px;
}
.why-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.why-card-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #334155;
}
.why-card-featured .why-card-list li { color: rgba(255,255,255,0.85); }
.why-card-list li i { color: #10b981; font-size: 13px; flex-shrink: 0; }
.why-card-featured .why-card-list li i { color: #fbbf24; }

/* Animated flow diagram */
.why-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 32px 0 8px;
  border-top: 1px solid #e2e8f0;
}
.why-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.why-flow-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  animation: flowBounce 3s ease-in-out infinite;
}
.why-flow-icon:nth-child(1) { animation-delay: 0s; }
.why-flow-step:nth-child(3) .why-flow-icon { animation-delay: 0.3s; }
.why-flow-step:nth-child(5) .why-flow-icon { animation-delay: 0.6s; }
.why-flow-step:nth-child(7) .why-flow-icon { animation-delay: 0.9s; }
.why-flow-step:nth-child(9) .why-flow-icon { animation-delay: 1.2s; }
@keyframes flowBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
.wf-blue   { background: linear-gradient(135deg,#1e40af,#3b82f6); }
.wf-purple { background: linear-gradient(135deg,#7c3aed,#a78bfa); }
.wf-amber  { background: linear-gradient(135deg,#d97706,#f59e0b); }
.wf-green  { background: linear-gradient(135deg,#059669,#10b981); }
.wf-teal   { background: linear-gradient(135deg,#0891b2,#22d3ee); }
.why-flow-arrow {
  font-size: 16px;
  color: #cbd5e1;
  padding: 0 10px;
  padding-bottom: 20px;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-flow { gap: 8px; }
  .why-flow-arrow { display: none; }
}
