/**
 * Frontend styles for the hero block.
 */
:root {
  --bg-dark: #000;
  --bg-mid: #f5f8fb;
  --cyan: #13b8ea;
  --text: #e8f0fa;
  --ink: #111827;
  --soft: #f3f7fc;
  --line: #ebf2fa;
  --icon: #415c82;
}

.hero {
  background: top center url("https://www.ima.pe/wp-content/uploads/2026/05/hero-cars.avif") no-repeat;
  background-size: cover;
}

.hero .container {
  display: flex;
  justify-items: center;
  align-items: start;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero .information {
  padding: 2rem 4rem 4rem 0;
  text-align: left;
}

.hero .information .kicker {
  color: var(--cyan);
  font-weight: bold;
  font-size: 0.8rem;
}

.hero .information h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0 24px;
  max-width: 500px;
  font-weight: bold;
  color: var(--text);
}

.hero .information h1 span {
  color: var(--cyan);
}

.hero .information .lead {
  font-size: 80%;
  line-height: 200%;
  border-left: 3px solid var(--cyan);
  padding-left: 0.5rem;
}

.hero .information .facts {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.hero .information .facts .item {
  flex: 1;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}

.hero .information .facts .item .icon {
  width: 50px;
  margin-right: 1rem;
  height: 50px;
  font-size: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero .information .facts .item img {
  width: 50px;
  margin-right: 1rem;
  border-radius: 0.5rem;
  height: 50px;
}

.hero .information .facts .item strong {
  display: block;
  font-size: 1rem;
  color: var(--cyan);
}

.hero .information .facts .item label {
  display: block;
  font-weight: bold;
}

.hero .information .download {
  display: flex;
  width: 100%;
  border: 1px solid var(--cyan);
  border-radius: 0.75rem;
  color: #fff;
  align-items: center;
  justify-items: center;
  text-decoration: none;
  line-height: 1.5rem;
  padding: 1rem 2rem;
  gap: 1rem;
}

.hero .information .download label {
  width: 100%;
}

.hero .information .download .icon {
  font-size: 2rem;
}

.hero .form {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.hero .form h2 {
  text-align: center;
  font-size: 1.3rem;
  max-width: 400px;
  margin: 0 auto 1rem;
}

.hero .form .subtitle {
  text-align: center;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.hero .form .disclaimer {
  font-size: 0.8rem;
  color: var(--ink);
  margin-top: 1rem;
  text-align: left;
  display: flex;
}

.hero .form .disclaimer .icon {
  margin-right: 0.5rem;
}

.hero .form p label {
  position: relative;
  margin-bottom: 0.5rem;
}

.hero .form .input-label {
  position: absolute;
  top: 0rem;
  left: 0.5rem;
  font-size: 0.6rem;
  z-index: 1;
}

.hero .form .wpcf7 input,
.hero .form .wpcf7 textarea {
  width: 100%;
  padding: 0.25rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
}

.hero .form .wpcf7 p {
  margin-bottom: 0;
}

.hero .form .wpcf7 textarea {
  height: 100px;
}

.hero .form .wpcf7 input[type=submit] {
  background: var(--bg-dark);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: bold;
}

.hero .form .wpcf7 input[type=submit]:hover {
  background: rgba(0, 0, 0, 0.5);
}

.hero .form .wpcf7 input[type=radio] {
  width: auto;
  margin-right: 0.5rem;
}

.hero .wpcf7-spinner {
  display: none;
}

.hero .form p > label {
  position: relative;
  margin-bottom: 16px;
  display: block;
}

.hero .form .options {
  margin-bottom: 24px;
}

.hero .form .options .icon {
  font-size: 1.5rem;
  color: var(--cyan);
  padding: 0.5rem 0;
}

.hero .form .wpcf7 p {
  margin-bottom: 24px;
}

.hero .form .wpcf7 .input-radio label {
  display: flex;
  align-items: center;
  justify-items: start;
  border: 1px solid var(--line);
  padding: 0 2rem 0 0.5rem;
  border-radius: 0.25rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.hero .form .wpcf7-list-item {
  display: flex;
  gap: 0.25rem;
  margin-left: 0;
}

.hero .form .wpcf7-list-item strong {
  display: block;
}

.hero form .wpcf7-list-item-label {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.25rem;
}

.hero form .wpcf7-list-item-label div {
  width: calc(100% - 60px);
  font-size: 0.75rem;
}

.hero .cf7sr-g-recaptcha {
  margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    align-items: center;
  }
  .hero .information {
    padding: 2rem 0 2rem 0;
  }
  .hero .form {
    margin-top: 0;
    margin-bottom: 2rem;
  }
}
@media (max-width: 768px) {
  .hero .information h1 {
    font-size: 2rem;
    max-width: 100%;
  }
  .hero .information .facts {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .hero .information .facts .item {
    flex: 0 0 calc(50% - 0.75rem);
  }
}
@media (max-width: 576px) {
  .hero .information h1 {
    font-size: 1.5rem;
  }
  .hero .information .lead {
    font-size: 75%;
  }
  .hero .information .facts {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hero .information .facts .item {
    flex: 1 1 100%;
  }
  .hero .information .download {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
  .hero .information .download label {
    width: 100%;
    text-align: left;
  }
}
