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

/* ── Design Tokens ─────────────────────────────────────── */
:root {
  --blue:           #1A47B8;
  --blue-dark:      #1239A0;
  --blue-light:     #2563EB;
  --text:           #111827;
  --text-muted:     #6B7280;
  --border:         #E5E7EB;
  --surface:        #F3F4F6;
  --white:          #FFFFFF;
  --green:          #25D366;
  --radius:         10px;
  --radius-lg:      14px;
  --shadow:         0 1px 4px rgba(0,0,0,.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,.12);

  /* Aliases so about.html inline styles resolve correctly */
  --lck-primary:      var(--blue);
  --lck-primary-dark: var(--blue-dark);
  --lck-surface:      var(--surface);
  --lck-border:       var(--border);
  --lck-whatsapp:     var(--green);
}

/* ── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -.01em;
}

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

/* ── Top Info Bar ───────────────────────────────────────── */
.lck-topbar {
  position: relative;
  z-index: 1031;
  background: var(--blue);
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  font-weight: 500;
  padding: .45rem 0;
}

.lck-topbar a {
  color: #fff;
  font-weight: 600;
}

.lck-topbar a:hover { text-decoration: underline; }

/* ── Navbar ─────────────────────────────────────────────── */
.lck-navbar {
  background: transparent;
  padding: .75rem 0;
  transition: background .25s;
}

/* Solid white + frosted glass when scrolled (JS adds this class) */
.lck-navbar.scrolled {
  background: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
}

.lck-nav-logo {
  height: 80px;
  width: auto;
}

.lck-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text) !important;
  padding: .45rem 1.4rem !important;
  border-radius: 6px;
  transition: color .15s, background .15s;
}

.lck-nav-link:hover,
.lck-nav-link.active {
  color: var(--blue) !important;
  background: #EEF2FF;
}

.lck-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  font-size: 1.15rem;
  color: var(--blue);
  border-radius: 50%;
  transition: color .15s, background .15s;
  position: relative;
}

.lck-nav-icon:hover { color: var(--blue-dark); background: #EEF2FF; }

.lck-badge-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 16px;
  height: 16px;
  background: #DC2626;
  color: #fff;
  border-radius: 50%;
  font-size: .62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Hero ───────────────────────────────────────────────── */
.lck-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  /* pull hero behind the transparent navbar only */
  margin-top: -108px;
  padding-top: 108px;
}

/* Inner-page heroes (contact, about, etc.) have taller desktop height */
.lck-hero-inner { min-height: 85vh; }

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  pointer-events: none;
  user-select: none;
}


.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
  max-width: 520px;
}

.min-vh-hero    { min-height: 72vh; }
.min-vh-hero-sm { min-height: 52vh; }

.hero-h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--text);
  letter-spacing: -.02em;
}

.hero-blue { color: var(--blue); }

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 360px;
}

.btn-hero-primary {
  background: var(--blue);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .7rem 2rem;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  transition: background .15s, transform .1s;
}

.btn-hero-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-hero-outline {
  background: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .7rem 2rem;
  border-radius: var(--radius);
  border: 2px solid #CBD5E1;
  transition: border-color .15s, color .15s;
}

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

/* ── Section helpers ────────────────────────────────────── */
.lck-section { padding: 5rem 0; }
.bg-light-gray { background: var(--surface); }

.section-title-dark {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}

/* ── Category Cards ─────────────────────────────────────── */
.cat-card-new {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.cat-card-new:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cat-card-new::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%);
  transform: translateX(-110%);
  transition: transform .5s ease;
  pointer-events: none;
  z-index: 2;
}
.cat-card-new:hover::after { transform: translateX(110%); }

.cat-img-wrap {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--surface);
}

.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cat-label-new {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: var(--white);
}

/* ── Product Cards ──────────────────────────────────────── */
.product-card-new {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}

.product-card-new:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.product-img-wrap-new {
  aspect-ratio: 4/3;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.sold-out-badge {
  position: absolute;
  top: 10px;
  left: -28px;
  width: 110px;
  background: #dc2626;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  padding: 4px 0;
  transform: rotate(-45deg);
  transform-origin: center;
  z-index: 2;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}

.product-img-wrap-new img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s;
  padding: .5rem;
}

.product-card-new:hover .product-img-wrap-new img { transform: scale(1.05); }

/* Shimmer sweep on hover */
.product-card-new::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%);
  transform: translateX(-110%);
  transition: transform .5s ease;
  pointer-events: none;
  z-index: 2;
}
.product-card-new:hover::after { transform: translateX(110%); }

.product-no-img {
  font-size: 2.5rem;
  color: var(--border);
}

.product-body-new {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-cat-tag {
  font-size: .72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .35rem;
}

.product-name-new {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-new {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
}

.btn-wa {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: background .15s;
  padding: .4rem .75rem;
  font-size: .82rem;
}

.btn-wa:hover { background: #1ebe57; color: #fff; }

.btn-wa-outline {
  border: 1.5px solid var(--green);
  color: var(--green);
  background: transparent;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: all .15s;
  padding: .4rem .75rem;
  font-size: .82rem;
}

.btn-wa-outline:hover { background: var(--green); color: #fff; }

/* ── Model Cards ────────────────────────────────────────── */
.model-row {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding-bottom: .75rem;
  scrollbar-width: none;
  width: 100%;
  min-width: 0;
}

.model-row::-webkit-scrollbar { display: none; }

.model-card-new {
  flex: 0 0 220px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .2s, box-shadow .2s;
}

.model-card-new:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.model-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: #fff;
}

.model-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.model-name-new {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
  padding: 1rem;
  text-align: center;
  width: 100%;
  background: var(--white);
  border-top: 1px solid var(--border);
}

/* ── Category Photo Cards ────────────────────────────────── */
.cat-img-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 185px;
  height: 100%;
  text-decoration: none;
  transition: transform .22s, box-shadow .22s;
}

.cat-img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,.3);
}

.cat-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}

.cat-img-card:hover .cat-img-bg {
  transform: scale(1.08);
}

.cat-img-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.08) 100%);
  z-index: 1;
}

.cat-img-label {
  position: relative;
  z-index: 2;
  padding: .9rem 1rem;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.35;
}

.cat-img-label span {
  display: block;
  font-size: .7rem;
  font-weight: 400;
  opacity: .82;
  text-transform: none;
  margin-top: .2rem;
  letter-spacing: .01em;
}

/* ── Model Placeholder Cards ────────────────────────────── */
.model-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}

.model-img-placeholder i {
  font-size: 2.25rem;
  color: rgba(255,255,255,.65);
}

.ph-model-name {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 800;
  color: rgba(255,255,255,.9);
  letter-spacing: .05em;
  text-align: center;
}

.ph-year {
  font-size: .65rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em;
}

.mph-fj80  { background: linear-gradient(135deg, #2c5282 0%, #1a3460 100%); }
.mph-p95   { background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%); }
.mph-lc100 { background: linear-gradient(135deg, #1e3a5f 0%, #0d2137 100%); }
.mph-lx600 { background: linear-gradient(135deg, #1a202c 0%, #0a0f1a 100%); }

/* ── Why Thousands ──────────────────────────────────────── */
.thousands-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.thousands-photo {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center 65%;
  display: block;
}

.thousands-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.thousands-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -.03em;
}

.thousands-stat-lbl {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .25rem;
}

.why-tile {
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  font-weight: 600;
  font-size: .95rem;
  transition: background .15s, transform .15s;
}

.why-tile:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.why-tile-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ── Trusted Brands Carousel ────────────────────────────── */
.brands-carousel-outer {
  overflow: hidden;
  position: relative;
  padding: .5rem 0;
  /* fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.brands-carousel-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: brandsScroll 28s linear infinite;
}

.brands-carousel-track:hover { animation-play-state: paused; }

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

.brand-carousel-logo {
  display: block;
  flex-shrink: 0;
  width: 120px;
  height: 40px;
  object-fit: contain;
  object-position: center;
  filter: grayscale(100%) opacity(50%);
  mix-blend-mode: multiply;
  transition: filter .25s, transform .25s;
}

.brand-carousel-logo:hover {
  filter: grayscale(0%) opacity(100%);
  transform: scale(1.08);
}

.brand-carousel-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: -.01em;
  white-space: nowrap;
  opacity: .5;
  transition: opacity .25s;
  flex-shrink: 0;
}

.brand-carousel-text:hover { opacity: 1; }

/* ── African Roads Banner ───────────────────────────────── */
.african-banner {
  margin: 0 1.5rem;
  margin-bottom: 65px;
  min-height: 340px;
  position: relative;
  overflow: visible;
}

.african-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #08174a 0%, #0d2272 30%, #1A47B8 60%, rgba(26,71,184,.75) 80%, transparent 100%);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.african-bg-img {
  position: absolute;
  right: 0;
  bottom: -55px;
  height: calc(100% + 55px);
  width: auto;
  max-width: 65%;
  object-fit: contain;
  object-position: right bottom;
  z-index: 1;
  pointer-events: none;
}

.african-overlay {
  min-height: 340px;
  padding: 3.5rem 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.african-car-card {
  background: linear-gradient(135deg, #1239A0 0%, #1A47B8 50%, #2563EB 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  max-width: 520px;
  height: 260px;
}

.african-car-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.african-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}

.african-sub {
  color: rgba(255,255,255,.85);
  font-size: 1rem;
  margin-bottom: 1.75rem;
}

.btn-african {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: .65rem 1.75rem;
  transition: background .15s, border-color .15s;
}

.btn-african:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}

/* ── Testimonial Cards ──────────────────────────────────── */
.testi-card-new {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}

.testi-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.testi-avatar-new {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.testi-avatar-new img { width: 100%; height: 100%; object-fit: cover; }

.testi-name-new {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: .2rem;
}

.testi-stars-new {
  color: #F59E0B;
  font-size: .9rem;
}

.testi-quote-new {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Testimonial Carousel ───────────────────────────────── */
.testi-carousel-wrap { position: relative; }

.testi-track-outer {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testi-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

@media (max-width: 991px) {
  .testi-slide { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 575px) {
  .testi-slide { flex: 0 0 100%; }
}

.testi-card-new {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}

.testi-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testi-avatar-new {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.testi-avatar-new img { width: 100%; height: 100%; object-fit: cover; }

.testi-initials {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.testi-name-new {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin-bottom: .2rem;
}

.testi-stars-new {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: .05em;
}

.testi-quote-new {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.75rem;
}

.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  padding: 0;
  cursor: pointer;
  transition: background .25s, transform .25s;
}

.testi-dot.active {
  background: var(--blue);
  transform: scale(1.25);
}

/* ── Footer ─────────────────────────────────────────────── */
.lck-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
}

.footer-logo {
  height: 150px;
  width: auto;
  display: block;
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .6rem;
  font-size: .9rem;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--text-muted);
  transition: color .15s;
}

.footer-links a:hover { color: var(--blue); }

/* ── WhatsApp Float ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  z-index: 1050;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s;
}

.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ── Contact Page ───────────────────────────────────────── */
.min-vh-hero-sm { min-height: 55vh; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
}

.contact-card-title {
  font-family: 'Inter', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: box-shadow .2s;
}

.wa-channel  { background: #f0fdf4; border: 1px solid #bbf7d0; }
.ig-channel  { background: #fdf4ff; border: 1px solid #e9d5ff; }

.wa-channel:hover  { box-shadow: 0 4px 14px rgba(37,211,102,.2); }
.ig-channel:hover  { box-shadow: 0 4px 14px rgba(168,85,247,.15); }

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #fff;
  flex-shrink: 0;
}

.wa-icon { background: #16a34a; box-shadow: 0 0 0 2px #fff, 0 0 0 3px #16a34a; }
.ig-icon { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }

.channel-body { flex: 1; min-width: 0; }

.channel-name {
  font-weight: 700;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: .1rem;
}

.wa-channel  .channel-name { color: #14532d; }
.ig-channel  .channel-name { color: #581c87; }

.channel-value {
  font-size: .88rem;
  font-weight: 600;
}

.wa-channel  .channel-value { color: #166534; }
.ig-channel  .channel-value { color: #7e22ce; }

.channel-note {
  font-size: .74rem;
}

.wa-channel  .channel-note { color: #4ade80; }
.ig-channel  .channel-note { color: #a855f7; }

.channel-arrow {
  font-size: 1rem;
  flex-shrink: 0;
}

.wa-channel  .channel-arrow { color: #25D366; }
.ig-channel  .channel-arrow { color: #a855f7; }

.contact-location {
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  margin-top: .5rem;
}

.location-heading {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text);
  margin-bottom: .75rem;
}

.location-line {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}

.location-sub {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .15rem;
}

.contact-form { }

.contact-input {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}

.contact-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,71,184,.1);
}

.contact-input::placeholder { color: #9CA3AF; }

.contact-textarea {
  height: 160px;
  resize: vertical;
}

.trust-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.trust-num {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: .4rem;
}

.trust-label {
  font-size: .82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ── Shop / Sidebar reuse ───────────────────────────────── */
.lck-filter-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.lck-filter-card h6 {
  font-family: 'Inter', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: .75rem;
}

.lck-breadcrumb {
  background: var(--surface);
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}

.lck-breadcrumb .breadcrumb-item a { color: var(--blue); }
.lck-breadcrumb .breadcrumb-item.active { color: var(--text-muted); }

/* ── Old product-card alias (shop page) ─────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card .product-img-wrap { aspect-ratio: 4/3; background: var(--surface); overflow: hidden; }
.product-card .product-img-wrap img { width:100%;height:100%;object-fit:cover;transition:transform .3s; }
.product-card:hover .product-img-wrap img { transform:scale(1.05); }
.product-card .card-body { flex:1;display:flex;flex-direction:column;padding:1rem; }
.product-card .product-price { font-family:'Inter',sans-serif;font-size:1.15rem;font-weight:700;color:var(--blue); }
.product-card .quote-badge { display:inline-block;background:var(--surface);color:var(--blue);border:1px solid var(--border);border-radius:6px;padding:.15rem .55rem;font-size:.78rem;font-weight:600; }

/* ── Vehicle card alias ─────────────────────────────────── */
.vehicle-card {
  border:2px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem 1rem;
  text-align:center;background:var(--white);text-decoration:none;color:var(--text);display:block;transition:all .2s;
}
.vehicle-card:hover { border-color:var(--blue);background:var(--surface);color:var(--blue);transform:translateY(-3px);box-shadow:var(--shadow-md); }
.vehicle-card .vehicle-series { font-family:'Inter',sans-serif;font-size:1.2rem;font-weight:800;color:var(--blue); }
.vehicle-card .vehicle-years { font-size:.82rem;color:var(--text-muted); }

/* ── Utility ────────────────────────────────────────────── */
.text-lck-primary { color: var(--blue) !important; }
.bg-lck-surface   { background: var(--surface) !important; }
.font-heading     { font-family: 'Inter', sans-serif !important; }

.btn-lck-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background .15s, transform .1s;
}
.btn-lck-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }

.btn-whatsapp {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: background .15s;
}
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }

.btn-whatsapp-outline {
  border: 2px solid var(--green);
  color: var(--green);
  background: transparent;
  border-radius: var(--radius);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: all .15s;
}
.btn-whatsapp-outline:hover { background: var(--green); color: #fff; }

.lck-section-alt { padding: 4rem 0; background: var(--surface); }
.lck-section { padding: 4rem 0; }
.lck-section-title { font-family:'Inter',sans-serif;font-size:2rem;font-weight:800;color:var(--text);margin-bottom:.5rem;letter-spacing:-.02em; }
.lck-section-subtitle { color:var(--text-muted);font-size:1rem;margin-bottom:2.5rem; }
.lck-card { background:var(--white);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow);transition:box-shadow .2s,transform .2s; }
.lck-card:hover { box-shadow:var(--shadow-md);transform:translateY(-2px); }

/* ── Shop Page ──────────────────────────────────────────── */
.shop-filter-link {
  display: flex;
  align-items: center;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: .4rem .65rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.shop-filter-link:hover { background: var(--surface); color: var(--blue); }
.shop-filter-link.active { color: var(--blue); font-weight: 700; background: #EEF2FF; }

.shop-count-badge {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1px 7px;
  font-size: .65rem;
  font-weight: 600;
  flex-shrink: 0;
}

.shop-wa-card {
  background: linear-gradient(135deg, #1239A0, #1A47B8);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  color: #fff;
}
.shop-wa-title {
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .35rem;
}
.shop-wa-body {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-bottom: .85rem;
}

.shop-search-input {
  flex: 1;
  padding: .6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .9rem;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.shop-search-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,71,184,.1);
}
.shop-search-input::placeholder { color: #9CA3AF; }

.shop-compat-badge {
  background: var(--surface);
  color: var(--blue);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: .65rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Pagination overrides */
.pagination .page-link {
  font-family: 'Inter', sans-serif;
  font-size: .88rem;
  color: var(--blue);
  border-color: var(--border);
}
.pagination .page-item.active .page-link {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   PRELOADER
═══════════════════════════════════════════════════════════ */
#lck-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* dynamic viewport — accounts for iOS toolbar */
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity .6s ease, visibility .6s ease;
}

#lck-preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  height: 100px;
  width: auto;
  animation: preloaderPulse 1.4s ease-in-out infinite;
}

.preloader-bar-wrap {
  width: 160px;
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  margin-top: 1.5rem;
  overflow: hidden;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: var(--blue);
  border-radius: 99px;
  animation: preloaderFill 1.6s ease forwards;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1);   opacity: 1;   }
  50%       { transform: scale(.95); opacity: .75; }
}

@keyframes preloaderFill {
  0%   { width: 0%; }
  60%  { width: 80%; }
  100% { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.22,1,.36,1), transform .65s cubic-bezier(.22,1,.36,1);
}

/* On mobile, horizontal transforms cause body overflow — use vertical for all */
.reveal.reveal-left  { transform: translateY(32px); }
.reveal.reveal-right { transform: translateY(32px); }
@media (min-width: 576px) {
  .reveal.reveal-left  { transform: translateX(-32px); }
  .reveal.reveal-right { transform: translateX(32px); }
}
.reveal.reveal-scale { transform: scale(.94); }

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: .05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: .12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: .19s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: .26s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: .33s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: .40s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: .47s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: .54s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: none;
}

/* hero entrance */
.hero-content {
  animation: heroEntrance .9s cubic-bezier(.22,1,.36,1) both;
}

@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   SMOOTH GLOBAL TRANSITIONS
═══════════════════════════════════════════════════════════ */
html { scroll-behavior: smooth; }

/* page fade-in */
body { animation: pageFadeIn .4s ease both; }
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* WhatsApp float pulse ring */
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* section title — block so Bootstrap text-center properly centers it */
.section-title-dark {
  position: relative;
  display: block;
}

/* Navbar mobile smoothing */
.navbar-collapse {
  transition: all .3s ease;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
═══════════════════════════════════════════════════════════ */

/* ── Topbar ── */
@media (max-width: 575px) {
  .lck-topbar { display: none; }
}

/* ── Navbar tablet ── */
@media (max-width: 991px) {
  .lck-nav-logo { height: 56px; }

  .navbar-collapse {
    background: rgba(255,255,255,.99);
    border-radius: var(--radius-lg);
    margin-top: .6rem;
    padding: 1rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
  }

  .lck-nav-link {
    padding: .7rem 1rem !important;
    font-size: 1rem;
    border-radius: 8px;
    display: block;
  }
}

/* ── Navbar small mobile ── */
@media (max-width: 575px) {
  /* Reduce logo so [logo | icons | toggler] all fit on one row */
  .lck-nav-logo { height: 44px; }

  /* Visual size 34px but padding brings effective tap target to 44px+ */
  .lck-nav-icon { width: 34px; height: 34px; font-size: 1rem; padding: 5px; box-sizing: content-box; }
  .lck-badge-dot { width: 14px; height: 14px; font-size: .55rem; top: 1px; right: 1px; }

  /* Tighter gap between the icons shown on mobile */
  .lck-nav-icons { gap: .15rem !important; }

  .lck-navbar { padding: .5rem 0; }
}

/* ── Hero ── */
@media (max-width: 767px) {
  .lck-hero {
    min-height: 64vh;
    margin-top: -72px;
    padding-top: 72px;
  }
  .hero-bg-img {
    object-position: 72% center;
    opacity: .55;
  }
  .hero-content {
    padding: 3rem 0 2.5rem;
    max-width: 100%;
  }
  .hero-h1 { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .hero-desc { max-width: 100%; font-size: .95rem; }
}

/* Tablet-portrait: center hero text (background image is panned right, so text can float centre) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-content {
    text-align: center;
  }
  .hero-content .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-content .d-flex { justify-content: center; }
}

@media (max-width: 575px) {
  /* Account for hidden topbar — navbar is now the only sticky element */
  .lck-hero {
    margin-top: -62px;
    padding-top: 62px;
    min-height: auto !important;
    padding-bottom: 1rem;
  }
  /* Frosted-glass card on hero content so text is always readable */
  .hero-content {
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 1.5rem 1.25rem 1.75rem !important;
    margin-top: .5rem;
    text-align: center; /* center h1, desc, and button row */
  }
  .hero-content .hero-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }
  /* Center the CTA button group */
  .hero-content .d-flex {
    justify-content: center;
  }
  .hero-bg-img { opacity: .45; }
}

@media (max-width: 480px) {
  .btn-hero-primary, .btn-hero-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    font-size: .88rem;
    padding: .65rem 1.25rem;
  }
  /* Make outline button clearly visible against the frosted background */
  .btn-hero-outline {
    border-color: var(--blue);
    color: var(--blue);
  }
  .hero-h1 { font-size: clamp(1.65rem, 7.5vw, 2.2rem); }
}

/* ── Sections ── */
@media (max-width: 767px) {
  .lck-section { padding: 2.75rem 0; }
  .section-title-dark { font-size: clamp(1.35rem, 6vw, 1.9rem); margin-bottom: 1.5rem !important; }
}
@media (max-width: 575px) {
  .lck-section { padding: 2.5rem 0; }
  .lck-section .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  /* Reduce Bootstrap mt-5 (48px) to something tighter within sections on mobile */
  .lck-section .mt-5 { margin-top: 1.75rem !important; }
}

/* ── Breadcrumb ── */
@media (max-width: 575px) {
  .lck-breadcrumb { font-size: .78rem; }
}

/* ── Category cards (old image style) ── */
@media (max-width: 575px) {
  .cat-img-wrap { padding: 1rem; }
  .cat-label-new { font-size: .85rem; padding: .6rem; }
}

/* ── Category photo cards (new) ── */
@media (max-width: 575px) {
  .cat-img-card { min-height: 148px; }
  .cat-img-label { font-size: .72rem; padding: .65rem .7rem; letter-spacing: .03em; }
  .cat-img-label span { font-size: .62rem; }
}
/* Tablet: show all 6 in 3-col grid, keep card height consistent */
@media (min-width: 576px) and (max-width: 991px) {
  .cat-img-card { min-height: 165px; }
}

/* ── Product cards ── */
@media (max-width: 575px) {
  .product-body-new { padding: .85rem .9rem 1rem; }
  .product-card-new .product-name-new { font-size: .92rem; line-height: 1.4; }
  .product-price-new { font-size: 1.05rem; }
  .product-cat-tag { font-size: .7rem; margin-bottom: .35rem; }
  /* Shop page 2-col grid: square image works fine at ~160px card width */
  .product-img-wrap-new { aspect-ratio: 1/1; }
  /* Home featured carousel cards are 80vw wide — use 4:3 so image isn't screen-tall */
  .mobile-carousel .product-img-wrap-new { aspect-ratio: 4/3; }
}

/* ── Shop page sidebar on mobile: horizontal pill filter row ── */
@media (max-width: 991px) {
  .lck-filter-card { margin-bottom: .75rem; padding: 1rem; }
  .shop-filter-link { padding: .4rem .75rem; font-size: .82rem; }
  .shop-wa-card { padding: 1rem; }
}
/* Shop page: reduce excessive top padding on mobile */
@media (max-width: 575px) {
  .container.py-5 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
  /* Animate filter toggle chevron */
  [data-bs-target="#shopFilters"] .bi-chevron-down { transition: transform .25s; }
  [data-bs-target="#shopFilters"][aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); }
}

/* ── African Banner ── */
@media (max-width: 767px) {
  .african-banner { margin: 0 .75rem; margin-bottom: 1.5rem; min-height: 260px; }
  .african-bg-img { bottom: 0; height: 100%; max-width: 55%; opacity: .5; }
  .african-overlay { min-height: 260px; padding: 2.5rem 0; }
  .african-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .btn-african { width: auto; font-size: .82rem; padding: .55rem 1.25rem; }
}

/* ── Model row ── */
@media (max-width: 575px) {
  /* 160px: "PRADO 120" fits; 170px: "LC70 2007–2022" fits without wrapping */
  .model-card-new { flex: 0 0 160px; }
  .model-img-wrap { padding: .75rem; }
  /* Smaller font + nowrap so long labels like "LC70 2007–2022" stay on one line */
  .model-name-new { font-size: .78rem; padding: .6rem .75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (min-width: 576px) and (max-width: 767px) {
  .model-card-new { flex: 0 0 210px; }
}

/* ── Why Thousands ── */
@media (max-width: 991px) {
  .thousands-photo { min-height: 320px; max-height: 380px; object-position: center bottom; }
}
@media (max-width: 767px) {
  .thousands-photo { min-height: 280px; max-height: 340px; object-position: center bottom; }
  .thousands-body { padding: 2rem; }
}
@media (max-width: 575px) {
  .thousands-photo { min-height: 260px; max-height: 300px; object-position: center bottom; }
  .thousands-body { padding: 1.75rem 1.5rem; }
  .thousands-stat-num { font-size: 1.75rem; }
  .thousands-stat-lbl { font-size: .75rem; }
  /* Why tiles: full-width single column on mobile */
  .why-tile { padding: .85rem 1.1rem; font-size: .9rem; gap: .75rem; }
  .why-tile-icon { font-size: 1.35rem !important; }
  /* Make why-tiles full width on mobile */
  .thousands-body .row .col-6 { flex: 0 0 100%; max-width: 100%; }
}

/* ── Testimonials ── */
@media (max-width: 575px) {
  .testi-card-new { padding: 1.5rem; }
  .testi-quote-new { font-size: .88rem; line-height: 1.65; }
  .testi-name-new { font-size: .95rem; }
}

/* ── Footer ── */
@media (max-width: 767px) {
  .lck-footer { padding: 2.5rem 0 1.5rem; }
  .footer-logo { height: 88px; }
  .footer-heading { font-size: .82rem; letter-spacing: .08em; margin-bottom: .75rem !important; }
  .footer-links li { margin-bottom: .5rem; font-size: .9rem; }
}
@media (max-width: 575px) {
  /* 2-column footer grid on mobile */
  .lck-footer .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.25rem;
    /* Reset Bootstrap row negative gutter margins so text doesn't hit the edge */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .lck-footer .row > [class*="col-"] { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
  /* Logo row full-width */
  .lck-footer .row > [class*="col-"]:first-child { grid-column: 1 / -1; }
  /* Footer links slightly larger on mobile for tap targets */
  .footer-links li { font-size: .95rem; margin-bottom: .6rem; }
  .footer-heading { font-size: .85rem !important; margin-bottom: .85rem !important; }
}

/* ── WhatsApp float ── */
@media (max-width: 575px) {
  .whatsapp-float { width: 48px; height: 48px; font-size: 1.4rem; bottom: 16px; right: 16px; }
}

/* ── Contact page ── */
@media (max-width: 575px) {
  .contact-card { padding: 1.25rem; }
}

/* ── Product detail ── */
@media (max-width: 575px) {
  /* Image thumbnails row: scrollable on small screen */
  .product-thumb-row { overflow-x: auto; flex-wrap: nowrap !important; padding-bottom: .25rem; }
}

/* ── Services page ── */
@media (max-width: 575px) {
  .lck-card .p-4 { padding: 1rem !important; }
}

/* ═══════════════════════════════════════════════════════════
   iOS INPUT ZOOM FIX
   Font-size < 16px triggers auto-zoom on iOS Safari. Force 1rem
   on all inputs on small screens.
═══════════════════════════════════════════════════════════ */
@media (max-width: 575px) {
  input, textarea, select, .contact-input {
    font-size: 1rem !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE SWIPE CAROUSELS
   Converts Bootstrap row grids to native scroll-snap carousels
   on mobile. No JS needed — pure CSS momentum scroll.
═══════════════════════════════════════════════════════════ */
@media (max-width: 575px) {
  .mobile-carousel {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: .75rem;
    /* Constrain to parent width so it acts as a real scroll container */
    width: 100%;
    min-width: 0;
    /* Reset Bootstrap row negative margins to prevent body horizontal overflow */
    margin-right: 0 !important;
    margin-left: 0 !important;
  }
  .mobile-carousel::-webkit-scrollbar { display: none; }
  .mobile-carousel > [class*="col-"] {
    flex: 0 0 80vw !important;
    width: 80vw !important;
    max-width: 320px;
    scroll-snap-align: start;
    padding-right: .6rem;
    padding-left: .6rem;
  }
  /* Category photo cards: show ~2.2 at once, tall enough for photo + label */
  .cat-carousel > [class*="col-"] {
    flex: 0 0 46vw !important;
    width: 46vw !important;
    max-width: 200px;
  }
  /* Service cards: wider, show ~1.15 at once */
  .svc-carousel > [class*="col-"] {
    flex: 0 0 84vw !important;
    width: 84vw !important;
    max-width: 320px;
  }
}

/* Swipe hint text */
.carousel-hint {
  font-size: .72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: .35rem;
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR
═══════════════════════════════════════════════════════════ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  z-index: 100000;
  width: 0%;
  transition: width .08s linear;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
═══════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .15s, color .15s;
  z-index: 9997;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ═══════════════════════════════════════════════════════════
   BUTTON RIPPLE EFFECT
═══════════════════════════════════════════════════════════ */
.btn-hero-primary,
.btn-hero-outline,
.btn-whatsapp,
.btn-lck-primary,
.btn-wa,
.btn-wa-outline {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnim .55s linear;
  background: rgba(255,255,255,.35);
  pointer-events: none;
}

@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════
   COUNTER ANIMATION — stat numbers count up when in view
═══════════════════════════════════════════════════════════ */
[data-count] {
  transition: opacity .3s;
}
[data-count].counting {
  opacity: 1;
}
