/* ==========================================================================
   Espace Motors — shared stylesheet
   Used by: espace.html, espace-sales.html, espace-service.html, espace-fabrication.html
   Navbar + mega menu match index.html
   ========================================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --logo-red: #e5242d;
  --logo-red-hover: #c41e26;
  --logo-blue: #1e3a8a;
  --logo-blue-light: #2b4c9b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-soft-blue: #f0f5ff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --shadow-sm:
    0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md:
    0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-hover:
    0 20px 35px -5px rgba(0, 0, 0, 0.1), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --shadow-mega: 0 30px 60px -10px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 72px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}
.logo:hover .logo-img {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: stretch;
  height: 96px;
}
.nav-links > li {
  display: flex;
  align-items: center;
  position: static;
}
.nav-links > li > a {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
}
.nav-links > li > a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--logo-red);
  transition: width 0.3s;
  border-radius: 2px;
}
.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--logo-red);
}
.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
  width: 100%;
}
.nav-links > li > a .chev {
  font-size: 10px;
  transition: transform 0.3s ease;
  opacity: 0.7;
}
.has-mega:hover > a {
  color: var(--logo-red);
}
.has-mega:hover > a::after {
  width: 100%;
}
.has-mega:hover > a .chev {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-links > li > a.nav-cta {
  background: var(--logo-red);
  color: #ffffff !important;
  padding: 18px 42px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13px !important;
  letter-spacing: 0.4px;
  line-height: 1;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(229, 36, 45, 0.3);
}
.nav-links > li > a.nav-cta::after {
  display: none;
}
.nav-links > li > a.nav-cta:hover {
  background: var(--logo-red-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 36, 45, 0.4);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--logo-blue);
  border-radius: 4px;
  transition: 0.3s;
}

/* ==================== MEGA MENU ==================== */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  right: auto;
  width: auto;
  transform: translate(-50%, -10px);
  padding-top: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  transition:
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.25s;
  z-index: 998;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-panel {
  width: min(620px, calc(100vw - 48px));
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: var(--shadow-mega);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.mega-panel--3col {
  width: min(900px, calc(100vw - 48px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-col {
  min-width: 0;
}
.mega-col:first-child {
  padding-right: 26px;
}
.mega-col + .mega-col {
  padding-left: 26px;
  border-left: 1px solid var(--border-light);
}
.mega-col-title {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--logo-blue);
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.mega-list li {
  margin-bottom: 1px;
}
.mega-list a {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 7px 0;
  margin: 0;
  border-radius: 8px;
  background: transparent;
}
.mega-list a::before {
  display: none;
}

/* ---------- Espace division cards ---------- */
.mega-divisions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mega-division-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
}
.mega-division-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(229, 36, 45, 0.1),
    rgba(229, 36, 45, 0.04)
  );
  border: 1px solid rgba(229, 36, 45, 0.12);
  color: var(--logo-red);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.mega-division-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--logo-blue);
  letter-spacing: -0.2px;
  line-height: 1.25;
  margin-bottom: 6px;
}
.mega-division-card p {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}
.mega-division-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--logo-red);
  letter-spacing: 0.3px;
}
.mega-division-cta i {
  font-size: 10px;
}

/* ==================== PAGE HERO ==================== */
.page-hero {
  position: relative;
  padding: 200px 24px 130px;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("images/hero_espace.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: slowZoom 25s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  0% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1.12);
  }
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(6, 14, 26, 0.94) 0%,
      rgba(6, 14, 26, 0.82) 40%,
      rgba(6, 14, 26, 0.55) 70%,
      rgba(6, 14, 26, 0.4) 100%
    ),
    linear-gradient(
      180deg,
      rgba(6, 14, 26, 0.55) 0%,
      transparent 30%,
      transparent 65%,
      rgba(10, 23, 48, 0.9) 100%
    );
  z-index: 1;
  pointer-events: none;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(229, 36, 45, 0.28), transparent 65%);
  border-radius: 50%;
  filter: blur(70px);
  animation: heroFloat 18s ease-in-out infinite alternate;
  z-index: 1;
  pointer-events: none;
}
@keyframes heroFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-40px, 40px) scale(1.15);
  }
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 75%
  );
  z-index: 2;
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 36, 45, 0.18);
  border: 1px solid rgba(229, 36, 45, 0.4);
  color: #ff8a92;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.page-hero-badge i {
  color: #ff4d57;
  font-size: 11px;
}
.page-hero h1 {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.page-hero h1 .accent {
  background: linear-gradient(120deg, #ff4d57, #ff8a92);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin: 0 auto 40px;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hero-quick-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--logo-blue) 0%, #0f2557 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow:
    0 10px 30px -10px rgba(30, 58, 138, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hero-quick-link i {
  color: #ff4d57;
  font-size: 14px;
  transition: transform 0.3s ease;
}
.hero-quick-link:hover {
  background: linear-gradient(135deg, #2b4c9b 0%, var(--logo-blue) 100%);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px -12px rgba(30, 58, 138, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.hero-quick-link:hover i {
  transform: scale(1.15);
}

/* ==================== SECTION COMMON ==================== */
.section {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}
.section-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: rgba(229, 36, 45, 0.08);
  color: var(--logo-red);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(30px, 3.8vw, 42px);
  font-weight: 900;
  color: var(--logo-blue);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.section-header h2 .accent {
  background: linear-gradient(120deg, var(--logo-red), #ff6b73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==================== INTRO ==================== */
.intro-section {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(30, 58, 138, 0.05), transparent 55%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(229, 36, 45, 0.05),
      transparent 55%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.intro-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 36, 45, 0.08);
  color: var(--logo-red);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.intro-text .eyebrow i {
  font-size: 10px;
}
.intro-text h2 {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 900;
  color: var(--logo-blue);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 22px;
}
.intro-text h2 .accent {
  background: linear-gradient(120deg, var(--logo-red), #ff6b73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.intro-text p {
  font-size: 15.5px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 18px;
}
.intro-text p strong {
  color: var(--logo-blue);
  font-weight: 700;
}
.intro-text p:last-child {
  margin-bottom: 0;
}
.intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 22px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.highlight-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--logo-red), #ff6b73);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.highlight-item:hover {
  transform: translateX(6px);
  border-color: rgba(229, 36, 45, 0.2);
  box-shadow:
    0 16px 35px -18px rgba(0, 0, 0, 0.12),
    0 0 25px -10px rgba(229, 36, 45, 0.15);
}
.highlight-item:hover::before {
  transform: scaleY(1);
}
.highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(229, 36, 45, 0.1),
    rgba(229, 36, 45, 0.05)
  );
  border: 1px solid rgba(229, 36, 45, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-red);
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.4s ease;
}
.highlight-item:hover .highlight-icon {
  background: linear-gradient(135deg, var(--logo-red), #ff4d57);
  color: #ffffff;
  transform: rotate(-6deg);
}
.highlight-body h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--logo-blue);
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}
.highlight-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==================== BRANDS STRIP ==================== */
.brands-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 80px 24px;
}
.brands-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.brands-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.brands-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.brand-chip {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 134px;
  padding: 24px 14px 20px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
}
.brand-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--logo-blue), #0f2557);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 0;
}
.brand-logo {
  position: relative;
  z-index: 1;
  max-height: 46px;
  max-width: 92px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s ease;
}
.brand-name {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--logo-blue);
  line-height: 1;
  transition: color 0.45s ease;
}
.brand-chip:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 18px 35px -15px rgba(30, 58, 138, 0.5);
}
.brand-chip:hover::before {
  opacity: 1;
}
.brand-chip:hover .brand-logo {
  filter: brightness(0) invert(1);
  transform: scale(1.06);
}
.brand-chip:hover .brand-name {
  color: #ffffff;
}
.brand-chip.text-only .brand-logo {
  display: none;
}
.brand-chip.text-only .brand-name {
  font-size: 13.5px;
}

/* ==================== DIVISION CARDS (hub page) ==================== */
.divisions-section {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(30, 58, 138, 0.06), transparent 55%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(229, 36, 45, 0.05),
      transparent 55%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.division-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.18);
}
.division-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--logo-red), #ff6b73);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
}
.division-card:hover {
  transform: translateY(-10px);
  border-color: rgba(229, 36, 45, 0.2);
  box-shadow:
    0 30px 60px -25px rgba(0, 0, 0, 0.2),
    0 0 40px -12px rgba(229, 36, 45, 0.15);
}
.division-card:hover::before {
  transform: scaleX(1);
}
.division-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f2557 100%);
}
.division-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(6, 14, 26, 0.7) 100%
  );
  pointer-events: none;
  z-index: 2;
}
.division-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.division-card:hover .division-image img {
  transform: scale(1.06);
}
.division-image img.img-missing {
  display: none;
}
.division-image-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.55);
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0 10px,
      transparent 10px 20px
    ),
    linear-gradient(135deg, #1e3a8a, #0f2557);
}
.division-image-fallback i {
  font-size: 52px;
  color: rgba(255, 255, 255, 0.4);
}
.division-image-fallback span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 20px;
  text-align: center;
}
.division-image img:not(.img-missing) ~ .division-image-fallback {
  display: none;
}
.division-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--logo-blue);
  padding: 7px 15px;
  border-radius: 50px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.division-tag i {
  color: var(--logo-red);
  font-size: 10px;
}
.division-body {
  padding: 30px 28px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.division-body h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--logo-blue);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.division-body > p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}
.division-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.division-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}
.division-features li i {
  color: var(--logo-red);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}
.division-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 14px 20px;
  border-radius: 50px;
  background: var(--logo-blue);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.4px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 22px -8px rgba(30, 58, 138, 0.6);
}
.division-cta .arrow-wrap {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.division-cta .arrow-wrap i {
  font-size: 11px;
  transition: transform 0.35s ease;
}
.division-card:hover .division-cta {
  background: var(--logo-red);
  box-shadow: 0 12px 28px -8px rgba(229, 36, 45, 0.55);
}
.division-card:hover .division-cta .arrow-wrap {
  background: rgba(255, 255, 255, 0.25);
}
.division-card:hover .division-cta .arrow-wrap i {
  transform: translateX(3px);
}

/* ==================== MODELS ==================== */
.models-section {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(30, 58, 138, 0.05), transparent 50%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(229, 36, 45, 0.05),
      transparent 50%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter-tab {
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  color: var(--text-dark);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-tab:hover {
  border-color: rgba(229, 36, 45, 0.4);
  color: var(--logo-red);
  transform: translateY(-2px);
}
.filter-tab.active {
  background: var(--logo-red);
  border-color: var(--logo-red);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(229, 36, 45, 0.5);
}
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.model-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.model-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--logo-red), #ff6b73);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}
.model-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 36, 45, 0.2);
  box-shadow:
    0 30px 60px -22px rgba(0, 0, 0, 0.15),
    0 0 40px -10px rgba(229, 36, 45, 0.12);
}
.model-card:hover::before {
  transform: scaleX(1);
}
.model-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1730;
}
.model-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.model-card:hover .model-image img {
  transform: scale(1.08);
}
.model-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(6, 14, 26, 0.55) 100%
  );
  pointer-events: none;
}
.model-brand-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--logo-blue);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.3);
}
.model-brand-badge i {
  color: var(--logo-red);
  font-size: 9px;
}
.model-type-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(229, 36, 45, 0.92);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 6px 16px -4px rgba(229, 36, 45, 0.5);
}
.model-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.model-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--logo-blue);
  line-height: 1.25;
  margin-bottom: 6px;
  letter-spacing: -0.4px;
}
.model-body .model-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.model-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.model-spec {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--logo-blue);
  background: var(--bg-soft-blue);
  padding: 6px 12px;
  border-radius: 50px;
}
.model-spec i {
  color: var(--logo-red);
  font-size: 10px;
}
.model-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
  color: var(--logo-red);
  font-size: 13.5px;
  font-weight: 800;
  transition: gap 0.3s ease;
}
.model-cta .arrow-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(229, 36, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.model-cta .arrow-wrap i {
  font-size: 11px;
  transition: transform 0.35s ease;
}
.model-card:hover .model-cta .arrow-wrap {
  background: var(--logo-red);
  color: #ffffff;
}
.model-card:hover .model-cta .arrow-wrap i {
  transform: translateX(2px);
}

/* ==================== AUTO SERVICE CARDS ==================== */
.auto-service-section {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(30, 58, 138, 0.06), transparent 55%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(229, 36, 45, 0.05),
      transparent 55%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.auto-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.auto-service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.18);
}
.auto-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--logo-red), #ff6b73);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
}
.auto-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 36, 45, 0.2);
  box-shadow:
    0 30px 60px -25px rgba(0, 0, 0, 0.2),
    0 0 40px -12px rgba(229, 36, 45, 0.15);
}
.auto-service-card:hover::before {
  transform: scaleX(1);
}
.as-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3a8a 0%, #0f2557 100%);
}
.as-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(6, 14, 26, 0.65) 100%
  );
  pointer-events: none;
  z-index: 2;
}
.as-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.auto-service-card:hover .as-image img {
  transform: scale(1.06);
}
.as-image img.img-missing {
  display: none;
}
.as-image-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.55);
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0 10px,
      transparent 10px 20px
    ),
    linear-gradient(135deg, #1e3a8a, #0f2557);
}
.as-image-fallback i {
  font-size: 42px;
  color: rgba(255, 255, 255, 0.35);
}
.as-image-fallback span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0 20px;
  text-align: center;
}
.as-image img:not(.img-missing) ~ .as-image-fallback {
  display: none;
}
.as-badge-num {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--logo-blue);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.35);
}
.as-icon-chip {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 50px;
  background: rgba(229, 36, 45, 0.95);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px -4px rgba(229, 36, 45, 0.6);
}
.as-icon-chip i {
  font-size: 11px;
}
.as-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.as-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--logo-blue);
  margin-bottom: 10px;
  letter-spacing: -0.4px;
  line-height: 1.25;
}
.as-body > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.as-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.as-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--logo-blue);
  background: var(--bg-soft-blue);
  padding: 6px 12px;
  border-radius: 50px;
}
.as-features span i {
  color: var(--logo-red);
  font-size: 10px;
}

/* ==================== FABRICATION CARDS ==================== */
.fab-section {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(30, 58, 138, 0.06), transparent 55%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(229, 36, 45, 0.05),
      transparent 55%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.fab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.fab-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.fab-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--logo-red), #ff6b73);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.fab-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 36, 45, 0.2);
  box-shadow:
    0 30px 60px -22px rgba(0, 0, 0, 0.13),
    0 0 40px -12px rgba(229, 36, 45, 0.15);
}
.fab-card:hover::before {
  transform: scaleX(1);
}
.fab-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(229, 36, 45, 0.1),
    rgba(229, 36, 45, 0.04)
  );
  border: 1px solid rgba(229, 36, 45, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-red);
  font-size: 24px;
  margin-bottom: 22px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.fab-card:hover .fab-icon {
  background: linear-gradient(135deg, var(--logo-red), #ff4d57);
  color: #ffffff;
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 12px 28px -10px rgba(229, 36, 45, 0.55);
}
.fab-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--logo-blue);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.fab-card > p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}
.fab-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.fab-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}
.fab-list li i {
  color: var(--logo-red);
  font-size: 12px;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ==================== WHY CHOOSE US ==================== */
.why-section {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(229, 36, 45, 0.1), transparent 50%),
    radial-gradient(
      ellipse at 80% 100%,
      rgba(59, 130, 246, 0.14),
      transparent 50%
    ),
    linear-gradient(180deg, #060e1a 0%, #0a1730 50%, #060e1a 100%);
  color: #ffffff;
  isolation: isolate;
}
.why-section::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 5%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(229, 36, 45, 0.22), transparent 65%);
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat1 16s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
.why-section::after {
  content: "";
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 65%);
  border-radius: 50%;
  filter: blur(70px);
  animation: orbFloat2 20s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
@keyframes orbFloat1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(60px, -40px) scale(1.15);
  }
}
@keyframes orbFloat2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-50px, 30px) scale(1.1);
  }
}
.why-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 80%
  );
  z-index: 0;
  pointer-events: none;
}
.why-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.why-header {
  text-align: center;
  margin-bottom: 60px;
}
.why-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 36, 45, 0.12);
  border: 1px solid rgba(229, 36, 45, 0.3);
  color: #ff8a92;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.why-tag i {
  color: #ff4d57;
  font-size: 11px;
}
.why-header h2 {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -1.4px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.why-header h2 .accent {
  background: linear-gradient(120deg, #ff4d57, #ff8a92);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.why-header p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 640px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 32px 26px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
}
.why-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--logo-red), #ff6b73);
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}
.why-card:hover::after {
  width: 100%;
}
.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(229, 36, 45, 0.15);
  border: 1px solid rgba(229, 36, 45, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff4d57;
  font-size: 20px;
  margin-bottom: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover .why-icon {
  background: var(--logo-red);
  border-color: var(--logo-red);
  color: #ffffff;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: 0 12px 28px -8px rgba(229, 36, 45, 0.6);
}
.why-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.why-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}

/* ==================== CTA ==================== */
.cta-section {
  position: relative;
  padding: 90px 24px;
  background: linear-gradient(135deg, var(--logo-blue), #0f2557);
  text-align: center;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(229, 36, 45, 0.15), transparent 70%);
  border-radius: 50%;
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.cta-section h2 {
  color: #ffffff;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}
.cta-section h2 .accent {
  background: linear-gradient(120deg, #ff4d57, #ff8a92);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--logo-red);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 6px 24px rgba(229, 36, 45, 0.4);
}
.cta-btn:hover {
  background: var(--logo-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(229, 36, 45, 0.55);
}
.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* ==================== FOOTER ==================== */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
  padding: 70px 24px 25px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 36, 45, 0.4),
    transparent
  );
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  position: relative;
  z-index: 1;
}
.footer-logo-img {
  height: 55px;
  width: auto;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: inline-block;
}
.footer p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.footer h4 {
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 26px;
  height: 2px;
  background: var(--logo-red);
  border-radius: 2px;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition:
    color 0.3s ease,
    padding-left 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-links a:hover {
  color: var(--logo-red);
  padding-left: 4px;
}
.footer-links i {
  color: var(--logo-red);
  width: 16px;
  font-size: 12px;
}
.footer-col {
  position: relative;
}
.footer-col + .footer-col {
  padding-left: 30px;
}
.footer-col + .footer-col::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.06),
    transparent
  );
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  margin-top: 50px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}
.footer-qgroup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.footer-qgroup-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.footer-qgroup-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.footer-qgroup-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 130, 32, 0.4);
}
.footer-qgroup-logo img {
  height: 30px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .footer-qgroup-logo img {
    height: 24px;
  }
  .footer-qgroup-logo {
    padding: 7px 14px;
  }
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--logo-red);
  border-color: var(--logo-red);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -5px rgba(229, 36, 45, 0.5);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .intro-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .brands-row {
    grid-template-columns: repeat(4, 1fr);
  }
  .models-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .divisions-grid {
    grid-template-columns: 1fr;
  }
  .auto-service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .fab-grid {
    grid-template-columns: 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-col + .footer-col {
    padding-left: 0;
  }
  .footer-col + .footer-col::before {
    display: none;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links > li > a {
    font-size: 13px;
  }
  .nav-links > li > a.nav-cta {
    padding: 16px 34px;
  }
  .other-divisions-grid {
    grid-template-columns: 1fr 1fr;
  }
  .other-division-card.hub-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .mega-panel--3col {
    width: min(680px, calc(100vw - 48px));
  }
  .mega-divisions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: 80px;
  }
  .logo-img {
    height: 52px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px 25px;
    gap: 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    height: auto;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links > li {
    display: block;
    width: 100%;
    height: auto;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-links > li:last-child {
    border-bottom: none;
  }
  .nav-links > li > a {
    color: var(--text-dark);
    padding: 16px 0;
    font-size: 15px;
    width: 100%;
    justify-content: space-between;
    display: flex;
  }
  .nav-links > li > a::after {
    display: none;
  }
  .nav-links > li > a .chev {
    font-size: 12px;
  }
  .has-mega.open > a .chev {
    transform: rotate(180deg);
  }
  .has-mega:hover > a {
    color: var(--text-dark);
  }
  .has-mega.open > a {
    color: var(--logo-red);
  }
  .nav-links > li > a.nav-cta {
    margin-top: 18px;
    text-align: center;
    width: 100%;
    display: block;
    justify-content: center;
    padding: 18px 32px;
    font-size: 14px !important;
  }
  .hamburger {
    display: flex;
  }

  /* Mega menu collapses inline */
  .mega-menu {
    position: static;
    left: auto;
    transform: none;
    padding-top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }
  .has-mega.open .mega-menu {
    display: block;
  }
  .mega-panel,
  .mega-panel--3col {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px 0 22px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .mega-col:first-child {
    padding-right: 0;
  }
  .mega-col + .mega-col {
    padding-left: 0;
    border-left: none;
    margin-top: 20px;
  }
  .mega-col-title {
    font-size: 10.5px;
    padding-bottom: 8px;
    margin-bottom: 8px;
  }
  .mega-list a {
    padding: 9px 0;
  }
  .mega-divisions {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mega-division-card {
    padding: 18px 16px;
  }

  .page-hero {
    padding: 150px 20px 70px;
  }
  .page-hero h1 {
    letter-spacing: -1.2px;
  }
  .hero-quick-links {
    gap: 10px;
  }
  .hero-quick-link {
    padding: 12px 20px;
    font-size: 13px;
  }

  .section {
    padding: 70px 20px;
  }
  .brands-section {
    padding: 60px 20px;
  }
  .brands-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .brand-chip {
    min-height: 116px;
    padding: 18px 10px 16px;
    gap: 10px;
  }
  .brand-logo {
    max-height: 38px;
    max-width: 76px;
  }
  .models-grid {
    grid-template-columns: 1fr;
  }
  .auto-service-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .as-body {
    padding: 22px 22px 24px;
  }
  .as-body h3 {
    font-size: 18px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .cta-buttons {
    flex-direction: column;
  }
  .cta-btn,
  .cta-btn-outline {
    justify-content: center;
    width: 100%;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer h4::after {
    width: 22px;
  }
}

@media (max-width: 640px) {
  .other-divisions-grid {
    grid-template-columns: 1fr;
  }
  .other-division-card.hub-card {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 44px;
  }
  .page-hero h1 {
    font-size: 32px;
  }
  .hero-quick-links {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-quick-link {
    justify-content: center;
  }
  .brands-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .filter-tabs {
    gap: 8px;
  }
  .filter-tab {
    padding: 8px 16px;
    font-size: 12px;
  }
  .as-badge-num {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }
  .as-icon-chip {
    font-size: 9.5px;
    padding: 6px 11px;
  }
}

/* ==================== HERO BREADCRUMB (subpages) ==================== */
.hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero-breadcrumb a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.3s ease;
}
.hero-breadcrumb a:hover {
  color: #ff8a92;
}
.hero-breadcrumb a i {
  font-size: 11px;
}
.hero-breadcrumb .sep {
  color: rgba(255, 255, 255, 0.35);
}
.hero-breadcrumb .current {
  color: #ff8a92;
  font-weight: 700;
}

/* ==================== OTHER DIVISIONS (subpages) ==================== */
.other-divisions-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 90px 24px;
  position: relative;
  overflow: hidden;
}
.other-divisions-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.other-divisions-header {
  text-align: center;
  margin-bottom: 50px;
}
.other-divisions-header .section-tag {
  display: inline-block;
  background: rgba(229, 36, 45, 0.08);
  color: var(--logo-red);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.other-divisions-header h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--logo-blue);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.other-divisions-header h2 .accent {
  background: linear-gradient(120deg, var(--logo-red), #ff6b73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.other-divisions-header p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}
.other-divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.other-division-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 32px 28px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  min-height: 240px;
}
.other-division-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--logo-red), #ff6b73);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.other-division-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 36, 45, 0.2);
  box-shadow:
    0 25px 50px -22px rgba(0, 0, 0, 0.16),
    0 0 30px -12px rgba(229, 36, 45, 0.12);
}
.other-division-card:hover::before {
  transform: scaleX(1);
}
.other-division-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(229, 36, 45, 0.1),
    rgba(229, 36, 45, 0.04)
  );
  border: 1px solid rgba(229, 36, 45, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--logo-red);
  font-size: 22px;
  margin-bottom: 18px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.other-division-card:hover .other-division-icon {
  background: linear-gradient(135deg, var(--logo-red), #ff4d57);
  color: #ffffff;
  transform: rotate(-6deg) scale(1.05);
  box-shadow: 0 12px 28px -10px rgba(229, 36, 45, 0.55);
}
.other-division-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--logo-blue);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}
.other-division-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.other-division-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--logo-red);
  font-size: 13.5px;
  font-weight: 800;
  margin-top: auto;
  transition: gap 0.3s ease;
}
.other-division-link i {
  font-size: 11px;
  transition: transform 0.3s ease;
}
.other-division-card:hover .other-division-link {
  gap: 12px;
}
.other-division-card:hover .other-division-link i {
  transform: translateX(3px);
}
.other-division-card.hub-card {
  background: linear-gradient(145deg, var(--logo-blue), #0f2557);
  border-color: transparent;
}
.other-division-card.hub-card::before {
  background: linear-gradient(90deg, #ff4d57, #ff8a92);
}
.other-division-card.hub-card .other-division-icon {
  background: rgba(229, 36, 45, 0.2);
  border-color: rgba(229, 36, 45, 0.4);
  color: #ff4d57;
}
.other-division-card.hub-card:hover .other-division-icon {
  background: var(--logo-red);
  border-color: var(--logo-red);
  color: #ffffff;
}
.other-division-card.hub-card h3 {
  color: #ffffff;
}
.other-division-card.hub-card p {
  color: rgba(255, 255, 255, 0.72);
}
.other-division-card.hub-card .other-division-link {
  color: #ff8a92;
}
.other-division-card.hub-card .other-division-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   ADDITIONS — Hero Espace Logo + redesigned "What We Service"
   ========================================================================== */

/* ==================== HERO ESPACE LOGO ==================== */
.hero-espace-logo {
  display: inline-block;
  margin: 0 auto 22px;
  max-width: 260px;
  animation: heroLogoFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hero-espace-logo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.55));
}
@keyframes heroLogoFade {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 768px) {
  .hero-espace-logo {
    max-width: 190px;
    margin-bottom: 18px;
  }
}
@media (max-width: 480px) {
  .hero-espace-logo {
    max-width: 160px;
  }
}

/* ==================== WHAT WE SERVICE (redesigned) ==================== */
.services-section {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(30, 58, 138, 0.05), transparent 50%),
    radial-gradient(
      ellipse at 100% 100%,
      rgba(229, 36, 45, 0.05),
      transparent 50%
    ),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(
    180deg,
    rgba(240, 245, 255, 0.9) 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e5242d, #ff6b73);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(229, 36, 45, 0.2);
  box-shadow:
    0 24px 48px -20px rgba(0, 0, 0, 0.12),
    0 0 30px -12px rgba(229, 36, 45, 0.15);
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
  color: rgba(30, 58, 138, 0.07);
  transition: color 0.45s ease;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.service-card:hover .service-num {
  color: rgba(229, 36, 45, 0.14);
}
.service-icon {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e3a8a, #2b4c9b);
  border: none;
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px -8px rgba(30, 58, 138, 0.5);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.05);
  background: linear-gradient(135deg, #e5242d, #ff4d57);
  box-shadow: 0 14px 30px -8px rgba(229, 36, 45, 0.55);
}
.service-card h3 {
  position: relative;
  font-size: 20px;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 12px;
  z-index: 1;
}
.service-card > p {
  position: relative;
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 22px;
  z-index: 1;
}
.service-list,
.service-features {
  list-style: none;
  padding: 20px 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
}
.service-list li,
.service-features li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e3a8a;
  background: #f0f5ff;
  border: 1px solid rgba(30, 58, 138, 0.08);
  padding: 7px 13px 7px 11px;
  border-radius: 50px;
  line-height: 1.3;
  margin: 0;
  transition: all 0.3s ease;
}
.service-list li i,
.service-features li i {
  color: #e5242d;
  font-size: 10px;
  background: none;
  width: auto;
  height: auto;
  margin: 0;
  transition: transform 0.3s ease;
}
.service-card:hover .service-list li,
.service-card:hover .service-features li {
  background: #ffffff;
  border-color: rgba(229, 36, 45, 0.18);
}
.service-card:hover .service-list li i,
.service-card:hover .service-features li i {
  transform: scale(1.2);
}
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }
}
