/* =========================================
   Home Hero Section
   ========================================= */

.cd-hero{
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  background-image: var(--cd-hero-bg);
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
}

/* Stronger overlay + slight gradient = better contrast */
.cd-hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,0,0,0.20), rgba(0,0,0,0.55) 70%),
    linear-gradient(to bottom, rgba(0,0,0,0.20), rgba(0,0,0,0.50));
}

.cd-hero__inner{
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding-block: 64px;
}

.cd-hero__title{
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.cd-hero__subtitle{
  font-size: clamp(16px, 2.1vw, 20px);
  opacity: .95;
  margin: 0 auto 28px;
  max-width: 760px;
  text-shadow: 0 8px 18px rgba(0,0,0,0.30);
}

.cd-hero__actions{
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Improve ghost button look on hero */
.cd-hero .cd-btn--ghost{
  border-color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

/* Mobile stacking */
@media (max-width: 600px){
  .cd-hero__actions{
    flex-direction: column;
    align-items: stretch;
  }
  .cd-hero .cd-btn{
    width: 100%;
  }
}


.cd-hero,
.cd-hero *{
  color: #fff !important;
}



/* =========================================
   Section heading + typography helpers (Home)
   ========================================= */
.cd-section-head{
  text-align: center;
  margin-bottom: var(--cd-gap-4);
}

.cd-h2{
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
  margin: 0 0 10px;
  color: #111;
}

.cd-lead{
  margin: 0 auto;
  max-width: 880px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(0,0,0,0.65);
}

/* =========================================
   Services Categories grid
   ========================================= */
.cd-services-cats{
  background: #fff;
}

.cd-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 700px){
  .cd-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px){
  .cd-grid{ grid-template-columns: repeat(4, 1fr); }
}

.cd-card{
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--cd-radius);
  padding: 22px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
}

.cd-card__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(139,31,255,0.10);
  font-size: 20px;
  margin-bottom: 14px;
}

.cd-card__title{
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
  color: #111;
}

.cd-card__desc{
  margin: 0;
  color: rgba(0,0,0,0.65);
  font-size: 14px;
  line-height: 1.6;
}

.cd-note{
  text-align: center;
  margin-top: 18px;
  color: rgba(0,0,0,0.55);
  font-size: 14px;
}

/* Merge: “And Much More…” inside services section */
.cd-more{
  margin-top: 28px;
  padding-top: 18px;
}

.cd-more__title{
  text-align: center;
  margin: 0 0 18px;
  font-size: 20px;
  color: #111;
}

/* Slider (same as before) */
.cd-slider{
  overflow: hidden;
  position: relative;
}

.cd-slider-track{
  display: flex;
  gap: 16px;
  animation: cd-scroll 35s linear infinite;
}

.cd-slide{
  white-space: nowrap;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  color: #333;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

@keyframes cd-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (hover: hover) {
  .cd-slider-track:hover { animation-play-state: paused; }
}





/* =========================================
   How It Works
   ========================================= */
.cd-how{
  background: #fff;
}

.cd-how__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 10px;
}

@media (min-width: 760px){
  .cd-how__grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px){
  .cd-how__grid{ grid-template-columns: repeat(5, 1fr); }
}

.cd-how__item{
  text-align: center;
  padding: 18px 14px;
}

.cd-how__icon{
  width: 96px;
  height: 96px;
  border-radius: 999px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: rgba(139,31,255,0.10);
  color: var(--cd-purple);
}

.cd-how__num{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--cd-purple);
  color: #fff;
}

.cd-how__title{
  margin: 0 0 8px;
  font-size: 16px;
  color: #111;
}

.cd-how__desc{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0,0,0,0.65);
}

.cd-how__cta{
  margin-top: 26px;
  display: flex;
  justify-content: center;
}



/* =========================================
   Where We Operate
   ========================================= */
.cd-operate{
  background: #fafafa;
}

.cd-operate__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 760px){
  .cd-operate__grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px){
  .cd-operate__grid{ grid-template-columns: repeat(4, 1fr); }
}

.cd-operate__card{
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--cd-radius);
  padding: 20px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
}

.cd-operate__badge{
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  background: rgba(139,31,255,0.12);
  color: var(--cd-purple);
}

.cd-operate__badge--soon{
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.6);
}

.cd-operate__title{
  margin: 0 0 8px;
  font-size: 16px;
  color: #111;
}

.cd-operate__desc{
  margin: 0;
  font-size: 14px;
  color: rgba(0,0,0,0.65);
  line-height: 1.6;
}

/* Slightly fade “coming soon” cards */
.cd-operate__card--soon{
  opacity: 0.78;
}




/* =========================
   Car Dudes Footer
   ========================= */
.cd-footer{
  padding-block: var(--cd-section-y);
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

.cd-footer__grid{
  display: grid;
  gap: 28px;
}

.cd-footer__brand{
  display: grid;
  gap: 14px;
}

.cd-footer__logo img{
  display: block;
  width: min(220px, 70vw);
  height: auto;
}

.cd-footer__tagline{
  margin: 0;
  max-width: 36ch;
  color: rgba(0,0,0,.65);
  line-height: 1.6;
}

.cd-footer__social{
  display: flex;
  gap: 10px;
  align-items: center;
}

.cd-footer__icon{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,.10);
  color: rgba(0,0,0,.75);
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
}

.cd-footer__title{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 800;
  color: rgba(0,0,0,.90);
}

.cd-footer__title--spaced{
  margin-top: 18px;
}

.cd-footer__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.cd-footer__list a{
  text-decoration: none;
  color: rgba(0,0,0,.70);
}

.cd-footer__list a:hover{
  color: #8B1FFF;
}

.cd-footer__contact{
  margin-top: 16px;
}

.cd-footer__contactRow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
  color: rgba(0,0,0,.70);
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.cd-footer__contactRow:hover{
  color: #8B1FFF;
}

.cd-footer__bullet{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid #8B1FFF;
  display: inline-block;
}

.cd-footer__hours{
  margin: 12px 0 0;
  color: rgba(0,0,0,.55);
  line-height: 1.6;
  font-size: 14px;
}

.cd-footer__bottom{
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,.08);
  color: rgba(0,0,0,.55);
  font-size: 14px;
}

/* Desktop */
@media (min-width: 960px){
  .cd-footer{
    padding-block: var(--cd-section-y-lg);
  }
  .cd-footer__grid{
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    align-items: start;
    gap: 40px;
  }
  .cd-footer__logo img{
    width: 240px;
  }
}
