.oil-hero-visual {
  min-height: 520px;
  overflow: hidden;
}

.oil-hero-car {
  inset: 3% -8% 11% -7%;
}

.oil-hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity .9s ease, filter .9s ease, transform .9s ease;
}

.oil-hero-base { opacity: 1; filter: drop-shadow(0 26px 24px rgba(16, 27, 46, .22)); }
.oil-hero-xray, .oil-hero-dim, .oil-hero-highlight { opacity: 0; }
.oil-hero-highlight { clip-path: circle(14% at 38% 70%); filter: saturate(1.25) brightness(1.08) drop-shadow(0 0 13px rgba(255, 182, 0, .7)); }

.oil-hero-visual[data-oil-state="xray"] .oil-hero-base,
.oil-hero-visual[data-oil-state="oil"] .oil-hero-base { opacity: 0; }
.oil-hero-visual[data-oil-state="xray"] .oil-hero-xray { opacity: 1; }
.oil-hero-visual[data-oil-state="oil"] .oil-hero-dim { opacity: .58; filter: grayscale(.8) brightness(.42); }
.oil-hero-visual[data-oil-state="oil"] .oil-hero-highlight { opacity: 1; }

.oil-hero-scan {
  position: absolute;
  top: 2%;
  bottom: 4%;
  left: -12%;
  width: 18%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(86, 148, 255, .32), rgba(255, 255, 255, .82), transparent);
  filter: blur(1px);
  transform: skewX(-10deg);
  pointer-events: none;
}

.oil-hero-visual[data-oil-state="xray"] .oil-hero-scan,
.oil-hero-visual[data-oil-state="oil"] .oil-hero-scan { animation: oil-scan 1.15s ease-out both; }

@keyframes oil-scan {
  0% { left: -16%; opacity: 0; }
  18% { opacity: .9; }
  85% { opacity: .7; }
  100% { left: 104%; opacity: 0; }
}

.oil-hero-panel {
  position: absolute;
  z-index: 5;
  left: 22px;
  bottom: 78px;
  display: grid;
  max-width: 390px;
  gap: 4px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 16px;
  background: rgba(13, 28, 48, .86);
  color: #fff;
  box-shadow: 0 18px 42px rgba(13, 28, 48, .2);
  backdrop-filter: blur(12px);
}

.oil-hero-panel small { color: #91b8ff; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.oil-hero-panel strong { font-size: 15px; line-height: 1.25; }
.oil-hero-panel span { color: #c9d4e3; font-size: 12px; line-height: 1.4; }

.oil-hero-controls {
  position: absolute;
  z-index: 6;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 7px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 32px rgba(25, 44, 72, .13);
  backdrop-filter: blur(12px);
}

.oil-hero-controls button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 8px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #3c4a5d;
  font: inherit;
  font-size: 11px;
  font-weight: 780;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.oil-hero-controls button span { color: #8290a3; font-size: 9px; }
.oil-hero-controls button.is-active { background: #1f5bd8; color: #fff; }
.oil-hero-controls button.is-active span { color: #bcd2ff; }

@media (max-width: 980px) {
  .oil-hero-visual { min-height: 450px; }
  .oil-hero-car { inset: 3% -10% 13% -9%; }
}

@media (max-width: 680px) {
  .oil-hero-visual { min-height: 390px; }
  .oil-hero-car { inset: 1% -16% 25% -14%; }
  .oil-hero-panel { left: 12px; right: 12px; bottom: 79px; max-width: none; }
  .oil-hero-controls { right: 12px; left: 12px; bottom: 12px; justify-content: stretch; }
  .oil-hero-controls button { flex: 1; justify-content: center; padding-inline: 6px; font-size: 10px; }
}

@media (max-width: 420px) {
  .oil-hero-panel span { display: none; }
  .oil-hero-panel { bottom: 71px; }
  .oil-hero-controls button { min-height: 42px; }
  .oil-hero-controls button span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .oil-hero-layer { transition: none; }
  .oil-hero-scan { animation: none !important; }
}
