/* Mobile-only lead access. Desktop CF7/landing cards stay as-is. */

.gks-mobile-hero-lead,
.gks-mobile-sticky-lead {
  display: none;
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 96px;
  }

  body.gks-mobile-lead-on {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  body.gks-kb-open .gs-mega-nav {
    position: static;
    z-index: auto;
  }

  body.gks-mobile-lead-on .first-screen__form {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    pointer-events: none;
  }

  .gks-mobile-hero-lead {
    display: block;
    width: 100%;
    margin: 14px 0 18px;
    padding: 14px;
    border: 1px solid #dbe7f8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(26, 84, 168, 0.1);
    scroll-margin-top: 96px;
  }

  .gks-mobile-hero-lead__label {
    display: block;
    margin-bottom: 8px;
    color: #05234c;
    font-size: 13px;
    font-weight: 700;
  }

  .gks-mobile-hero-lead__phone {
    width: 100%;
    min-height: 48px;
    margin: 0 0 12px;
    padding: 12px 14px;
    border: 1px solid #dbe7f8;
    border-radius: 12px;
    background: #fafafa;
    color: #05234c;
    font-size: 16px;
    line-height: 1.3;
    box-sizing: border-box;
  }

  .gks-mobile-hero-lead__phone:focus {
    outline: 2px solid #418af2;
    background: #fff;
  }

  .gks-mobile-hero-lead__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    color: #5a6b85;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
  }

  .gks-mobile-hero-lead__checkbox,
  .wpcf7 .form-consent__checkbox,
  .lead-form .form-consent__checkbox,
  .form-consent .form-consent__checkbox {
    display: inline-block;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0;
    appearance: auto;
    -webkit-appearance: checkbox;
    accent-color: #418af2;
  }

  .wpcf7 .form-consent__checkmark,
  .first-screen .form-consent__checkmark {
    display: none;
  }

  .gks-mobile-hero-lead__consent a {
    color: #1a54a8;
  }

  .gks-mobile-hero-lead__status {
    min-height: 1.2em;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.35;
  }

  .gks-mobile-hero-lead__status.is-visible {
    display: block;
  }

  .gks-mobile-hero-lead__submit {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: #418af2;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
  }

  .gks-mobile-hero-lead__submit:disabled {
    opacity: 0.7;
    cursor: wait;
  }

  .gks-mobile-sticky-lead {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9000;
    display: flex;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid #dbe7f8;
    box-shadow: 0 -8px 24px rgba(5, 35, 76, 0.12);
  }

  .gks-mobile-sticky-lead a {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
  }

  .gks-mobile-sticky-lead__form {
    background: #418af2;
    color: #fff;
  }

  .gks-mobile-sticky-lead__tel {
    background: #05234c;
    color: #fff;
  }
}
