/* Page Contact */

.contact-page
{
  background: #faf8f4;
}

.contact-hero
{
  position: relative;
  z-index: 2;
  min-height: 31rem;
  padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 7vw, 7rem) 0;
  overflow: visible;
  color: var(--color-white);
  background:
    linear-gradient(90deg, #09100ddd 0%, #09100d9c 44%, #09100d18 75%),
    url("../../images/eclaireurs-hero.png") center / cover;
}

.contact-hero__copy
{
  width: min(100%, 34rem);
}

.contact-hero h1
{
  margin: 0.7rem 0 1.2rem;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 1.04;
}

.contact-hero h1 span
{
  color: var(--color-yellow);
}

.contact-hero__line
{
  width: 4rem;
  height: 3px;
  margin: 1.4rem 0;
  background: var(--color-yellow);
}

.contact-hero__copy > p:last-child
{
  max-width: 28rem;
  line-height: 1.7;
}

.contact-channels
{
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 7vw, 7rem);
  bottom: -3.6rem;
  left: clamp(1.5rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-channel
{
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 7.2rem;
  padding: 1.3rem;
  border-radius: 0.85rem;
  color: var(--color-ink);
  background: #fff;
  box-shadow: 0 0.8rem 2rem #00000020;
  text-decoration: none;
}

.contact-channel img,
.contact-card__heading img,
.quick-answer img,
.faq__heading img
{
  width: 3.2rem;
  height: 3.2rem;
  padding: 0.75rem;
  border-radius: 50%;
  color: var(--color-ink);
  background: var(--color-yellow);
}

.contact-channel strong,
.contact-channel span
{
  display: block;
}

.contact-channel span
{
  margin-top: 0.3rem;
  color: #4d257e;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-main
{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  padding: 6rem clamp(1.5rem, 7vw, 7rem) 3rem;
}

.contact-card
{
  overflow: hidden;
  border: 1px solid #e5e0d7;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 0.8rem 2rem #0000000b;
}

.contact-card__body
{
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-card__heading,
.faq__heading,
.quick-answer
{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-card__heading h2,
.faq__heading h2
{
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  text-transform: uppercase;
}

.contact-form
{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea
{
  width: 100%;
  padding: 1rem;
  border: 1px solid #ded8ce;
  border-radius: 0.45rem;
  color: var(--color-ink);
  font: inherit;
}

.contact-form input[name="subject"],
.contact-form textarea,
.contact-form button
{
  grid-column: 1 / -1;
}

.contact-form textarea
{
  min-height: 11rem;
  resize: vertical;
}

.contact-form button
{
  border: 0;
  cursor: pointer;
}

.office-details
{
  margin: 1.6rem 0;
  line-height: 1.65;
}

.office-details strong,
.office-details span
{
  display: block;
}

.office-details__hours
{
  margin-top: 1rem;
  color: #4d257e;
  font-weight: 700;
}

.office-map
{
  min-height: 18rem;
}

.office-map iframe
{
  display: block;
  width: 100%;
  min-height: 18rem;
  border: 0;
}

.faq
{
  width: min(100% - 3rem, 52rem);
  margin: 0 auto 3rem;
}

.faq__heading
{
  justify-content: center;
  margin-bottom: 1.5rem;
}

.faq details
{
  margin-top: 0.65rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid #e5e0d7;
  border-radius: 0.5rem;
  background: #fff;
}

.faq summary
{
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::after
{
  color: #4d257e;
  content: "+";
  font-size: 1.35rem;
}

.faq details[open] summary::after
{
  content: "\2212 ";
}

.faq details p
{
  margin: 1rem 0 0;
  color: #4f4b45;
  line-height: 1.65;
}

.quick-answer
{
  justify-content: space-between;
  padding: 1.4rem clamp(1.5rem, 7vw, 7rem);
  color: var(--color-ink);
  background: var(--color-yellow);
}

.quick-answer__text
{
  flex: 1;
}

.quick-answer h2,
.quick-answer p
{
  margin: 0;
}

.quick-answer p
{
  margin-top: 0.25rem;
}

.button--whatsapp
{
  border-color: #128c4b;
  color: #fff;
  background: #25d366;
}

.button--whatsapp:hover
{
  background: #128c4b;
}

.button--whatsapp img
{
  width: 1.35rem;
  height: 1.35rem;
}

@media (max-width: 800px)
{
  .contact-hero
  {
    padding-bottom: 0;
  }

  .contact-channels,
  .contact-main
  {
    grid-template-columns: 1fr;
  }

  .contact-channels
  {
    position: static;
    margin-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .contact-main
  {
    padding-top: 3rem;
  }
}

@media (max-width: 560px)
{
  .contact-hero {
    min-height: 0;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .contact-hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }

  .contact-main {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .faq {
    width: calc(100% - 2rem);
  }

  .contact-form
  {
    grid-template-columns: 1fr;
  }

  .contact-form input[name="subject"],
  .contact-form textarea,
  .contact-form button
  {
    grid-column: auto;
  }

  .quick-answer
  {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .quick-answer .button {
    width: 100%;
  }
}
