main .container {
  width: 962px;
}

#hero {
  background: var(--dark-blue);
  padding: 76px 0 83px 0;
  background-image: url('../images/contact-header.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#hero .title {
  text-align: center;
  text-transform: uppercase;
  color: #fff;
}

#choice {
  margin: 50px 0 50px 0;
}

#choice .title {
  text-align: center;
  margin-bottom: 28px;
}

#choice .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

#choice a {
  height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  color: #000;
  font-family: 'Normalidad Wide';
  font-weight: 700;
  font-size: 18px;
  line-height: 1em;
  text-transform: uppercase;
  border-radius: 8px;
}

#choice a.active,
#choice a:hover {
  color: #fff;
  background: var(--light-blue);
  text-decoration: none;
}

#choice a.active img,
#choice a:hover img {
  filter: invert(1);
}

#locations {
  margin-bottom: 100px;
}

#locations .title {
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 50px;
}

#locations .loc {
  margin-top: 54px;
}

#locations .container .loc:last-of-type {
  border-top: 10px solid #EAEAEA;
  padding-top: 54px;
  margin-top: 70px;
}

#locations .container .loc:last-of-type .title {
  margin-bottom: 33px;
}

#locations .inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 125px;
}

#locations .with-box .inner {
  grid-template-columns: repeat(2, 1fr);
}

#locations .text-title {
  padding-bottom: 20px;
  border-bottom: 2px solid #666666;
}

#locations .text {
  color: #666666;
  font-size: 24px;
  line-height: 146%;
  font-weight: 400;
  padding-top: 17px;
}

#locations .box {
  background: #FAFAFA;
  padding: 43px 33px 32px 26px;
  margin-top: 76px;
}

#locations .box .title {
  line-height: 1em;
  margin-bottom: 15px;
  text-transform: none;
}

#locations .box-inner {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 2px solid #666666;
}

#locations .box-inner a[href^="tel"],
#locations .box-inner a[href^="tel"]:hover {
  color: #000;
  text-decoration: underline;
}

.choice-box {
  margin-bottom: 90px;
}

.choice-box .inner {
  background: #fafafa;
  border: 1px solid #EAEAEA;
  border-radius: 16px;
  padding: 64px;
  margin: 0 auto;
}

.choice-box .title {
  text-transform: uppercase;
}

#form .bottom,
#form_2 .bottom {
  margin-top: 61px;
}

#form_2 form,
#form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#form_2 form p,
#form form p {
  margin-bottom: 0;
}

#form_2 form p:nth-child(n+6),
#form form p:nth-child(n+6) {
  grid-column: -1 / 1;
}


#team .title {
  text-align: center;
  margin-bottom: 48px;
}

#team a {
  display: flex;
  justify-content: end;
  align-items: end;
  min-height: 473px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px 42px;
  width: 100%;
  border-radius: 15px;
  text-decoration: none !important;
}

#team .bottom {
  display: flex;
  gap: 16px;
  position: relative;
}

#team .img {
  position: absolute;
  top: -50px;
  left: 25px;
}

#support .title {
  margin-bottom: 57px;
}

#support p {
  margin-bottom: 22px;
}

#support .inner p:last-child {
  border-top: 1px solid #EAEAEA;
  margin-bottom: 0;
  padding-top: 22px;
  width: fit-content;
}

@media screen and (max-width: 992px) {
  #team .bottom {
    flex-direction: column;
    width: fit-content;
    margin: 0 auto;
  }

  #team a {
    max-width: 380px;
  }
}

@media screen and (max-width: 768px) {
  #hero {
    padding: 60px 0;
  }

  #locations .with-box .inner2 {
    grid-template-columns: 1fr;
  }

  #locations .inner {
    grid-template-columns: repeat(2, 1fr);
  }

  #locations .box-inner {
    max-width: 50%;
  }

  .choice-box .inner {
    padding: 24px;
  }

  #locations .box-inner {
    flex-direction: column;
    padding: 20px 0 0 0;
  }

  #locations .container .loc:last-of-type {
    padding-top: 40px;
    margin-top: 30px;
  }

  #support .title {
    margin-bottom: 30px;
  }

  .choice-box {
    margin-bottom: 50px;
  }
}

@media screen and (max-width: 567px) {
  #locations {
    margin-bottom: 50px;
  }

  #locations .title {
    font-size: 24px;
    line-height: 1.2em;
  }

  #locations .text-title {
    padding-bottom: 0.5em;
  }

  #locations .text-title,
  #locations .text,
  #locations .box p:first-child strong,
  #locations .box p {
    font-size: 18px;
    line-height: 1.38em;
  }

  #locations .box p {
    max-width: 230px;
  }

  #locations .box-inner {
    padding: 0 20px 20px 20px;
  }

  #locations .inner,
  #locations .with-box .inner {
    grid-template-columns: 1fr;
  }

  #locations .box-inner {
    max-width: 100%;
  }

  #locations .title {
    margin-bottom: 30px;
  }

  #locations .box {
    margin-top: 50px;
  }
}

@media screen and (max-width: 480px) {
  #team a {
    padding: 20px;
  }

  #team a span {
    font-size: 12px;
    padding: 0;
    width: 100%;
    text-align: center;
  }

  #team .bottom {
    width: 100%;
  }
}

@media screen and (max-width: 360px) {
  #team a span {
    font-size: 10px;
  }
}