/* ============================================
   SMART BDC — Design System & Global Styles
   ============================================ */

/* ---------- Google Font ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  /* Brand palette (from logo — charcoal + red) */
  --navy: #1a1a2e;
  --deep-blue: #cc3333;
  --bright-blue: #e04040;
  --cyan: #ff5252;
  --light-cyan: #ffcdd2;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f7f7f8;
  --gray-100: #e8e8ec;
  --gray-200: #c8c8d0;
  --gray-400: #8a8a96;
  --gray-600: #52525e;
  --gray-800: #333340;
  --black: #0d0d14;

  /* Semantic */
  --accent: var(--cyan);
  --primary: var(--deep-blue);
  --primary-hover: var(--bright-blue);
  --bg-dark: var(--navy);
  --bg-light: var(--off-white);
  --text-body: var(--gray-800);
  --text-muted: var(--gray-600);

  /* Gradients */
  --grad-hero: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 40%, #3a1a1a 100%);
  --grad-card: linear-gradient(135deg, rgba(204, 51, 51, .05) 0%, rgba(255, 82, 82, .05) 100%);
  --grad-btn: linear-gradient(135deg, #cc3333 0%, #e04040 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(26, 26, 46, .06);
  --shadow-md: 0 8px 30px rgba(26, 26, 46, .10);
  --shadow-lg: 0 16px 48px rgba(26, 26, 46, .14);
  --shadow-glow: 0 0 30px rgba(204, 51, 51, .25);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: .3s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  letter-spacing: -.015em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.15rem;
}

p {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 680px;
}

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--bright-blue);
  margin-bottom: var(--space-xs);
}

.section-title {
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section--compact {
  padding: var(--space-lg) 0;
}

.section--alt {
  background: var(--bg-light);
}

.section--dark {
  background: var(--bg-dark);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--white);
}

.section--dark p {
  color: var(--gray-200);
}

/* ---------- Textures / Patterns ---------- */
.bg-pattern {
  background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-pattern-dark {
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.section--dark .section-label {
  color: var(--cyan);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 46, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}

.navbar.scrolled {
  background: rgba(10, 37, 64, .98);
  box-shadow: var(--shadow-lg);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.navbar__logo img {
  height: 40px;
  width: auto;
}

.navbar__logo span {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.01em;
}

.navbar__logo span em {
  font-style: normal;
  color: var(--cyan);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links a {
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .75);
  transition: color var(--dur) var(--ease);
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--white);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  transform: scaleX(1);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, .98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-md);
    transform: translateY(-120%);
    opacity: 0;
    transition: all .4s var(--ease);
  }

  .navbar__links.open {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-btn);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(21, 101, 192, .35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(204, 51, 51, .45);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .3);
}

.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--deep-blue);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: .6rem 1.4rem;
  font-size: .88rem;
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero--gradient {
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: heroShift 12s ease infinite;
}

@keyframes heroShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ---------- Hero Carousel ---------- */
.hero--carousel {
  padding-top: 0;
  min-height: 100vh;
}

@media (min-width: 769px) {
  .hero--carousel {
    min-height: 88vh;
  }
}

.carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1), visibility 0s 1.2s;
  will-change: opacity, transform;
}

.carousel__slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s cubic-bezier(.4, 0, .2, 1), visibility 0s;
  animation: kenBurns 7s ease-in-out forwards;
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(26, 26, 46, 0.82) 0%,
      rgba(26, 26, 46, 0.65) 40%,
      rgba(58, 26, 26, 0.72) 100%);
  z-index: 1;
}

.carousel__slide .container {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
}

@media (min-width: 769px) {
  .carousel__slide .container {
    height: 88vh;
    min-height: 88vh;
  }
}

.carousel__slide .hero__content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s .3s var(--ease), transform .8s .3s var(--ease);
}

.carousel__slide.active .hero__content {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation Arrows */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.carousel__arrow svg {
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel__arrow:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-50%) scale(1.08);
}

.carousel__arrow--prev {
  left: 2rem;
}

.carousel__arrow--next {
  right: 2rem;
}

/* Dot Indicators */
.carousel__dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: .75rem;
}

.carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  border: 2px solid rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  padding: 0;
}

.carousel__dot:hover {
  background: rgba(255, 255, 255, .5);
}

.carousel__dot.active {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(255, 82, 82, .5);
}

/* Progress Bar */
.carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, .1);
  z-index: 10;
}

.carousel__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #ff8a80);
  width: 0%;
  transition: width .1s linear;
}

.carousel__progress-bar.animating {
  animation: progressFill 6s linear forwards;
}

@keyframes progressFill {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

/* Carousel mobile adjustments */
@media (max-width: 768px) {
  .carousel__arrow {
    width: 40px;
    height: 40px;
  }

  .carousel__arrow--prev {
    left: 1rem;
  }

  .carousel__arrow--next {
    right: 1rem;
  }

  .carousel__dots {
    bottom: 1.5rem;
  }

  .carousel__slide .container {
    padding-top: 72px;
    padding-bottom: 4rem;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
}

.hero__content h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
  font-weight: 900;
}

.hero__content h1 span {
  background: linear-gradient(135deg, var(--cyan), #ff8a80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__content p {
  color: rgba(255, 255, 255, .85);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 3;
  pointer-events: none;
}

.hero__particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) scale(.3);
    opacity: 0;
  }
}

/* Sub-page heroes */
.hero--sub {
  min-height: 50vh;
  padding: 8rem 0 4rem;
  text-align: center;
}

.hero--sub .hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero--sub .hero__content p {
  margin: 0 auto var(--space-md);
}

/* Hero with background image */
.hero--with-bg {
  position: relative;
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1562911791-c7a97b729ec2?auto=format&fit=crop&w=1600&q=75') center/cover no-repeat;
  opacity: .2;
  z-index: 0;
}

.hero__bg-img--services {
  background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1600&q=75');
  opacity: .25;
}

.hero--sub-bg .hero__bg-img {
  opacity: .18;
}

.hero--with-bg .hero__particles,
.hero--with-bg .container {
  position: relative;
  z-index: 1;
}


/* Section background treatments (eye-catching) */
.section--deco {
  position: relative;
  overflow: hidden;
}

.section--deco::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(204, 51, 51, .06) 0%, transparent 70%);
  pointer-events: none;
}

.section--deco-alt {
  position: relative;
  overflow: hidden;
}

.section--deco-alt::before {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 45%;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(204, 51, 51, .05) 0%, transparent 70%);
  pointer-events: none;
}

/* Dealership inline (image + content) */
.dealership-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.dealership-inline__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.dealership-inline__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.dealership-inline__content .section-title {
  margin-bottom: var(--space-sm);
}

.dealership-inline__content p {
  margin-bottom: var(--space-md);
}

.dealership-inline__list {
  margin: var(--space-md) 0 var(--space-lg);
  padding-left: 1.25rem;
  color: var(--text-body);
  font-size: 1rem;
}

.dealership-inline__list li {
  margin-bottom: var(--space-xs);
  list-style: disc;
}

@media (max-width: 992px) {
  .dealership-inline {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .dealership-inline__media {
    order: -1;
    max-height: 320px;
  }

  .dealership-inline__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Compact dealership strip (short “For Dealerships” block) */
.dealership-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  text-align: center;
}

.dealership-strip__text {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: none;
}

.dealership-strip__text a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dealership-strip__text a:hover {
  color: var(--primary-hover);
}

@media (min-width: 600px) {
  .dealership-strip {
    justify-content: space-between;
    text-align: left;
  }
}

/* ---------- Content with image (problem section) ---------- */
.content-with-image {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 992px) {
  .content-with-image {
    grid-template-columns: 1fr 1fr;
  }
}

.content-with-image__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.content-with-image__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 280px;
}

.content-with-image__content .section-title {
  margin-bottom: var(--space-md);
}

.content-with-image__content p {
  margin-bottom: var(--space-md);
}

.content-with-image__content .btn {
  margin-top: var(--space-sm);
}

/* ---------- Service cards with images (Our BDC Services) ---------- */
.service-cards-with-images {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.service-card-with-image {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}

@media (min-width: 768px) {
  .service-card-with-image {
    grid-template-columns: 42% 1fr;
  }

  .service-card-with-image:nth-child(even) .service-card-with-image__img {
    order: 2;
  }

  .service-card-with-image:nth-child(even) .service-card-with-image__body {
    order: 1;
  }
}

.service-card-with-image__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card-with-image__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-with-image__body {
  padding: var(--space-lg);
}

.service-card-with-image__body h3 {
  margin-bottom: var(--space-sm);
  font-size: 1.35rem;
}

.service-card-with-image__body p {
  font-size: .98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  max-width: none;
}

.service-card-with-image__body .btn {
  margin-top: 0;
}

/* ---------- Benefits strip (Why Choose Us) ---------- */
.benefits-strip {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.benefits-strip__title {
  margin-bottom: var(--space-md);
  font-size: 1.75rem;
}

.benefits-strip__list {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  text-align: left;
  display: inline-block;
}

.benefits-strip__list li {
  padding: var(--space-xs) 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
  color: var(--text-body);
}

.benefits-strip__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .75em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Grid 4 on medium+ (for Pure Services cards) */
.grid-4-md {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-4-md {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-4-md {
    grid-template-columns: 1fr;
  }
}

/* Pure services card variant */
.card--pure {
  border-top: 3px solid transparent;
  background: linear-gradient(var(--white) 0%, var(--white) 100%), var(--grad-card);
}

.card--pure::before {
  display: none;
}

.card--pure:hover {
  border-top-color: var(--cyan);
}

/* Pure Services section (services page) */
.section--pure {
  background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 50%, var(--white) 100%);
}

.pure-services__header {
  margin-bottom: var(--space-xl);
}

.proof-point {
  margin-top: var(--space-md);
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.proof-point strong {
  font-style: normal;
  color: var(--text-body);
}

/* ---------- Services pillars (What We Do) ---------- */
.services-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .services-pillars {
    grid-template-columns: 1fr 1fr;
  }
}

.services-pillar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.services-pillar:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.services-pillar__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.services-pillar__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--deep-blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-pillar__title {
  font-size: 1.35rem;
  margin-bottom: var(--space-sm);
  color: var(--navy);
}

.services-pillar__desc {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.services-pillar__list {
  list-style: none;
  margin-bottom: var(--space-md);
}

.services-pillar__list li {
  font-size: .9rem;
  color: var(--gray-600);
  padding: var(--space-xs) 0;
  padding-left: 1.25rem;
  position: relative;
}

.services-pillar__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.pure-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .pure-services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .pure-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-btn);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--deep-blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  margin-bottom: var(--space-xs);
}

.card p {
  font-size: .95rem;
  color: var(--text-muted);
}

/* Dark card variant */
.card--dark {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .08);
}

.card--dark:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(204, 51, 51, .2);
}

.card--dark h3,
.card--dark h4 {
  color: var(--white);
}

.card--dark p {
  color: var(--gray-200);
}

/* Glassmorphism card */
.card--glass {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .12);
}

/* CRM content blocks (tech-stack) */
.crm-content {
  text-align: left;
}

.crm-box {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}

.crm-box--compact {
  padding: var(--space-md) var(--space-lg);
}

.crm-box__title {
  font-size: 1.1rem;
  color: var(--text-body);
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.crm-box__icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.crm-box__icons .card__icon {
  flex-shrink: 0;
}

.crm-box__text {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
  max-width: 65ch;
}

.crm-box--compact .crm-box__text {
  max-width: none;
}

/* ---------- Stats Strip ---------- */
.stats {
  background: var(--navy);
  padding: var(--space-lg) 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(204, 51, 51, .12), rgba(255, 82, 82, .08));
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.stats__item {
  text-align: center;
}

.stats__number {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .25rem;
}

.stats__label {
  font-size: .85rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
}

@media (max-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- CRM Logos Strip ---------- */
.logos-strip {
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.logos-strip__label {
  text-align: center;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gray-400);
  margin-bottom: var(--space-md);
}

.logos-strip__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.logos-strip__item {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-400);
  opacity: .5;
  transition: opacity var(--dur) var(--ease);
  white-space: nowrap;
}

.logos-strip__item:hover {
  opacity: 1;
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  left: 20px;
  font-size: 5rem;
  line-height: 1;
  color: var(--light-cyan);
  font-family: Georgia, serif;
}

.testimonial-card__text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: .9rem;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
}

.testimonial-card__role {
  font-size: .8rem;
  color: var(--gray-400);
}

/* ---------- Industries Grid (Homepage) ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.industry-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .06);
  transition: transform .35s ease, box-shadow .35s ease;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
}

.industry-card__img {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.industry-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.industry-card:hover .industry-card__img img {
  transform: scale(1.08);
}

.industry-card__body {
  padding: var(--space-md);
}

.industry-card__icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: var(--space-xs);
}

.industry-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--white);
}

.industry-card__body p {
  font-size: .85rem;
  color: var(--gray-200);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Industry Page – Inline Section ---------- */
.dealership-inline {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xl);
  align-items: center;
}

.dealership-inline__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.dealership-inline__list {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
}

.dealership-inline__list li {
  padding: .5rem 0;
  padding-left: 1.6rem;
  position: relative;
  color: var(--gray-300);
  font-size: .95rem;
}

.dealership-inline__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .dealership-inline {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--grad-hero);
  background-size: 200% 200%;
  animation: heroShift 12s ease infinite;
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(255, 255, 255, .8);
  margin: 0 auto var(--space-lg);
  font-size: 1.15rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .6);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer__brand p {
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
  margin-top: var(--space-sm);
  max-width: 300px;
}

.footer__heading {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
}

.footer__links a {
  display: block;
  font-size: .92rem;
  color: rgba(255, 255, 255, .55);
  padding: .25rem 0;
  transition: color var(--dur) var(--ease);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .82rem;
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur) var(--ease);
}

.footer__social a:hover {
  background: var(--deep-blue);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-body);
  transition: all var(--dur) var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--bright-blue);
  box-shadow: 0 0 0 4px rgba(204, 51, 51, .12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Service Detail Blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) 0;
}

.service-block:nth-child(even) {
  direction: rtl;
}

.service-block:nth-child(even)>* {
  direction: ltr;
}

.service-block__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-block__visual svg {
  width: 60%;
  height: auto;
  opacity: .6;
}

.service-block__content ul {
  margin-top: var(--space-sm);
}

.service-block__content li {
  padding: .5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: .95rem;
  color: var(--text-muted);
}

.service-block__content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-btn);
}

@media (max-width: 768px) {
  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block:nth-child(even) {
    direction: ltr;
  }
}

/* ---------- Tech Integration Visual ---------- */
.tech-visual {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.tech-visual__center {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: var(--shadow-glow);
  position: relative;
  z-index: 2;
}

.tech-visual__center span {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
}

.tech-visual__ring {
  position: absolute;
  border: 1px dashed rgba(204, 51, 51, .25);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ringPulse 4s ease-in-out infinite;
}

.tech-visual__ring--1 {
  width: 220px;
  height: 220px;
}

.tech-visual__ring--2 {
  width: 340px;
  height: 340px;
  animation-delay: 1s;
}

.tech-visual__ring--3 {
  width: 460px;
  height: 460px;
  animation-delay: 2s;
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: .3;
  }

  50% {
    opacity: .8;
  }
}

.tech-visual__node {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-sm);
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--white);
  z-index: 3;
  white-space: nowrap;
}

/* ---------- Comparison Table ---------- */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.comparison__col {
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.comparison__col--before {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
}

.comparison__col--after {
  background: var(--grad-card);
  border: 2px solid var(--bright-blue);
}

.comparison__col h3 {
  margin-bottom: var(--space-sm);
}

.comparison__col li {
  padding: .5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: .95rem;
  color: var(--text-muted);
}

.comparison__col--before li::before {
  content: '✗';
  position: absolute;
  left: 0;
  top: .5rem;
  color: #e53935;
  font-weight: 700;
}

.comparison__col--after li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: .5rem;
  color: #43a047;
  font-weight: 700;
}

@media (max-width: 600px) {
  .comparison {
    grid-template-columns: 1fr;
  }
}

/* ---------- Careers ---------- */
.job-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--dur) var(--ease);
}

.job-card:hover {
  border-color: var(--bright-blue);
  box-shadow: var(--shadow-md);
}

.job-card__tags {
  display: flex;
  gap: .5rem;
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.job-card__tag {
  display: inline-block;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: rgba(30, 136, 229, .08);
  color: var(--deep-blue);
}

.job-card h3 {
  margin-bottom: .4rem;
}

.job-card p {
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

/* ---------- Contact Sidebar ---------- */
.contact-info {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  color: var(--white);
}

.contact-info__item {
  display: flex;
  gap: .75rem;
  margin-bottom: var(--space-md);
}

.contact-info__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2;
}

.contact-info__label {
  font-size: .78rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

.contact-info__value {
  font-size: .95rem;
  color: var(--white);
  margin-top: .15rem;
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 {
  transition-delay: .1s;
}

.fade-up-delay-2 {
  transition-delay: .2s;
}

.fade-up-delay-3 {
  transition-delay: .3s;
}

.fade-up-delay-4 {
  transition-delay: .4s;
}

/* Pulse glow for primary CTA */
@keyframes pulseGlow {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(21, 101, 192, .35);
  }

  50% {
    box-shadow: 0 4px 30px rgba(41, 182, 246, .5);
  }
}

.btn--glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Number counter animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(.8);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- Perk Icons ---------- */
.perk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.perk {
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}

.perk__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 1.6rem;
}

.perk h4 {
  margin-bottom: .4rem;
}

.perk p {
  font-size: .88rem;
  color: var(--text-muted);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .perk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .perk-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Feature List ---------- */
.feature-list {
  display: grid;
  gap: var(--space-sm);
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--dur) var(--ease);
}

.feature-list__item:hover {
  background: rgba(30, 136, 229, .04);
}

.feature-list__check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--grad-btn);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list__check svg {
  width: 12px;
  height: 12px;
  stroke: var(--white);
  fill: none;
  stroke-width: 3;
}

.feature-list__text h4 {
  font-size: 1rem;
  margin-bottom: .2rem;
}

.feature-list__text p {
  font-size: .88rem;
  color: var(--text-muted);
}

/* ---------- Map placeholder ---------- */
.map-placeholder {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-weight: 600;
  margin-top: var(--space-md);
}

/* ---------- Utility ---------- */
.mb-xs {
  margin-bottom: var(--space-xs);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-2xl {
  margin-bottom: var(--space-2xl);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-200);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}