.contact {
  position: relative;
  padding: 140px 0 45px;
  background: #ffffff;
  overflow: hidden;
}

.contact-container {
  width: min(1380px, calc(100% - 80px));
  margin: 0 auto;
}

/* =========================================================
       HEADER
    ========================================================= */

.contact-header {
  display: grid;
  gap: 20px;
  align-items: start;
  margin-bottom: 70px;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4e9f70;
}

.contact-label-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #4e9f70;
}

.contact-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 70px;
}

.contact-intro h2 {
  max-width: 760px;

  font-size: clamp(50px, 5.5vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.055em;

  font-weight: 400;

  color: #0b2745;
}

.contact-intro h2 strong {
  font-weight: 700;
}

.contact-intro p {
  max-width: 300px;
  flex-shrink: 0;

  padding-bottom: 5px;

  font-size: 15px;
  line-height: 1.65;

  color: #5b6573;
}

/* =========================================================
       CONTENT
    ========================================================= */

.contact-content {
  display: grid;
  grid-template-columns: 1.55fr 0.75fr;
  gap: 24px;
  align-items: stretch;
}

/* =========================================================
       FORM
    ========================================================= */

.contact-form-wrapper {
  padding: 42px;

  border: 1px solid rgba(18, 59, 109, 0.12);

  background: #ffffff;
}

.contact-form-header {
  display: flex;
  align-items: center;
  gap: 18px;

  margin-bottom: 38px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;

  color: #123b6d;
}

.contact-form-line {
  width: 70px;
  height: 1px;

  background: rgba(18, 59, 109, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.contact-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #5b6573;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;

  border: 0;
  border-bottom: 1px solid #dce3e9;

  border-radius: 0;

  outline: none;

  background: transparent;

  color: #0b2745;

  font-size: 14px;

  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.contact-field input,
.contact-field select {
  height: 48px;
}

.contact-field textarea {
  min-height: 125px;

  padding: 13px 0;

  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #a4adb7;
}

.contact-field select {
  appearance: none;

  cursor: pointer;

  padding-right: 30px;

  background-image: linear-gradient(45deg, transparent 50%, #123b6d 50%),
    linear-gradient(135deg, #123b6d 50%, transparent 50%);

  background-position: calc(100% - 14px) 21px, calc(100% - 9px) 21px;

  background-size: 5px 5px, 5px 5px;

  background-repeat: no-repeat;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: #4e9f70;
}

/* =========================================================
       FORM FOOTER
    ========================================================= */

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;

  margin-top: 12px;
  padding-top: 25px;

  border-top: 1px solid rgba(18, 59, 109, 0.1);
}

.contact-form-footer p {
  max-width: 390px;

  font-size: 12px;
  line-height: 1.6;

  color: #8a949f;
}

/* =========================================================
       SUBMIT BUTTON
    ========================================================= */

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;

  min-width: 205px;
  height: 56px;

  padding: 0 12px 0 22px;

  border: 0;

  background: #0b2745;
  color: #ffffff;

  cursor: pointer;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-submit:hover {
  background: #123b6d;
  transform: translateY(-2px);
}

.contact-submit-icon {
  width: 22px;
  height: 22px;

  flex-shrink: 0;

  transition: transform 0.3s ease;
}

.contact-submit:hover .contact-submit-icon {
  transform: translate(3px, -2px);
}

/* =========================================================
       DIRECT CONTACT
    ========================================================= */

.contact-direct {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 100%;

  padding: 38px 34px;

  overflow: hidden;

  background: #0b2745;
  color: #ffffff;
}

.contact-direct::after {
  content: "";

  position: absolute;

  width: 330px;
  height: 330px;

  right: -180px;
  bottom: -150px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  transform: rotate(45deg);

  pointer-events: none;
}

.contact-direct-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding-bottom: 24px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-direct-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.contact-direct-status {
  display: flex;
  align-items: center;
  gap: 7px;

  font-size: 10px;

  color: rgba(255, 255, 255, 0.5);
}

.contact-direct-status span {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #4e9f70;

  box-shadow: 0 0 0 4px rgba(78, 159, 112, 0.1);
}

.contact-direct-main {
  margin-top: 45px;
}

.contact-direct-main h3 {
  margin-bottom: 18px;

  font-size: clamp(30px, 2.7vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.045em;

  font-weight: 400;
}

.contact-direct-main h3 strong {
  font-weight: 700;
}

.contact-direct-main p {
  max-width: 330px;

  font-size: 13px;
  line-height: 1.65;

  color: rgba(255, 255, 255, 0.62);
}

/* =========================================================
       CONTACT DATA
    ========================================================= */

.contact-direct-data {
  display: flex;
  flex-direction: column;

  margin-top: auto;
  padding-top: 45px;
}

.contact-direct-data a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;

  padding: 15px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  transition: padding-left 0.3s ease;
}

.contact-direct-data a:hover {
  padding-left: 5px;
}

.contact-data-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;

  color: rgba(255, 255, 255, 0.4);
}

.contact-data-value {
  font-size: 13px;
  font-weight: 500;

  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
       WHATSAPP
    ========================================================= */

.contact-whatsapp {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-top: 25px;

  min-height: 56px;

  padding: 0 12px 0 20px;

  background: #4e9f70;
  color: #ffffff;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-whatsapp:hover {
  background: #ffffff;
  color: #0b2745;
  transform: translateY(-2px);
}

.contact-whatsapp-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;

  color: #ffffff;

  transition: transform 0.3s ease;
}

.contact-whatsapp:hover .contact-whatsapp-icon {
  color: #0b2745;
  transform: translateY(-2px);
}

/* =========================================================
       BOTTOM
    ========================================================= */

.contact-bottom {
  display: flex;
  align-items: center;
  gap: 14px;

  margin-top: 55px;
  padding-top: 22px;

  border-top: 1px solid rgba(18, 59, 109, 0.1);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;

  color: #9aa5b1;
}

.contact-bottom i {
  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: #4e9f70;
}

/* =========================================================
       RESPONSIVE
    ========================================================= */

@media (max-width: 1050px) {
  .contact-header {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-label {
    padding-top: 0;
  }

  .contact-intro {
    width: 100%;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .contact-direct {
    min-height: auto;
  }

  .contact-direct-data {
    margin-top: 45px;
  }
}

@media (max-width: 700px) {
  .contact {
    padding: 90px 0 35px;
  }

  .contact-container {
    width: min(100% - 40px, 1380px);
  }

  .contact-header {
    margin-bottom: 50px;
  }

  .contact-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .contact-intro h2 {
    font-size: 48px;
  }

  .contact-intro p {
    max-width: 100%;
  }

  .contact-form-wrapper {
    padding: 28px 22px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form-footer p {
    max-width: 100%;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-direct {
    padding: 30px 24px;
  }

  .contact-direct-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-direct-main {
    margin-top: 35px;
  }

  .contact-direct-main h3 {
    font-size: 36px;
  }

  .contact-bottom {
    flex-wrap: wrap;
    gap: 10px;
    line-height: 1.5;
  }
}
