/* Hero: black background with the logo's golden sun and stripes behind a fleet car, plus the quick-quote bar */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + var(--space-6));
  background:
    radial-gradient(120% 70% at 85% 30%, rgb(212 175 55 / 0.16), transparent 60%),
    var(--negro);
  color: rgb(255 255 255 / 0.93);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}

.hero h1 {
  color: var(--blanco);
}

.hero__lead {
  max-width: 34rem;
  margin-top: var(--space-4);
  font-size: var(--fs-lg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* Logo-inspired artwork: sun disc cut by horizontal stripes, car in front */
.hero__art {
  position: relative;
  aspect-ratio: 1.25;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
}

.hero__sun {
  position: absolute;
  left: 50%;
  top: 4%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 40%, var(--oro-claro), var(--oro) 55%, var(--oro-letras));
  box-shadow: 0 0 80px rgb(212 175 55 / 0.35);
  /* Lower part of the disc is cut into stripes like the CANÁ logo */
  -webkit-mask: linear-gradient(#000 0 56%, transparent 56% 60%, #000 60% 66%, transparent 66% 70%, #000 70% 75%, transparent 75% 79%, #000 79% 83%, transparent 83%);
  mask: linear-gradient(#000 0 56%, transparent 56% 60%, #000 60% 66%, transparent 66% 70%, #000 70% 75%, transparent 75% 79%, #000 79% 83%, transparent 83%);
}

.hero__stripes {
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 9%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--oro) 20% 80%, transparent);
  opacity: 0.7;
}

.hero__car {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 96%;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 18px rgb(0 0 0 / 0.55));
}

/* Quick quote bar (Hertz-style search box) */
.quick {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--blanco);
  color: var(--texto);
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--oro);
}

.quick__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 1.35rem;
}

.quick__title .bi {
  color: var(--oro-letras);
}

.quick__field {
  display: grid;
  gap: var(--space-1);
}

.quick__field label {
  font-weight: 700;
  font-size: var(--fs-sm);
}

.quick__submit {
  align-self: end;
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3) var(--space-4);
  padding-block: var(--space-6) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blanco);
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__facts .bi {
  flex: none;
  color: var(--oro);
  font-size: 1.25rem;
}

.hero .wave {
  margin-top: var(--space-4);
}

@media (min-width: 600px) {
  .quick {
    grid-template-columns: 1fr 1fr;
  }

  .quick__title,
  .quick__field--wide,
  .quick__submit {
    grid-column: 1 / -1;
  }
}

@media (min-width: 960px) {
  .hero {
    padding-top: calc(var(--header-h) + var(--space-7));
  }

  .hero__inner {
    grid-template-columns: 1.05fr 1fr;
    gap: var(--space-7);
  }

  .hero__art {
    margin-right: -2rem;
  }

  .quick {
    grid-template-columns: auto 1fr 1fr 1.4fr auto;
    align-items: end;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
  }

  .quick__title {
    grid-column: auto;
    align-self: center;
    max-width: 8rem;
    font-size: 1.25rem;
  }

  .quick__field--wide,
  .quick__submit {
    grid-column: auto;
  }

  .hero__facts {
    grid-template-columns: repeat(4, auto);
    justify-content: space-between;
    font-size: var(--fs-base);
  }
}

/* Hero eyebrow: a touch brighter and larger than the default eyebrow so it reads clearly on black */
.hero .eyebrow {
  color: #e6c75c;
  font-size: 0.9rem;
}
