/* WGT-2026-021 additions: brands, applications, dealer pages. Uses the site's own tokens. */

/* Desktop nav: 7 items + CTA */
@media (min-width: 1025px) and (max-width: 1240px) {
  .nav-menu > li > a { padding-left: 10px; padding-right: 10px; }
}

/* Mobile overlay: grouped links, scrollable */
.nav-mobile-overlay { overflow-y: auto; justify-content: flex-start; padding-top: 88px; }
.nav-mobile-overlay > a { font-size: clamp(1.9rem, 7vw, 3rem); padding: 3px 0; }
.nav-mobile-overlay .mobile-group {
  margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--c-accent);
}
.nav-mobile-overlay .mobile-sub { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 2px 0 8px; }
.nav-mobile-overlay .mobile-sub a {
  font-family: var(--f-display); font-size: clamp(1.25rem, 5vw, 1.6rem);
  font-weight: 600; color: rgba(255,255,255,.62); padding: 2px 0;
}


/* Range cards */
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rcard {
  background: #fff; border: 1px solid #ebebeb; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: box-shadow .35s ease, transform .35s ease;
}
.rcard:hover { box-shadow: 0 20px 56px rgba(0,0,0,.11); transform: translateY(-6px); }
.rcard__media { aspect-ratio: 3 / 2; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid #f0eeea; }
.rcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .45s ease; }
.rcard__media--scene img { object-fit: cover; padding: 0; }
.rcard:hover .rcard__media img { transform: scale(1.04); }
.rcard__media--tile { background: linear-gradient(135deg, #1d0a09 0%, var(--c-primary-dark) 55%, var(--c-primary) 100%); position: relative; }
.rcard__media--tile::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(200,147,42,.35); border-radius: 10px; pointer-events: none;
}
.rcard__tile { text-align: center; padding: 24px; }
.rcard__tile-brand { display: block; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 8px; }
.rcard__tile-name { display: block; font-family: var(--f-display); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.02; color: #fff; text-transform: uppercase; letter-spacing: -.01em; }
.rcard__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.rcard__name { font-family: var(--f-display); font-size: 1.55rem; font-weight: 700; color: #161616; line-height: 1.12; margin: 0 0 6px; }
.rcard__promise { font-weight: 600; color: var(--c-primary); font-size: .92rem; margin: 0 0 8px; }
.rcard__desc { font-size: .875rem; color: #767676; line-height: 1.65; margin: 0 0 14px; }
.rcard__uses { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.rcard__uses li { font-size: .78rem; color: #4a4a4a; position: relative; padding-left: 12px; }
.rcard__uses li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 2px; background: var(--c-accent); }
.rcard__brands { font-size: .78rem; color: #8a8a8a; margin: 0 0 14px; }
.rcard__actions { margin-top: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rcard__actions .btn { padding: 11px 20px; font-size: .78rem; }
.rcard__link { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--c-primary); }
.rcard__link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.5; fill: none; }

/* Brand strip */
.brand-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--c-primary); }
.brand-row__item {
  padding: 26px 22px 28px; border-right: 1px solid var(--c-border); background: #fff;
  transition: background .25s ease;
}
.brand-row__item:last-child { border-right: none; }
.brand-row__item span { display: block; font-family: var(--f-display); font-size: 1.9rem; font-weight: 800; color: #161616; text-transform: uppercase; }
.brand-row__item small { display: block; margin-top: 6px; color: #767676; font-size: .85rem; line-height: 1.5; }
.brand-row__item:hover { background: var(--c-light); }
.brand-row__item.is-current { background: #161616; }
.brand-row__item.is-current span { color: var(--c-accent); }
.brand-row__item.is-current small { color: rgba(255,255,255,.6); }

/* Dealer meet */
.meet-intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.meet-intro h2 { font-family: var(--f-display); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.02; margin-top: 10px; }
.meet-points { display: grid; gap: 26px; border-left: 2px solid var(--c-accent); padding-left: 28px; }
.meet-points h4 { font-family: var(--f-display); font-size: 1.45rem; margin: 0 0 4px; color: #161616; }
.meet-points p { color: #767676; margin: 0; }
.meet-grid { columns: 3; column-gap: 14px; }
.meet-item { display: block; break-inside: avoid; margin-bottom: 14px; border-radius: 10px; overflow: hidden; }
.meet-item img { width: 100%; display: block; transition: transform .5s ease; }
.meet-item:hover img { transform: scale(1.04); }

/* Lightbox */
.upd-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.upd-lb.open { display: flex; }
.upd-lb img { max-width: 100%; max-height: 88vh; border-radius: 8px; }
.upd-lb button { position: absolute; color: #fff; background: rgba(255,255,255,.08); width: 48px; height: 48px; border-radius: 50%; font-size: 22px; }
.upd-lb .lb-close { top: 18px; right: 18px; }
.upd-lb .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.upd-lb .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Dealer network */
.find-dealer { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.find-dealer h2, .join-dealer h2 { font-family: var(--f-display); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; margin: 10px 0 12px; }
.find-dealer p, .join-dealer p { color: #767676; }
.find-dealer__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.join-dealer { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.join-dealer__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--c-light); padding: 28px; border-radius: 16px; }
.join-dealer__form label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 600; color: #3a3a3a; }
.join-dealer__form input, .join-dealer__form select {
  font: inherit; font-weight: 400; font-size: .95rem; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: 8px; background: #fff; color: #161616;
}
.join-dealer__form input:focus, .join-dealer__form select:focus { outline: 2px solid var(--c-accent); outline-offset: 1px; }
.join-dealer__form .full { grid-column: 1 / -1; }

@media (max-width: 1024px) {
  .range-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .brand-row { grid-template-columns: repeat(2, 1fr); }
  .brand-row__item:nth-child(2) { border-right: none; }
  .brand-row__item:nth-child(-n+2) { border-bottom: 1px solid var(--c-border); }
  .meet-intro, .join-dealer, .find-dealer { grid-template-columns: 1fr; gap: 28px; }
  .find-dealer__actions { justify-content: flex-start; }
  .meet-grid { columns: 2; }
}
@media (max-width: 640px) {
  .range-grid { grid-template-columns: 1fr; gap: 16px; }
  .brand-row { grid-template-columns: 1fr; }
  .brand-row__item { border-right: none; border-bottom: 1px solid var(--c-border); }
  .join-dealer__form { grid-template-columns: 1fr; padding: 20px; }
  .meet-grid { columns: 1; }
  .product-hero__img img { max-height: 260px; }
}

/* Shorter inner-page heroes (Garud, 2026-11-13) */
.product-hero { min-height: min(74vh, 700px); }
.product-hero__content { padding-top: 120px; padding-bottom: 56px; }
.product-hero__title { font-size: clamp(2.8rem, 6vw, 5.2rem); }
.product-hero__img { min-height: 300px; }
.product-hero__img img { max-height: 380px; }
.page-hero { min-height: min(62vh, 560px); }
/* Dealer pages: real event photo in the hero */
.upd-hero-photo img { border-radius: 14px; max-height: 360px; object-fit: cover; filter: drop-shadow(0 24px 64px rgba(0,0,0,.7)); animation: none; }
/* WGT credit (TEAM.md rule 14) */
.footer-bottom .wgt-credit { font-size: .78rem; color: rgba(255,255,255,.45); margin: 0; }
.footer-bottom .wgt-credit a { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom .wgt-credit a:hover { color: var(--c-accent); }
@media (max-width: 1024px) { .product-hero { min-height: auto; } .product-hero__content { padding-top: 110px; } }

/* Gallery captions: brand display type (Garud: "product names looks dull") */
.gallery-item { background: #fff; border: 1px solid #ebebeb; border-radius: 14px; box-shadow: 0 2px 10px rgba(0,0,0,.05); transition: box-shadow .35s ease, transform .35s ease; }
.gallery-item:hover { box-shadow: 0 20px 56px rgba(0,0,0,.12); transform: translateY(-4px); }
.gallery-item__caption { padding: 16px 20px 20px; border-top: 3px solid var(--c-primary); position: relative; }
.gallery-item__cat { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 4px; }
.gallery-item__caption h4 { font-family: var(--f-display); font-size: 1.6rem; font-weight: 800; line-height: 1.05; color: #161616; text-transform: uppercase; letter-spacing: -.005em; margin: 0; }
.gallery-item__caption::after { content: ""; position: absolute; right: 20px; bottom: 22px; width: 26px; height: 2px; background: var(--c-accent); transition: width .3s ease; }
.gallery-item:hover .gallery-item__caption::after { width: 44px; }
.gallery-item__caption h4 { padding-right: 56px; }
.rcard__name { font-weight: 800; text-transform: uppercase; font-size: 1.6rem; letter-spacing: -.005em; }

/* Home hero slider (WGT-2026-021) */
.hs { position: relative; height: min(100vh, 900px); min-height: 620px; overflow: hidden; background: #0d0d0d; }
.hs__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 1.1s; }
.hs__slide.is-active { opacity: 1; visibility: visible; }
.hs__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.06); transition: transform 8s ease-out; }
.hs__slide.is-active .hs__bg { transform: scale(1); }
.hs__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,6,6,.88) 0%, rgba(40,10,8,.62) 38%, rgba(10,6,6,.05) 70%), linear-gradient(to top, rgba(10,6,6,.75) 0%, transparent 35%); }
.hs__text { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-46%); max-width: var(--container-max, 1200px); margin: 0 auto; padding: 0 var(--sp-container, 24px); }
.hs__text > * { max-width: 560px; opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.hs__slide.is-active .hs__text > * { opacity: 1; transform: none; }
.hs__slide.is-active .hs__text > *:nth-child(2) { transition-delay: .12s; }
.hs__slide.is-active .hs__text > *:nth-child(3) { transition-delay: .24s; }
.hs__slide.is-active .hs__text > *:nth-child(4) { transition-delay: .36s; }
.hs__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--c-accent); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.hs__eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--c-accent); }
.hs__title { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.9rem, 6.4vw, 5.8rem); line-height: .95; color: #fff; margin: 0 0 18px; letter-spacing: -.01em; text-transform: none; }
.hs__title span { color: var(--c-accent); }
.hs__desc { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; color: rgba(255,255,255,.82); margin: 0 0 28px; }
.hs__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hs__bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 28px; max-width: var(--container-max, 1200px); margin: 0 auto; padding: 0 var(--sp-container, 24px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hs__stats { display: flex; gap: 36px; }
.hs__stats strong { display: block; font-family: var(--f-display); font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.hs__stats strong em { font-style: normal; color: var(--c-accent); }
.hs__stats span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hs__nav { display: flex; align-items: center; gap: 14px; }
.hs__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.hs__arrow:hover { background: var(--c-primary); border-color: var(--c-primary); }
.hs__arrow svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.hs__dots { display: flex; gap: 8px; }
.hs__dots button { width: 28px; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; transition: width .3s, background .3s; }
.hs__dots button[aria-selected="true"] { width: 52px; background: var(--c-accent); }
@media (max-width: 768px) {
  .hs { height: 92vh; min-height: 600px; }
  .hs__bg { object-position: 72% center; }
  .hs__slide::after { background: linear-gradient(to top, rgba(10,6,6,.92) 0%, rgba(10,6,6,.65) 55%, rgba(10,6,6,.25) 100%); }
  .hs__text { top: auto; bottom: 150px; transform: none; }
  .hs__stats { display: none; }
  .hs__bar { justify-content: center; bottom: 32px; }
  .hs__actions .btn { padding: 12px 18px; font-size: .78rem; }
}
@media (min-width: 769px) {
  .hs__bg { left: auto; right: 0; width: 72%; object-position: center; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%); }
  .hs__slide { background: radial-gradient(ellipse at 20% 50%, #2a0c0a 0%, #0d0d0d 70%); }
  .hs__slide::after { background: linear-gradient(90deg, rgba(10,6,6,.55) 0%, rgba(10,6,6,0) 45%), linear-gradient(to top, rgba(10,6,6,.7) 0%, transparent 30%); }
}

/* Menu: 7 items + CTA need ~1200px; switch to the hamburger below that, never wrap */
.nav-menu > li > a { white-space: nowrap; }
@media (max-width: 1199px) {
  .nav-menu, .nav-cta { display: none !important; }
  .nav-hamburger { display: flex !important; }
}

/* Stop slide-in animations from widening the phone layout */
html { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* Home brand strip polish */
.brand-strip { border-top: 1px solid rgba(200,147,42,.35); }
.strip-icon { opacity: 1; }
.strip-icon svg { stroke: var(--c-accent); }
.strip-text strong { white-space: nowrap; font-size: 1.45rem; margin-bottom: 4px; }
.strip-item { justify-content: center; padding: 24px 28px; }
@media (max-width: 1024px) { .strip-item { justify-content: flex-start; padding: 20px 24px; } }
@media (max-width: 540px) { .strip-text strong { font-size: 1.2rem; white-space: normal; } }

/* Home product strip (Garud: "improve") */
.prod-marquee { border-top: 1px solid rgba(255,255,255,.14); padding: 44px 0 18px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%); }
.prod-marquee::before, .prod-marquee::after { display: none; }
.prod-marquee__set { gap: 28px; padding-right: 28px; align-items: stretch; }
.prod-marquee__item { width: clamp(150px, 15vw, 210px); display: flex; flex-direction: column; align-items: center; text-decoration: none; padding: 14px 10px 12px; border-radius: 16px; transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .3s ease; }
.prod-marquee__item::before { content: ""; position: absolute; left: 12%; right: 12%; top: 8%; height: 62%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,235,200,.22), transparent); z-index: -1; }
.prod-marquee__item img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0,0,0,.35)); }
.prod-marquee__item .pm-name { margin-top: 8px; font-family: var(--f-display); font-weight: 700; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; color: rgba(255,255,255,.85); text-align: center; line-height: 1.15; }
.prod-marquee__set:hover .prod-marquee__item { transform: none; opacity: .55; }
.prod-marquee__set:hover .prod-marquee__item:hover { transform: translateY(-8px); opacity: 1; background: rgba(255,255,255,.06); }
@media (max-width: 640px) { .prod-marquee__item { width: 140px; } .prod-marquee__item .pm-name { font-size: .85rem; } }

/* Two-row product card marquee (Magic UI style, pure CSS) */
.pm2 { padding: 40px 0 10px; display: grid; gap: 16px; }
.pm2 .pm-row { overflow: hidden; }
.pm2 .pm-track { display: flex; width: max-content; animation: pmScroll 70s linear infinite; }
.pm2 .pm-row--rev .pm-track { animation-direction: reverse; animation-duration: 60s; }
.pm2:hover .pm-track { animation-play-state: paused; }
.pm2 .pm-set { display: flex; gap: 16px; padding-right: 16px; flex-shrink: 0; }
@keyframes pmScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pm2 .pm-row--rev .pm-track { animation-name: pmScrollQ; }
@keyframes pmScrollQ { from { transform: translateX(0); } to { transform: translateX(-25%); } }
.pm-card { display: flex; align-items: center; gap: 14px; width: 300px; padding: 12px 18px 12px 12px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px); text-decoration: none; transition: background .3s ease, border-color .3s ease, transform .3s ease; }
.pm-card:hover { background: rgba(255,255,255,.16); border-color: rgba(200,147,42,.6); transform: translateY(-3px); }
.pm-card img { width: 84px; height: 84px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.pm-card__body { display: flex; flex-direction: column; min-width: 0; }
.pm-card__brand { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--c-accent); }
.pm-card__name { font-family: var(--f-display); font-weight: 800; font-size: 1.2rem; line-height: 1.1; color: #fff; text-transform: uppercase; margin: 2px 0 3px; }
.pm-card__line { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.35; }
@media (max-width: 640px) { .pm-card { width: 250px; } .pm-card img { width: 68px; height: 68px; } .pm-card__name { font-size: 1.05rem; } }
@media (prefers-reduced-motion: reduce) { .pm2 .pm-track { animation: none; } }

/* Product range band above the footer on every inner page */
.pm-band { background: linear-gradient(180deg, var(--c-primary-dark) 0%, var(--c-primary) 100%); padding: 56px 0 44px; overflow: hidden; }
.pm-band__head { text-align: center; }
.pm-band__head .section-label { color: var(--c-accent); }
.pm-band__head h2 { font-family: var(--f-display); font-weight: 800; color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin: 6px 0 0; }
.pm-band .pm2 { border-top: none; margin-top: 18px; }
.pm-band { background: radial-gradient(ellipse at 50% 0%, #3a0f0c 0%, #1c0706 60%, #120505 100%); border-top: 1px solid rgba(200,147,42,.25); }

.pm-card, .pm-card__body { text-align: left; align-items: flex-start; }
.pm-card { align-items: center; }
.cta-section .pm2 { padding-bottom: 28px; }

/* Single red block: band uses the CTA red; marquee inside CTA gets breathing room */
.pm-band { background: var(--c-primary); border-top: none; }
.cta-section .pm2 { margin-top: 56px; }
