/* Inner Moxie Contact page */

.im-contact-hero {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  color: #ffffff;
  background:
    linear-gradient(
      rgba(20, 53, 63, 0.22),
      rgba(20, 53, 63, 0.55)
    ),
    url("../images/contact-hero.jpg") center / cover no-repeat;
  text-align: center;
}

.im-contact-hero__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.im-contact-hero h1,
.im-contact-hero p {
  color: inherit;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.3);
}

.im-contact-hero h1 {
  margin-bottom: 18px;
}

.im-contact-hero p {
  width: min(100%, 650px);
  margin-inline: auto;
}

.im-contact-main {
  padding: clamp(65px, 8vw, 105px) 0;
  background: var(--im-sand);
}

.im-contact-wrap {
  width: min(calc(100% - 42px), 1120px);
  margin-inline: auto;
}

.im-contact-panel {
  display: grid;
  overflow: hidden;
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(390px, 0.92fr);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(49, 127, 146, 0.14);
  border-radius: 24px;
  box-shadow: 0 24px 65px rgba(48, 80, 87, 0.15);
}

.im-contact-content {
  min-width: 0;
  padding: clamp(38px, 6vw, 68px);
}

.im-contact-content h2 {
  max-width: 600px;
  margin-bottom: 25px;
  color: var(--im-teal-dark);
}

.im-contact-intro {
  max-width: 650px;
  margin-bottom: 30px;
}

.im-contact-details {
  display: grid;
  margin: 30px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.im-contact-detail {
  display: flex;
  min-width: 0;
  padding: 18px;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(49, 127, 146, 0.13);
  border-radius: 12px;
}

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

.im-contact-detail__icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  color: #ffffff;
  background: var(--im-teal);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
}

.im-contact-detail__body {
  min-width: 0;
  flex: 1 1 auto;
}

.im-contact-detail strong {
  display: block;
  margin-bottom: 3px;
  color: var(--im-ink);
}

.im-contact-detail p {
  margin: 0;
  line-height: 1.55;
}

.im-contact-detail a {
  overflow-wrap: anywhere;
}

.im-contact-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}

.im-contact-email-note {
  margin-top: 24px;
  padding: 17px 19px;
  color: var(--im-muted);
  background: rgba(174, 215, 232, 0.35);
  border-radius: 9px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.im-contact-emergency {
  margin-top: 22px;
  padding: 18px 20px;
  color: #7b2e2e;
  background: #fff4f1;
  border: 1px solid rgba(159, 56, 56, 0.19);
  border-left: 5px solid #c25252;
  border-radius: 9px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.im-contact-emergency strong {
  display: block;
  margin-bottom: 5px;
}

.im-contact-map {
  min-width: 0;
  min-height: 100%;
  background: #2f2c27;
}

.im-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 650px;
  border: 0;
}

@media (max-width: 940px) {
  .im-contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .im-contact-hero {
    min-height: 310px;
  }

  .im-contact-wrap {
    width: min(calc(100% - 24px), 1120px);
  }

  .im-contact-panel {
    border-radius: 16px;
  }

  .im-contact-content {
    padding: 34px 22px;
  }

  .im-contact-details {
    grid-template-columns: 1fr;
  }

  .im-contact-detail--wide {
    grid-column: auto;
  }

  .im-contact-actions {
    flex-direction: column;
  }

  .im-contact-actions .im-button {
    width: 100%;
  }

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

/* CONTACT MAP EMAIL FOOTER REFINEMENTS */

.im-contact-panel {
  align-items: center;
}

.im-contact-detail--email {
  grid-column: 1 / -1;
}

.im-contact-detail--email a {
  white-space: nowrap;
}

.im-contact-map {
  height: 490px;
  min-height: 0;
  align-self: center;
  border-radius: 0;
}

.im-contact-map iframe {
  height: 100%;
  min-height: 0;
}

.footer-contact--address-only {
  display: block;
  width: auto;
  max-width: 240px;
  justify-self: end;
}

.footer-contact--address-only .footer-address {
  font-size: 0.95rem;
  line-height: 1.9;
}

@media (max-width: 980px) {
  .footer-contact--address-only {
    justify-self: start;
  }
}

@media (max-width: 940px) {
  .im-contact-map {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 620px) {
  .im-contact-detail--email {
    grid-column: auto;
  }

  .im-contact-detail--email a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .im-contact-map {
    height: 320px;
  }
}

/* CONTACT ICONS FINAL V3 START */

/*
 * Preserves the original Contact-page card layout.
 * Replaces S/T/E/A with centered SVG icons and fixes only
 * the awkward generated line breaks and action buttons.
 */

.im-contact-detail {
  align-items: center !important;
  gap: 15px !important;
}

/* Icon chips */

.im-contact-detail__icon {
  --im-contact-icon: none;

  position: relative !important;

  display: block !important;
  box-sizing: border-box !important;

  width: 44px !important;
  min-width: 44px !important;
  height: 44px !important;

  margin: 0 !important;
  padding: 0 !important;

  align-self: center !important;

  color: transparent !important;
  background: #e8f4f6 !important;

  border:
    1px solid rgba(52, 145, 166, 0.25) !important;

  border-radius: 12px !important;

  box-shadow:
    0 4px 12px rgba(52, 126, 145, 0.08) !important;

  font-size: 0 !important;
  line-height: 0 !important;
  text-indent: -9999px !important;

  overflow: hidden !important;
}

.im-contact-detail__icon br {
  display: none !important;
}

.im-contact-detail__icon::before {
  position: absolute !important;
  inset: 0 !important;

  display: block !important;

  width: 20px !important;
  height: 20px !important;

  margin: auto !important;

  content: "" !important;
  background: #277f94 !important;

  text-indent: 0 !important;

  -webkit-mask-image: var(--im-contact-icon) !important;
  mask-image: var(--im-contact-icon) !important;

  -webkit-mask-position: center !important;
  mask-position: center !important;

  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;

  -webkit-mask-size: contain !important;
  mask-size: contain !important;
}

/* Schedule calendar */

.im-contact-details
> .im-contact-detail:first-of-type
.im-contact-detail__icon {
  --im-contact-icon:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E");
}

/* Telephone */

.im-contact-details
> .im-contact-detail:not(.im-contact-detail--wide):not(.im-contact-detail--email)
.im-contact-detail__icon {
  --im-contact-icon:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

/* Email */

.im-contact-detail--email
.im-contact-detail__icon {
  --im-contact-icon:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

/* Office location */

.im-contact-details
> .im-contact-detail--wide:last-of-type
.im-contact-detail__icon {
  --im-contact-icon:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

/* Text area */

.im-contact-detail__body {
  display: flex !important;
  box-sizing: border-box !important;

  min-width: 0 !important;

  padding: 0 !important;

  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;

  text-align: left !important;
}

.im-contact-detail__body strong {
  display: block !important;

  margin: 0 0 5px !important;

  line-height: 1.25 !important;
}

.im-contact-detail__body p {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  line-height: 1.48 !important;

  white-space: normal !important;
  word-break: normal !important;
}

/*
 * WordPress inserted BR elements around the generated links.
 * Hide those artificial breaks while preserving the Office
 * address's intentional line break.
 */

.im-contact-details
> .im-contact-detail:first-of-type
.im-contact-detail__body br,

.im-contact-detail__body
a[href^="tel:"] br,

.im-contact-detail__body
a[href^="mailto:"] br {
  display: none !important;
}

.im-contact-details
> .im-contact-detail:first-of-type
.im-contact-detail__body p {
  max-width: 42ch !important;

  white-space: normal !important;
  overflow-wrap: normal !important;
}

.im-contact-detail__body
a[href^="tel:"] {
  display: inline-flex !important;

  align-items: center !important;

  white-space: nowrap !important;
  overflow-wrap: normal !important;

  line-height: 1.3 !important;
}

.im-contact-detail__body
a[href^="mailto:"] {
  display: inline-block !important;

  max-width: 100% !important;

  white-space: nowrap !important;
  overflow-wrap: normal !important;

  line-height: 1.3 !important;
}

/* Matching action buttons */

.im-contact-actions {
  display: grid !important;

  width: 100% !important;
  margin-top: 18px !important;

  grid-template-columns:
    repeat(2, minmax(0, 1fr)) !important;

  align-items: stretch !important;
  gap: 12px !important;
}

.im-contact-actions .im-button {
  display: inline-flex !important;
  box-sizing: border-box !important;

  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  height: 46px !important;

  margin: 0 !important;
  padding: 0 15px !important;

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

  line-height: 1.15 !important;
  text-align: center !important;
}

/* Phone */

@media (max-width: 640px) {
  .im-contact-detail {
    gap: 12px !important;
  }

  .im-contact-detail__icon {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
  }

  .im-contact-detail__icon::before {
    width: 19px !important;
    height: 19px !important;
  }

  .im-contact-detail__body
  a[href^="mailto:"] {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .im-contact-actions {
    grid-template-columns: 1fr !important;
  }
}

/* CONTACT ICONS FINAL V3 END */

/* INNER MOXIE CONTACT FORM V1 START */

.im-contact-form-section {
  box-sizing: border-box;

  padding:
    clamp(18px, 3vw, 42px)
    20px
    clamp(72px, 8vw, 108px);

  background:
    linear-gradient(
      180deg,
      #f8e6aa 0%,
      #fbf0cf 100%
    );
}

.im-contact-form-card {
  box-sizing: border-box;

  width: min(100%, 1060px);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 64px);

  background: rgba(255, 253, 245, 0.96);

  border:
    1px solid rgba(47, 127, 146, 0.13);

  border-radius: 24px;

  box-shadow:
    0 22px 58px rgba(74, 78, 61, 0.14);
}

.im-contact-form-heading {
  width: min(100%, 720px);
  margin: 0 auto 36px;

  text-align: center;
}

.im-contact-form-heading .im-eyebrow {
  margin: 0 0 12px;

  color: #16778c;

  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.im-contact-form-heading h2 {
  margin: 0 0 14px;

  color: #197b8f;

  font-size: clamp(2.35rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.08;

  text-wrap: balance;
}

.im-contact-form-heading > p:last-child {
  max-width: 650px;
  margin: 0 auto;

  color: #46595b;

  font-size: 1rem;
  line-height: 1.65;
}

.im-contact-form-status {
  box-sizing: border-box;

  width: min(100%, 820px);
  margin: 0 auto 25px;
  padding: 15px 18px;

  border-radius: 11px;

  font-weight: 700;
  line-height: 1.5;
}

.im-contact-form-status--success {
  color: #215d4d;
  background: #e8f5ef;
  border: 1px solid #a7d5c3;
}

.im-contact-form-status--error {
  color: #843737;
  background: #fff0ee;
  border: 1px solid #e9b3ad;
}

.im-contact-form {
  width: min(100%, 900px);
  margin-inline: auto;
}

.im-contact-form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;
}

.im-contact-form-field {
  display: flex;
  min-width: 0;

  flex-direction: column;
  gap: 8px;
}

.im-contact-form-field--full {
  grid-column: 1 / -1;
}

.im-contact-form-field > label {
  color: #34494d;

  font-size: 0.93rem;
  font-weight: 750;
  line-height: 1.35;
}

.im-contact-form-field > label > span[aria-hidden="true"] {
  color: #b94a48;
}

.im-contact-form-field input:not([type="checkbox"]),
.im-contact-form-field select,
.im-contact-form-field textarea {
  box-sizing: border-box;

  width: 100%;
  min-width: 0;
  min-height: 52px;

  padding: 12px 14px;

  color: #2f4145;
  background: #ffffff;

  border:
    1px solid rgba(46, 107, 120, 0.27);

  border-radius: 11px;

  box-shadow:
    inset 0 1px 2px rgba(31, 63, 68, 0.035);

  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;

  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background 150ms ease;
}

.im-contact-form-field textarea {
  min-height: 138px;
  resize: vertical;
}

.im-contact-form-field input::placeholder,
.im-contact-form-field textarea::placeholder {
  color: #839194;
  opacity: 1;
}

.im-contact-form-field input:focus,
.im-contact-form-field select:focus,
.im-contact-form-field textarea:focus {
  outline: none;

  background: #ffffff;

  border-color: #4ca8bd;

  box-shadow:
    0 0 0 4px rgba(76, 168, 189, 0.14);
}

.im-contact-form-consent {
  margin-top: 2px;
  padding: 15px 17px;

  background: rgba(224, 240, 241, 0.48);

  border:
    1px solid rgba(47, 127, 146, 0.12);

  border-radius: 11px;
}

.im-contact-form-consent label {
  display: grid;

  grid-template-columns:
    20px
    minmax(0, 1fr);

  align-items: start;
  gap: 11px;

  cursor: pointer;
}

.im-contact-form-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;

  accent-color: #4ea7bb;
}

.im-contact-form-consent span {
  color: #46595b;

  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.55;
}

.im-contact-form-actions {
  display: flex;

  margin-top: 26px;

  flex-direction: column;
  align-items: center;
  gap: 13px;

  text-align: center;
}

.im-contact-form-submit {
  display: inline-flex;

  min-height: 50px;
  padding: 0 28px;

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

  border: 0;
  border-radius: 999px;

  cursor: pointer;

  font-family: inherit;
  font-weight: 750;
}

.im-contact-form-actions p {
  max-width: 590px;
  margin: 0;

  color: #7b5553;

  font-size: 0.79rem;
  line-height: 1.5;
}

.im-contact-form-honeypot {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  overflow: hidden !important;

  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;

  white-space: nowrap !important;
}

@media (max-width: 700px) {
  .im-contact-form-section {
    padding:
      12px
      8px
      54px;
  }

  .im-contact-form-card {
    padding:
      32px
      17px
      36px;

    border-radius: 18px;
  }

  .im-contact-form-heading {
    margin-bottom: 28px;
  }

  .im-contact-form-heading h2 {
    font-size: clamp(2.1rem, 10vw, 2.85rem);
  }

  .im-contact-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .im-contact-form-field--full {
    grid-column: auto;
  }

  .im-contact-form-field input:not([type="checkbox"]),
  .im-contact-form-field select,
  .im-contact-form-field textarea {
    min-height: 50px;

    font-size: 16px;
  }

  .im-contact-form-field textarea {
    min-height: 125px;
  }

  .im-contact-form-submit {
    width: 100%;
    max-width: 340px;
  }
}

/* INNER MOXIE CONTACT FORM V1 END */

/* CONTACT FORM FIRST V3 START */

/*
 * Primary flow:
 * Hero -> consultation form -> alternative methods -> footer.
 */

.im-contact-form-section {
  position: relative !important;

  margin: 0 !important;
  padding:
    clamp(52px, 6vw, 82px)
    20px
    34px !important;

  background:
    linear-gradient(
      180deg,
      #f8e6aa 0%,
      #fbf0cf 100%
    ) !important;

  scroll-margin-top: 100px !important;
}

.im-contact-form-card {
  overflow: hidden !important;

  border-top: 0 !important;
}

.im-contact-form-card::before,
.im-contact-form-card::after {
  display: none !important;
}

/* Compact secondary contact section */

.im-contact-alternatives {
  box-sizing: border-box;

  padding:
    0
    20px
    clamp(72px, 8vw, 105px);

  background:
    linear-gradient(
      180deg,
      #fbf0cf 0%,
      #f8e6aa 100%
    );
}

.im-contact-alternatives__card {
  box-sizing: border-box;

  width: min(100%, 1060px);
  margin-inline: auto;
  padding: clamp(30px, 4vw, 48px);

  background: rgba(255, 253, 245, 0.95);

  border:
    1px solid rgba(47, 127, 146, 0.13);

  border-radius: 22px;

  box-shadow:
    0 18px 46px rgba(74, 78, 61, 0.12);
}

.im-contact-alternatives__heading {
  width: min(100%, 680px);
  margin: 0 auto 30px;

  text-align: center;
}

.im-contact-alternatives__heading .im-eyebrow {
  margin: 0 0 9px;

  color: #16778c;

  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.im-contact-alternatives__heading h2 {
  margin: 0 0 11px;

  color: #197b8f;

  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 400;
  line-height: 1.1;

  text-wrap: balance;
}

.im-contact-alternatives__heading > p:last-child {
  max-width: 590px;
  margin: 0 auto;

  color: #4b5b5d;

  font-size: 0.95rem;
  line-height: 1.6;
}

.im-contact-alternatives__layout {
  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(0, 1.1fr);

  align-items: stretch;
  gap: 22px;
}

.im-contact-alternatives__methods {
  display: grid;

  grid-template-columns: 1fr;
  gap: 11px;
}

.im-contact-alt-method {
  display: grid;
  box-sizing: border-box;

  min-width: 0;
  min-height: 78px;
  padding: 13px 15px;

  grid-template-columns:
    44px
    minmax(0, 1fr);

  align-items: center;
  gap: 13px;

  color: #29484f;
  background: rgba(255, 255, 255, 0.78);

  border:
    1px solid rgba(47, 127, 146, 0.14);

  border-radius: 13px;

  text-align: left;
  text-decoration: none;

  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

a.im-contact-alt-method:hover,
a.im-contact-alt-method:focus {
  border-color:
    rgba(47, 151, 175, 0.46);

  box-shadow:
    0 8px 20px rgba(55, 94, 101, 0.09);

  transform: translateY(-1px);
}

.im-contact-alt-method__icon {
  --im-alt-icon: none;

  position: relative;

  display: block;

  width: 44px;
  height: 44px;

  background: #e8f4f6;

  border:
    1px solid rgba(52, 145, 166, 0.24);

  border-radius: 12px;
}

.im-contact-alt-method__icon::before {
  position: absolute;
  inset: 0;

  width: 20px;
  height: 20px;
  margin: auto;

  content: "";
  background: #277f94;

  -webkit-mask-image: var(--im-alt-icon);
  mask-image: var(--im-alt-icon);

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-size: contain;
  mask-size: contain;
}

.im-contact-alt-method__icon--phone {
  --im-alt-icon:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.33 1.78.62 2.63a2 2 0 0 1-.45 2.11L8 9.73a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.85.29 1.73.5 2.63.62A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.im-contact-alt-method__icon--email {
  --im-alt-icon:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.im-contact-alt-method__icon--location {
  --im-alt-icon:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.im-contact-alt-method__text {
  display: flex;

  min-width: 0;

  flex-direction: column;
  align-items: flex-start;
  justify-content: center;

  line-height: 1.35;
}

.im-contact-alt-method__text small {
  margin-bottom: 3px;

  color: #587076;

  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.im-contact-alt-method__text strong {
  max-width: 100%;

  color: #17778b;

  font-size: 0.96rem;
  line-height: 1.35;

  overflow-wrap: anywhere;
}

.im-contact-alt-method__text > span {
  margin-top: 2px;

  color: #43575b;

  font-size: 0.88rem;
}

.im-contact-alt-map {
  min-width: 0;
  min-height: 250px;
  overflow: hidden;

  background: #26312f;

  border-radius: 14px;

  box-shadow:
    0 9px 24px rgba(40, 48, 44, 0.15);
}

.im-contact-alt-map iframe {
  display: block;

  width: 100% !important;
  height: 100% !important;
  min-height: 250px !important;

  border: 0 !important;
}

.im-contact-alt-map__fallback {
  display: flex;

  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 250px;
  padding: 28px;

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

  color: #ffffff;

  text-align: center;
}

/* Remove temporary jump-button presentation if cached markup remains. */

.im-contact-form-jump {
  display: none !important;
}

@media (max-width: 760px) {
  .im-contact-form-section {
    padding:
      34px
      8px
      22px !important;
  }

  .im-contact-alternatives {
    padding:
      0
      8px
      56px;
  }

  .im-contact-alternatives__card {
    padding:
      30px
      17px
      34px;

    border-radius: 18px;
  }

  .im-contact-alternatives__layout {
    grid-template-columns: 1fr;
  }

  .im-contact-alt-map {
    min-height: 220px;
  }

  .im-contact-alt-map iframe,
  .im-contact-alt-map__fallback {
    min-height: 220px !important;
  }
}

/* CONTACT FORM FIRST V3 END */

/* CONTACT PAGE FOOTER POLISH START */
body.page-id-12 .site-footer,
body.page-id-12 footer.site-footer {
  padding-top: 0 !important;
}

body.page-id-12 .site-footer .footer-inner,
body.page-id-12 .site-footer .site-footer__inner,
body.page-id-12 .site-footer .im-footer__inner,
body.page-id-12 footer.site-footer .footer-inner,
body.page-id-12 footer.site-footer .site-footer__inner,
body.page-id-12 footer.site-footer .im-footer__inner {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 36px 28px 24px !important;
}

body.page-id-12 .site-footer .footer-main,
body.page-id-12 .site-footer .site-footer__main,
body.page-id-12 .site-footer .im-footer__main,
body.page-id-12 footer.site-footer .footer-main,
body.page-id-12 footer.site-footer .site-footer__main,
body.page-id-12 footer.site-footer .im-footer__main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  justify-content: center !important;
  column-gap: 56px !important;
  row-gap: 24px !important;
}

body.page-id-12 .site-footer .footer-logos,
body.page-id-12 .site-footer .site-footer__logos,
body.page-id-12 .site-footer .im-footer__logos,
body.page-id-12 footer.site-footer .footer-logos,
body.page-id-12 footer.site-footer .site-footer__logos,
body.page-id-12 footer.site-footer .im-footer__logos {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 34px !important;
}

body.page-id-12 .site-footer .footer-logos img,
body.page-id-12 .site-footer .site-footer__logos img,
body.page-id-12 .site-footer .im-footer__logos img,
body.page-id-12 footer.site-footer .footer-logos img,
body.page-id-12 footer.site-footer .site-footer__logos img,
body.page-id-12 footer.site-footer .im-footer__logos img {
  max-height: 82px !important;
  width: auto !important;
  object-fit: contain !important;
}

body.page-id-12 .site-footer .footer-map,
body.page-id-12 .site-footer .site-footer__map,
body.page-id-12 .site-footer .im-footer__map,
body.page-id-12 footer.site-footer .footer-map,
body.page-id-12 footer.site-footer .site-footer__map,
body.page-id-12 footer.site-footer .im-footer__map {
  display: none !important;
}

body.page-id-12 .site-footer .footer-contact,
body.page-id-12 .site-footer .site-footer__contact,
body.page-id-12 .site-footer .im-footer__contact,
body.page-id-12 footer.site-footer .footer-contact,
body.page-id-12 footer.site-footer .site-footer__contact,
body.page-id-12 footer.site-footer .im-footer__contact {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 210px !important;
  text-align: left !important;
}

body.page-id-12 .site-footer .footer-contact p,
body.page-id-12 .site-footer .site-footer__contact p,
body.page-id-12 .site-footer .im-footer__contact p,
body.page-id-12 footer.site-footer .footer-contact p,
body.page-id-12 footer.site-footer .site-footer__contact p,
body.page-id-12 footer.site-footer .im-footer__contact p {
  margin: 0 !important;
  line-height: 1.6 !important;
}

body.page-id-12 .site-footer .footer-contact a,
body.page-id-12 .site-footer .site-footer__contact a,
body.page-id-12 .site-footer .im-footer__contact a,
body.page-id-12 footer.site-footer .footer-contact a,
body.page-id-12 footer.site-footer .site-footer__contact a,
body.page-id-12 footer.site-footer .im-footer__contact a {
  font-weight: 700 !important;
}

body.page-id-12 .site-footer .footer-social,
body.page-id-12 .site-footer .social-links,
body.page-id-12 .site-footer .im-social-links,
body.page-id-12 footer.site-footer .footer-social,
body.page-id-12 footer.site-footer .social-links,
body.page-id-12 footer.site-footer .im-social-links {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 8px !important;
}

body.page-id-12 .site-footer .footer-bottom,
body.page-id-12 .site-footer .site-info,
body.page-id-12 .site-footer .im-footer__bottom,
body.page-id-12 footer.site-footer .footer-bottom,
body.page-id-12 footer.site-footer .site-info,
body.page-id-12 footer.site-footer .im-footer__bottom {
  text-align: center !important;
  margin-top: 18px !important;
  padding-top: 16px !important;
}

@media (max-width: 900px) {
  body.page-id-12 .site-footer .footer-main,
  body.page-id-12 .site-footer .site-footer__main,
  body.page-id-12 .site-footer .im-footer__main,
  body.page-id-12 footer.site-footer .footer-main,
  body.page-id-12 footer.site-footer .site-footer__main,
  body.page-id-12 footer.site-footer .im-footer__main {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  body.page-id-12 .site-footer .footer-contact,
  body.page-id-12 .site-footer .site-footer__contact,
  body.page-id-12 .site-footer .im-footer__contact,
  body.page-id-12 footer.site-footer .footer-contact,
  body.page-id-12 footer.site-footer .site-footer__contact,
  body.page-id-12 footer.site-footer .im-footer__contact {
    align-items: center !important;
    text-align: center !important;
  }
}
/* CONTACT PAGE FOOTER POLISH END */
