/* Vector map supplied by the client. Motion uses CSS; JS only controls lifecycle. */
.hero.hero-b { background: #102629; min-height: 892px; }
.hero.hero-b::after { display: none; }
.hero-b-scene {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(ellipse at 78% 56%, #00545c80, transparent 64%), radial-gradient(ellipse at 47% 72%, #008c8a26, transparent 40%);
}
.hero-b-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #102629 5%, #102629d9 24%, #10262933 48%, transparent 68%), linear-gradient(0deg, #10262999, transparent 24%, transparent 82%, #10262988);
}
.hero-europe-map {
  position: absolute;
  display: block;
  width: max(1100px, 78vw);
  height: auto;
  max-width: none;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  overflow: visible;
}
.hero-map-lines { stroke: #01ddc1; stroke-width: 1.1; opacity: .25; }
.hero-map-lines path { fill: none; }
.hero-radar { color: #01ddc1; opacity: .65; }
.hero-radar-halo { fill: currentColor; opacity: .12; }
.hero-radar-core { fill: #a0fff2; opacity: .85; filter: drop-shadow(0 0 5px #01ddc1); }
.hero-radar-ring {
  stroke: currentColor;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(.45);
  opacity: .13;
}
.hero-radar-ring--2, .hero-radar-ring--3 { opacity: 0; }
.hero-radar--destination { color: #51ffe1; }
.hero-radar--destination .hero-radar-core { r: 3.6; }
.hero-b[data-motion="on"] .hero-map-lines path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: hero-map-draw 2.4s cubic-bezier(.33, 0, .25, 1) var(--draw-delay, 0s) both;
}
.hero-b[data-motion="on"] .hero-map-radars { animation: hero-radars-appear 1.2s ease 1s both; }
.hero-b[data-motion="on"] .hero-radar-ring { animation: hero-radar-wave 6.6s linear infinite; animation-delay: var(--radar-delay); }
.hero-b[data-motion="on"] .hero-radar-ring--2 { animation-delay: calc(var(--radar-delay) - 2.2s); }
.hero-b[data-motion="on"] .hero-radar-ring--3 { animation-delay: calc(var(--radar-delay) - 4.4s); }
.hero-b[data-motion-paused="true"] .hero-b-scene * { animation-play-state: paused; }
@keyframes hero-map-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes hero-radars-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-radar-wave {
  0% { transform: scale(.04); opacity: 0; }
  12% { opacity: .55; }
  60% { opacity: .22; }
  100% { transform: scale(1); opacity: 0; }
}
@media (max-width: 800px) {
  .hero-europe-map { width: 1050px; right: auto; left: calc(50% - 195px); top: -120px; transform: none; }
  .hero-map-lines { opacity: .15; }
  .hero-b-scene::after { background: linear-gradient(90deg, #10262988, transparent 90%), linear-gradient(0deg, #102629, transparent 28%); }
  .hero-radar--secondary { display: none; }
  .hero-b[data-motion="on"] .hero-radar-ring--3 { display: none; }
  .hero-b[data-motion="on"] .hero-radar-ring { animation-duration: 8s; }
  .hero-b[data-motion="on"] .hero-radar-ring--2 { animation-delay: -4s; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-b[data-motion="on"] .hero-map-lines path { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .hero-b[data-motion="on"] .hero-map-radars, .hero-b[data-motion="on"] .hero-radar-ring { animation: none; }
}

/* Jerarquía compacta: reutiliza la escala de lectura y etiquetas del sitio. */
.hero-b {
  --hero-type-title: clamp(2rem, 1.5rem + 1.5vw, 3rem);
  --hero-type-saving: clamp(1.75rem, 1.5rem + .5vw, 2rem);
}
.hero-b-layout { display: grid; grid-template-columns: minmax(0, 533px) minmax(0, 516px); gap: clamp(48px, 9.4vw, 163px); align-items: center; padding-block: 115px 140px; }
.hero-b-copy { min-width: 0; }
.hero-b-copy .eyebrow { margin: 0 0 24px; }
.hero-b-copy h1 { margin: 0; font: var(--weight-medium) var(--hero-type-title)/1.16 Saira, sans-serif; overflow-wrap: anywhere; text-wrap: wrap; }
.hero-b-copy h1 span { display: block; color: var(--primary); }
.hero-b-description { margin: 24px 0 28px; color: var(--color-inverse-muted); font: var(--weight-regular) var(--type-lead)/1.65 Inter, sans-serif; }
.hero-b-cta { width: 100%; justify-content: center; gap: 12px; font-size: var(--type-body); }
.hero-b-note { margin: 16px 0 0; font-size: var(--type-small); line-height: 1.5; color: var(--color-inverse-muted); }
.hero-b-card { border: 1px solid var(--color-border); background: var(--color-white); color: var(--primary-dark); box-shadow: 0 8px 24px #0003; }
.hero-b-photo { position: relative; overflow: hidden; aspect-ratio: 466 / 300; }
.hero-b-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-b-badge { position: absolute; bottom: 10px; left: 12px; padding: 4px 12px; border-radius: 20px; background: #004851d9; color: var(--color-white); font-size: var(--type-label); line-height: 1.4; text-transform: uppercase; }
.hero-b-card h2 { margin: 16px 0 4px; overflow-wrap: anywhere; }
.hero-b-specs { margin: 0; color: var(--color-soft); }
.hero-b-metrics { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 16px; border-radius: 16px; background: var(--color-tint); margin-top: 20px; }
.hero-b-saving { display: contents; }
.hero-b-saving > span { grid-column: 1; display: block; margin-bottom: 6px; font-size: 14px; font-weight: var(--weight-semibold); line-height: 1.5; }
.hero-b-saving span { color: var(--color-accent-strong); }
.hero-b-saving strong { grid-column: 1; grid-row: 2; display: block; font-size: var(--hero-type-saving); line-height: 1.2; font-variant-numeric: tabular-nums; }
.hero-b-saving-description { grid-column: 1 / -1; grid-row: 3; margin: 0; color: var(--color-secondary); font-size: var(--type-small); line-height: 1.5; }
.hero-b-breakdown { grid-column: 2; grid-row: 1 / 3; align-self: end; justify-self: end; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 4px; border: 0; border-radius: 6px; background: transparent; color: var(--primary-dark); font: inherit; font-size: var(--type-label); cursor: pointer; }
.hero-b-breakdown > span { display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; line-height: 1; }
.hero-b-breakdown:hover { color: var(--color-accent-strong); text-decoration: underline; }
.hero-b-breakdown:focus-visible { outline: 3px solid var(--primary-dark); outline-offset: 3px; }
.hero-b-footnote { margin: 12px 0 0; color: var(--color-secondary); font-size: var(--type-label); line-height: 1.5; }
@media (max-width: 1100px) {
  .hero-b-layout { gap: 32px; padding-block: 64px 80px; }
}
@media (max-width: 800px) {
  .hero.hero-b { min-height: auto; }
  .hero-b-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 28px 32px; max-width: 600px; }
  .hero-b-copy .eyebrow { margin-bottom: 16px; }
  .hero-b-description { margin: 12px 0 20px; }
  .hero-b-note { margin-top: 12px; }
  .hero-b .hero-b-card { --vehicle-card-padding: 16px; }
  .hero-b-card h2 { margin-top: 12px; }
  .hero-b-metrics { margin-top: 16px; padding: 12px; }
}

@media (max-width: 360px) {
  .hero-b-saving > span, .hero-b-saving strong { grid-column: 1 / -1; }
  .hero-b-breakdown { grid-column: 1 / -1; grid-row: 4; justify-self: start; padding-inline: 0; }
}
