/* ═══════════════════════════════════════════════════════════
   HOMEPAGE 2026 — PREMIUM REDESIGN
   Mobile-first · RTL · Cairo / Tajawal
   ═══════════════════════════════════════════════════════════ */

/* ── Local design tokens ──────────────────────────────────── */
:root {
  --hp-yellow:       #eab308;
  --hp-yellow-dark:  #ca8a04;
  --hp-yellow-soft:  #fef9c3;
  --hp-yellow-muted: rgba(234,179,8,.12);
  --hp-dark:         #1c1917;
  --hp-dark2:        #292524;
  --hp-body:         #44403c;
  --hp-muted:        #78716c;
  --hp-surface:      #ffffff;
  --hp-bg:           #fafaf9;
  --hp-bg-alt:       #f5f5f4;
  --hp-border:       rgba(0,0,0,.07);
  --hp-border-y:     rgba(234,179,8,.22);
  --hp-r:            16px;
  --hp-r-lg:         24px;
  --hp-r-xl:         32px;
  --hp-shadow-sm:    0 2px 8px rgba(0,0,0,.05);
  --hp-shadow:       0 6px 24px rgba(0,0,0,.08);
  --hp-shadow-lg:    0 16px 48px rgba(0,0,0,.12);
  --hp-transition:   all .22s cubic-bezier(.4,0,.2,1);
}

/* ── Base ──────────────────────────────────────────────────── */
.hp {
  font-family: "Cairo","Tajawal",sans-serif;
  overflow-x: hidden;
  color: var(--hp-body);
  direction: rtl;
}

.hp-container {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

/* Shared section wrapper */
.hp-section {
  padding: 64px 0;
}
.hp-section--alt {
  background: var(--hp-bg-alt);
}

/* Section head */
.hp-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}
.hp-section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hp-eyebrow {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hp-yellow-dark);
}

.hp-section-title {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 950;
  color: var(--hp-dark);
  line-height: 1.15;
}

.hp-link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--hp-yellow-dark);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--hp-transition);
}
.hp-link-more:hover { opacity: .75; }
.hp-link-more svg { transition: transform .2s ease; }
.hp-link-more:hover svg { transform: translateX(-3px); }

/* Buttons */
.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--hp-r);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--hp-transition);
  white-space: nowrap;
}
.hp-btn--primary {
  background: var(--hp-yellow);
  color: var(--hp-dark);
  border-color: var(--hp-yellow);
  box-shadow: 0 4px 16px rgba(234,179,8,.35);
}
.hp-btn--primary:hover {
  background: var(--hp-yellow-dark);
  border-color: var(--hp-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(234,179,8,.45);
}
.hp-btn--outline {
  background: transparent;
  color: var(--hp-dark);
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.9);
}
.hp-btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
}
.hp-btn--white {
  background: #fff;
  color: var(--hp-dark);
  border-color: #fff;
}
.hp-btn--white:hover {
  background: var(--hp-yellow-soft);
  transform: translateY(-2px);
}
.hp-btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.hp-btn--outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.9);
}

/* Empty */
.hp-empty {
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  color: var(--hp-muted);
  font-weight: 700;
  border: 1px dashed var(--hp-border);
  border-radius: var(--hp-r);
}


/* ══════════════════════════════════════════════
   HERO — full-screen cover
   ══════════════════════════════════════════════ */
.hp-hero {
  position: relative;
  min-height: 53vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

/* Cover image — fills entire hero */
.hp-hero__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* no animation — keep LCP fast */
}

/* Dark gradient overlay */
.hp-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(10,8,6,.72) 0%,
      rgba(10,8,6,.55) 40%,
      rgba(10,8,6,.78) 85%,
      rgba(10,8,6,.92) 100%
    ),
    linear-gradient(
      to left,
      transparent 40%,
      rgba(0,0,0,.25) 100%
    );
}

.hp-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  padding-top: 60px;
  padding-bottom: 0;
}

/* Copy block */
.hp-hero__copy {
  padding-bottom: 40px;
}

.hp-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(234,179,8,.18);
  border: 1px solid rgba(234,179,8,.35);
  color: var(--hp-yellow);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hp-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hp-yellow);
  animation: hp-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes hp-pulse {
  0%,100%{ opacity:1; transform:scale(1); }
  50%    { opacity:.5; transform:scale(1.4); }
}

.hp-hero__title {
  margin: 0 0 18px;
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 950;
  line-height: 1.07;
  color: #fff;
  letter-spacing: -.5px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.hp-hero__title-accent {
  color: var(--hp-yellow);
  display: inline-block;
}

.hp-hero__sub {
  margin: 0 0 28px;
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 600;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  max-width: 540px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

.hp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

/* Trust pills — simplified for speed */
.hp-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hp-trust-item {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Stats bottom bar */
.hp-hero__stats {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(10,8,6,.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(234,179,8,.2);
  padding: 18px 24px;
  margin-inline: -16px; /* stretch to container edges */
}

.hp-mini-stat {
  flex: 1;
  text-align: center;
  padding: 0 12px;
}
.hp-mini-stat__val {
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 950;
  color: var(--hp-yellow);
  line-height: 1;
}
.hp-mini-stat__lbl {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}
.hp-mini-stat__sep {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* Offers section accent */
.hp-section--offers {
  background: var(--hp-surface);
}


/* ══════════════════════════════════════════════
   CATEGORIES
   ══════════════════════════════════════════════ */
.hp-cats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hp-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-r-lg);
  padding: 18px 14px 16px;
  text-decoration: none;
  color: var(--hp-dark);
  box-shadow: var(--hp-shadow-sm);
  transition: var(--hp-transition);
  gap: 10px;
  position: relative;
  overflow: hidden;
}
.hp-cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(234,179,8,.06), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}
.hp-cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lg);
  border-color: var(--hp-border-y);
}
.hp-cat-card:hover::before { opacity: 1; }

.hp-cat-card__media {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--hp-yellow-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(234,179,8,.15);
  flex-shrink: 0;
}
.hp-cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-cat-card__fallback { font-size: 30px; }

.hp-cat-card__name {
  font-weight: 900;
  font-size: 14px;
  line-height: 1.3;
  flex: 1;
}

.hp-cat-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hp-yellow-muted);
  color: var(--hp-yellow-dark);
  transition: var(--hp-transition);
}
.hp-cat-card:hover .hp-cat-card__arrow {
  background: var(--hp-yellow);
  color: var(--hp-dark);
}


/* about section removed — coverss.png used only in hero for performance */


/* ══════════════════════════════════════════════
   PRODUCTS GRID
   ══════════════════════════════════════════════ */
.hp-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.hp-prod-card {
  display: flex;
  flex-direction: column;
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--hp-dark);
  box-shadow: var(--hp-shadow-sm);
  transition: var(--hp-transition);
}
.hp-prod-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lg);
  border-color: var(--hp-border-y);
}

.hp-prod-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--hp-yellow-soft);
}
.hp-prod-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.hp-prod-card:hover .hp-prod-card__media img {
  transform: scale(1.06);
}

.hp-prod-card__badge {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  background: var(--hp-yellow);
  color: var(--hp-dark);
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 1;
}

.hp-prod-card__body {
  padding: 14px 16px 10px;
  flex: 1;
}
.hp-prod-card__cat {
  font-size: 11px;
  font-weight: 800;
  color: var(--hp-yellow-dark);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hp-prod-card__name {
  margin: 6px 0 10px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--hp-dark);
}
.hp-prod-card__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.hp-prod-card__old {
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-muted);
  text-decoration: line-through;
}
.hp-prod-card__new {
  font-size: 16px;
  font-weight: 950;
  color: var(--hp-dark);
}

.hp-prod-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--hp-border);
  margin-top: auto;
}
.hp-prod-card__cta {
  font-size: 13px;
  font-weight: 800;
  color: var(--hp-yellow-dark);
}
.hp-prod-card__arrow {
  color: var(--hp-yellow-dark);
  transition: transform .2s ease;
}
.hp-prod-card:hover .hp-prod-card__arrow {
  transform: translateX(-4px);
}


/* ══════════════════════════════════════════════
   HOW IT WORKS
   ══════════════════════════════════════════════ */
.hp-how {
  background: var(--hp-surface);
}

.hp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.hp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.hp-step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hp-yellow);
  color: var(--hp-dark);
  font-size: 18px;
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(234,179,8,.4);
}

/* connecting line between steps */
.hp-step__line {
  position: absolute;
  top: 22px;
  inset-inline-start: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--hp-yellow) 0%, rgba(234,179,8,.2) 100%);
  z-index: 0;
}
.hp-step__line--hidden { display: none; }

.hp-step__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--hp-r-lg);
  background: var(--hp-yellow-muted);
  border: 1px solid var(--hp-border-y);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hp-yellow-dark);
  margin-bottom: 18px;
}

.hp-step__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 950;
  color: var(--hp-dark);
}
.hp-step__desc {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-muted);
  line-height: 1.75;
  max-width: 220px;
}


/* ══════════════════════════════════════════════
   SERVICES
   ══════════════════════════════════════════════ */
.hp-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hp-svc {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-r-lg);
  padding: 28px 22px;
  box-shadow: var(--hp-shadow-sm);
  transition: var(--hp-transition);
  position: relative;
  overflow: hidden;
}
.hp-svc::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--hp-yellow), var(--hp-yellow-dark));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.hp-svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--hp-shadow-lg);
  border-color: var(--hp-border-y);
}
.hp-svc:hover::after { transform: scaleX(1); }

.hp-svc__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--hp-yellow-muted);
  border: 1px solid var(--hp-border-y);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hp-yellow-dark);
  margin-bottom: 18px;
}
.hp-svc__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 950;
  color: var(--hp-dark);
}
.hp-svc__desc {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-muted);
  line-height: 1.8;
}


/* ══════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════ */
.hp-cta-band {
  background: linear-gradient(135deg, var(--hp-dark) 0%, #292524 50%, #1c1917 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0;
}
.hp-cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(234,179,8,.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 90% 50%, rgba(202,138,4,.12) 0%, transparent 55%);
  pointer-events: none;
}

.hp-cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.hp-cta-band__kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hp-yellow);
}
.hp-cta-band__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 950;
  color: #fff;
  line-height: 1.2;
}
.hp-cta-band__sub {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}

.hp-cta-band__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
.hp-faq {
  background: var(--hp-surface);
}

.hp-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.hp-faq-item {
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-r-lg);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hp-faq-item--open {
  border-color: var(--hp-border-y);
  box-shadow: 0 4px 20px rgba(234,179,8,.12);
}

.hp-faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  color: var(--hp-dark);
  text-align: right;
  direction: rtl;
}
.hp-faq-item__q:hover { color: var(--hp-yellow-dark); }

.hp-faq-item__chevron {
  flex-shrink: 0;
  color: var(--hp-yellow-dark);
  transition: transform .25s ease;
}
.hp-faq-item--open .hp-faq-item__chevron {
  transform: rotate(180deg);
}

.hp-faq-item__a {
  display: none;
  padding: 0 20px 18px;
}
.hp-faq-item--open .hp-faq-item__a {
  display: block;
}
.hp-faq-item__a p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-muted);
  line-height: 1.85;
}

.hp-faq-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hp-faq-cta p {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--hp-muted);
}


/* ══════════════════════════════════════════════
   RESPONSIVE — Tablet (≤ 1024px)
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hp-cats-grid      { grid-template-columns: repeat(4, 1fr); }
  .hp-products-grid  { grid-template-columns: repeat(2, 1fr); }

  .hp-steps          { grid-template-columns: 1fr; }
  .hp-step__line     { display: none; }
  .hp-step           { flex-direction: row; text-align: right; gap: 16px; align-items: flex-start; }
  .hp-step__num      { flex-shrink: 0; margin-bottom: 0; }
  .hp-step__icon     { display: none; }
  .hp-step__desc     { max-width: 100%; }

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

  .hp-cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hp-cta-band__actions { width: 100%; }

  .hp-faq-grid       { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — Mobile (≤ 640px)
   ══════════════════════════════════════════════ */
@media (max-width: 640px) {
  .hp-section        { padding: 40px 0; }
  .hp-cta-band,
  .hp-how            { padding: 40px 0; }

  .hp-section-head   { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }

  /* Hero mobile */
  .hp-hero           { min-height: 60svh; }
  .hp-hero__inner    { padding-top: 48px; }
  .hp-hero__title    { font-size: clamp(30px, 9.5vw, 44px); }
  .hp-hero__sub      { font-size: 14px; margin-bottom: 20px; }
  .hp-hero__cta      { flex-direction: column; align-items: stretch; }
  .hp-hero__cta .hp-btn { justify-content: center; }
  .hp-hero__trust    { gap: 6px; }
  .hp-trust-item     { font-size: 12px; padding: 4px 10px; }

  .hp-hero__stats    { padding: 14px 16px; gap: 0; }
  .hp-mini-stat__val { font-size: 16px; }
  .hp-mini-stat__lbl { font-size: 10px; }
  .hp-mini-stat__sep { height: 28px; }
  .hp-mini-stat      { padding: 0 8px; }

  .hp-cats-grid      { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hp-cat-card       { padding: 12px 8px 10px; }
  .hp-cat-card__media{ width: 56px; height: 56px; }
  .hp-cat-card__name { font-size: 12px; }

  .hp-products-grid  { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hp-prod-card__body{ padding: 10px 12px 8px; }
  .hp-prod-card__name{ font-size: 13px; }
  .hp-prod-card__new { font-size: 14px; }

  .hp-services-grid  { grid-template-columns: 1fr; gap: 10px; }
  .hp-svc            { padding: 18px 16px; }

  .hp-section-title  { font-size: clamp(20px, 6vw, 26px); }

  .hp-cta-band__actions { flex-direction: column; }
  .hp-cta-band__actions .hp-btn { justify-content: center; }

  .hp-faq-item__q    { font-size: 14px; padding: 14px 16px; }
  .hp-faq-item__a    { padding: 0 16px 14px; }
}


/* ══════════════════════════════════════════════
   RESPONSIVE — Small mobile (≤ 380px)
   ══════════════════════════════════════════════ */
@media (max-width: 380px) {
  .hp-cats-grid      { gap: 8px; }
  .hp-cat-card__media{ width: 50px; height: 50px; }
  .hp-products-grid  { gap: 8px; }
}


/* ══════════════════════════════════════════════
   ULTRA-WIDE (≥ 1440px)
   ══════════════════════════════════════════════ */
@media (min-width: 1440px) {
  .hp-container      { max-width: 1300px; }
  .hp-cats-grid      { grid-template-columns: repeat(8, 1fr); }
}


/* ══════════════════════════════════════════════
   SCROLL ANIMATIONS (progressive enhancement)
   ══════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .hp-cat-card,
  .hp-prod-card,
  .hp-svc,
  .hp-feature,
  .hp-step {
    opacity: 0;
    transform: translateY(20px);
    animation: hp-fadein .5s ease forwards;
  }

  .hp-cat-card:nth-child(1) { animation-delay: .05s; }
  .hp-cat-card:nth-child(2) { animation-delay: .10s; }
  .hp-cat-card:nth-child(3) { animation-delay: .15s; }
  .hp-cat-card:nth-child(4) { animation-delay: .20s; }
  .hp-cat-card:nth-child(5) { animation-delay: .25s; }
  .hp-cat-card:nth-child(6) { animation-delay: .30s; }
  .hp-cat-card:nth-child(7) { animation-delay: .35s; }
  .hp-cat-card:nth-child(8) { animation-delay: .40s; }

  .hp-prod-card:nth-child(1) { animation-delay: .05s; }
  .hp-prod-card:nth-child(2) { animation-delay: .10s; }
  .hp-prod-card:nth-child(3) { animation-delay: .15s; }
  .hp-prod-card:nth-child(4) { animation-delay: .20s; }
  .hp-prod-card:nth-child(5) { animation-delay: .25s; }
  .hp-prod-card:nth-child(6) { animation-delay: .30s; }
  .hp-prod-card:nth-child(7) { animation-delay: .35s; }
  .hp-prod-card:nth-child(8) { animation-delay: .40s; }

  .hp-svc:nth-child(1) { animation-delay: .05s; }
  .hp-svc:nth-child(2) { animation-delay: .12s; }
  .hp-svc:nth-child(3) { animation-delay: .19s; }
  .hp-svc:nth-child(4) { animation-delay: .26s; }
  .hp-svc:nth-child(5) { animation-delay: .33s; }
  .hp-svc:nth-child(6) { animation-delay: .40s; }

  .hp-step:nth-child(1) { animation-delay: .05s; }
  .hp-step:nth-child(2) { animation-delay: .18s; }
  .hp-step:nth-child(3) { animation-delay: .31s; }

  .hp-feature { animation-delay: calc(var(--i, 0) * .1s); }

  @keyframes hp-fadein {
    to { opacity: 1; transform: translateY(0); }
  }
}
