/* ============================================================
   index.css — SAR Marine homepage
   Prefix: hp-* · product cards: main.css (.pc-card)
   Depends on: global.css, main.css, brands-marquee.css
   ============================================================ */

/* Page shell: layout.css (#main-content.hp-page) */

/* ════════════════════════════════════════════════════════════
   HOMEPAGE-SPECIFIC (hp-*)
   ════════════════════════════════════════════════════════════ */
.hp-prod-rail .pc-card {
  flex: 0 0 calc((100% - var(--space-4) * 3) / 4);
  /*min-width: 220px;  ensures card doesn't get too narrow */
}

/* Prevent horizontal overflow from marquee and other elements */
.si-container,
.hp-hero__inner,
.hp-inquiry__inner,
.hp-trust__inner {
  overflow-x: hidden;
}

/* Ensure all text wraps safely */
.pc-card__name,
.hp-cat-card__desc,
.hp-subcat-chip__name,
.hp-why-card__desc,
.hp-cat-card__title {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ════════════════════════════════════════════════════════════
   SHARED PAGE SCAFFOLDING
   ════════════════════════════════════════════════════════════ */
.hp-section {
  padding-block: var(--section-pad-y);
}

.hp-section--alt {
  background: var(--color-bg-alt);
  border-block: 1px solid var(--color-border);
}

.hp-section--dark {
  background: var(--color-bg-dark);
}

.hp-section--dark2 {
  background: var(--color-bg-dark-2);
}

.hp-section--tight {
  padding-block: var(--section-pad-y-sm);
}

/* Section header tokens: layout.css */

.hp-sec-title--light {
  color: var(--color-white);
}

.hp-sec-sub {
  font-size: var(--text-sm);
  color: var(--color-ink-40);
  line-height: var(--leading-loose);
  max-width: 600px;
  margin-top: var(--space-2);
}

/* View-more link */
.hp-view-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-orange);
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition:
    gap var(--transition-fast),
    color var(--transition-fast);
}

.hp-view-more svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition-fast);
}

.hp-view-more:hover {
  color: var(--color-orange-dark);
}

.hp-view-more:hover svg {
  transform: translateX(4px);
}

/* Nav arrows */
.hp-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  color: var(--color-ink-60);
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.hp-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

.hp-arrow:hover:not(:disabled) {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-orange);
}

.hp-arrow:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

/* Rail nav — arrows + view-more grouped */
.hp-rail-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Glass button */
.hp-btn--glass {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.hp-btn--glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════
   HERO SECTION – Enhanced Responsiveness
   ════════════════════════════════════════════════════════════ */
.hp-hero {
  position: relative;
  background: var(--color-bg-dark);
  overflow: hidden;
  padding-block: clamp(var(--space-16), 10vw, 120px);
}

.hp-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hp-hero__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
  mask-image: radial-gradient(
    ellipse 90% 75% at 50% 0%,
    black 20%,
    transparent 80%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 90% 75% at 50% 0%,
    black 20%,
    transparent 80%
  );
}

.hp-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hp-hero__glow--a {
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(224, 92, 11, 0.18) 0%,
    transparent 65%
  );
  top: -260px;
  right: -160px;
  animation: hpFloat 10s ease-in-out infinite;
}

.hp-hero__glow--b {
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(40, 60, 120, 0.2) 0%,
    transparent 65%
  );
  bottom: -100px;
  left: -80px;
  animation: hpFloat 10s ease-in-out infinite reverse;
  animation-delay: -5s;
}

@keyframes hpFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-32px) scale(1.04);
  }
}

.hp-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}

.hp-hero__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-top: var(--space-4);
}

.hp-live-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  width: fit-content;
}

.hp-live-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-orange-light);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6);
  animation: hpPulse 2.2s ease-out infinite;
}

@keyframes hpPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.6);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(249, 115, 22, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

.hp-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.07;
  color: var(--color-white);
  letter-spacing: -0.025em;
}

.hp-hero__h1 em {
  font-style: normal;
  color: var(--color-orange-light);
}

.hp-hero__lead {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--leading-loose);
  max-width: 500px;
}

.hp-hero__btns {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hp-hero__stats {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-2);
  width: fit-content;
  gap: 0;
  flex-wrap: wrap;
}

.hp-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 0 var(--space-6);
}

.hp-hero__stat-sep {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.hp-hero__stat-n {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hp-hero__stat-n sup {
  font-size: 0.5em;
  color: var(--color-orange-light);
  vertical-align: super;
  line-height: 1.4;
}

.hp-hero__stat-l {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hp-hero__pills {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.hp-pill svg {
  width: 11px;
  height: 11px;
  color: var(--color-orange-light);
  flex-shrink: 0;
}

/* Hero Inquiry Card */
.hp-hero__card {
  background: var(--color-white);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--space-8);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.hp-hero__card-hd {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
}

.hp-hero__card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.hp-hero__card-icon svg {
  width: 20px;
  height: 20px;
}

.hp-hero__card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-ink);
  line-height: 1.2;
}

.hp-hero__card-sub {
  font-size: var(--text-xs);
  color: var(--color-ink-40);
  font-weight: 500;
  margin-top: 2px;
}

.hp-hero__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hp-hero__form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 11px;
  color: var(--color-ink-40);
  text-align: center;
  padding: var(--space-3);
  background: var(--color-orange-pale);
  border: 1px solid rgba(224, 92, 11, 0.16);
  border-radius: var(--radius-md);
}

.hp-hero__form-note svg {
  width: 12px;
  height: 12px;
  color: var(--color-ink-20);
}

/* ════════════════════════════════════════════════════════════
   CATEGORY GRID
   ════════════════════════════════════════════════════════════ */
.hp-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.hp-cat-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  display: block;
  aspect-ratio: 3 / 4;
  text-decoration: none;
  background: var(--color-ink-05);
  border: var(--card-border);
  box-shadow: var(--shadow-xs);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.hp-cat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(224, 92, 11, 0.35);
  box-shadow: var(--card-hover-shadow);
}

.hp-cat-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hp-cat-card:hover .hp-cat-card__img {
  transform: scale(1.05);
}

.hp-cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 28, 0.1) 0%,
    rgba(10, 14, 28, 0.28) 35%,
    rgba(10, 14, 28, 0.84) 70%,
    rgba(10, 14, 28, 0.97) 100%
  );
  transition: background var(--transition-base);
}

.hp-cat-card:hover .hp-cat-card__overlay {
  background: linear-gradient(
    to bottom,
    rgba(10, 14, 28, 0.06) 0%,
    rgba(10, 14, 28, 0.22) 30%,
    rgba(10, 14, 28, 0.82) 68%,
    rgba(10, 14, 28, 0.98) 100%
  );
}

.hp-cat-card__count {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(224, 92, 11, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.hp-cat-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hp-cat-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(224, 92, 11, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: var(--space-1);
  flex-shrink: 0;
}

.hp-cat-card__icon svg {
  width: 18px;
  height: 18px;
}

.hp-cat-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-white);
  line-height: var(--leading-snug);
}

.hp-cat-card__desc {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.56);
  line-height: var(--leading-snug);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-orange-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity var(--transition-base),
    transform var(--transition-base);
}

.hp-cat-card__cta svg {
  width: 13px;
  height: 13px;
  transition: transform var(--transition-fast);
}

.hp-cat-card:hover .hp-cat-card__cta {
  opacity: 1;
  transform: translateY(0);
}

.hp-cat-card:hover .hp-cat-card__cta svg {
  transform: translateX(3px);
}

/* ════════════════════════════════════════════════════════════
   SUBCATEGORY CHIP CAROUSEL (Working correctly)
   ════════════════════════════════════════════════════════════ */

.hp-subcat-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding-block: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hp-subcat-viewport::-webkit-scrollbar {
  display: none;
}

.hp-subcat-track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-4);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  cursor: grab;
}

.hp-subcat-track:active {
  cursor: grabbing;
}

.hp-subcat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
  transition: transform var(--transition-fast);
  /* Responsive width: max 9 cards on large screens */
  width: calc((100% - (8 * var(--space-4))) / 9);
  min-width: 80px;
  max-width: 120px;
}

.hp-subcat-chip:hover {
  transform: translateY(-3px);
}

.hp-subcat-chip__img {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-ink-05);
  border: 2px solid var(--color-border);
  flex-shrink: 0;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.hp-subcat-chip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-subcat-chip:hover .hp-subcat-chip__img {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px rgba(224, 92, 11, 0.14);
}

.hp-subcat-chip__name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-ink-60);
  text-align: center;
  max-width: 88px;
  line-height: var(--leading-snug);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

.hp-subcat-chip:hover .hp-subcat-chip__name {
  color: var(--color-orange);
}

/* ════════════════════════════════════════════════════════════
   FEATURED PRODUCTS – Fixed carousel (overflow hidden)
   ════════════════════════════════════════════════════════════ */
.hp-featured-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-6);
  align-items: start;
  overflow: hidden;
  position: relative;
}

.hp-featured-side {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: var(--color-ink-05);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.hp-featured-side__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-featured-side__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 14, 28, 0.92) 0%,
    rgba(10, 14, 28, 0.4) 55%,
    transparent 80%
  );
}

.hp-featured-side__body {
  position: relative;
  background: linear-gradient(
    to top,
    rgba(10, 14, 28, 0.95) 0%,
    rgba(10, 14, 28, 0.6) 60%,
    transparent 100%
  );
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hp-featured-side__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-orange-light);
}

.hp-featured-side__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: var(--leading-snug);
}

.hp-featured-side__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: var(--space-2);
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  font-size: var(--text-xs);
  border-radius: var(--radius-md);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.hp-featured-side__link svg {
  width: 13px;
  height: 13px;
}

.hp-featured-side__link:hover {
  color: var(--color-white);
}

/* Slider wrapper & Carousel fixes */

/* Carousel viewport – clips translated rail */
.hp-prod-viewport {
  overflow: hidden;
  min-width: 0;
}

/* FIXED: Carousel rail – flex track, transform target */
.hp-prod-rail {
  display: flex;
  gap: var(--space-4);
  align-items: stretch;
  scroll-snap-type: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  width: 100%;
  position: relative;
  z-index: 1;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.hp-prod-rail.is-grid-mode,
.hp-prod-rail[style*="grid"] {
  touch-action: auto;
}

/* Category-wise product rail: clean responsive grid (5 / 4 / 3 / 2 cols) */
.hp-cat-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-4);
  width: 100%;
  align-items: stretch;
}

.hp-cat-rail .pc-card {
  width: 100%;
  height: 100%;
  min-width: 0;
}

/* Featured products viewport sits inside the grid column */
.hp-featured-layout .hp-prod-viewport {
  min-width: 0;
}

/* Product grids (non-carousel) */

/* Arrivals grid (5-col) */
.hp-arrivals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-5);
}

/* Responsive fixes for featured products */
@media (max-width: 1024px) {
  .hp-featured-layout {
    grid-template-columns: 200px 1fr;
    gap: var(--space-5);
  }

  .hp-featured-side {
    aspect-ratio: 2 / 2.8;
  }

  .hp-featured-side__body {
    padding: var(--space-4);
  }

  .hp-featured-side__title {
    font-size: var(--text-lg);
  }

  .hp-featured-side__link {
    padding: 0.4rem 0.8rem;
  }

  .hp-featured-layout .hp-prod-viewport {
    min-width: 0;
  }
}

/* ════════════════════════════════════════════════════════════
   CATEGORY-WISE RAIL SECTIONS
   ════════════════════════════════════════════════════════════ */
.hp-rail-section {
  padding-block: clamp(var(--space-8), 4vw, var(--space-12));
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.hp-rail-section:nth-child(even) {
  background: var(--color-bg-alt);
}

.hp-rail-section:last-of-type {
  border-bottom: none;
}

.hp-rail-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.hp-rail-hd__left {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hp-rail-accent {
  display: block;
  width: 4px;
  height: 28px;
  background: linear-gradient(
    to bottom,
    var(--color-orange),
    var(--color-orange-dark)
  );
  border-radius: 4px;
  flex-shrink: 0;
}

.hp-rail-title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-lg), 2vw, var(--text-2xl));
  font-weight: 800;
  color: var(--color-ink);
  line-height: var(--leading-tight);
}

.hp-rail-hd__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   BRANDS MARQUEE – Fixed overflow
   ════════════════════════════════════════════════════════════ */
.hp-brands-wrap {
  overflow: hidden;
  position: relative;
  padding-block: var(--space-3);
  width: 100%;
}

.hp-brands-wrap::before,
.hp-brands-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(60px, 10vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.hp-brands-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg), transparent);
}

.hp-brands-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg), transparent);
}

.hp-brands-track {
  display: flex;
  gap: var(--space-5);
  width: max-content;
  animation: hpMarquee 36s linear infinite;
}

.hp-brands-track:hover {
  animation-play-state: paused;
}

@keyframes hpMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hp-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  text-decoration: none;
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  min-width: 140px;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.hp-brand-item:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hp-brand-item__img {
  width: 80px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-brand-item__img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(0.4);
  transition: filter var(--transition-fast);
}

.hp-brand-item:hover .hp-brand-item__img img {
  filter: grayscale(0);
}

.hp-brand-item__name {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-ink-40);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* ════════════════════════════════════════════════════════════
   TRUST SECTION
   ════════════════════════════════════════════════════════════ */
.hp-trust {
  position: relative;
  background: var(--color-bg-dark);
  padding-block: var(--section-pad-y);
  overflow: hidden;
}

.hp-trust__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hp-trust__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hp-trust__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 55% at 88% 12%,
    rgba(224, 92, 11, 0.1) 0%,
    transparent 58%
  );
}

.hp-trust__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
}

.hp-trust__head {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hp-trust__h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4.5vw, 3.25rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hp-trust__h2 em {
  font-style: normal;
  color: var(--color-orange-light);
}

.hp-trust__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--leading-loose);
  max-width: 560px;
}

.hp-trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.hp-trust-stat {
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  transition: background var(--transition-base);
}

.hp-trust-stat:last-child {
  border-right: none;
}

.hp-trust-stat:hover {
  background: rgba(255, 255, 255, 0.04);
}

.hp-trust-stat__n {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3.5vw, 2.75rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hp-trust-stat__n sup {
  font-size: 0.5em;
  color: var(--color-orange-light);
  vertical-align: super;
}

.hp-trust-stat__l {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  margin-top: var(--space-2);
}

.hp-trust-stat__s {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.36);
  font-weight: 500;
}

.hp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.hp-why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--card-radius);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition:
    background var(--transition-base),
    border-color var(--transition-base),
    transform var(--transition-base);
  height: 100%;
}

.hp-why-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(224, 92, 11, 0.3);
  transform: translateY(-3px);
}

.hp-why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(224, 92, 11, 0.14);
  border: 1px solid rgba(224, 92, 11, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange-light);
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.hp-why-card:hover .hp-why-card__icon {
  background: rgba(224, 92, 11, 0.24);
}

.hp-why-card__icon svg {
  width: 20px;
  height: 20px;
}

.hp-why-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-white);
  line-height: var(--leading-snug);
}

.hp-why-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.46);
  line-height: var(--leading-loose);
  flex: 1;
}

.hp-certs {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-8);
  flex-wrap: wrap;
}

.hp-certs__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.26);
  white-space: nowrap;
  flex-shrink: 0;
}

.hp-certs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-6);
  flex: 1;
}

.hp-cert {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.hp-cert svg {
  width: 14px;
  height: 14px;
  color: var(--color-orange-light);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════
   INQUIRY CTA BAND
   ════════════════════════════════════════════════════════════ */
.hp-inquiry {
  position: relative;
  background: var(--color-bg-dark-2);
  padding-block: clamp(var(--space-16), 9vw, 120px);
  overflow: hidden;
}

.hp-inquiry__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 60% 60% at 5% 55%,
      rgba(224, 92, 11, 0.1) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 40% 40% at 96% 20%,
      rgba(30, 40, 80, 0.6) 0%,
      transparent 55%
    );
}

.hp-inquiry__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}

.hp-inquiry__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-top: var(--space-4);
}

.hp-inquiry__h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, 3.25rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.hp-inquiry__h2 em {
  font-style: normal;
  color: var(--color-orange-light);
}

.hp-inquiry__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--leading-loose);
  max-width: 500px;
}

.hp-inquiry__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hp-inquiry__reassure {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  padding-top: var(--space-2);
}

.hp-inquiry__reassure span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.46);
  font-weight: 500;
}

.hp-inquiry__reassure span svg {
  width: 14px;
  height: 14px;
  color: var(--color-orange-light);
  flex-shrink: 0;
}

.hp-inquiry__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hp-inquiry__card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
}

.hp-inquiry__card-sub {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.36);
  font-weight: 500;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-dark-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: 0;
}

.hp-dark-row .si-dark-input {
  margin-bottom: 0;
}

.hp-inquiry__form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.26);
  text-align: center;
  margin-top: var(--space-2);
}

.hp-inquiry__form-note svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES – FULLY OPTIMIZED
   ════════════════════════════════════════════════════════════ */

/* 1280px - Large desktop */
@media (max-width: 1280px) {
  .hp-hero__inner {
    grid-template-columns: 1fr 420px;
  }
  .hp-inquiry__inner {
    grid-template-columns: 1fr 440px;
  }
}

/* 1100px - Tablet landscape */
@media (max-width: 1100px) {
  .hp-hero__inner {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }
  .hp-hero__card {
    max-width: 580px;
    margin-inline: auto;
    width: 100%;
  }

  .hp-cat-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hp-cat-card__body {
    padding: var(--space-4);
  }

  .hp-arrivals-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Carousel card widths — 3 visible so they fit beside the side panel */
  .hp-prod-rail .pc-card {
    flex: 0 0 calc((100% - var(--space-4) * 2) / 3);
  }

  /* Category rail: 4 cols on large tablet/desktop */
  .hp-cat-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hp-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-trust-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hp-trust-stat:nth-child(2) {
    border-right: none;
  }
  .hp-trust-stat:nth-child(1),
  .hp-trust-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .hp-inquiry__inner {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-inline: auto;
  }
  .hp-inquiry__copy {
    text-align: center;
    align-items: center;
  }
  .hp-inquiry__desc {
    margin-inline: auto;
  }
  .hp-inquiry__reassure {
    justify-content: center;
  }
  .hp-inquiry__card {
    max-width: 580px;
    margin-inline: auto;
    width: 100%;
  }
}

/* 900px – Small tablet */
@media (max-width: 900px) {
  .hp-sec-hd {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-8);
  }
  .hp-rail-hd {
    flex-wrap: wrap;
    gap: var(--space-3);
  }
  .hp-featured-layout {
    grid-template-columns: 1fr;
  }
  .hp-featured-side {
    display: none;
  }
}

/* 768px – Tablet portrait */
@media (max-width: 768px) {
  .hp-trust {
    padding-block: clamp(var(--space-12), 7vw, 80px);
  }
  .hp-inquiry {
    padding-block: clamp(var(--space-12), 7vw, 80px);
  }
  .hp-hero {
    padding-block: clamp(var(--space-12), 8vw, var(--space-20));
  }

  .hp-hero__stats {
    width: 100%;
    justify-content: space-evenly;
  }
  .hp-hero__stat {
    padding: 0 var(--space-3);
  }

  .hp-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hp-cat-card {
    aspect-ratio: 3/3.5;
  }

  .hp-arrivals-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
  }

  .hp-prod-rail .pc-card {
    flex: 0 0 calc((100% - var(--space-4) * 2) / 3);
  }

  /* Category rail: 3 cols on tablet */
  .hp-cat-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hp-subcat-chip {
    width: calc((100% - (5 * var(--space-4))) / 6);
    min-width: 72px;
    max-width: 100px;
  }
  .hp-subcat-chip__img {
    width: 72px;
    height: 72px;
  }
  .hp-subcat-chip__name {
    max-width: 72px;
    font-size: 10px;
  }
  .hp-subcat-track {
    gap: var(--space-3);
  }

  .hp-why-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .hp-why-card {
    padding: var(--space-6);
  }

  .hp-certs {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
  }

  .hp-inquiry__actions {
    flex-direction: column;
    width: 100%;
  }
  .hp-inquiry__actions .si-btn {
    width: 100%;
    justify-content: center;
  }
  .hp-inquiry__reassure {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }
  .hp-inquiry__card {
    padding: var(--space-6);
  }
  .hp-dark-row {
    grid-template-columns: 1fr;
  }

  /* Mobile: hide inquiry overlay for cleaner cards */
  .pc-card__overlay {
    display: none;
  }
  .pc-card__inquiry {
    display: none;
  }
}

/* 600px – Mobile large */
@media (max-width: 600px) {
  .hp-trust,
  .hp-inquiry {
    padding-block: var(--space-12);
  }
  .hp-hero {
    padding-block: var(--space-10);
  }

  .hp-hero__h1 {
    font-size: clamp(1.875rem, 8vw, 2.5rem);
  }
  .hp-hero__btns {
    flex-direction: column;
    width: 100%;
  }
  .hp-hero__btns .si-btn {
    width: 100%;
    justify-content: center;
  }
  .hp-hero__card {
    padding: var(--space-5);
    border-radius: var(--radius-xl);
  }
  .hp-hero__card .si-form-row {
    grid-template-columns: 1fr;
  }

  .hp-cat-grid {
    gap: var(--space-3);
  }
  .hp-cat-card {
    aspect-ratio: 2/3;
    border-radius: var(--radius-lg);
  }
  .hp-cat-card__cta {
    opacity: 1;
    transform: translateY(0);
  }

  .hp-arrivals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }
  .hp-prod-rail .pc-card {
    flex: 0 0 calc((100% - var(--space-3)) / 2);
    min-width: 148px;
  }

  /* Category rail: 2 cols on small tablet */
  .hp-cat-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }

  .hp-subcat-chip {
    width: calc((100% - (3 * var(--space-3))) / 4);
    min-width: 60px;
    max-width: 80px;
  }
  .hp-subcat-chip__img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
  }
  .hp-subcat-chip__name {
    max-width: 60px;
  }
  .hp-arrow {
    width: 34px;
    height: 34px;
  }
  .hp-arrow svg {
    width: 14px;
    height: 14px;
  }

  .hp-rail-section {
    padding-block: var(--space-8);
  }

  .hp-brand-item {
    min-width: 110px;
    padding: var(--space-3) var(--space-4);
  }

  .hp-trust-stats {
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--radius-lg);
  }
  .hp-trust-stat {
    padding: var(--space-6) var(--space-4);
  }
  .hp-trust-stat:nth-child(2n) {
    border-right: none;
  }
  .hp-trust-stat:nth-child(1),
  .hp-trust-stat:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .hp-inquiry__h2 {
    font-size: clamp(var(--text-2xl), 7vw, var(--text-3xl));
  }
  .hp-inquiry__h2 br {
    display: none;
  }
  .hp-inquiry__card {
    padding: var(--space-5);
    border-radius: var(--radius-lg);
  }
  .si-form-row {
    grid-template-columns: 1fr;
  }
}

/* 425px – Extra small devices */
@media (max-width: 425px) {
  /* ── Our Product Categories: 2x2 grid ── */
  .hp-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }
  .hp-cat-card {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
  }
  .hp-cat-card__body {
    padding: var(--space-3);
  }
  .hp-cat-card__title {
    font-size: var(--text-base);
  }
  .hp-cat-card__desc {
    font-size: var(--text-xs);
  }

  .hp-subcat-chip {
    width: calc((100% - (2 * var(--space-3))) / 3);
    min-width: 55px;
    max-width: 70px;
  }
  .hp-subcat-chip__img {
    width: 55px;
    height: 55px;
  }
  .hp-subcat-chip__name {
    max-width: 55px;
    font-size: 9px;
  }

  /* ── Hero Stats: 2x2 grid ── */
  .hp-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    padding: var(--space-4);
    width: 100%;
  }
  .hp-hero__stat {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-1);
    padding: var(--space-2);
    min-width: 0;
  }
  .hp-hero__stat-sep {
    display: none;
  }
  .hp-hero__stat-n {
    font-size: var(--text-xl);
  }
  .hp-hero__stat-l {
    font-size: var(--text-xs);
  }

  .hp-trust-stats {
    grid-template-columns: 1fr;
  }
  .hp-trust-stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  }
  .hp-trust-stat:last-child {
    border-bottom: none !important;
  }

  /* ── Featured Products: 2x2 grid (override carousel) ── */
  .hp-featured-layout {
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .hp-featured-side {
    display: none;
  }
  .hp-prod-viewport {
    overflow: visible;
  }
  .hp-prod-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
    transform: none !important;
    width: 100%;
  }
  .hp-prod-rail .pc-card {
    flex: unset;
    width: 100%;
    min-width: 0;
    height: 100%;
  }
  /* Hide carousel arrows when grid layout is active */
  .hp-rail-nav .hp-arrow {
    display: none;
  }

  /* Category rail: keep 2 cols on mobile for denser grid */
  .hp-cat-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }

  /* ── New Arrivals: 2-column grid ── */
  .hp-arrivals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
  }
  .hp-arrivals-grid .pc-card {
    width: 100%;
    min-width: 0;
    height: 100%;
  }

  /* Increase tap targets */
  .hp-arrow {
    width: 44px;
    height: 44px;
  }
  .si-btn,
  .hp-view-more,
  .pc-card__inquiry {
    min-height: 44px;
  }
}

/* ─── 375px and below ─────────────────────────────────────────── */
@media (max-width: 375px) {
  .hp-subcat-chip {
    min-width: 50px;
    max-width: 60px;
  }
  .hp-subcat-chip__img {
    width: 50px;
    height: 50px;
  }
  .hp-subcat-chip__name {
    max-width: 50px;
    font-size: 8px;
  }

  .hp-hero__stats {
    gap: var(--space-3);
    padding: var(--space-4);
  }
  .hp-hero__stat-n {
    font-size: var(--text-lg);
  }

  .hp-cat-rail {
    gap: var(--space-2);
  }

  .hp-arrow {
    width: 40px;
    height: 40px;
  }
  .si-btn,
  .hp-view-more,
  .pc-card__inquiry {
    min-height: 40px;
  }
}

/* ─── 320px and below ─────────────────────────────────────────── */
@media (max-width: 320px) {
  .hp-subcat-chip {
    min-width: 45px;
    max-width: 55px;
  }
  .hp-subcat-chip__img {
    width: 45px;
    height: 45px;
  }
  .hp-subcat-chip__name {
    max-width: 45px;
    font-size: 7px;
  }

  .hp-hero__stats {
    gap: var(--space-2);
    padding: var(--space-3);
  }
  .hp-hero__stat-n {
    font-size: var(--text-base);
  }

  .hp-cat-rail {
    gap: var(--space-2);
  }

  .hp-arrow {
    width: 36px;
    height: 36px;
  }
  .si-btn,
  .hp-view-more,
  .pc-card__inquiry {
    min-height: 36px;
  }
}

/* Print styles */
@media print {
  .hp-hero,
  .hp-trust,
  .hp-inquiry {
    background: var(--color-white) !important;
    padding-block: var(--space-8) !important;
  }
  .hp-hero__bg,
  .hp-trust__bg,
  .hp-inquiry__bg,
  .hp-hero__glow,
  .hp-brands-wrap,
  .hp-arrow,
  .hp-hero__btns,
  .hp-inquiry__actions {
    display: none !important;
  }
  .hp-hero__h1,
  .hp-trust__h2,
  .hp-inquiry__h2,
  .hp-why-card__title,
  .hp-rail-title,
  .hp-trust-stat__n {
    color: var(--color-ink) !important;
  }
  .hp-hero__lead,
  .hp-trust__desc,
  .hp-inquiry__desc,
  .hp-why-card__desc {
    color: var(--color-ink-60) !important;
  }
  .hp-trust-stat__s {
    color: var(--color-ink-40) !important;
  }
}
