@media (max-width: 767px) {
  .elementor-71 .elementor-element.elementor-element-18f765f1 {
    --min-height: 68svh;
    min-height: 68svh;
    --padding-top: 3em;
    --padding-bottom: 2em;
  }
}
/* Stack the calculator header on phones so its text keeps a natural measure. */
@media (max-width: 767px) {
  .elementor-71 .lzfc {
    padding: 28px 22px;
  }

  .elementor-71 .lzfc__header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .elementor-71 .lzfc__header > div {
    width: 100%;
  }

  .elementor-71 .lzfc .lzfc__title {
    max-width: none;
    font-size: clamp(30px, 9vw, 38px);
    line-height: 1.08;
  }

  .elementor-71 .lzfc__intro {
    max-width: 34rem;
    margin-top: 16px;
    line-height: 1.55;
  }

  .elementor-71 .lzfc .lzfc__toggle[aria-expanded="false"] {
    width: 100%;
    min-height: 58px;
  }
}

/* Keep calculator gate fields aligned and easy to scan on phones. */
@media (max-width: 600px) {
  .elementor-71 .lzfc__gate-options {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .elementor-71 .lzfc__gate-options > .lzfc__group {
    width: 100%;
    margin: 0;
  }

  .elementor-71 .lzfc__gate-options .lzfc__choices {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* On phones and tablets, finish the FAQ before showing its contact action. */
@media (max-width: 1024px) {
  .elementor-71 .elementor-element.elementor-element-18f765f1 {
    --padding-top: clamp(32px, 5vw, 56px);
    --padding-bottom: clamp(32px, 5vw, 56px);
    overflow: hidden;
    background-color: #1a1c1d;
  }

  .elementor-71 .elementor-element.elementor-element-18f765f1 > .e-con-inner {
    min-height: inherit;
    justify-content: center;
  }

  .elementor-71 .elementor-element.elementor-element-18f765f1 > .local-slideshow,
  .elementor-71 .elementor-element.elementor-element-18f765f1::before {
    inset: -2px 0;
    height: calc(100% + 4px);
  }

  .elementor-71 .elementor-element.elementor-element-555a7efd > .e-con-inner {
    flex-direction: column;
  }

  .elementor-71 .elementor-element.elementor-element-73e3f9a5 {
    display: contents;
  }

  .elementor-71 .elementor-element.elementor-element-327a0f84 {
    order: 1;
  }

  .elementor-71 .elementor-element.elementor-element-4cf291d1 {
    order: 2;
    margin-top: clamp(28px, 5vw, 48px);
  }

  .elementor-71 .elementor-element.elementor-element-4bbcd936 {
    order: 3;
  }

  .elementor-71 .lz-contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Give iPad-size layouts useful contact cards without squeezing the form. */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-71 .lz-contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .elementor-71 .lz-contact-detail:first-child {
    grid-column: 1 / -1;
  }
}
