/* Shared CF7 contact dialog, including the mobile bottom navigation trigger. */
body .ecoips-contact-popup {
  background: rgba(26, 42, 70, .48);
  backdrop-filter: blur(6px);
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
  overflow: auto;
  overscroll-behavior: contain;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
}
body .ecoips-contact-popup .popup {
  position: relative;
  inset: auto;
  display: block;
  width: min(100%, 480px);
  max-width: 100%;
  height: auto;
  max-height: none;
  margin: clamp(0px, 4vh, 40px) auto;
  padding: 32px 28px 28px;
  overflow: visible;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 20px 64px rgba(26, 42, 70, .2);
  color: #283c64;
  box-sizing: border-box;
}
body .ecoips-contact-popup .popup .popup-close {
  position: absolute;
  inset: 14px 14px auto auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e0f2ff;
  color: #283c64;
  cursor: pointer;
}
body .ecoips-contact-popup .popup .popup-close svg { width: 15px; height: 15px; }
body .ecoips-contact-popup .popup .popup-close path { stroke: currentColor; }
body .ecoips-contact-popup .popup .popup-close:hover { background: #0099ff; color: #fff; }
body .ecoips-contact-popup .popup .form { width: 100%; }
body .ecoips-contact-popup .popup .title {
  width: auto;
  margin: 0 30px 16px 0;
  color: #283c64;
  text-align: left;
  text-transform: none;
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.6px;
}
body .ecoips-contact-popup .popup .text {
  width: auto;
  margin: 0 0 24px;
  color: #7b878b;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: normal;
}
body .ecoips-contact-popup .popup form { width: 100%; margin: 0; display: block; }
body .ecoips-contact-popup .hidden-fields-container,
body .ecoips-contact-popup .wpcf7-response-output:empty,
body .ecoips-contact-popup .popup form > p > br { display: none; }
body .ecoips-contact-popup .screen-reader-response { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body .ecoips-contact-popup .popup form > p { display: flex; flex-direction: column; align-items: stretch; gap: 16px; margin: 0; }
body .ecoips-contact-popup .popup form > p > :is(span, button) { width: 100%; }
body .ecoips-contact-popup .popup form .wpcf7-form-control-wrap { display: block; width: 100%; }
body .ecoips-contact-popup .popup form .ecoips-inn-wrap { margin-top: 0; }
body .ecoips-contact-popup .popup form input:is([type="text"], [type="tel"], [type="email"]) {
  display: block;
  width: 100%;
  min-width: 0;
  height: 56px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #d3dfe2;
  border-radius: 0;
  background: transparent;
  color: #283c64;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: normal;
  box-sizing: border-box;
}
body .ecoips-contact-popup .popup form input::placeholder { color: #7b878b; opacity: 1; }
body .ecoips-contact-popup .popup form input:is([type="text"], [type="tel"], [type="email"]):focus { outline: none; border-bottom-color: #0099ff; box-shadow: 0 1px 0 #0099ff; }
body .ecoips-contact-popup .popup form input[aria-invalid="true"] { border-bottom-color: #c33d47; }
body .ecoips-contact-popup .popup form :is(button[type="submit"], input[type="submit"]) {
  position: relative;
  display: block;
  width: 100%;
  min-height: 54px;
  height: auto;
  margin: 8px 0 0;
  padding: 16px 48px 16px 24px;
  border: 0;
  border-radius: 100px;
  background: #0099ff;
  color: #fff;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  white-space: normal;
  cursor: pointer;
}
body .ecoips-contact-popup .popup form button[type="submit"]::after {
  position: absolute;
  inset: 50% 24px auto auto;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid currentColor;
  border-radius: 0;
  background: none;
  transform: translateY(-50%);
  content: '';
}
body .ecoips-contact-popup .popup form :is(button[type="submit"], input[type="submit"]):hover { background: #283c64; }
body .ecoips-contact-popup .popup form :is(button[type="submit"], input[type="submit"]):disabled { background: #b7c8d3; cursor: wait; }
body .ecoips-contact-popup .popup form .txt { width: auto; margin: 18px 0 0; text-align: left; color: #7b878b; font-size: 12px; line-height: 1.5; letter-spacing: normal; }
body .ecoips-contact-popup .popup form .txt p { margin: 0; }
body .ecoips-contact-popup .popup form .txt a { color: #008bdc; font: inherit; text-underline-offset: 2px; }
body .ecoips-contact-popup .popup form .wpcf7-not-valid-tip { width: auto; margin-top: 6px; color: #c33d47; font-size: 12px; line-height: 1.4; }
body .ecoips-contact-popup .popup form .wpcf7-response-output { margin: 16px 0 0; padding: 12px; border-radius: 10px; font-size: 13px; line-height: 1.4; }
@media (max-width: 991px) {
  body .bottom-mobile { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }
  body .bottom-mobile .box { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  body .bottom-mobile .box a { width: 100%; min-height: 44px; }
}
@media (max-width: 359px) {
  body .ecoips-contact-popup { padding-left: 12px; padding-right: 12px; }
  body .ecoips-contact-popup .popup { padding: 28px 20px 24px; border-radius: 22px; }
  body .ecoips-contact-popup .popup .title { font-size: 25px; }
}
