/* =========================================================
   HEALTHGEARSPOT CONTACT PAGE
========================================================= */

.hgsch-contact-page,
.hgsch-contact-page * {
    box-sizing: border-box !important;
}

.hgsch-contact-page {
    --hgs-navy: #172738;
    --hgs-navy-deep: #10202F;
    --hgs-teal: #087D78;
    --hgs-teal-deep: #05645F;
    --hgs-lime: #8BC600;
    --hgs-text: #506170;
    --hgs-muted: #71808C;
    --hgs-soft: #F5F9F8;
    --hgs-soft-2: #EDF5F3;
    --hgs-border: #D8E5E2;
    --hgs-border-soft: #E7EFED;
    --hgs-white: #FFFFFF;

    width: 100% !important;
    margin: 0 !important;
    padding: clamp(42px, 5vw, 72px) 0 !important;
    color: var(--hgs-text) !important;
    background: #FFFFFF !important;
    font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.hgsch-contact-page a {
    text-decoration: none !important;
}

.hgsch-contact-shell {
    width: min(1220px, calc(100% - 42px)) !important;
    margin: 0 auto !important;
}

/* =========================================================
   HERO
========================================================= */

.hgsch-contact-hero {
    position: relative !important;
    overflow: hidden !important;
    min-height: 250px !important;
    padding: clamp(30px, 4vw, 48px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 30px !important;
    background: linear-gradient(135deg, #F8FBFA 0%, #F1F7F5 100%) !important;
    border: 1px solid var(--hgs-border) !important;
    border-radius: 16px !important;
}

.hgsch-contact-hero::before {
    content: "" !important;
    position: absolute !important;
    width: 190px !important;
    height: 190px !important;
    right: -88px !important;
    top: -102px !important;
    border-radius: 50% !important;
    background: rgba(8, 125, 120, .07) !important;
}

.hgsch-contact-hero::after {
    content: "" !important;
    position: absolute !important;
    width: 112px !important;
    height: 112px !important;
    left: -54px !important;
    bottom: -66px !important;
    border-radius: 50% !important;
    background: rgba(139, 198, 0, .12) !important;
}

.hgsch-contact-hero__copy {
    position: relative !important;
    z-index: 2 !important;
    max-width: 760px !important;
}

.hgsch-contact-eyebrow {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    color: var(--hgs-teal-deep) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .13em !important;
    text-transform: uppercase !important;
}

.hgsch-contact-eyebrow::before {
    content: "" !important;
    width: 22px !important;
    height: 3px !important;
    border-radius: 99px !important;
    background: var(--hgs-lime) !important;
}

.hgsch-contact-hero h1 {
    margin: 0 !important;
    color: var(--hgs-navy) !important;
    font-family: inherit !important;
    font-size: clamp(36px, 5vw, 58px) !important;
    line-height: 1.02 !important;
    font-weight: 700 !important;
    letter-spacing: -.045em !important;
}

.hgsch-contact-hero p {
    max-width: 700px !important;
    margin: 15px 0 0 !important;
    color: var(--hgs-text) !important;
    font-size: 15.5px !important;
    line-height: 1.68 !important;
    font-weight: 400 !important;
}

.hgsch-contact-hero__mark {
    position: relative !important;
    z-index: 2 !important;
    width: 128px !important;
    height: 128px !important;
    flex: 0 0 128px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid var(--hgs-border) !important;
    border-radius: 50% !important;
    background: #FFFFFF !important;
}

.hgsch-contact-hero__mark::before,
.hgsch-contact-hero__mark::after {
    content: "" !important;
    position: absolute !important;
    border-radius: 50% !important;
}

.hgsch-contact-hero__mark::before {
    width: 86px !important;
    height: 86px !important;
    border: 1px solid rgba(8, 125, 120, .22) !important;
}

.hgsch-contact-hero__mark::after {
    width: 48px !important;
    height: 48px !important;
    background: var(--hgs-teal) !important;
}

.hgsch-contact-hero__mark > span {
    position: relative !important;
    z-index: 3 !important;
    width: 20px !important;
    height: 3px !important;
    border-radius: 99px !important;
    background: #FFFFFF !important;
}

.hgsch-contact-hero__mark > i {
    position: absolute !important;
    z-index: 3 !important;
    width: 3px !important;
    height: 20px !important;
    border-radius: 99px !important;
    background: #FFFFFF !important;
}

/* =========================================================
   CONTENT GRID
========================================================= */

.hgsch-contact-grid {
    width: 100% !important;
    margin-top: 16px !important;
    display: grid !important;
    grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr) !important;
    gap: 16px !important;
    align-items: stretch !important;
}

.hgsch-contact-side,
.hgsch-contact-formcard {
    border: 1px solid var(--hgs-border) !important;
    border-radius: 14px !important;
}

/* =========================================================
   LEFT SIDE
========================================================= */

.hgsch-contact-side {
    position: relative !important;
    overflow: hidden !important;
    padding: clamp(22px, 3vw, 30px) !important;
    color: #FFFFFF !important;
    background: linear-gradient(145deg, var(--hgs-navy) 0%, var(--hgs-navy-deep) 100%) !important;
}

.hgsch-contact-side::before {
    content: "" !important;
    position: absolute !important;
    width: 130px !important;
    height: 130px !important;
    right: -70px !important;
    top: -72px !important;
    border: 1px solid rgba(139, 198, 0, .32) !important;
    border-radius: 50% !important;
}

.hgsch-contact-side__eyebrow {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin-bottom: 10px !important;
    color: #C9ED78 !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

.hgsch-contact-side__eyebrow::before {
    content: "" !important;
    width: 18px !important;
    height: 3px !important;
    border-radius: 99px !important;
    background: var(--hgs-lime) !important;
}

.hgsch-contact-side h2 {
    position: relative !important;
    z-index: 2 !important;
    margin: 0 !important;
    color: #FFFFFF !important;
    font-family: inherit !important;
    font-size: clamp(25px, 3vw, 34px) !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    letter-spacing: -.035em !important;
}

.hgsch-contact-side > p {
    position: relative !important;
    z-index: 2 !important;
    margin: 11px 0 0 !important;
    color: rgba(255, 255, 255, .76) !important;
    font-size: 13.5px !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
}

.hgsch-contact-notes {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 20px !important;
    display: grid !important;
    gap: 9px !important;
}

.hgsch-contact-note {
    min-height: 66px !important;
    padding: 11px !important;
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    background: rgba(255, 255, 255, .065) !important;
    border: 1px solid rgba(255, 255, 255, .10) !important;
    border-radius: 9px !important;
}

.hgsch-contact-note__icon {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--hgs-navy-deep) !important;
    background: var(--hgs-lime) !important;
    border-radius: 8px !important;
}

.hgsch-contact-note__icon svg {
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.hgsch-contact-note strong,
.hgsch-contact-note small {
    display: block !important;
}

.hgsch-contact-note strong {
    color: #FFFFFF !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    font-weight: 650 !important;
}

.hgsch-contact-note small {
    margin-top: 3px !important;
    color: rgba(255, 255, 255, .65) !important;
    font-size: 10.5px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
}

.hgsch-contact-side__tip {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 16px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(255, 255, 255, .11) !important;
}

.hgsch-contact-side__tip span {
    color: #C9ED78 !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.hgsch-contact-side__tip p {
    margin: 5px 0 0 !important;
    color: rgba(255, 255, 255, .70) !important;
    font-size: 11.5px !important;
    line-height: 1.5 !important;
}

/* =========================================================
   FORM CARD
========================================================= */

.hgsch-contact-formcard {
    padding: clamp(22px, 3vw, 32px) !important;
    background: #FFFFFF !important;
    box-shadow: 0 8px 26px rgba(16, 32, 47, .045) !important;
}

.hgsch-contact-formhead {
    padding-bottom: 17px !important;
    border-bottom: 1px solid var(--hgs-border-soft) !important;
}

.hgsch-contact-formhead > span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    margin-bottom: 7px !important;
    color: var(--hgs-teal-deep) !important;
    font-size: 9.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
}

.hgsch-contact-formhead > span::before {
    content: "" !important;
    width: 17px !important;
    height: 3px !important;
    border-radius: 99px !important;
    background: var(--hgs-lime) !important;
}

.hgsch-contact-formhead h2 {
    margin: 0 !important;
    color: var(--hgs-navy) !important;
    font-family: inherit !important;
    font-size: clamp(25px, 3vw, 34px) !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    letter-spacing: -.035em !important;
}

.hgsch-contact-formhead p {
    margin: 8px 0 0 !important;
    color: var(--hgs-muted) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

/* =========================================================
   NOTICES
========================================================= */

.hgsch-contact-alert {
    margin: 16px 0 0 !important;
    padding: 12px 13px !important;
    display: grid !important;
    gap: 3px !important;
    background: var(--hgs-soft) !important;
    border: 1px solid var(--hgs-border) !important;
    border-left: 4px solid var(--hgs-teal) !important;
    border-radius: 0 8px 8px 0 !important;
}

.hgsch-contact-alert--error {
    background: #FFF7F7 !important;
    border-left-color: #B83A3A !important;
}

.hgsch-contact-alert strong {
    color: var(--hgs-navy) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.hgsch-contact-alert span {
    color: var(--hgs-muted) !important;
    font-size: 11.5px !important;
    line-height: 1.45 !important;
}

/* =========================================================
   FORM
========================================================= */

.hgsch-contact-form {
    margin-top: 18px !important;
}

.hgsch-contact-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.hgsch-contact-field--full {
    grid-column: 1 / -1 !important;
}

.hgsch-contact-field label {
    display: block !important;
    margin-bottom: 7px !important;
    color: var(--hgs-navy) !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
    font-weight: 650 !important;
}

.hgsch-contact-field input,
.hgsch-contact-field select,
.hgsch-contact-field textarea {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 13px !important;
    color: var(--hgs-text) !important;
    background: #FFFFFF !important;
    border: 1px solid var(--hgs-border) !important;
    border-radius: 8px !important;
    outline: none !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    transition: border-color .17s ease, box-shadow .17s ease, background-color .17s ease !important;
}

.hgsch-contact-field input,
.hgsch-contact-field select {
    height: 46px !important;
}

.hgsch-contact-field select {
    padding-right: 34px !important;
}

.hgsch-contact-field textarea {
    min-height: 165px !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
    resize: vertical !important;
    line-height: 1.55 !important;
}

.hgsch-contact-field input::placeholder,
.hgsch-contact-field textarea::placeholder {
    color: #98A9B3 !important;
}

.hgsch-contact-field input:focus,
.hgsch-contact-field select:focus,
.hgsch-contact-field textarea:focus {
    border-color: var(--hgs-teal) !important;
    box-shadow: 0 0 0 3px rgba(8, 125, 120, .08) !important;
}

.hgsch-contact-form-bottom {
    margin-top: 18px !important;
    padding-top: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    border-top: 1px solid var(--hgs-border-soft) !important;
}

.hgsch-contact-form-bottom p {
    max-width: 520px !important;
    margin: 0 !important;
    color: var(--hgs-muted) !important;
    font-size: 10.5px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

.hgsch-contact-form-bottom p a {
    color: var(--hgs-teal-deep) !important;
    font-weight: 650 !important;
}

.hgsch-contact-submit {
    min-width: 158px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 17px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    color: #FFFFFF !important;
    background: var(--hgs-teal) !important;
    border: 1px solid var(--hgs-teal) !important;
    border-radius: 8px !important;
    font-family: inherit !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: transform .17s ease, background-color .17s ease, border-color .17s ease !important;
}

.hgsch-contact-submit svg {
    width: 15px !important;
    height: 15px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.hgsch-contact-submit:hover,
.hgsch-contact-submit:focus {
    color: #FFFFFF !important;
    background: var(--hgs-teal-deep) !important;
    border-color: var(--hgs-teal-deep) !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}

.hgsch-contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
    .hgsch-contact-grid {
        grid-template-columns: 1fr !important;
    }

    .hgsch-contact-side {
        min-height: 0 !important;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    .hgsch-contact-page {
        padding: 30px 0 !important;
    }

    .hgsch-contact-shell {
        width: calc(100% - 28px) !important;
    }

    .hgsch-contact-hero {
        min-height: 0 !important;
        padding: 25px 18px !important;
        border-radius: 13px !important;
    }

    .hgsch-contact-hero__mark {
        display: none !important;
    }

    .hgsch-contact-hero h1 {
        font-size: 35px !important;
    }

    .hgsch-contact-hero p {
        font-size: 14px !important;
        line-height: 1.58 !important;
    }

    .hgsch-contact-grid {
        margin-top: 12px !important;
        gap: 12px !important;
    }

    .hgsch-contact-side,
    .hgsch-contact-formcard {
        border-radius: 12px !important;
    }

    .hgsch-contact-side,
    .hgsch-contact-formcard {
        padding: 19px 16px !important;
    }

    .hgsch-contact-form-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .hgsch-contact-field--full {
        grid-column: auto !important;
    }

    .hgsch-contact-form-bottom {
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    .hgsch-contact-submit {
        width: 100% !important;
    }
}

@media (max-width: 380px) {
    .hgsch-contact-shell {
        width: calc(100% - 20px) !important;
    }

    .hgsch-contact-hero h1 {
        font-size: 32px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hgsch-contact-page *,
    .hgsch-contact-page *::before,
    .hgsch-contact-page *::after {
        transition: none !important;
    }
}
