/* ============================================================
   home.css — home/landing page bespoke CSS.
   ============================================================ */

@keyframes ihDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(46px, -34px) scale(1.12); }
}

@keyframes ihDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-38px, 26px) scale(1.08); }
}

.ih-hero {
  position: relative;
  overflow: hidden;
  background: var(--ih-grad-soft);
  padding: clamp(48px, 7vw, 88px) 0 40px;
}

.ih-aurora {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(72px);
}

.ih-aurora-1 {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -60px;
  background: radial-gradient(circle, rgba(37, 99, 235, .18), transparent 70%);
  animation: ihDrift1 18s ease-in-out infinite;
}

.ih-aurora-2 {
  width: 340px;
  height: 340px;
  bottom: -140px;
  left: -80px;
  background: radial-gradient(circle, rgba(21, 144, 79, .12), transparent 70%);
  animation: ihDrift2 16s ease-in-out infinite;
}

.ih-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .78fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.ih-hero__copy h1 {
  max-width: 720px;
  margin-top: 12px;
  color: var(--ih-ink);
  font-size: clamp(2.35rem, 6vw, 5rem);
  font-weight: 900;
  line-height: .96;
}

.ih-hero__body {
  max-width: 580px;
  margin-top: 20px;
  color: var(--ih-ink-soft);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.ih-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ih-hero__visual {
  position: relative;
}

.ih-hero__image-card {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: clamp(20px, 4vw, 40px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
  box-shadow: var(--ih-shadow-lg);
}

.ih-hero__image-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: transform .35s ease;
}

.ih-hero__image-card:hover img {
  transform: scale(1.025);
}

.ih-hero__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--ih-accent);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(21, 144, 79, .08)),
    var(--ih-surface);
}

.ih-hero__badge {
  position: absolute;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(226, 236, 251, .9);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--ih-ink);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--ih-shadow);
}

.ih-hero__badge svg {
  color: var(--ih-success);
}

.ih-stats {
  padding: 0 0 clamp(24px, 3.5vw, 48px);
  background: #fff;
}

.ih-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 44px);
}

.ih-stats__item {
  min-height: 88px;
  padding: 8px 0;
  text-align: center;
}

.ih-stats__value {
  color: var(--ih-ink);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1;
}

.ih-stats__label {
  margin-top: 8px;
  color: var(--ih-muted);
  font-size: 13px;
  font-weight: 700;
}

.ih-categories {
  background: #fff;
}

.ih-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ih-category-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--ih-line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--ih-shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ih-category-card:hover {
  border-color: var(--ih-line-strong);
  box-shadow: var(--ih-shadow);
  transform: translateY(-2px);
}

.ih-category-card__icon {
  display: grid;
  place-items: center;
  min-height: 178px;
  padding: 24px;
  color: var(--ih-accent);
  background: var(--ih-surface);
}

.ih-category-card__icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.ih-category-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 24px;
}

.ih-category-card h3 {
  color: var(--ih-ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.2;
}

.ih-category-card p {
  color: var(--ih-muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.ih-category-card__browse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--ih-accent);
  font-size: 13px;
  font-weight: 800;
}

.ih-category-card__browse svg {
  transition: transform .18s ease;
}

.ih-category-card:hover .ih-category-card__browse svg {
  transform: translateX(3px);
}

.ih-bestsellers {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.ih-trust-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  box-shadow: var(--ih-shadow-lg);
}

.ih-trust-band {
  background-color: var(--ih-navy);
}

.ih-trust-band__item {
  display: flex;
  gap: 14px;
  min-height: 150px;
  padding: 24px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.ih-trust-band__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.ih-trust-band h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 850;
}

.ih-trust-band p {
  margin-top: 6px;
  color: rgba(255, 255, 255, .72);
  font-size: 13px;
  line-height: 1.55;
}

@keyframes ihMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ih-marquee-mask {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ih-marquee {
  display: flex;
  gap: clamp(10px, 1.2vw, 16px);
  width: -moz-max-content;
  width: max-content;
  animation: ihMarquee 28s linear infinite;
}

.ih-marquee:hover,
.ih-marquee:focus-within {
  animation-play-state: paused;
}

.ih-brand-card {
  min-width: clamp(200px, 18vw, 260px);
  min-height: clamp(100px, 9vw, 120px);
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ih-line);
  border-radius: 8px;
  background: #fff;
  padding: 20px 32px;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ih-brand-card:hover {
  border-color: rgba(37, 99, 235, .32);
  box-shadow: 0 16px 34px -24px rgba(15, 23, 42, .36);
  transform: translateY(-2px);
}

.ih-brand-card__img {
  max-width: 250px;
  max-height: 100px;
  -o-object-fit: contain;
     object-fit: contain;
}

.ih-brand-card__name {
  color: var(--ih-ink-soft);
  font-size: 18px;
  font-weight: 700;
}

.ih-brands__heading {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--ih-ink);
  letter-spacing: -0.02em;
  margin-top: 12px;
  margin-bottom: 32px;
}

.ih-contact {
  background: #fff;
}

.ih-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr);
  gap: 22px;
}

.ih-contact__cta,
.ih-contact__showroom {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.ih-contact__showroom {
  border: 1px solid var(--ih-line);
  box-shadow: var(--ih-shadow-sm);
}

.ih-contact__row-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 8px;
  background: var(--ih-surface);
}

@media (max-width: 1024px) {
  .ih-hero__inner {
    grid-template-columns: 1fr;
  }

  .ih-hero__visual {
    max-width: 560px;
    margin-inline: auto;
  }

  .ih-category-grid,
  .ih-trust-band,
  .ih-contact__grid {
    grid-template-columns: 1fr;
  }

  .ih-category-card {
    min-height: 260px;
  }

  .ih-trust-band__item {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .ih-hero {
    padding-top: 36px;
  }

  .ih-hero__inner {
    width: min(100% - 24px, 1180px);
    gap: 28px;
  }

  .ih-hero__copy h1 {
    font-size: clamp(2.05rem, 15vw, 3rem);
  }

  .ih-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .ih-hero__actions a {
    width: 100%;
    min-height: 46px;
  }

  .ih-stats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ih-stats__item {
    min-height: 96px;
    padding: 20px 12px;
  }

  .ih-category-card__icon {
    min-height: 136px;
  }

  .ih-category-card__body {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ih-aurora,
  .ih-marquee,
  .ih-hero__image-card img,
  .ih-category-card,
  .ih-category-card__browse svg {
    animation: none !important;
    transition-duration: .01ms !important;
  }

  .ih-hero__image-card:hover img,
  .ih-category-card:hover,
  .ih-category-card:hover .ih-category-card__browse svg {
    transform: none !important;
  }
}
