.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background: linear-gradient(118deg, #30201b 0%, #563327 68%, #74412e 100%);
  color: var(--white);
}

.hero::after {
  position: absolute;
  top: -245px;
  right: -215px;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 64px;
}

.hero .eyebrow {
  color: #efc29f;
}

.hero h1 {
  max-width: 650px;
  margin: 13px 0 0;
  font-size: clamp(2.65rem, 5vw, 4.6rem);
  letter-spacing: -.065em;
  line-height: .98;
}

.hero p {
  max-width: 550px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 1.06rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .button-outline {
  border-color: rgba(255, 255, 255, .55);
  background: transparent;
  color: var(--white);
}

.hero-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 240px;
  max-height: 440px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 12px 14px 0 rgba(18, 10, 7, .18);
}

.hero-photo::after,
.service-image::after {
  display: none !important;
}

.hero-photo img,
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.benefits {
  position: relative;
  z-index: 2;
  background: var(--white);
  box-shadow: 0 8px 23px rgba(62, 39, 35, .08);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 18px;
  border-right: 1px solid var(--border);
}

.benefit:last-child {
  border-right: 0;
}

.benefit svg {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: var(--accent);
}

.benefit strong {
  display: block;
  color: var(--primary);
  font-size: .88rem;
}

.benefit span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
}

.explore {
  margin-top: auto;
  padding-top: 19px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.brands {
  text-align: center;
}

.brand-viewport {
  width: 100%;
  margin-top: 36px;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.brand-track {
  display: flex;
  width: max-content;
  animation: brand-marquee 35s linear infinite !important;
  animation-play-state: running !important;
  will-change: transform;
  pointer-events: none; /* Prevents hovering, grabbing or clicking from ever pausing the slide */
}

.brand-viewport:hover .brand-track,
.brand-track:hover,
.brand-set:hover,
.brand-set img:hover {
  animation-play-state: running !important;
}

.brand-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  pointer-events: none;
}

.brand-set img {
  width: 136px;
  height: 64px;
  flex: 0 0 136px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.service {
  background: var(--primary);
  color: var(--white);
}

.service .eyebrow {
  color: #e9b589;
}

.service h2 {
  margin: 9px 0 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -.05em;
  line-height: 1.05;
}

.service p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, .76);
  line-height: 1.8;
}

.service-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 12px 14px 0 #efd4bf;
}

.about-teaser {
  background: var(--paper);
}

.supply-card {
  padding: 35px;
  background: var(--accent);
  color: var(--white);
  box-shadow: 15px 16px 0 #efd4bf;
}

.supply-card h3 {
  margin: 0;
  font-size: 1.5rem;
}

.supply-card ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
#trusted-brands
{
  text-align: center;
  padding-right: 0px;
}

.supply-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

@media (max-width:1100px) {
.hero-grid,
  .split {
    gap: 40px;
  }
}

@media (max-width:820px) {
.hero-grid,
  .split,
  .story-grid,
  .contact-layout,
  .product-detail,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width:820px) {
  .hero-photo,
  .service-image {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(30, 20, 16, 0.12);
  }
}

@media (max-width:820px) {
.benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:820px) {
.benefit:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width:820px) {
.benefit {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width:560px) {
.hero {
    padding: 52px 0;
  }
}

@media (max-width:560px) {
  .hero-photo,
  .service-image {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(30, 20, 16, 0.12);
  }
}

@media (max-width:560px) {
.benefit-grid,
  .category-grid,
  .content-list,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:560px) {
.benefit {
    border-right: 0;
  }
}

@media (max-width:560px) {
.brand-set {
    gap: 26px;
    padding-right: 26px;
  }
}

@media (max-width:560px) {
.brand-set img {
    width: 118px;
    height: 58px;
    flex-basis: 118px;
  }
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .85s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.hero-track .hero-slide {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  object-fit: cover;
  object-position: left center;
}

.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(30, 20, 16, 0.65);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s, opacity 0.2s, box-shadow 0.2s;
  opacity: 0.88;
}

.hero-nav-btn:hover {
  opacity: 1;
  background: var(--primary);
  border-color: var(--white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.hero-nav-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.hero-nav-btn.prev {
  left: 14px;
}

.hero-nav-btn.next {
  right: 14px;
}

.hero-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 14px;
  background: rgba(30, 20, 16, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.hero-dot[aria-selected="true"] {
  background: var(--white);
  width: 26px;
  border-radius: 6px;
}

@media (max-width: 560px) {
  .hero-nav-btn {
    width: 36px;
    height: 36px;
  }

  .hero-nav-btn.prev {
    left: 8px;
  }

  .hero-nav-btn.next {
    right: 8px;
  }

  .hero-dots {
    bottom: 12px;
    padding: 5px 10px;
    gap: 6px;
  }
}

@media (prefers-reduced-motion:reduce) {
.hero-track {
    transition: none;
  }
}

/* Modern Rendering Optimization for Below-the-Fold Sections */
@supports (content-visibility: auto) {
  #featured-products,
  .service,
  #about,
  #contact {
    content-visibility: auto;
    contain-intrinsic-size: 1px 600px;
  }
}
