.hero .container {
  padding: 12em 0 6em 0;
}
.hero--content {
  width:100%;
  text-align:center;
}
.hero--content p {
  margin:24px 0 0 0;
}

/* form settings */
.ButtonBase__Ellipsis-sc-p43e7i-5.dqiKFy {
  color:#fff;
}
/* Cars */
.section--cars {
  padding:6em 0 0 0;
}
.section--cars .subtitle {
  text-align: center;
}

.section-cars_switch {
  display: flex;
  max-width: 800px;
  text-align: center;
  align-items: center;
  gap:16px;
  justify-content: center;
  margin: 0 auto;
  flex-wrap: wrap;
}

.switch-button {
  border-radius:60px;
}

.switch-button p{
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 0.6em 2em;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.2s ease-out;
  border:3px solid #28814E;
}

.switch-button p i {
  transition: all 0.2s ease-out;
}

.switch-button p:hover{
  background: #28814E;
  color:#fff;
}
.switch-button p:hover i {
  color:#fff;
}

.switch-active {
  background: #28814E;
}

.switch-active p,
.switch-active p i {
  color: #fff;
}

.cars--grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 3em 0;
  justify-content: flex-start;
  transition: opacity 0.2s ease;
  opacity: 1;
}

.cars--grid.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.car--item {
  flex: 1 1 300px;
  max-width: 378px;
  text-align: center;
  position: relative;
  cursor: pointer;
}
.car--item h3 {
  transition: all 0.2s ease-out;
}
.car--item picture {
  display: block;
  aspect-ratio: 1.3 / 1;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  margin-bottom: 1em;
}
.car--item picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}
.car--item:hover picture img {
  transform: scale(1.05);
}
.car--price-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: inset 0 0 0 2.5px #28814E;
  border-radius: 60px;
  padding-left: 1.6em;
  margin-top: 1em;
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease-out;
  background-color: #fff;
}
.car--price {
  transition: all 0.2s ease-out;
  overflow: hidden;
  white-space: nowrap;
}
.car--button {
  background: #28814E;
  padding: 0.6em 1.6em;
  border-radius: 60px;
  color: #fff;
  font-size: 1.2em;
  font-weight: 600;
  position: relative;
  transition: all 0.2s ease-out;
  flex-shrink: 0;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  min-width: fit-content;
}
.car--item:hover h3 {
  color: #28814E;
}
.car--item:hover .car--price {
  opacity: 0;
  max-width: 0;
  pointer-events: none;
}
.car--item:hover .car--button {
  flex: 1;
  padding-left: 0;
  padding-right: 0;
  border-radius: 10px;
}
.car--item:hover .car--price-container {
  padding-left: 0;
}
@media (max-width: 780px) {
  .car--item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Contact section */
.contact_wrapper {
  display:flex;
  flex-wrap:wrap;
  justify-content: space-between;
}
.contact-info_left {
  width:384px;
  max-width:100%;
}
.contact-info_right {
  width:784px;
  max-width:100%;
  background:#fff;
  border-radius:10px;
}
.contact-info_left h2 {
  text-align:left;
}
.contact-info_icons{
  padding:24px;
  display:flex;
  flex-direction:column;
  gap:24px;
  border-radius:10px;
  background:#fff;
  margin-bottom:24px;
}
.icons_item {
  display:flex;
  align-items:center;
  gap:24px;
}
.icons_item i {
  font-size: 2em;
  color:#28814E;
}
