/* =========================================================
   CONTACT PAGE
========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  color: #111111;

  font-family: Arial, Helvetica, sans-serif;
}

.contact-page {
  width: 100%;
}

/* =========================================================
   CONTACT FORM SECTION
========================================================= */

.contact-form-section {
  width: 100%;

  padding: 0 0 40px;

  background: #ffffff;
}

.contact-container {
  width: min(1010px, 92%);

  margin: 0 auto;
}

/* =========================================================
   TITLE
========================================================= */

.contact-container h1 {
  margin: 0;

  padding: 0 0 25px;

  color: #222222;

  font-size: 42px;
  font-weight: 400;

  line-height: 1.2;

  text-align: center;
}

/* =========================================================
   FORM
========================================================= */

.contact-form {
  width: 100%;
}

.contact-form-group {
  width: 100%;

  margin-bottom: 28px;
}

.contact-form-group label {
  display: block;

  margin-bottom: 6px;

  color: #222222;

  font-size: 11px;
  font-weight: 500;

  line-height: 1.2;
}

.contact-form-group input,
.contact-form-group textarea {
  display: block;

  width: 100%;

  border: 1px solid #d4d4d4;

  border-radius: 0;

  background: #ffffff;

  color: #111111;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 14px;

  outline: none;
}

.contact-form-group input {
  height: 37px;

  padding: 0 9px;
}

.contact-form-group textarea {
  height: 37px;

  padding: 8px 9px;

  resize: vertical;
}

.contact-form-group input::placeholder {
  color: #75808b;
}

.contact-form-group textarea:focus,
.contact-form-group input:focus {
  border-color: #8ab4f8;
}

/* =========================================================
   SUBMIT
========================================================= */

.contact-submit {
  width: 90px;
  height: 36px;

  border: 0;

  background: #eeeeee;
  color: #222222;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 13px;

  cursor: pointer;
}

.contact-submit:hover {
  background: #dddddd;
}

/* =========================================================
   LOCATION SECTION
========================================================= */

.contact-location-section {
  width: 100%;

  padding: 5px 0 40px;

  background: #ffffff;
}

.contact-location-container {
  width: min(1010px, 92%);

  margin: 0 auto;

  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 18px;

  align-items: center;
}

/* =========================================================
   MAP
========================================================= */

.contact-map {
  position: relative;

  width: 100%;

  height: 270px;

  overflow: hidden;
}

.contact-map iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}

/* =========================================================
   OPEN MAP BUTTON
========================================================= */

.open-map-button {
  position: absolute;

  top: 8px;
  left: 8px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 118px;
  height: 34px;

  padding: 0 10px;

  background: #ffffff;
  color: #1473e6;

  border: 1px solid #d7d7d7;
  border-radius: 3px;

  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);

  text-decoration: none;

  font-size: 12px;
  font-weight: 500;
}

.open-map-button:hover {
  background: #f5f5f5;
}

/* =========================================================
   ADDRESS
========================================================= */

.contact-address {
  width: 100%;

  padding: 5px 0 0;
}

.contact-address h2 {
  margin: 0 0 18px;

  color: #111111;

  font-size: 20px;
  font-weight: 700;

  line-height: 1.2;
}

.office-address {
  margin: 0;

  max-width: 500px;

  color: #111111;

  font-size: 14px;
  font-weight: 600;

  line-height: 1.8;
}

.contact-phone {
  margin: 15px 0 0;

  display: flex;

  align-items: center;

  gap: 10px;

  color: #111111;

  font-size: 14px;
}

.phone-icon {
  width: 19px;
  height: 19px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  background: #72a57a;
  color: #ffffff;

  border-radius: 3px;

  font-size: 11px;
}

.contact-phone a {
  color: #222222;

  text-decoration: none;
}

.contact-phone a:hover {
  text-decoration: underline;
}

/* =========================================================
   BOTTOM HOME
========================================================= */

.contact-bottom {
  width: min(1010px, 92%);

  margin: 20px auto 0;

  display: flex;

  justify-content: flex-end;
}

.contact-bottom a {
  display: flex;

  align-items: center;
  justify-content: center;

  min-width: 120px;
  height: 38px;

  padding: 0 15px;

  background: #0870e8;
  color: #ffffff;

  border: 2px solid #000000;
  border-radius: 11px;

  text-decoration: none;

  font-size: 13px;
  font-weight: 700;
}

.contact-bottom a:hover {
  background: #0756c2;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .contact-container,
  .contact-location-container,
  .contact-bottom {
    width: 92%;
  }

  .contact-location-container {
    gap: 25px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .contact-container h1 {
    font-size: 34px;
  }

  .contact-location-container {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .contact-map {
    height: 300px;
  }

  .contact-address {
    text-align: center;
  }

  .office-address {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-phone {
    justify-content: center;
  }

  .contact-bottom {
    justify-content: center;

    margin-top: 30px;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {
  .contact-container h1 {
    font-size: 29px;
  }

  .contact-map {
    height: 250px;
  }

  .office-address {
    font-size: 13px;
  }
}
