/* =====================================================================
   MANSO — Homepage Stylesheet
   home.css
   "Find it. Fix it. Floor it."

   SCOPE
   This file styles the HOMEPAGE ONLY.
   It does NOT redefine: colour variables, typography, buttons, forms,
   or utility classes — those live in shared.css and are referenced here.

   Colour variables assumed present in shared.css:
     --royal-blue  #1F0062
     --light-grey  #E6E6E6
     --silver      #C0C0C0
     --black       #0D0D0D
     --white       #FFFFFF
   This file references those variables only; it introduces no new colours.

   Local (homepage-only) tokens are namespaced --home-* to avoid any
   collision with the shared design system.
   ===================================================================== */


/* =====================================================================
   0. HOMEPAGE-LOCAL TOKENS
   Layout, spacing rhythm and motion values used only on the homepage.
   No colours are defined here — only scale, motion and elevation that
   build on the shared palette.
   ===================================================================== */
.home {
  /* Section rhythm — large, premium spacing */
  --home-section-y: clamp(4rem, 9vw, 9rem);
  --home-gap: clamp(1.25rem, 2.5vw, 2.25rem);
  --home-container: 1240px;
  --home-container-wide: 1440px;
  --home-pad-x: clamp(1.25rem, 5vw, 4rem);

  /* Elevation (derived from --black so no new colour is introduced) */
  --home-shadow-sm: 0 2px 8px rgba(13, 13, 13, 0.06);
  --home-shadow-md: 0 12px 32px rgba(13, 13, 13, 0.08);
  --home-shadow-lg: 0 28px 64px rgba(13, 13, 13, 0.12);
  --home-shadow-blue: 0 24px 60px rgba(31, 0, 98, 0.22);

  /* Radius rhythm */
  --home-radius: 18px;
  --home-radius-lg: 28px;
  --home-radius-pill: 999px;

  /* Motion */
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --home-fast: 180ms;
  --home-base: 320ms;
  --home-slow: 640ms;
}


/* =====================================================================
   1. PAGE FOUNDATION
   Light grey page, white surfaces. No dark site.
   ===================================================================== */
.home {
  background-color: var(--light-grey);
  color: var(--black);
}

.home-section {
  padding-block: var(--home-section-y);
}

.home-container {
  width: 100%;
  max-width: var(--home-container);
  margin-inline: auto;
  padding-inline: var(--home-pad-x);
}

.home-container--wide {
  max-width: var(--home-container-wide);
}

.home-section__head {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.home-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal-blue);
}

.home-section__title {
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home-section__subtitle {
  margin-top: 1rem;
  color: var(--black);
  opacity: 0.7;
}

/* Reusable white surface card used across multiple homepage sections */
.home-card {
  position: relative;
  background-color: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow-sm);
  transition:
    transform var(--home-base) var(--home-ease),
    box-shadow var(--home-base) var(--home-ease),
    border-color var(--home-base) var(--home-ease);
  will-change: transform;
}


/* =====================================================================
   2. HERO
   Blue Lexus LFA hero image, large type, glass search panel.
   ===================================================================== */
.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(560px, 78vh, 880px);
  padding-block: clamp(4rem, 9vw, 8rem);
  overflow: hidden;
  background-color: var(--royal-blue);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--home-hero-image, url("../img/hero-lfa.jpg"));
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  transform: scale(1.04);
}

/* Gradient overlay keeps the white headline legible over the car */
.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      105deg,
      rgba(31, 0, 98, 0.92) 0%,
      rgba(31, 0, 98, 0.62) 42%,
      rgba(31, 0, 98, 0.12) 78%,
      rgba(13, 13, 13, 0) 100%
    );
}

.home-hero__inner {
  max-width: 640px;
}

.home-hero__title {
  color: var(--white);
  font-size: clamp(2.6rem, 6.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.home-hero__tagline {
  margin-top: 1.1rem;
  color: var(--white);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  opacity: 0.92;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--home-gap);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

/* Glass search panel — homepage-only treatment */
.home-hero__search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--home-radius-pill);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--home-shadow-md);
}

.home-hero__search > .field,
.home-hero__search input {
  flex: 1 1 240px;
  min-width: 0;
}

/* Scroll cue */
.home-hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  translate: -50% 0;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--home-radius-pill);
}

.home-hero__scroll::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: var(--home-radius-pill);
  translate: -50% 0;
  animation: home-scroll-dot 1.8s var(--home-ease) infinite;
}

@keyframes home-scroll-dot {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  40%  { opacity: 1; }
  80%  { opacity: 0; transform: translate(-50%, 14px); }
  100% { opacity: 0; }
}


/* =====================================================================
   3. MARKETPLACE STATISTICS
   ===================================================================== */
.home-stats {
  background-color: var(--white);
  border-block: 1px solid var(--light-grey);
}

.home-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  text-align: center;
}

.home-stat__value {
  display: block;
  color: var(--royal-blue);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.home-stat__label {
  display: block;
  margin-top: 0.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.6;
}

.home-stat + .home-stat {
  position: relative;
}

.home-stat + .home-stat::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(var(--home-gap) * -1.2);
  width: 1px;
  height: 56px;
  translate: 0 -50%;
  background: var(--silver);
  opacity: 0.5;
}


/* =====================================================================
   4. FEATURED CATEGORIES
   ===================================================================== */
.home-categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--home-gap);
}

.home-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  overflow: hidden;
}

.home-category__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--light-grey);
  color: var(--royal-blue);
  transition: background var(--home-base) var(--home-ease),
              color var(--home-base) var(--home-ease);
}

.home-category__name {
  letter-spacing: -0.01em;
}

.home-category__count {
  margin-top: auto;
  color: var(--black);
  opacity: 0.55;
}

.home-category:hover .home-category__icon {
  background: var(--royal-blue);
  color: var(--white);
}


/* =====================================================================
   5. FEATURED LISTINGS
   ===================================================================== */
.home-listings__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--home-gap);
}

.home-listing {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.home-listing__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--light-grey);
}

.home-listing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--home-slow) var(--home-ease);
}

.home-listing:hover .home-listing__media img {
  transform: scale(1.06);
}

.home-listing__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--home-radius-pill);
  background: var(--white);
  color: var(--royal-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--home-shadow-sm);
}

.home-listing__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.25rem 1.35rem 1.5rem;
}

.home-listing__title {
  letter-spacing: -0.01em;
}

.home-listing__meta {
  color: var(--black);
  opacity: 0.6;
}

.home-listing__price {
  margin-top: 0.35rem;
  color: var(--royal-blue);
  font-size: 1.25rem;
}

.home-listing__vendor {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--light-grey);
  color: var(--black);
  opacity: 0.7;
}


/* =====================================================================
   6. REQUEST A PART
   Blue feature band with a glass form surface.
   ===================================================================== */
.home-request {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--royal-blue);
  color: var(--white);
}

.home-request::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(192, 192, 192, 0.18), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(255, 255, 255, 0.1), transparent 60%);
}

.home-request__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.home-request__title {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.home-request__copy {
  margin-top: 1rem;
  opacity: 0.85;
}

.home-request__panel {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--home-radius-lg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--home-shadow-md);
}


/* =====================================================================
   7. WHY CHOOSE MANSO
   ===================================================================== */
.home-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--home-gap);
}

.home-why__item {
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.home-why__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--light-grey);
  color: var(--royal-blue);
}

.home-why__heading {
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.home-why__text {
  color: var(--black);
  opacity: 0.7;
}


/* =====================================================================
   8. HOW IT WORKS
   ===================================================================== */
.home-steps {
  background-color: var(--white);
  border-block: 1px solid var(--light-grey);
}

.home-steps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  counter-reset: home-step;
}

.home-step {
  position: relative;
  padding-top: 4.25rem;
  text-align: center;
}

.home-step::before {
  counter-increment: home-step;
  content: counter(home-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% 0;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: var(--white);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  box-shadow: var(--home-shadow-blue);
}

/* Connector line between steps (desktop) */
.home-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(50% + 38px);
  width: calc(100% - 76px);
  height: 2px;
  background: linear-gradient(90deg, var(--silver), transparent);
}

.home-step__heading {
  margin-bottom: 0.55rem;
  letter-spacing: -0.01em;
}

.home-step__text {
  color: var(--black);
  opacity: 0.7;
}


/* =====================================================================
   9. VENDOR BENEFITS
   ===================================================================== */
.home-vendor__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.home-vendor__list {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.home-vendor__list li {
  position: relative;
  padding-left: 2.25rem;
  color: var(--black);
}

.home-vendor__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--royal-blue);
  /* checkmark drawn with a clip so no new colour/image is needed */
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center / 70% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 12-12-1.4-1.4z'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.home-vendor__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--home-radius-lg);
  overflow: hidden;
  background: var(--royal-blue);
  box-shadow: var(--home-shadow-lg);
}

.home-vendor__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* =====================================================================
   10. MARKETPLACE INTELLIGENCE
   Data-led band — white cards on light grey.
   ===================================================================== */
.home-intel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--home-gap);
}

.home-intel__card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.home-intel__metric {
  color: var(--royal-blue);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.home-intel__caption {
  margin-top: 0.6rem;
  color: var(--black);
  opacity: 0.65;
}

.home-intel__bar {
  height: 6px;
  margin-top: 1.25rem;
  border-radius: var(--home-radius-pill);
  background: var(--light-grey);
  overflow: hidden;
}

.home-intel__bar > span {
  display: block;
  height: 100%;
  width: var(--home-intel-fill, 60%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--royal-blue), var(--silver));
}


/* =====================================================================
   11. KUWAIT TODAY. GCC TOMORROW. GLOBAL NEXT.
   Expansion narrative band.
   ===================================================================== */
.home-expand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--royal-blue);
  color: var(--white);
  text-align: center;
}

.home-expand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(45% 60% at 50% 0%, rgba(192, 192, 192, 0.2), transparent 70%);
}

.home-expand__title {
  color: var(--white);
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home-expand__phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.home-expand__phase {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--home-radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.home-expand__phase-label {
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.home-expand__phase-name {
  color: var(--white);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: -0.01em;
}


/* =====================================================================
   12. FAQ
   ===================================================================== */
.home-faq__list {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
}

.home-faq__item {
  overflow: hidden;
  padding: 0;
}

.home-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.35rem 1.6rem;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  color: var(--black);
  font: inherit;
  letter-spacing: -0.01em;
}

.home-faq__icon {
  flex: none;
  width: 22px;
  height: 22px;
  position: relative;
  transition: transform var(--home-base) var(--home-ease);
}

.home-faq__icon::before,
.home-faq__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--royal-blue);
  border-radius: 2px;
}

.home-faq__icon::before { width: 100%; height: 2px; }
.home-faq__icon::after  { width: 2px; height: 100%; }

.home-faq__item[open] .home-faq__icon,
.home-faq__item.is-open .home-faq__icon {
  transform: rotate(135deg);
}

.home-faq__a {
  padding: 0 1.6rem 1.5rem;
  color: var(--black);
  opacity: 0.72;
}


/* =====================================================================
   13. FINAL CTA
   ===================================================================== */
.home-cta {
  text-align: center;
}

.home-cta__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) var(--home-pad-x);
  border-radius: var(--home-radius-lg);
  background-color: var(--royal-blue);
  color: var(--white);
  box-shadow: var(--home-shadow-blue);
}

.home-cta__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 80% at 80% 0%, rgba(192, 192, 192, 0.22), transparent 65%),
    radial-gradient(50% 80% at 0% 100%, rgba(255, 255, 255, 0.12), transparent 60%);
}

.home-cta__title {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.home-cta__subtitle {
  margin-top: 1rem;
  opacity: 0.88;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--home-gap);
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}


/* =====================================================================
   14. FOOTER SPACING
   Footer styling lives in shared.css — only homepage rhythm here.
   ===================================================================== */
.home + .site-footer,
.home ~ .site-footer {
  margin-top: 0;
}

.home-prefooter {
  padding-block: clamp(2.5rem, 5vw, 4rem) 0;
}


/* =====================================================================
   15. HOMEPAGE INTERACTIONS — hover lift, button hover, card hover
   ===================================================================== */
.home-card:hover,
.home-listing:hover,
.home-category:hover {
  transform: translateY(-6px);
  box-shadow: var(--home-shadow-lg);
  border-color: var(--silver);
}

/* Hover-lift utility scoped to the homepage */
.home .lift {
  transition: transform var(--home-base) var(--home-ease),
              box-shadow var(--home-base) var(--home-ease);
}

.home .lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--home-shadow-md);
}

/* Homepage button hover accents (does NOT redefine the button — shared.css
   owns base button styles; this only adds a homepage motion accent). */
.home .btn {
  transition:
    transform var(--home-fast) var(--home-ease),
    box-shadow var(--home-base) var(--home-ease),
    filter var(--home-fast) var(--home-ease);
}

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

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


/* =====================================================================
   16. SCROLL REVEAL
   Elements tagged [data-reveal] animate in once .is-visible is added
   by the homepage IntersectionObserver. Degrades gracefully if JS is
   absent (see reduced-motion / no-js fallback at the end).
   ===================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--home-slow) var(--home-ease),
    transform var(--home-slow) var(--home-ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="left"]  { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(0.96); }

[data-reveal="left"].is-visible,
[data-reveal="right"].is-visible,
[data-reveal="scale"].is-visible {
  transform: none;
}

/* Staggered children */
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--home-slow) var(--home-ease),
    transform var(--home-slow) var(--home-ease);
}

[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 60ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 120ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 180ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 300ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 360ms; }


/* =====================================================================
   17. RESPONSIVE
   Large desktop → laptop → tablet → mobile (Android / iPhone).
   ===================================================================== */

/* ---- Large desktop optimisation ---- */
@media (min-width: 1600px) {
  .home {
    --home-section-y: 10rem;
  }

  .home-hero__title { font-size: 5.4rem; }
}

/* ---- Laptop ---- */
@media (max-width: 1200px) {
  .home-request__grid,
  .home-vendor__grid {
    gap: 2.5rem;
  }
}

/* ---- Tablet ---- */
@media (max-width: 980px) {
  .home-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
  }

  .home-stat + .home-stat::before {
    display: none;
  }

  .home-request__grid,
  .home-vendor__grid {
    grid-template-columns: 1fr;
  }

  .home-vendor__visual {
    order: -1;
  }

  .home-expand__phases {
    grid-template-columns: 1fr;
  }

  .home-step:not(:last-child)::after {
    display: none;
  }
}

/* ---- Mobile (Android / iPhone) ---- */
@media (max-width: 640px) {
  .home {
    --home-section-y: 3.5rem;
  }

  .home-hero {
    min-height: 70vh;
    text-align: left;
  }

  .home-hero__media {
    background-position: center;
  }

  .home-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(31, 0, 98, 0.78) 0%,
      rgba(31, 0, 98, 0.86) 100%
    );
  }

  .home-hero__search {
    border-radius: var(--home-radius);
  }

  .home-hero__actions .btn,
  .home-cta__actions .btn {
    width: 100%;
  }

  .home-categories__grid,
  .home-listings__grid {
    grid-template-columns: 1fr;
  }

  .home-faq__q {
    padding: 1.1rem 1.25rem;
  }
}

/* iPhone notch / safe-area padding for full-bleed blue bands */
@supports (padding: max(0px)) {
  @media (max-width: 640px) {
    .home-container {
      padding-inline: max(var(--home-pad-x), env(safe-area-inset-left));
    }
  }
}


/* =====================================================================
   18. MOTION & ACCESSIBILITY FALLBACKS
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .home *,
  .home *::before,
  .home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
  }
}

/* No-JS fallback: ensure reveal content is always visible */
.no-js [data-reveal],
.no-js [data-reveal-stagger] > * {
  opacity: 1;
  transform: none;
}