/* ==========================================================================
   JANWAR TOYOTA (penjualtoyota.com) — Diagonal Red · Yellow · Blue Editorial
   Bespoke Japanese Motorsport x Swiss Showroom Design System (Zero AI Slop)
   ========================================================================== */

:root {
  --jw-red: #c8102e;
  --jw-red-dark: #a30b24;
  --jw-yellow: #f5b700;
  --jw-yellow-hover: #e0a600;
  --jw-blue: #0b245b;
  --jw-blue-mid: #123787;
  --jw-navy: #071638;
  --jw-ink: #0f172a;
  --jw-muted: #475569;
  --jw-canvas: #f5f6f8;
  --jw-border: #e2e8f0;
}

/* Signature Tri-Color Scroll Progress Bar */
.scroll-progress-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--jw-red) 0%, var(--jw-yellow) 48%, var(--jw-blue-mid) 100%);
}

/* Clean Editorial Header with Tri-Color Hairline Accent */
.site-header {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--jw-red) 0%, var(--jw-red) 34%, var(--jw-yellow) 34%, var(--jw-yellow) 52%, var(--jw-blue) 52%, var(--jw-blue) 100%) 1;
  background: #ffffff;
}
.site-header .nav-link.is-active {
  color: var(--jw-blue);
  border-bottom-color: var(--jw-red);
}
.brand-name {
  color: var(--jw-navy);
}

/* Bespoke Buttons */
.btn-jw-gold {
  background: var(--jw-yellow);
  color: var(--jw-navy);
  border-color: var(--jw-yellow);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(245, 183, 0, 0.28);
}
.btn-jw-gold:hover {
  background: var(--jw-yellow-hover);
  border-color: var(--jw-yellow-hover);
  color: var(--jw-navy);
}

.btn-jw-blue {
  background: var(--jw-blue);
  color: #ffffff;
  border-color: var(--jw-blue);
}
.btn-jw-blue:hover {
  background: var(--jw-blue-mid);
  border-color: var(--jw-blue-mid);
}

.btn-jw-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
}
.btn-jw-outline-light:hover {
  background: #ffffff;
  color: var(--jw-navy);
  border-color: #ffffff;
}

/* ==========================================================================
   1. DIAGONAL TRI-COLOR HERO — ANIMATED MERAH → BIRU → KUNING + SILKY MOTION
   ========================================================================== */
@keyframes jwSlashIn {
  from {
    opacity: 0;
    transform: translate3d(-44px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes jwPortraitRise {
  from {
    opacity: 0;
    transform: translate3d(0, 38px, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}
@keyframes jwPortraitFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -6px, 0);
  }
}
@keyframes jwTextRise {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}
@keyframes jwWordmarkDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-10px, -6px, 0);
  }
}
/* 3-Phase Silky Color Cycle: Merah -> Biru -> Kuning -> Merah (60fps GPU opacity cross-fade) */
@keyframes jwCyclePhase1 {
  0%, 26% { opacity: 1; }
  36%, 90% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes jwCyclePhase2 {
  0%, 24% { opacity: 0; }
  34%, 59% { opacity: 1; }
  69%, 100% { opacity: 0; }
}
@keyframes jwCyclePhase3 {
  0%, 57% { opacity: 0; }
  67%, 91% { opacity: 1; }
  100% { opacity: 0; }
}
/* Subtle Diagonal Showroom Sheen Sweep */
@keyframes jwSheenSweep {
  0% {
    transform: translate3d(-115%, 0, 0) skewX(-16deg);
    opacity: 0;
  }
  15% {
    opacity: 0.45;
  }
  55% {
    opacity: 0.25;
  }
  100% {
    transform: translate3d(230%, 0, 0) skewX(-16deg);
    opacity: 0;
  }
}
/* Accent Keyword Color Shift Matching Hero Cycle */
@keyframes jwTitleAccentCycle {
  0%, 26%, 100% {
    color: #ffd028;
    text-shadow: 0 6px 24px rgba(255, 208, 40, 0.28);
  }
  35%, 59% {
    color: #ffe266;
    text-shadow: 0 6px 24px rgba(255, 226, 102, 0.34);
  }
  68%, 90% {
    color: #ffffff;
    text-shadow: 0 6px 26px rgba(7, 22, 56, 0.55);
  }
}
/* Subtle CTA Shimmer */
@keyframes jwBtnSheen {
  0%, 72% {
    transform: translate3d(-140%, 0, 0) skewX(-22deg);
  }
  100% {
    transform: translate3d(260%, 0, 0) skewX(-22deg);
  }
}

.jw-hero {
  position: relative;
  background: var(--jw-navy);
  color: #ffffff;
  overflow: hidden;
  min-height: min(760px, calc(100svh - 73px));
  display: flex;
  align-items: stretch;
}

/* Sharp Diagonal Geometric Slashes with 3 Smoothly Cycling Color Phases */
.jw-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  animation: jwSlashIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.jw-phase {
  position: absolute;
  inset: 0;
  will-change: opacity;
}
.jw-phase-1 {
  animation: jwCyclePhase1 13.5s ease-in-out infinite;
}
.jw-phase-2 {
  opacity: 0;
  animation: jwCyclePhase2 13.5s ease-in-out infinite;
}
.jw-phase-3 {
  opacity: 0;
  animation: jwCyclePhase3 13.5s ease-in-out infinite;
}

.jw-slash-base,
.jw-slash-primary,
.jw-slash-ribbon,
.jw-slash-accent {
  position: absolute;
  inset: 0;
}

.jw-slash-primary {
  clip-path: polygon(0 0, 56% 0, 39% 100%, 0 100%);
}
.jw-slash-ribbon {
  clip-path: polygon(55.4% 0, 61.6% 0, 44.6% 100%, 38.4% 100%);
}
.jw-slash-accent {
  background: rgba(255, 255, 255, 0.045);
  clip-path: polygon(74% 0, 88% 0, 71% 100%, 57% 100%);
}

/* Phase 1: MERAH (Kiri) · KUNING (Pita Miring) · BIRU ROYAL (Kanan) */
.jw-phase-1 .jw-slash-base {
  background: linear-gradient(150deg, #10388e 0%, #071840 68%, #040d24 100%);
}
.jw-phase-1 .jw-slash-primary {
  background: linear-gradient(142deg, #e01536 0%, #a50a23 100%);
}
.jw-phase-1 .jw-slash-ribbon {
  background: linear-gradient(180deg, #ffd01e 0%, #e39e00 100%);
}

/* Phase 2: BIRU ROYAL (Kiri) · MERAH (Pita Miring) · KUNING EMAS-NAVY (Kanan) */
.jw-phase-2 .jw-slash-base {
  background: linear-gradient(145deg, #c98f00 0%, #7d5200 42%, #0a1f4d 100%);
}
.jw-phase-2 .jw-slash-primary {
  background: linear-gradient(142deg, #154cc2 0%, #0a2568 100%);
}
.jw-phase-2 .jw-slash-ribbon {
  background: linear-gradient(180deg, #ef1a3b 0%, #b50c27 100%);
}

/* Phase 3: KUNING EMAS TEGAS (Kiri) · BIRU ROYAL (Pita Miring) · MERAH CRIMSON (Kanan) */
.jw-phase-3 .jw-slash-base {
  background: linear-gradient(150deg, #b80f2b 0%, #5c0924 58%, #0a1738 100%);
}
.jw-phase-3 .jw-slash-primary {
  background: linear-gradient(142deg, #d99500 0%, #995f00 100%);
}
.jw-phase-3 .jw-slash-ribbon {
  background: linear-gradient(180deg, #1d5fe6 0%, #0d2f80 100%);
}

/* Diagonal Metallic Light Sweep */
.jw-slash-sheen {
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 24%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
  will-change: transform, opacity;
  animation: jwSheenSweep 7.5s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

/* Balanced reading scrim so white text stays crisp in Merah, Biru, & Kuning phases */
.jw-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 15, 38, 0.44) 0%, rgba(6, 15, 38, 0.26) 46%, rgba(6, 15, 38, 0.08) 70%, transparent 100%);
}

.jw-hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  gap: 28px;
  align-items: center;
  width: 100%;
  padding-top: 36px;
  padding-bottom: 0;
}

.jw-hero-copy {
  padding-bottom: 44px;
}

.jw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background: rgba(7, 22, 56, 0.82);
  border-left: 3px solid var(--jw-yellow);
  border-radius: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 18px;
  animation: jwTextRise 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
}

.jw-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.55rem, 5vw, 4.25rem);
  line-height: 0.96;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 6px 24px rgba(4, 10, 28, 0.44);
  animation: jwTextRise 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}
.jw-hero-title em {
  font-style: normal;
  color: var(--jw-yellow);
  animation: jwTitleAccentCycle 13.5s ease-in-out infinite;
}

.jw-hero-desc {
  margin: 16px 0 24px;
  max-width: 540px;
  font-size: 0.99rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 10px rgba(4, 10, 28, 0.32);
  animation: jwTextRise 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

/* Interactive Quick-Action Shortcuts right inside the Hero */
.jw-quick-intents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-width: 520px;
  margin-bottom: 24px;
}
.jw-intent-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 8px;
  background: rgba(7, 22, 56, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
  animation: jwTextRise 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.jw-intent-btn:nth-child(1) { animation-delay: 0.36s; }
.jw-intent-btn:nth-child(2) { animation-delay: 0.43s; }
.jw-intent-btn:nth-child(3) { animation-delay: 0.50s; }
.jw-intent-btn:nth-child(4) { animation-delay: 0.57s; }
.jw-intent-btn:hover {
  transform: translateY(-2px);
  border-color: var(--jw-yellow);
  background: rgba(7, 22, 56, 0.95);
  box-shadow: 0 10px 22px rgba(4, 10, 28, 0.32);
}
.jw-intent-btn svg {
  color: var(--jw-yellow);
  flex-shrink: 0;
  transition: transform 0.22s ease;
}
.jw-intent-btn:hover svg {
  transform: translateX(3px);
}

.jw-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
  animation: jwTextRise 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.62s both;
}
.jw-hero-ctas .btn {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 0.94rem;
}
.jw-hero-ctas .btn-jw-gold {
  position: relative;
  overflow: hidden;
}
.jw-hero-ctas .btn-jw-gold::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.52), transparent);
  animation: jwBtnSheen 4.4s ease-in-out infinite;
  pointer-events: none;
}

.jw-hero-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  animation: jwTextRise 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.72s both;
}
.jw-hero-contact-line strong {
  color: #ffffff;
}
.jw-hero-contact-line a:hover {
  color: var(--jw-yellow);
}

/* Right Portrait Stage — Open, Unboxed, Editorial */
.jw-hero-visual {
  position: relative;
  align-self: flex-end;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 540px;
}

.jw-hero-wordmark-bg {
  position: absolute;
  top: 12%;
  right: -6px;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5.5rem, 11vw, 9.6rem);
  line-height: 0.84;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.13);
  user-select: none;
  pointer-events: none;
  text-align: right;
  animation: jwWordmarkDrift 9s ease-in-out infinite;
}
.jw-hero-wordmark-bg span {
  display: block;
}

.jw-hero-portrait {
  position: relative;
  z-index: 2;
  width: min(100%, 400px);
  max-height: 620px;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 24px 40px rgba(3, 9, 28, 0.56));
  animation:
    jwPortraitRise 0.88s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both,
    jwPortraitFloat 5.6s ease-in-out 1.1s infinite;
}

.jw-portrait-tag {
  position: absolute;
  right: 8px;
  bottom: 24px;
  z-index: 3;
  padding: 10px 14px;
  background: rgba(7, 22, 56, 0.92);
  border-left: 3px solid var(--jw-yellow);
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(3, 9, 28, 0.42);
  animation: jwTextRise 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both;
}
.jw-portrait-tag strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  line-height: 1;
}
.jw-portrait-tag span {
  display: block;
  margin-top: 3px;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   2. TRI-COLOR RIBBON STRIP (SLIM TRUST BAR)
   ========================================================================== */
.jw-trust-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--jw-border);
  padding: 18px 0;
}
.jw-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.jw-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.jw-trust-dot {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
}
.jw-trust-dot--red { background: rgba(200, 16, 46, 0.1); color: var(--jw-red); }
.jw-trust-dot--yellow { background: rgba(245, 183, 0, 0.18); color: #9a6e00; }
.jw-trust-dot--blue { background: rgba(11, 36, 91, 0.1); color: var(--jw-blue); }
.jw-trust-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--jw-ink);
  line-height: 1.2;
}
.jw-trust-item span {
  display: block;
  font-size: 0.76rem;
  color: var(--jw-muted);
  margin-top: 2px;
}

/* ==========================================================================
   3. FLAGSHIP PENAWARAN JANWAR TOYOTA (FEATURED WIDE + 3 DEAL COLUMNS)
   ========================================================================== */
.jw-offers-section {
  background: var(--jw-canvas);
  border-bottom: 1px solid var(--jw-border);
}
.jw-offers-section .section-eyebrow {
  color: var(--jw-red);
}

.jw-featured-deal {
  position: relative;
  background: var(--jw-navy);
  color: #ffffff;
  border-radius: 16px;
  padding: 32px 34px;
  margin-bottom: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 28px;
  align-items: center;
  box-shadow: 0 18px 42px rgba(7, 22, 56, 0.16);
}
.jw-featured-deal::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 100%;
  background: var(--jw-red);
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.92;
  pointer-events: none;
}
.jw-featured-deal::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 256px;
  height: 100%;
  background: var(--jw-yellow);
  clip-path: polygon(34% 0, 39% 0, 5% 100%, 0 100%);
  pointer-events: none;
}
.jw-featured-deal-copy,
.jw-featured-deal-cta {
  position: relative;
  z-index: 2;
}
.jw-deal-kicker {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--jw-yellow);
  color: var(--jw-navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.jw-featured-deal h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.04;
  color: #ffffff;
}
.jw-featured-deal p {
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 600px;
}
.jw-deal-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}
.jw-deal-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
}
.jw-deal-checklist svg {
  color: var(--jw-yellow);
  flex-shrink: 0;
}
.jw-featured-deal-cta {
  background: rgba(7, 22, 56, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.jw-featured-deal-cta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--jw-yellow);
  margin-bottom: 4px;
}
.jw-featured-deal-cta span {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 14px;
}

.jw-deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.jw-deal-card {
  background: #ffffff;
  border: 1px solid var(--jw-border);
  border-top: 4px solid var(--jw-blue);
  border-radius: 14px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.jw-deal-card:nth-child(1) { border-top-color: var(--jw-red); }
.jw-deal-card:nth-child(2) { border-top-color: var(--jw-yellow); }
.jw-deal-card:nth-child(3) { border-top-color: var(--jw-blue); }
.jw-deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(7, 22, 56, 0.08);
}
.jw-deal-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.jw-deal-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #94a3b8;
  line-height: 1;
}
.jw-deal-pill {
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.jw-deal-pill--red { background: rgba(200, 16, 46, 0.1); color: var(--jw-red); }
.jw-deal-pill--yellow { background: rgba(245, 183, 0, 0.2); color: #8c6300; }
.jw-deal-pill--blue { background: rgba(11, 36, 91, 0.1); color: var(--jw-blue); }

.jw-deal-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 800;
  line-height: 1.08;
  color: var(--jw-ink);
}
.jw-deal-sub {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--jw-muted);
  line-height: 1.52;
}
.jw-deal-points {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 7px;
  font-size: 0.83rem;
  color: var(--jw-ink);
}
.jw-deal-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.jw-deal-points svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}
.jw-deal-card .btn {
  margin-top: auto;
}

/* ==========================================================================
   4. HOMEPAGE INSTANT CATEGORY FILTER & SWISS CATALOG CARDS
   ========================================================================== */
.jw-home-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.jw-cat-pill {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid var(--jw-border);
  background: #ffffff;
  color: var(--jw-ink);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.jw-cat-pill:hover {
  border-color: var(--jw-blue);
}
.jw-cat-pill.is-active {
  background: var(--jw-navy);
  border-color: var(--jw-navy);
  color: var(--jw-yellow);
}

.jw-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.jw-card-actions .btn {
  padding: 9px 10px;
  font-size: 0.82rem;
}

/* Inner Page Banners — Sharp Diagonal Red-Yellow-Blue */
.page-banner {
  position: relative;
  background: linear-gradient(135deg, #071638 0%, #0b245b 72%, #0e327a 100%);
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 100%;
  background: linear-gradient(125deg, var(--jw-yellow) 0%, var(--jw-yellow) 16%, var(--jw-red) 16%, var(--jw-red) 100%);
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.85;
  pointer-events: none;
}
.page-banner .container {
  position: relative;
  z-index: 2;
}

/* Showcase Video & Footer Unified Executive Navy */
.section-showcase-video {
  background: var(--jw-navy);
  border-top: 3px solid var(--jw-yellow);
}
.site-footer {
  background: #06122e;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, var(--jw-red) 0%, var(--jw-yellow) 50%, var(--jw-blue-mid) 100%) 1;
}

/* Pure Clean Delivery Photos (ZERO text badge overlay on photo!) */
.delivery-card--clean .delivery-trigger img {
  aspect-ratio: 3 / 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.delivery-card--clean .delivery-loc-badge {
  display: none !important;
}

/* Sticky Mobile Bottom Quick-Action Dock (Hidden on Desktop) */
.jw-mobile-dock {
  display: none;
}

/* ==========================================================================
   5. RESPONSIVE & EFFORTLESS MOBILE UX (<= 960px & <= 768px)
   ========================================================================== */
@media (max-width: 960px) {
  .jw-hero-container {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 16px;
  }
  .jw-hero-visual {
    order: -1;
    min-height: 300px;
  }
  .jw-featured-deal {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .jw-featured-deal::before,
  .jw-featured-deal::after {
    display: none;
  }
  .jw-deal-grid {
    grid-template-columns: 1fr;
  }
  .jw-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  /* Crisp 58px Header with 1-Tap Direct WA Button ALWAYS Accessible on Mobile */
  .header-inner {
    min-height: 58px;
    gap: 8px;
  }
  .brand-lockup {
    gap: 8px;
    min-width: 0;
  }
  .brand-logo {
    height: 24px;
    flex-shrink: 0;
  }
  .brand-divider {
    height: 20px;
  }
  .brand-name {
    font-size: 1.04rem;
    white-space: nowrap;
  }
  .brand-sub {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-wa-btn {
    display: inline-flex !important;
    min-height: 36px;
    padding: 6px 10px;
    font-size: 0.76rem;
    gap: 5px;
    border-radius: 6px;
  }
  .header-wa-btn span {
    display: inline;
  }
  .menu-toggle {
    min-width: 38px;
    min-height: 38px;
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  /* Diagonal Tri-Color Hero Tailored Specifically for Mobile Thumb UX */
  .jw-hero {
    min-height: auto;
  }
  .jw-slash-primary {
    clip-path: polygon(0 0, 100% 0, 100% 28%, 0 42%);
  }
  .jw-slash-ribbon {
    clip-path: polygon(0 40.5%, 100% 26.5%, 100% 30.5%, 0 44.5%);
  }
  .jw-hero-scrim {
    background: linear-gradient(180deg, rgba(6, 15, 38, 0.06) 0%, rgba(6, 15, 38, 0.16) 32%, rgba(7, 22, 56, 0.92) 48%, rgba(7, 22, 56, 0.97) 100%);
  }
  .jw-hero-container {
    padding-top: 10px;
    padding-bottom: 24px;
  }
  .jw-hero-visual {
    min-height: 260px;
    margin-bottom: -14px;
  }
  .jw-hero-wordmark-bg {
    top: 8%;
    left: 0;
    right: 0;
    text-align: center;
    font-size: clamp(3.6rem, 18vw, 5.2rem);
    color: rgba(255, 255, 255, 0.16);
  }
  .jw-hero-portrait {
    width: min(56vw, 225px);
    max-height: 290px;
  }
  .jw-portrait-tag {
    left: 50%;
    right: auto;
    bottom: 10px;
    transform: translateX(-50%);
    padding: 6px 12px;
    white-space: nowrap;
    text-align: center;
  }
  .jw-portrait-tag strong {
    font-size: 0.95rem;
  }
  .jw-portrait-tag span {
    font-size: 0.65rem;
  }
  .jw-hero-copy {
    padding-top: 12px;
    padding-bottom: 0;
    text-align: center;
  }
  .jw-eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    margin-bottom: 10px;
  }
  .jw-hero-title {
    font-size: clamp(1.82rem, 7.6vw, 2.4rem);
    line-height: 1.02;
  }
  .jw-hero-desc {
    margin: 10px auto 16px;
    font-size: 0.86rem;
    line-height: 1.5;
  }
  .jw-quick-intents {
    gap: 7px;
    margin: 0 auto 16px;
  }
  .jw-intent-btn {
    padding: 9px 10px;
    font-size: 0.74rem;
    text-align: left;
  }
  .jw-hero-ctas {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
  }
  .jw-hero-ctas .btn {
    width: 100%;
    min-height: 46px;
  }
  .jw-hero-contact-line {
    justify-content: center;
    gap: 12px;
    font-size: 0.78rem;
  }

  /* Compact Mobile Trust Bar (2x2) */
  .jw-trust-bar {
    padding: 14px 0;
  }
  .jw-trust-grid {
    gap: 10px;
  }
  .jw-trust-item {
    gap: 8px;
  }
  .jw-trust-dot {
    width: 30px;
    height: 30px;
  }
  .jw-trust-item strong {
    font-size: 0.78rem;
  }
  .jw-trust-item span {
    font-size: 0.68rem;
  }

  /* Horizontal Swipe Category Pills on Homepage Catalog */
  .jw-home-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .jw-home-filters::-webkit-scrollbar { display: none; }
  .jw-cat-pill {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 38px;
    padding: 7px 13px;
    font-size: 0.79rem;
  }

  /* Featured Deal & 3 Deal Cards on Mobile */
  .jw-deal-checklist {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .jw-featured-deal-cta {
    padding: 16px;
  }

  /* 2-Column Clean Delivery Gallery on Mobile */
  .delivery-grid,
  .delivery-grid--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .delivery-caption {
    padding: 8px 10px;
  }
  .delivery-caption strong {
    font-size: 0.79rem;
  }
  .delivery-caption span {
    font-size: 0.69rem;
  }

  /* Replace corner floating circles with Native-Feel Bottom Quick-Action Dock */
  .floating-stack {
    display: none !important;
  }
  .jw-mobile-dock {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr 1.15fr;
    gap: 6px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 22, 56, 0.96);
    border-top: 2px solid var(--jw-yellow);
    backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px rgba(4, 12, 32, 0.28);
  }
  .jw-dock-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 42px;
    padding: 6px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .jw-dock-item--ig {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.24) 0%, rgba(253, 29, 29, 0.18) 100%);
    border: 1px solid rgba(255, 130, 172, 0.35);
    color: #ffffff;
    font-weight: 700;
  }
  .jw-dock-item--wa {
    background: var(--jw-yellow);
    color: var(--jw-navy);
    font-weight: 800;
  }
  .site-footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  body.has-compare-tray .jw-mobile-dock {
    display: none;
  }
  .page-banner::after {
    width: 110px;
    opacity: 0.45;
  }
}


/* ==========================================================================
   6. AUTO-SLIDING PROMO POSTER SHOWCASE CAROUSEL (BERGESER OTOMATIS)
   ========================================================================== */
.jw-poster-showcase {
  background: linear-gradient(180deg, #071638 0%, #0b245b 100%);
  color: #ffffff;
  border-top: 3px solid var(--jw-yellow);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.jw-poster-showcase .section-eyebrow {
  color: var(--jw-yellow);
}
.jw-poster-showcase .section-title {
  color: #ffffff;
}
.jw-poster-showcase .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.jw-poster-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.jw-poster-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.jw-poster-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.jw-poster-nav-btn:hover {
  background: var(--jw-yellow);
  border-color: var(--jw-yellow);
  color: var(--jw-navy);
  transform: translateY(-1px);
}
.jw-poster-auto-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}
.jw-poster-auto-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jw-yellow);
  box-shadow: 0 0 0 4px rgba(245, 183, 0, 0.22);
}

.jw-poster-viewport {
  position: relative;
  overflow: hidden;
  padding: 6px 0 12px;
}
.jw-poster-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 4px;
}
.jw-poster-track::-webkit-scrollbar {
  display: none;
}

.jw-poster-slide {
  flex: 0 0 calc((100% - 54px) / 4);
  scroll-snap-align: start;
  background: #0d1f49;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 34px rgba(3, 9, 28, 0.34);
  transition: transform 0.26s ease, border-color 0.26s ease;
}
.jw-poster-slide:hover {
  transform: translateY(-4px);
  border-color: var(--jw-yellow);
}
.jw-poster-media {
  position: relative;
  display: block;
  aspect-ratio: 575 / 936;
  background: #06122e;
  overflow: hidden;
}
.jw-poster-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.jw-poster-slide:hover .jw-poster-media img {
  transform: scale(1.03);
}
.jw-poster-footer {
  padding: 12px 14px;
  background: rgba(7, 22, 56, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.jw-poster-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
}
.jw-poster-meta span {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 2px;
}
.jw-poster-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--jw-yellow);
  color: var(--jw-navy);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.18s ease;
}
.jw-poster-wa:hover {
  background: #ffd038;
  color: var(--jw-navy);
}

.jw-poster-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.jw-poster-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease;
}
.jw-poster-dot.is-active {
  width: 28px;
  background: var(--jw-yellow);
}

@media (max-width: 1024px) {
  .jw-poster-slide {
    flex: 0 0 calc((100% - 36px) / 3);
  }
}
@media (max-width: 768px) {
  .jw-poster-head-row {
    margin-bottom: 16px;
  }
  .jw-poster-auto-badge {
    display: none;
  }
  .jw-poster-track {
    gap: 12px;
    padding-right: 14px;
  }
  .jw-poster-slide {
    flex: 0 0 72%;
  }
  .jw-poster-footer {
    padding: 10px 12px;
  }
  .jw-poster-meta strong {
    font-size: 0.94rem;
  }
  .jw-poster-wa {
    padding: 7px 10px;
    font-size: 0.72rem;
  }
}


/* ==========================================================================
   7. GLOBAL SMOOTH TEXT & ELEMENT SCROLL-REVEAL MOTION
   ========================================================================== */
.jw-motion-ready .jw-anim {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  filter: blur(2.5px);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.76s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--jw-delay, 0ms);
  will-change: opacity, transform;
}
.jw-motion-ready .jw-anim.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* Smooth page-banner text entrance on inner pages */
.page-banner .section-eyebrow {
  animation: jwTextRise 0.68s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.page-banner .page-title,
.page-banner .page-banner-title {
  animation: jwTextRise 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}
.page-banner .page-subtitle,
.page-banner .page-banner-lead {
  animation: jwTextRise 0.78s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

/* Accessibility: respect user reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .jw-phase-1,
  .jw-phase-2,
  .jw-phase-3,
  .jw-slash-sheen,
  .jw-hero-portrait,
  .jw-hero-wordmark-bg,
  .jw-hero-title em,
  .jw-hero-ctas .btn-jw-gold::after {
    animation: none !important;
  }
  .jw-phase-1 { opacity: 1 !important; }
  .jw-phase-2,
  .jw-phase-3 { opacity: 0 !important; }
  .jw-motion-ready .jw-anim {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}
