/* ═══════════════════════════════════════════════════════════════════════
   KILONOVA PERFORMANCE — Main Stylesheet
   Navy #0F172A + Red #DD183B  |  BioSans  |  PT/EN bilingual
   ═══════════════════════════════════════════════════════════════════════ */

/* ── BioSans @font-face ──────────────────────────────────────────────── */
@font-face {
  font-family: 'BioSans';
  src: url('../assets/fonts/BioSans-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BioSans';
  src: url('../assets/fonts/BioSans-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BioSans';
  src: url('../assets/fonts/BioSans-SemiBold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BioSans';
  src: url('../assets/fonts/BioSans-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'BioSans';
  src: url('../assets/fonts/BioSans-ExtraBold.otf') format('opentype');
  font-weight: 800; font-style: normal; font-display: swap;
}

/* ── Custom Properties ──────────────────────────────────────────────── */
:root {
  /* Colors */
  --bg:        #0F172A;
  --bg-2:      #0a0e1a;
  --bg-card:   #152338;
  --bg-card-2: #1b2e48;
  --border:    rgba(255, 255, 255, 0.08);
  --border-2:  rgba(221, 24, 59, 0.30);

  --red:       #DD183B;
  --red-light: #F0284A;
  --red-pale:  #FF7088;
  --red-glow:  rgba(221, 24, 59, 0.16);

  --text-1:    #f1f5f9;
  --text-2:    #94a3b8;
  --text-3:    #5c8096;

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

  /* Spacing */
  --nav-h:     120px;
  --section-y: 96px;
  --radius:    12px;
  --radius-lg: 20px;

  /* Transitions */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --dur:       0.25s;
}

/* ── Reset & Base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* ── Content Protection ── */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

img, svg { display: block; max-width: 100%; }
img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}
/* Re-enable selection in form controls */
input, textarea, select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
@media print { body { display: none !important; } }

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

strong { font-weight: 700; color: var(--text-1); }

/* ── Layout ──────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: var(--section-y);
}

/* ── Typography ──────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; font-weight: 600; }

.text-accent { color: var(--red-pale); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(221, 24, 59, 0.4);
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(221, 24, 59, 0.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red-pale);
  background: var(--red-glow);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── Section Header ──────────────────────────────────────────────────── */
.section-head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 60px;
}
.section-head h2 { margin-block: 12px; }
.section-head p {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);           /* brand red, not pale */
  padding: 5px 14px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  background: rgba(221, 24, 59, 0.08);
}
.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
}

/* ── Scroll Reveal ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Hero fade-ins */
.fade-in   { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s var(--ease) forwards; }
.d1        { animation-delay: 0.15s; }
.d2        { animation-delay: 0.3s; }
.d3        { animation-delay: 0.45s; }
.d4        { animation-delay: 0.6s; }

@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.navbar.scrolled {
  background: rgba(15, 23, 42, 0.99);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img-nav {
  width: 200px;
  height: auto;
  display: block;
}

/* Nav links */
.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 6px;
}
.nav-links a {
  display: block;
  padding: 8px 12px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  border-radius: 6px;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-links a:hover,
.nav-links a.active-link {
  color: var(--text-1);
  background: rgba(255,255,255,0.05);
}
.nav-links a.active-link {
  color: var(--red);           /* brand red #DD183B */
  background: var(--red-glow);
}

/* Language dropdown */
.lang-dropdown { position: relative; }
.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-2);
  transition: all var(--dur) var(--ease);
}
.lang-dropdown-btn:hover { border-color: var(--border-2); color: var(--text-1); }
.lang-flag { font-size: 1rem; line-height: 1; }
.lang-flag svg,
.lang-dropdown-list li svg { display: inline-block; vertical-align: middle; flex-shrink: 0; border-radius: 2px; width: 22px; height: 15px; }
.lang-chevron { flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }

.lang-dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 150px;
  list-style: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  z-index: 200;
  overflow: hidden;
}
.lang-dropdown.open .lang-dropdown-list { display: block; }
.lang-dropdown-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-dropdown-list li:hover,
.lang-dropdown-list li.active { background: var(--red-glow); color: var(--red); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  margin-top: var(--nav-h);
  min-height: 300px;
  max-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* YouTube video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border: none;
  pointer-events: none;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(15,23,42,0.65) 0%,
    rgba(15,23,42,0.30) 50%,
    rgba(15,23,42,0.85) 100%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(221, 24, 59, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 24, 59, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-glow.g1 {
  width: 700px; height: 700px;
  top: -10%; left: 40%;
  background: radial-gradient(circle, rgba(221,24,59,0.13) 0%, transparent 70%);
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero-glow.g2 {
  width: 500px; height: 500px;
  bottom: -5%; left: -10%;
  background: radial-gradient(circle, rgba(221,24,59,0.08) 0%, transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite reverse;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.1); }
}

/* Content */
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  text-align: center;
}

/* Red CTA banner */
.hero-cta-bar {
  background: var(--bg);
  padding-block: 32px;
}
.hero-cta-bar .container {
  background: var(--red);
  border-radius: 16px;
  padding: 22px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 8px 32px rgba(221, 24, 59, 0.30);
}
.hero-cta-bar-text {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.hero-cta-bar-text span {
  font-weight: 400;
  opacity: 0.85;
  font-size: 0.9rem;
  margin-left: 10px;
}
.hero-cta-bar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-cta-appt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--red);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}
.btn-cta-appt:hover { background: rgba(255,255,255,0.88); transform: translateY(-1px); }
.btn-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}
.btn-cta-wa:hover { background: rgba(255,255,255,0.25); transform: translateY(-1px); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--red-pale);
  background: rgba(221,24,59,0.1);
  border: 1px solid var(--border-2);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
  color: var(--text-1);
}
.hero-accent {
  color: var(--red);
  text-shadow: 0 0 40px rgba(221, 24, 59, 0.45);
}

/* ══════════════════════════════════════════════════════════════════════
   VEHICLE TYPES STRIP
   ══════════════════════════════════════════════════════════════════════ */
.vehicles-strip {
  text-align: center;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.vehicles-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.vehicles-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.vehicle-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.vehicle-badge:hover { border-color: var(--border-2); color: var(--text-1); }

/* ══════════════════════════════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.svc-card {
  position: relative;
  grid-column: span 2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(221,24,59,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.svc-card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(221,24,59,0.1);
}
.svc-card:hover::before { opacity: 1; }

/* Center 2 orphan cards (cards 7+8) in last row of 3-col virtual grid */
.svc-card:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / 4; }
.svc-card:nth-last-child(1):nth-child(3n+2) { grid-column: 4 / 6; }

.svc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.svc-icon svg { width: 24px; height: 24px; }
.c1 { background: rgba(16,185,129,0.15);  color: #34d399; }    /* Stage 1 — green */
.c2 { background: rgba(59,130,246,0.15);  color: #60a5fa; }    /* Stage 2 — blue */
.c3 { background: rgba(234,88,12,0.15);   color: #fb923c; }    /* Stage 3 — orange */
.c4 { background: rgba(221,24,59,0.15);   color: var(--red-pale); }
.c5 { background: rgba(16,185,129,0.12);  color: #34d399; }
.c6 { background: rgba(139,92,246,0.12);  color: #a78bfa; }
.c7 { background: rgba(6,182,212,0.12);   color: #67e8f9; }
.c8 { background: rgba(251,191,36,0.12);  color: #fbbf24; }
.c9 { background: rgba(221,24,59,0.15);   color: var(--red-pale); } /* EGR/DPF — red */

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.svc-tag {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-pale);
  background: rgba(221,24,59,0.10);
  border: 1px solid rgba(221,24,59,0.25);
  padding: 3px 9px;
  border-radius: 100px;
}

.svc-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-pale);
  background: rgba(221,24,59,0.12);
  border: 1px solid rgba(221,24,59,0.25);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.svc-card h3 {
  margin-bottom: 10px;
  color: var(--text-1);
}
.svc-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════════════
   DYNO SECTION
   ══════════════════════════════════════════════════════════════════════ */
.dyno-section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--bg-2);
  overflow: hidden;
}
.dyno-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.dyno-glow {
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; right: -10%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(221, 24, 59, 0.18) 0%, transparent 70%);
  filter: blur(60px);
}

.dyno-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.dyno-content .section-tag { margin-bottom: 16px; display: inline-flex; }
.dyno-content h2 { margin-bottom: 20px; }
.dyno-content > p {
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 36px;
}
.dyno-content strong { color: #fff; }

/* section-tag inside dyno uses base red style (dark bg) — no override needed */

.dyno-specs {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.dyno-spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dyno-spec-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.dyno-spec-num span {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin-left: 3px;
}
.dyno-spec-icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
}
.dyno-spec-icon svg { width: 20px; height: 20px; color: rgba(255,255,255,0.9); }
.dyno-spec-lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Measuring program list */
.dyno-program { margin-bottom: 36px; }
.dyno-program-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}
.dyno-program-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.dyno-program-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.dyno-program-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.65);
  flex-shrink: 0;
  margin-top: 7px;
}

/* Dyno CTA button — uses default red style on dark bg */

/* Dyno visual card */
.dyno-visual { display: flex; justify-content: center; }

.dyno-card {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 32px 80px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

.dyno-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.dyno-bapro-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.dyno-brand-txt {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
}
.dyno-model-txt {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-left: auto;
}

.dyno-gauge-wrap {
  position: relative;
  margin-bottom: 20px;
}
.gauge-svg { width: 100%; }

/* Gauge needle redline animation */
.gauge-needle {
  transform-box: view-box;
  transform-origin: 100px 100px;
}
.gauge-needle.redline {
  animation: gauge-redline 0.11s cubic-bezier(0.8, 0, 0.2, 1) infinite alternate;
}
@keyframes gauge-redline {
  0%   { transform: rotate(88deg); }
  100% { transform: rotate(93deg); }
}

.gauge-readout {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1;
}
.gauge-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 30px rgba(255,144,144,0.4);
}
.gauge-unit {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.1em;
}

.dyno-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.dyno-tags span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 100px;
}

/* ══════════════════════════════════════════════════════════════════════
   TOOLS & SOFTWARE
   ══════════════════════════════════════════════════════════════════════ */
.tools-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 48px;
  align-items: start;
}

.tools-divider {
  width: 1px;
  background: var(--border);
  height: 100%;
  min-height: 300px;
  align-self: stretch;
}

.tools-col-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.tools-col-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-glow);
  border: 1px solid var(--border-2);
  border-radius: 10px;
}
.tools-col-icon svg { width: 22px; height: 22px; color: var(--red-pale); }

.tools-col-head h3 { font-size: 1.2rem; margin-bottom: 4px; }
.tools-col-head p {
  font-size: 0.82rem;
  color: var(--text-3);
}

/* Tool logo grid */
.tool-logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tool-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  cursor: default;
  overflow: hidden;
}
.tool-logo-card:hover {
  border-color: var(--border-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25), 0 0 0 1px rgba(221,24,59,0.08);
}

.tool-logo-frame {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.tool-logo-frame img {
  max-height: 44px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
}

/* Text fallback for tools without logo image */
.tool-logo-abbr {
  width: 56px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-glow);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--red-pale);
  letter-spacing: 0.06em;
}

.tool-logo-name {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
}
.tool-logo-desc {
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.3;
}

/* ── Standalone ECU Marquee ──────────────────────────────────────────── */
.ecu-standalone-block { margin-top: 64px; }
.ecu-standalone-head {
  text-align: center;
  margin-bottom: 32px;
}
.ecu-standalone-head p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-top: 12px;
}

.ecu-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.ecu-marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ecu-scroll 28s linear infinite;
}
.ecu-marquee:hover .ecu-marquee-track { animation-play-state: paused; }

@keyframes ecu-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ecu-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  min-width: 160px;
  height: 72px;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.ecu-logo-item:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.ecu-logo-item img {
  max-height: 38px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
}

/* ══════════════════════════════════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════════════════════════════════ */
.about-section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--bg-2);
  overflow: hidden;
}

.about-map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  filter: grayscale(100%) contrast(0.85) brightness(0.6);
}
.about-map-frame {
  position: absolute;
  top: 0;
  right: 0;
  width: 150%;
  height: 100%;
  border: none;
  display: block;
}
.about-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to left,
    rgba(10,14,26,0.95) 0%,
    rgba(10,14,26,0.85) 40%,
    rgba(10,14,26,0.40) 75%,
    rgba(10,14,26,0.10) 100%
  );
}

.about-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

/* About text */
.about-content {
  max-width: 580px;
}
.about-content .section-tag { margin-bottom: 16px; display: inline-flex; }
.about-content h2 { margin-bottom: 24px; }
.about-content p {
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-content p:last-of-type { margin-bottom: 32px; }
.about-content strong { color: var(--text-1); }

/* ══════════════════════════════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════════════════════════════ */
.contact-section { padding-block: var(--section-y); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contact-info-col .section-tag { margin-bottom: 16px; display: inline-flex; }
.contact-info-col h2 { margin-bottom: 16px; }
.contact-info-col > p {
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-details { display: flex; flex-direction: column; gap: 4px; }

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-radius: 10px;
  transition: background var(--dur) var(--ease);
}
.contact-detail-item:hover { background: rgba(255,255,255,0.03); }

a.contact-detail-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.contact-detail-link:hover { background: rgba(255,255,255,0.06); }

.contact-detail-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red-glow);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  margin-top: 2px;
}
.contact-detail-icon svg { width: 18px; height: 18px; color: var(--red-pale); }

.contact-detail-item > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-detail-item strong {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.contact-detail-item span,
.contact-detail-item a {
  font-size: 0.92rem;
  color: var(--text-2);
  line-height: 1.5;
}
.contact-link {
  color: var(--red-pale);
  transition: color var(--dur) var(--ease);
}
.contact-link:hover { color: var(--red-light); }

/* Form */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

.field-error {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: -4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option {
  background: var(--bg-card-2);
  color: var(--text-1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(221,24,59,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

/* Form success message */
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 8px;
  color: #34d399;
  font-size: 0.9rem;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form-success.visible { display: flex; }

/* ══════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════ */
.footer {
  background: #DD183B;
  border-top: none;
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo-img {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 16px;
}

.footer-tagline {
  font-family: var(--font-head);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.92);   /* was 0.65 */
  text-transform: uppercase;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 8px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  transition: all var(--dur) var(--ease);
}
.social-link svg { width: 18px; height: 18px; }
.social-link:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  transform: translateY(-2px);
}

.footer-nav strong,
.footer-services strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);   /* was 0.5 */
  margin-bottom: 16px;
}
.footer-nav ul,
.footer-services ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a,
.footer-services a {
  font-size: 0.9rem;
  color: #fff;                      /* was rgba 0.8 */
  transition: color var(--dur) var(--ease);
}
.footer-nav a:hover,
.footer-services a:hover { color: rgba(255,255,255,0.75); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-block: 20px;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.82);   /* was 0.6 */
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.82);   /* was 0.6 */
  transition: color var(--dur) var(--ease);
}
.footer-legal a:hover { color: #fff; }

/* ══════════════════════════════════════════════════════════════════════
   LEGAL MODALS
   ══════════════════════════════════════════════════════════════════════ */
.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.legal-modal.open { display: flex; }
.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
}
.legal-modal-box {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 720px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
}
.legal-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--dur) var(--ease);
}
.legal-modal-close:hover { color: var(--text-1); }
.legal-modal-body h2 { margin-bottom: 24px; font-size: 1.5rem; }
.legal-modal-body h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--text-1);
}
.legal-modal-body p,
.legal-modal-body li {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 8px;
}
.legal-modal-body ul { padding-left: 20px; margin-bottom: 8px; }
.legal-modal-body a { color: var(--red-pale); text-decoration: underline; }
.legal-modal-body a:hover { color: var(--red-light); }
.legal-modal-body em { color: var(--text-3); font-style: italic; }

/* ══════════════════════════════════════════════════════════════════════
   FAQ SECTION
   ══════════════════════════════════════════════════════════════════════ */
.faq-header {
  text-align: center;
  margin-bottom: 48px;
}
.faq-header .section-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-pale);
  margin-bottom: 14px;
}
.faq-header h2 { margin-block: 0 12px; }
.faq-header .section-sub {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
}
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.faq-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(221,24,59,0.4); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  text-align: left;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--red-pale); }
.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--text-3);
  transition: transform 0.3s var(--ease), color 0.2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--red-pale); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 22px;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 22px 20px; }
.faq-answer p { font-size: 0.9rem; color: var(--text-2); line-height: 1.72; }

/* ══════════════════════════════════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════════════════════════════════ */
.cookie-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(0,0,0,0.65);
  pointer-events: all;
}
.cookie-overlay.visible { display: block; }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-card-2);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-icon { display: none; }
.cookie-banner-inner {
  max-width: 1200px;
  margin: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 280px; }
.cookie-banner-text strong {
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-head);
  color: var(--text-1);
  margin-bottom: 4px;
}
.cookie-banner-text p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
}
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 9px 20px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s;
}
.cookie-btn-primary { background: var(--red); color: #fff; }
.cookie-btn-primary:hover { background: var(--red-light); }
.cookie-btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.cookie-btn-secondary:hover { color: var(--text-1); background: rgba(255,255,255,0.1); }
.cookie-manage {
  font-size: 0.78rem;
  color: var(--text-3);
  text-decoration: underline;
  white-space: nowrap;
}
.cookie-manage:hover { color: var(--text-2); }

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024px)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-y: 80px; }

  /* Services: 2 per row using 4-col virtual grid */
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .svc-card { grid-column: span 2; }
  .svc-card:nth-last-child(2):nth-child(3n+1),
  .svc-card:nth-last-child(1):nth-child(3n+2) { grid-column: span 2; }

  .dyno-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .dyno-visual { order: -1; }
  .dyno-card { max-width: 420px; }

  .tools-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tools-divider {
    width: 100%; height: 1px;
    min-height: unset;
  }

  .about-inner { justify-content: flex-start; }
  .about-content { max-width: 100%; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 768px)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root {
    --nav-h:     80px;
    --section-y: 64px;
  }

  /* Nav mobile */
  .logo-img-nav { width: 130px; }
  .hamburger { display: flex; }

  .nav-right {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--nav-h));
    background: rgba(10, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
    z-index: 99;
  }
  .nav-right.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links { flex-direction: column; align-items: center; gap: 4px; }
  .nav-links a { font-size: 1.1rem; padding: 10px 24px; }

  /* Language dropdown moves to top of mobile menu */
  .lang-dropdown { order: -1; }

  /* Services: 1 per row */
  .services-grid { grid-template-columns: 1fr; }
  /* FAQ: single column on mobile */
  .faq-list { grid-template-columns: 1fr; }
  .faq-col + .faq-col { margin-top: 0; }
  .svc-card,
  .svc-card:nth-last-child(2):nth-child(3n+1),
  .svc-card:nth-last-child(1):nth-child(3n+2) { grid-column: auto; }

  /* Dyno specs */
  .dyno-specs { flex-direction: column; gap: 20px; }

  /* Tools */
  .tool-logo-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  /* About overlay stronger on mobile */
  .about-overlay {
    background: rgba(10,14,26,0.88);
  }

  /* Form row stacks */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .footer-brand { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .container { padding-inline: 16px; }

  .contact-form-wrap { padding: 24px 20px; }
  .dyno-card { padding: 24px 20px; max-width: 100%; }
  .dyno-card-header { flex-wrap: wrap; gap: 10px; }
  .dyno-bapro-logo { height: 40px; }
  .dyno-brand-txt { font-size: 1.2rem; }
  .dyno-model-txt { display: none; }
  .dyno-tags { gap: 6px; }
  .dyno-tags span { font-size: 0.68rem; padding: 4px 10px; }

  .tool-logo-grid { grid-template-columns: 1fr 1fr; }
  .tool-logo-card { padding: 14px 10px 12px; }
  .tool-logo-frame img { max-height: 36px; }

  .ecu-logo-item { min-width: 130px; padding: 12px 18px; }
}
