/* ================================================================
   PERODUA SEPANG — Main Stylesheet
   Design: Google Material You–inspired, premium auto dealership
   ================================================================ */

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

:root {
  --clr-bg:        #ffffff;
  --clr-surface:   #f8f9fa;
  --clr-surface-2: #f1f3f4;
  --clr-border:    #e8eaed;
  --clr-text:      #202124;
  --clr-text-2:    #5f6368;
  --clr-text-3:    #80868b;

  --clr-primary:   #C8102E;
  --clr-primary-d: #A00C24;
  --clr-primary-l: #fdf0f2;

  --clr-accent:    #f5a623;
  --clr-green:     #2e9e5b;
  --clr-red:       #C8102E;

  --clr-dark:      #0d1117;
  --clr-dark-2:    #161b22;

  --font-sans: 'Roboto', 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Google Sans', 'Roboto', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(60,64,67,.15), 0 1px 2px rgba(60,64,67,.10);
  --shadow-md:  0 2px 6px rgba(60,64,67,.15), 0 1px 4px rgba(60,64,67,.10);
  --shadow-lg:  0 4px 16px rgba(60,64,67,.15), 0 2px 6px rgba(60,64,67,.10);
  --shadow-xl:  0 8px 32px rgba(60,64,67,.18), 0 4px 12px rgba(60,64,67,.12);

  --transition: 220ms cubic-bezier(.4,0,.2,1);
  --transition-slow: 380ms cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: var(--font-sans);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: .9375rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm  { padding: 7px 16px; font-size: .875rem; }
.btn--lg  { padding: 14px 32px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

.btn--primary {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(200,16,46,.35);
}
.btn--primary:hover {
  background: var(--clr-primary-d);
  box-shadow: 0 2px 8px rgba(200,16,46,.4);
  transform: translateY(-1px);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  border: 1.5px solid var(--clr-border);
  color: var(--clr-text);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--clr-surface);
  border-color: var(--clr-text-2);
}

.btn--ghost-white {
  border: 1.5px solid rgba(255,255,255,.6);
  color: #fff;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,.18);
  border-color: #fff;
}

.btn--success { background: var(--clr-green) !important; }
.btn:disabled { opacity: .65; pointer-events: none; }

/* ── Sections ────────────────────────────────────────────────── */
.section { padding: 88px 0; }

.section__header {
  text-align: center;
  margin-bottom: 56px;
}
.section__eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-primary);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--clr-text);
  margin-bottom: 16px;
}
.section__sub {
  font-size: 1.0625rem;
  color: var(--clr-text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ================================================================
   NAV
   ================================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.nav--scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 var(--clr-border);
  padding: 0 24px;
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-mark {
  width: 36px; height: 36px;
  background: var(--clr-primary);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.nav__logo {
  gap: 10px;
}
/* Frosted pill keeps the logo legible on any background */
.nav:not(.nav--scrolled) .nav__logo {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 5px 14px 5px 10px;
}
.nav__logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.nav__logo-dealer {
  font-family: var(--font-display);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--clr-primary);
  color: #fff;
  line-height: 1;
}

/* Footer logo — same frosted pill on the dark footer bg */
.footer .nav__logo {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: 5px 14px 5px 10px;
  display: inline-flex;
}
.nav__logo-img--footer {
  height: 28px;
}
.nav__logo-dealer--footer {
  background: var(--clr-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: .9375rem;
  font-weight: 500;
  transition: var(--transition);
  color: var(--clr-text-2);
}
.nav--scrolled .nav__links a { color: var(--clr-text-2); }
.nav:not(.nav--scrolled) .nav__links a { color: rgba(255,255,255,.85); }
.nav__links a:hover {
  background: var(--clr-surface);
  color: var(--clr-text);
}
.nav:not(.nav--scrolled) .nav__links a:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav:not(.nav--scrolled) .btn--ghost {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.nav:not(.nav--scrolled) .btn--ghost:hover {
  background: rgba(255,255,255,.12);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav:not(.nav--scrolled) .nav__burger { color: #fff; }
.nav--scrolled .nav__burger { color: var(--clr-text); }
.nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0 24px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--clr-border);
}
.nav__mobile--open { display: flex; }
.nav__mobile a {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text-2);
  border-radius: var(--radius-md);
  margin: 0 16px;
}
.nav__mobile a:hover { background: var(--clr-surface); color: var(--clr-text); }
.nav__mobile .btn { margin: 8px 16px 0; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.45) 55%,
    rgba(0,0,0,.2) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 120px 24px 96px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 20px;
}
.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  max-width: 680px;
  margin-bottom: 24px;
}
.hero__sub {
  font-size: clamp(.9375rem, 2vw, 1.125rem);
  color: rgba(255,255,255,.8);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero__stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 0;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 32px 0 0;
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}
.hero__stat-label {
  font-size: .8125rem;
  color: rgba(255,255,255,.65);
  letter-spacing: .01em;
}
.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.25);
  margin: 0 32px 0 0;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,.7);
  animation: bounce 2.2s ease-in-out infinite;
  transition: color var(--transition);
}
.hero__scroll:hover { color: #fff; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   MODEL STRIP
   ================================================================ */
.model-strip {
  background: var(--clr-bg);
  padding: 0 24px;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--clr-border);
}
.model-strip__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
  transform: translateY(-50%);
  background: var(--clr-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--clr-border);
}

.model-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: var(--transition);
  flex: 1;
  position: relative;
}
.model-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 20%;
  right: 20%;
  height: 2px;
  border-radius: 2px;
  background: var(--clr-primary);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.model-btn:hover::after,
.model-btn.is-active::after { transform: scaleX(1); }
.model-btn img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 300ms ease, filter 300ms ease;
  filter: grayscale(30%);
}
.model-btn:hover img { transform: scale(1.1); filter: grayscale(0%); }
.model-btn.is-active img { transform: scale(1.1); filter: grayscale(0%); }
.model-btn span {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--clr-text-3);
  letter-spacing: .01em;
  transition: color var(--transition), font-weight var(--transition);
}
.model-btn:hover span { color: var(--clr-text); }
.model-btn.is-active span { color: var(--clr-primary); font-weight: 700; }

@media (max-width: 768px) {
  .model-strip__inner {
    transform: translateY(0);
    border-radius: var(--radius-lg);
    gap: 0;
    padding: 8px 4px;
  }
  .model-btn { padding: 8px 10px; }
  .model-btn img { height: 38px; }
  .model-btn span { font-size: .6875rem; }
}

/* ================================================================
   CAROUSEL
   ================================================================ */
.vehicles { background: var(--clr-surface); }

.carousel {
  position: relative;
}
.carousel__track-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.carousel__track {
  display: flex;
  gap: 24px;
  transition: transform var(--transition-slow);
  will-change: transform;
}

/* Car Card */
.car-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--clr-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--clr-border);
  transition: var(--transition);
}
.car-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.car-card__img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f4f5f7;
}
.car-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 500ms ease;
}
.car-card:hover .car-card__img-wrap img { transform: scale(1.05); }

.car-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.car-card__badge--new { background: var(--clr-primary); color: #fff; }
.car-card__badge--cpo { background: var(--clr-green); color: #fff; }

.car-card__body { padding: 20px; }
.car-card__year { font-size: .8125rem; color: var(--clr-text-3); font-weight: 500; margin-bottom: 4px; }
.car-card__name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--clr-text);
  margin-bottom: 4px;
}
.car-card__spec { font-size: .875rem; color: var(--clr-text-2); margin-bottom: 12px; }

.car-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.car-card__chips span {
  padding: 4px 10px;
  background: var(--clr-primary-l);
  color: var(--clr-primary);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 500;
}

.car-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--clr-border);
}
.car-card__price {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--clr-primary);
  letter-spacing: -.01em;
}

/* Carousel controls */
.carousel__btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--clr-bg);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--clr-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text);
  z-index: 5;
  transition: var(--transition);
}
.carousel__btn:hover:not(:disabled) {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
  box-shadow: 0 4px 12px rgba(200,16,46,.35);
}
.carousel__btn:disabled { opacity: .35; pointer-events: none; }
.carousel__btn--prev { left: -22px; }
.carousel__btn--next { right: -22px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.carousel__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--clr-border);
  transition: var(--transition);
  border: none;
  padding: 0;
  cursor: pointer;
}
.carousel__dot--active {
  background: var(--clr-primary);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ================================================================
   DELIVERY CAROUSEL
   ================================================================ */
.delivery { background: var(--clr-bg); }

.delivery-card {
  flex: 0 0 calc((100% - 72px) / 4);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--clr-border);
  aspect-ratio: 3/4;
  background: var(--clr-surface-2);
  transition: var(--transition);
}
.delivery-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.delivery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 1024px) {
  .delivery-card { flex: 0 0 calc((100% - 48px) / 3); }
}
@media (max-width: 768px) {
  .delivery-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 480px) {
  .delivery-card { flex: 0 0 80%; }
}

/* ================================================================
   FEATURES
   ================================================================ */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-primary-l);
  transform: translateY(-3px);
}
.feature-card__icon {
  width: 48px; height: 48px;
  background: var(--clr-primary-l);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--clr-primary);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.feature-card p { font-size: .9375rem; color: var(--clr-text-2); line-height: 1.65; }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testimonials { background: var(--clr-dark); }
.testimonials .section__eyebrow { color: var(--clr-accent); }
.testimonials .section__title { color: #fff; }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--clr-dark-2);
  border: 1.5px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonial-card__stars {
  color: var(--clr-accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-card p {
  font-size: .9375rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .9375rem;
  flex-shrink: 0;
}
.testimonial-card__author strong {
  display: block;
  color: #fff;
  font-weight: 600;
  font-size: .9375rem;
}
.testimonial-card__author span {
  color: rgba(255,255,255,.45);
  font-size: .8125rem;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact { background: var(--clr-surface); }

.contact__map {
  width: 100%;
  height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--clr-border);
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
}
.contact__map iframe { display: block; }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact__info .section__eyebrow { text-align: left; }
.contact__info .section__title { text-align: left; font-size: 2rem; margin-bottom: 16px; }
.contact__info > p { color: var(--clr-text-2); line-height: 1.7; margin-bottom: 32px; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--clr-text-2);
  font-size: .9375rem;
  line-height: 1.5;
}
.contact__details svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--clr-primary); margin-top: 2px; }

.contact__form {
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field:last-of-type { margin-bottom: 24px; }
.form-field label { font-size: .8125rem; font-weight: 600; color: var(--clr-text-2); letter-spacing: .01em; }

.form-field input,
.form-field select,
.form-field textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  color: var(--clr-text);
  background: var(--clr-bg);
  font-size: .9375rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
  resize: vertical;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(200,16,46,.15);
}

.contact__form-note {
  text-align: center;
  font-size: .8125rem;
  color: var(--clr-text-3);
  margin-top: 12px;
}

/* ── WhatsApp button in nav ──────────────────────────────────── */
.btn--wa {
  color: #25D366;
  border-color: #25D366;
}
.btn--wa:hover {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
}
.nav:not(.nav--scrolled) .btn--wa {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}

/* ── WhatsApp agent cards in contact section ─────────────────── */
.wa-agents {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 28px;
}
.wa-agent {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--clr-bg);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.wa-agent:hover {
  border-color: #25D366;
  box-shadow: 0 4px 16px rgba(37,211,102,.2);
  transform: translateY(-2px);
}
.wa-agent__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.wa-agent__avatar--pink { background: #e91e8c; }
.wa-agent__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wa-agent__info strong { font-size: .9375rem; color: var(--clr-text); }
.wa-agent__info span   { font-size: .8125rem; color: var(--clr-text-2); }
.wa-agent__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.wa-agent__icon svg { width: 18px; height: 18px; }

/* ── Floating WhatsApp widget ────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.wa-float__toggle {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.wa-float__toggle:hover {
  background: #1ebe5d;
  transform: scale(1.08);
}

.wa-float__panel {
  width: 300px;
  background: var(--clr-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1.5px solid var(--clr-border);
  overflow: hidden;
  transform-origin: bottom right;
  transform: scale(0.85) translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms cubic-bezier(.4,0,.2,1), opacity 220ms ease;
}
.wa-float__panel--open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.wa-float__header {
  background: #075E54;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  font-weight: 600;
}
.wa-float__header span { flex: 1; }
.wa-float__close {
  color: rgba(255,255,255,.7);
  font-size: .875rem;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: color var(--transition);
  border: none;
  background: none;
}
.wa-float__close:hover { color: #fff; }

.wa-float__sub {
  padding: 14px 16px 8px;
  font-size: .875rem;
  color: var(--clr-text-2);
}

.wa-float__agents { padding: 0 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.wa-float__agent {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--clr-border);
  transition: var(--transition);
  cursor: pointer;
}
.wa-float__agent:hover {
  border-color: #25D366;
  background: #f0fdf4;
}
.wa-float__agent-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .9375rem;
  flex-shrink: 0;
}
.wa-float__agent-avatar--pink { background: #e91e8c; }
.wa-float__agent > div:nth-child(2) { flex: 1; }
.wa-float__agent strong { display: block; font-size: .875rem; color: var(--clr-text); }
.wa-float__agent span   { font-size: .75rem; color: var(--clr-text-2); }
.wa-float__agent > svg  { color: var(--clr-text-3); flex-shrink: 0; }

@media (max-width: 480px) {
  .wa-float { bottom: 20px; right: 16px; }
  .wa-float__panel { width: calc(100vw - 32px); }
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--clr-dark);
  padding: 64px 0 32px;
  color: rgba(255,255,255,.6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer__brand .nav__logo-text { color: rgba(255,255,255,.9); }
.footer__brand .nav__logo-mark { background: rgba(255,255,255,.15); color: #fff; }
.footer__brand p {
  margin-top: 16px;
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(255,255,255,.45);
  max-width: 260px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: color var(--transition);
}
.footer__col a:hover { color: rgba(255,255,255,.9); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .8125rem;
  color: rgba(255,255,255,.3);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .car-card { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }

  .hero__content { padding: 100px 24px 80px; }
  .hero__cta .btn--lg { padding: 12px 22px; font-size: .9375rem; }

  .section { padding: 64px 0; }
  .car-card { flex: 0 0 100%; }

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

  .footer__bottom { flex-direction: column; text-align: center; }

  .carousel__btn--prev { left: 0; }
  .carousel__btn--next { right: 0; }
}

@media (max-width: 480px) {
  .contact__form { padding: 24px 20px; }
}
