/* VOICE PORTAL HERO 008.2 — ONLY the existing homepage hero changes.
   No changes to search, car cards, navigation, login, JS, or API.
   The source Jeep photo is applied as a responsive CSS background;
   the existing hero's real HTML text and active controls remain intact. */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(105deg, #f9fcff 5%, #f0f8fc 65%, #edf6fb 100%);
}

/* Full-size photo only behind the hero; soft white fade keeps text legible. */
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 32%;
  background-image:
    linear-gradient(90deg, #f7fafd 0%, rgba(247, 250, 253, .96) 7%,
      rgba(247, 250, 253, .78) 19%, rgba(247, 250, 253, .04) 38%,
      rgba(247, 250, 253, 0) 55%),
    url('/voice-jeep-hero-0082.webp');
  background-position: center, center center;
  background-size: cover, cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero .hero-copy,
.hero .hero-art { position: relative; z-index: 1; }
.hero .hero-copy { text-shadow: 0 1px 1px rgba(255,255,255,.22); }
.hero .hero-art { min-height: 470px; }
/* SVG is hidden visually, not removed. Rollback merely unloads this CSS. */
.hero .hero-art > svg,
.hero .hero-art > .art-halo { display: none !important; }

.hero .hero-art > .floating {
  bottom: 12px;
  right: 10px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(224,231,241,.9);
  box-shadow: 0 12px 35px rgba(11,28,45,.14);
  backdrop-filter: blur(8px);
}

@media (min-width: 921px) {
  .hero { min-height: 590px; }
}

/* Keep the complete Jeep and wall visible on tablets instead of
   cropping the Jeep or covering the portal's text and buttons. */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-bottom: 26px;
  }
  .hero::before {
    top: auto;
    left: 25px;
    right: 25px;
    bottom: 26px;
    height: min(61vw, 440px);
    border-radius: 18px;
    background-image: url('/voice-jeep-hero-0082.webp');
    background-position: center center;
    background-size: cover;
  }
  .hero .hero-art {
    min-height: min(61vw, 440px);
    margin: 0 25px;
  }
  .hero .hero-art > .floating { bottom: 10px; right: 10px; }
}

@media (max-width: 600px) {
  .hero { padding-bottom: 20px; gap: 18px; border-radius: 0 0 18px 18px; }
  .hero::before {
    left: 12px;
    right: 12px;
    bottom: 20px;
    height: min(66vw, 340px);
    border-radius: 14px;
  }
  .hero .hero-art {
    min-height: min(66vw, 340px);
    margin: 0 12px;
  }
  .hero .hero-art > .floating {
    bottom: 7px;
    right: 7px;
    max-width: 65%;
    padding: 8px 11px;
    border-radius: 11px;
  }
  .hero .hero-art > .floating strong { font-size: 11px; }
}
