/* Dealer hero composition: split the desktop experience, then stack it naturally below tablet width. */
@media (min-width: 1051px) {
  .dealer-hero {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    column-gap: clamp(24px, 3.5vw, 72px);
    min-height: clamp(720px, calc(100svh - 76px), 920px);
    padding: clamp(82px, 9svh, 132px) clamp(28px, 7vw, 112px) clamp(56px, 7svh, 96px);
  }

  .dealer-copy {
    align-self: center;
    max-width: 570px;
  }

  .dealer-copy h1 {
    font-size: clamp(3.55rem, 5.15vw, 6.1rem);
    line-height: 0.94;
    margin-top: 17px;
    margin-bottom: 24px;
  }

  .dealer-copy p {
    max-width: 40ch;
    font-size: clamp(1rem, 1.15vw, 1.15rem);
  }

  .dealer-globe-layout {
    align-self: center;
    min-width: 0;
    min-height: 0;
    height: min(70svh, 700px);
    margin-top: 0;
  }

  .dealer-globe-shell {
    min-height: 0;
    height: 100%;
  }

  .dealer-globe {
    height: 100%;
  }

  .dealer-details {
    width: min(350px, 44%);
    right: 0;
    bottom: 22px;
  }
}

@media (max-width: 1050px) and (min-width: 621px) {
  .dealer-hero {
    min-height: auto;
    padding: clamp(100px, 12svh, 135px) 32px 72px;
  }

  .dealer-copy {
    max-width: 700px;
  }

  .dealer-copy h1 {
    font-size: clamp(3.5rem, 8vw, 5.6rem);
  }

  .dealer-globe-layout {
    min-height: 0;
    height: clamp(470px, 62svh, 600px);
    margin-top: 12px;
  }

  .dealer-globe-shell {
    min-height: 0;
    height: 100%;
  }

  .dealer-globe {
    height: 100%;
  }

  .dealer-details {
    right: 22px;
    width: min(390px, calc(100% - 44px));
  }
}

@media (max-width: 620px) {
  .dealer-hero {
    min-height: auto;
    padding: 96px 22px 64px;
  }

  .dealer-copy h1 {
    font-size: clamp(3rem, 12vw, 3.45rem);
    line-height: 0.96;
  }

  .dealer-copy p {
    font-size: 1rem;
  }

  .dealer-globe-layout {
    min-height: 0;
    height: clamp(390px, 72vw, 500px);
    margin-top: 8px;
  }

  .dealer-globe-shell {
    min-height: 0;
    height: 100%;
  }

  .dealer-globe {
    height: 100%;
  }

  .dealer-details {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    padding: 23px;
  }

  .dealer-advanced-fields,
  .dealer-results {
    grid-template-columns: 1fr;
  }

  .dealer-clear {
    justify-self: start;
  }
}
