@import url("../estilo/font-awesome.min.css");

.contact-modern {
  padding: 78px 0 62px;
  background: #0c2932;
  color: #fff;
}

.contact-intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.contact-intro .eyebrow {
  margin-bottom: 13px;
}

.contact-intro h2 {
  max-width: 700px;
  margin: 0;
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.contact-intro > p:last-child {
  max-width: 590px;
  margin: 13px 0 0;
  color: #bfd1d2;
  font-size: 15px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .96fr);
  align-items: stretch;
  gap: 38px;
}

.contact-request-form {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 15px;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 18px;
}

.contact-fields label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: #f5fbfa;
  font-size: 13px;
  font-weight: 700;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-fields input,
.contact-fields select,
.contact-fields textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  outline: 0;
  background: #f7faf9;
  color: #18353c;
  font: 400 15px/1.4 'DM Sans', Arial, sans-serif;
  letter-spacing: 0;
}

.contact-fields input,
.contact-fields select {
  height: 46px;
  padding: 0 15px;
}

.contact-fields textarea {
  min-height: 112px;
  padding: 12px 15px;
  resize: vertical;
}

.contact-fields input::placeholder,
.contact-fields textarea::placeholder {
  color: #78868a;
  opacity: 1;
}

.contact-fields input:focus,
.contact-fields select:focus,
.contact-fields textarea:focus {
  border-color: #74d1b3;
  box-shadow: 0 0 0 3px rgba(116, 209, 179, .18);
}

.contact-submit {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  background: #77cbb1;
  color: #073e48;
  font: 700 14px 'DM Sans', Arial, sans-serif;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.contact-submit:hover {
  transform: translateY(-1px);
  background: #8bd8c1;
}

.contact-submit:focus-visible {
  outline: 3px solid #e1a83d;
  outline-offset: 3px;
}

.contact-form-status {
  padding: 11px 13px;
  border-left: 3px solid #77cbb1;
  background: rgba(255, 255, 255, .11);
  color: #f5fbfa;
  font-size: 13px;
}

.contact-form-status[hidden] {
  display: none;
}

.contact-form-status[data-status="warning"],
.contact-form-status[data-status="error"] {
  border-left-color: #e1a83d;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.contact-form-note {
  margin: -7px 0 0;
  color: #a8c1c1;
  font-size: 12px;
}

.contact-map {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.contact-map-heading {
  display: flex;
  min-height: 34px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.contact-map-heading h3 {
  margin: 0;
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0;
}

.contact-map-heading a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8bd8c1;
  font-size: 12px;
  font-weight: 700;
}

.contact-map iframe {
  display: block;
  width: 100%;
  min-height: 396px;
  flex: 1;
  border: 0;
  border-radius: 6px;
  background: #dce8e5;
}

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
  border-top: 1px solid rgba(225, 242, 239, .2);
}

.contact-channel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
  padding: 21px 22px 5px 0;
  color: #fff;
}

.contact-channel + .contact-channel {
  padding-left: 22px;
  border-left: 1px solid rgba(225, 242, 239, .2);
}

.contact-channel-label {
  margin-bottom: 3px;
  color: #8bd8c1;
  font-size: 10px;
  font-weight: 800;
}

.contact-channel strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 700;
}

.contact-channel small {
  color: #b9cdcd;
  font-size: 12px;
}

.whatsapp-float {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 10px;
  padding: 0 18px 0 15px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  background: #18a96b;
  box-shadow: 0 8px 24px rgba(3, 28, 25, .27);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.whatsapp-float .fa-whatsapp {
  color: #fff;
  font-size: 27px;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  background: #128c5c;
  box-shadow: 0 11px 27px rgba(3, 28, 25, .34);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #e1a83d;
  outline-offset: 3px;
}

@media (max-width: 850px) {
  .contact-modern {
    padding: 62px 0 48px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
    gap: 24px;
  }

  .contact-map iframe {
    min-height: 420px;
  }

  .contact-channels {
    margin-top: 36px;
  }
}

@media (max-width: 680px) {
  .contact-intro {
    margin-bottom: 27px;
  }

  .contact-intro h2 {
    font-size: 32px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-map iframe {
    min-height: 350px;
    flex: initial;
  }

  .contact-channels {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .contact-channel,
  .contact-channel + .contact-channel {
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(225, 242, 239, .16);
  }
}

@media (max-width: 420px) {
  .contact-modern {
    padding: 48px 0 36px;
  }

  .contact-intro h2 {
    font-size: 29px;
  }

  .contact-fields {
    gap: 12px 10px;
  }

  .contact-fields label {
    font-size: 12px;
  }

  .contact-fields input,
  .contact-fields select {
    padding: 0 11px;
    font-size: 14px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-links a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: #fff;
  font-size: 17px;
  transition: background .2s ease, color .2s ease;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  background: #fff;
  color: #12343b;
}

@media (max-width: 850px) {
  .footer-social-links {
    width: 100%;
  }
}
