/* Mobile contact banners share pricing.html's measured styles.
   Keep this file after page styles; desktop rules and page copy stay untouched. */
@media (max-width: 767px) {
  html body section#contact.contact-spacing.site-contact-mobile {
    box-sizing: border-box;
    display: block;
    position: relative;
    width: 100%; max-width: none; min-height: 0;
    margin: 0; padding: 44.8px 0;
    border: 0; border-radius: 0; box-shadow: none;
    background: #1b68fa; color: #fff;
    font: 400 16px/1.8 Inter, "Noto Sans KR", sans-serif;
    letter-spacing: -.025em; text-align: start;
    white-space: normal; word-break: keep-all; overflow-wrap: break-word;
    -webkit-font-smoothing: auto; text-rendering: auto;
    scroll-margin-top: 90px;
  }
  html body section#contact.contact-spacing.site-contact-mobile::before,
  html body section#contact.contact-spacing.site-contact-mobile::after { content: none; }

  html body section#contact.contact-spacing.site-contact-mobile > div {
    box-sizing: border-box;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
    width: calc(100% - 64px); max-width: 1500px; min-height: 0;
    margin: 0 auto; padding: 0; gap: 32px;
    border: 0; border-radius: 0; background: transparent; box-shadow: none;
    color: inherit; font: inherit; letter-spacing: inherit; text-align: start;
    white-space: normal; word-break: keep-all; overflow-wrap: break-word;
  }
  html body section#contact.contact-spacing.site-contact-mobile > div > div {
    min-width: 0; max-width: 100%; margin: 0; padding: 0;
    border: 0; background: transparent;
    color: inherit; font: inherit; letter-spacing: inherit; text-align: start;
  }
  html body section#contact.contact-spacing.site-contact-mobile h2 {
    display: block; max-width: none; margin: 0; padding: 0;
    border: 0; background: transparent; color: #fff;
    font: 800 clamp(26px, 3.2vw, 48px)/1.24 Inter, "Noto Sans KR", sans-serif;
    letter-spacing: -2.2px; text-align: start;
    /* Some legacy pages enforce nowrap with !important. */
    white-space: normal !important;
    text-wrap: wrap; word-break: keep-all; overflow-wrap: anywhere;
    -webkit-font-smoothing: auto;
  }
  html body section#contact.contact-spacing.site-contact-mobile p {
    display: block; max-width: none; margin: 24px 0 0; padding: 0;
    border: 0; background: transparent; color: #fff;
    font: 400 15px/1.7 Inter, "Noto Sans KR", sans-serif;
    letter-spacing: -.15px; text-align: start;
    white-space: normal; text-wrap: wrap; word-break: keep-all; overflow-wrap: break-word;
    -webkit-font-smoothing: auto;
  }
  html body section#contact.contact-spacing.site-contact-mobile > div > a {
    /* Mobile button dimensions are 80% of the original pricing reference. */
    box-sizing: border-box;
    display: flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: normal;
    width: auto; min-width: 0; max-width: 100%; min-height: 51.2px;
    margin: 0; padding: 14.4px 22.4px;
    border: 1px solid #fff; border-radius: 999px;
    background: #fff; color: #101522; box-shadow: none;
    font: 800 12.8px/1.5 Inter, "Noto Sans KR", sans-serif;
    letter-spacing: -.025em; text-align: start; text-decoration: none;
    white-space: nowrap; word-break: keep-all; overflow-wrap: break-word;
    -webkit-font-smoothing: auto;
    transition: transform .25s, background .25s, box-shadow .25s;
  }
  /* Pricing uses a text-only button. Preserve desktop arrows in the markup. */
  html body section#contact.contact-spacing.site-contact-mobile > div > a > [aria-hidden="true"] { display: none; }
  html body section#contact.contact-spacing.site-contact-mobile > div > a::before,
  html body section#contact.contact-spacing.site-contact-mobile > div > a::after { content: none; }
  html body section#contact.contact-spacing.site-contact-mobile > div > a:focus-visible {
    outline: 3px solid #fff; outline-offset: 5px;
  }
}

@media (max-width: 600px) {
  html body section#contact.contact-spacing.site-contact-mobile > div { width: calc(100% - 40px); }
  html body section#contact.contact-spacing.site-contact-mobile h2 {
    font-size: clamp(1.75rem, 6.8vw, 2.125rem); letter-spacing: -.04em;
  }
  html body section#contact.contact-spacing.site-contact-mobile > div > a {
    min-height: 44.8px; padding: 11.2px 19.2px;
  }
}

@media (max-width: 767px) and (hover: hover) and (pointer: fine) {
  html body section#contact.contact-spacing.site-contact-mobile > div > a:hover {
    background: #edf4ff; color: #101522;
    transform: translateY(-3px); box-shadow: 0 12px 24px #173dc01a;
  }
}
