/* ==================================================
   CONTACT
================================================== */

/* ==================================================
   CONTACT SECTION
================================================== */

.contact {
  background: #000612;
  padding-block: 5rem;
}

/* ==================================================
   CONTACT LAYOUT
================================================== */

.contact__layout {
  display: grid;

  grid-template-columns:
    1fr
    1.2fr
    0.8fr;

  gap: 3rem;

  align-items: center;
}

/* ==================================================
   CONTACT CONTENT
================================================== */

.contact__content {
  max-width: 380px;
}

.contact__eyebrow {
  display: inline-block;

  margin-bottom: 1.5rem;
  padding: 0.25rem 0.7rem;

  background: rgba(30, 41, 59, 0.55);

  border-radius: 4px;

  color: #526ff5;

  font-size: 0.75rem;
  font-weight: 500;

  letter-spacing: 2px;
  text-transform: uppercase;
}

.contact__title {
  margin-bottom: 1rem;

  color: #f1f5f9;

  font-size: 2rem;
  font-weight: 700;

  line-height: 1.2;
}

.contact__description {
  margin-bottom: 1.5rem;

  color: #94a3b8;

  font-size: 0.9rem;

  line-height: 1.7;
}

/* ==================================================
   CONTACT BUTTON
================================================== */

.contact__button {
  display: inline-flex;

  align-items: center;

  gap: 0.75rem;

  padding: 0.7rem 1.25rem;

  font-size: 0.85rem;
}

.contact__button i {
  font-size: 0.75rem;
}

/* ==================================================
   TESTIMONIAL
================================================== */

.testimonial {
  position: relative;

  margin: 0;

  padding: 1.5rem;

  background: rgba(7, 16, 35, 0.55);

  border: 1px solid rgba(148, 163, 184, 0.2);

  border-radius: 0.6rem;
}

/* ==================================================
   TESTIMONIAL QUOTE
================================================== */

.testimonial__quote {
  margin-bottom: 0.75rem;

  color: #526ff5;

  font-size: 2rem;

  line-height: 1;
}

.testimonial__text {
  margin-bottom: 1.5rem;

  color: #cbd5e1;

  font-size: 0.85rem;

  line-height: 1.7;
}

/* ==================================================
   TESTIMONIAL AUTHOR
================================================== */

.testimonial__author {
  display: flex;

  align-items: center;

  gap: 0.75rem;
}

.testimonial__avatar {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  width: 2.5rem;
  height: 2.5rem;

  background: linear-gradient(135deg, #526ff5, #7b4deb);

  border-radius: 50%;

  color: #ffffff;

  font-size: 0.7rem;
  font-weight: 600;
}

.testimonial__info {
  display: flex;

  flex-direction: column;

  gap: 0.15rem;
}

.testimonial__name {
  color: #f1f5f9;

  font-size: 0.8rem;
}

.testimonial__role {
  color: #94a3b8;

  font-size: 0.7rem;
}

/* ==================================================
   SOCIAL
================================================== */

.contact__social {
  align-self: stretch;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

/* ==================================================
   SOCIAL LINKS
================================================== */

.social-links {
  display: flex;

  align-items: center;

  gap: 1rem;

  margin: 0 0 1.75rem;
  padding: 0;

  list-style: none;
}

.social-links__link {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 2rem;
  height: 2rem;

  color: #e6e7e8;

  font-size: 1.25rem;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.social-links__link:hover {
  color: #526ff5;

  transform: translateY(-3px);
}

/* ==================================================
   CONTACT INFORMATION
================================================== */

.contact-info {
  display: flex;

  flex-direction: column;

  gap: 0.9rem;

  margin: 0;

  padding: 0;

  font-style: normal;
}

.contact-info__item {
  display: flex;

  align-items: center;

  gap: 0.75rem;

  color: #94a3b8;

  font-size: 0.8rem;

  transition: color 0.25s ease;
}

.contact-info__item i {
  width: 1rem;

  color: #7b4deb;

  font-size: 0.85rem;

  text-align: center;
}

.contact-info__item:hover {
  color: #e6e7e8;
}

/* ==================================================
   TABLET
   1024px
================================================== */

@media (max-width: 1024px) {
  .contact {
    padding-block: 4.5rem;
  }

  .contact__layout {
    grid-template-columns:
      1fr
      1.2fr;

    gap: 2rem;
  }

  .contact__social {
    grid-column: 1 / -1;

    display: flex;

    flex-direction: row;

    align-items: center;
    justify-content: space-between;

    gap: 2rem;

    padding-top: 1rem;

    border-top: 1px solid rgba(148, 163, 184, 0.12);
  }

  .contact__social .contact__eyebrow {
    margin: 0;
  }

  .social-links {
    margin: 0;
  }

  .contact-info {
    flex-direction: row;

    gap: 1.5rem;
  }
}

/* ==================================================
   MOBILE
   768px
================================================== */

@media (max-width: 768px) {
  .contact {
    padding-block: 4rem;
  }

  .contact__layout {
    grid-template-columns: 1fr;

    gap: 2.5rem;
  }

  /* Contact */

  .contact__content {
    max-width: 600px;

    margin-inline: auto;

    text-align: center;
  }

  .contact__title {
    font-size: 2rem;
  }

  .contact__description {
    max-width: 550px;

    margin-inline: auto;

    font-size: 0.9rem;
  }

  .contact__button {
    justify-content: center;
  }

  /* Testimonial */

  .testimonial {
    max-width: 600px;

    margin-inline: auto;

    padding: 1.5rem;
  }

  /* Social */

  .contact__social {
    grid-column: auto;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding-top: 0;

    border-top: none;

    text-align: center;
  }

  .contact__social .contact__eyebrow {
    margin-bottom: 0.75rem;
  }

  .social-links {
    justify-content: center;

    margin-bottom: 1.5rem;
  }

  .contact-info {
    align-items: center;

    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==================================================
   SMALL MOBILE
   480px
================================================== */

@media (max-width: 480px) {
  .contact {
    padding-block: 3.5rem;
  }

  .contact__layout {
    gap: 2rem;
  }

  /* Contact */

  .contact__eyebrow {
    font-size: 0.65rem;

    letter-spacing: 1.5px;
  }

  .contact__title {
    font-size: 1.75rem;
  }

  .contact__description {
    font-size: 0.85rem;

    line-height: 1.6;
  }

  .contact__button {
    padding: 0.65rem 1rem;

    font-size: 0.8rem;
  }

  /* Testimonial */

  .testimonial {
    padding: 1.25rem;
  }

  .testimonial__quote {
    font-size: 1.75rem;
  }

  .testimonial__text {
    font-size: 0.8rem;

    line-height: 1.6;
  }

  .testimonial__avatar {
    width: 2.25rem;
    height: 2.25rem;

    font-size: 0.65rem;
  }

  .testimonial__name {
    font-size: 0.75rem;
  }

  .testimonial__role {
    font-size: 0.65rem;
  }

  /* Social */

  .contact-info {
    flex-wrap: wrap;
    justify-content: center;
  }

  .social-links {
    gap: 0.75rem;
  }

  .social-links__link {
    font-size: 1.1rem;
  }

  .contact-info__item {
    font-size: 0.75rem;
  }
}
