/* Relizon Contact Page — isolated styles; uses the site's existing header/footer. */
.relizon-contact-page {
    --contact-blue: #165bfb;
    --contact-blue-dark: #1048d5;
    --contact-ink: #101b35;
    --contact-muted: #66738a;
    --contact-line: #e4eaf3;
    --contact-soft: #f4f7fc;
    color: var(--contact-ink);
    font-family: "Inter", sans-serif;
    overflow: hidden;
}

.relizon-contact-page * {
    box-sizing: border-box;
}

.relizon-contact-page a {
    text-decoration: none;
}

.contact-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    isolation: isolate;
    background: #091b43;
    color: #fff;
    overflow: hidden;
    padding-top: 88px;
}

.contact-hero__image {
    position: absolute;
    inset: 0;
    z-index: -3;
    background: url("../images/contact/hero.jpg") center 48%/cover no-repeat;
    transform: scale(1.04);
    animation: contactHeroImage 18s ease-in-out infinite alternate;
}

.contact-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(100deg, rgba(7, 20, 48, .96) 0%, rgba(9, 28, 66, .88) 46%, rgba(12, 42, 99, .45) 100%);
}

.contact-hero__inner {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 45px;
    padding-top: 78px;
    padding-bottom: 90px;
}

.contact-hero__content {
    max-width: 680px;
}

.contact-eyebrow,
.contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--contact-blue);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.contact-eyebrow {
    color: #dce7ff;
    margin-bottom: 22px;
}

.contact-eyebrow__dot,
.contact-status-dot,
.contact-map__label-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #6cf0c2;
    box-shadow: 0 0 0 5px rgba(108, 240, 194, .13);
}

.contact-hero h1 {
    max-width: 680px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 5.2vw, 66px);
    line-height: 1.07;
    letter-spacing: -.045em;
    font-weight: 750;
}

.contact-hero h1 span {
    color: #86b3ff;
}

.contact-hero__content>p {
    max-width: 570px;
    margin: 23px 0 30px;
    color: rgba(255, 255, 255, .76);
    font-size: 16px;
    line-height: 1.85;
}

.contact-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
    font-weight: 750;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
}

.contact-btn--light {
    background: #fff;
    color: #14213d;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.contact-btn--light:hover {
    background: #edf4ff;
    color: #14213d;
}

.contact-btn--primary {
    background: var(--contact-blue);
    color: #fff;
    box-shadow: 0 10px 22px rgba(22, 91, 251, .18);
}

.contact-btn--primary:hover {
    background: var(--contact-blue-dark);
    color: #fff;
    box-shadow: 0 14px 30px rgba(22, 91, 251, .25);
}

.contact-btn__arrow {
    font-size: 18px;
    transition: transform .25s ease;
}

.contact-btn:hover .contact-btn__arrow {
    transform: translate(3px, -2px);
}

.contact-hero__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.contact-hero__phone:hover {
    color: #fff;
}

.contact-hero__phone-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.contact-hero__phone small,
.contact-hero__phone strong {
    display: block;
}

.contact-hero__phone small {
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .65);
    font-size: 16px;
}

.contact-hero__phone strong {
    font-size: 16px;
}

.contact-hero__trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 37px;
    color: rgba(255, 255, 255, .68);
    font-size: 16px;
}

.contact-hero__trust-line {
    width: 34px;
    height: 1px;
    background: #7caeff;
}

.contact-hero__visual {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-hero__visual-card {
    position: relative;
    z-index: 2;
    width: min(100%, 350px);
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .08));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
    backdrop-filter: blur(15px);
    animation: contactFloat 6s ease-in-out infinite;
}

.contact-hero__visual-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    letter-spacing: .02em;
}

.contact-status-dot {
    width: 7px;
    height: 7px;
}

.contact-hero__visual-title {
    margin-top: 42px;
    color: #fff;
    font-size: 31px;
    font-weight: 750;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.contact-hero__visual-card p {
    margin: 12px 0 24px;
    color: rgba(255, 255, 255, .72);
    font-size: 16px;
    line-height: 1.75;
}

.contact-hero__visual-bottom {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 16px;
    font-weight: 650;
}

.contact-mini-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #8cb7ff;
    color: #0b2456;
    font-size: 18px;
}

.contact-hero__orbit {
    position: absolute;
    display: block;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
}

.contact-hero__orbit--one {
    width: 370px;
    height: 370px;
}

.contact-hero__orbit--two {
    width: 450px;
    height: 450px;
    border-style: dashed;
    opacity: .5;
    animation: contactSpin 55s linear infinite;
}

.contact-hero__bottom-shape {
    position: absolute;
    right: -6%;
    bottom: -80px;
    width: 112%;
    height: 110px;
    transform: rotate(-2deg);
    background: #fff;
}

.contact-main-section {
    padding: 96px 0 90px;
    background: #fff;
}

.contact-section-heading {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.contact-section-heading h2,
.contact-location-copy h2 {
    margin: 12px 0 13px;
    color: var(--contact-ink);
    font-size: clamp(30px, 3.5vw, 43px);
    line-height: 1.16;
    letter-spacing: -.04em;
    font-weight: 750;
}

.contact-section-heading h2 span,
.contact-location-copy h2 span {
    color: var(--contact-blue);
}

.contact-section-heading p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.8;
}

.contact-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    align-items: start;
    gap: 30px;
}

.contact-details {
    padding: 28px;
    border: 1px solid #e7edf6;
    border-radius: 20px;
    background: linear-gradient(145deg, #f7faff, #f0f5ff);
}

.contact-details__intro {
    position: relative;
    margin-bottom: 22px;
    padding-bottom: 21px;
    border-bottom: 1px solid #dfe8f6;
}

.contact-details__spark {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--contact-blue);
    font-size: 26px;
}

.contact-details__intro h3 {
    margin: 0 0 9px;
    font-size: 23px;
    letter-spacing: -.03em;
}

.contact-details__intro p {
    max-width: 300px;
    margin: 0;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.7;
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px 0;
    color: var(--contact-ink);
    border-bottom: 1px solid #e0e8f4;
}

.contact-detail-card:hover {
    color: var(--contact-blue);
}

.contact-detail-card__icon {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border: 1px solid #d9e5ff;
    border-radius: 13px;
    background: #fff;
}

.contact-detail-card__icon svg,
.contact-address__pin svg,
.contact-form-panel__badge svg {
    width: 21px;
    height: 21px;
    stroke: var(--contact-blue);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-detail-card__text {
    min-width: 0;
    flex: 1;
}

.contact-detail-card__text small,
.contact-address small {
    display: block;
    margin-bottom: 5px;
    color: #77849b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.contact-detail-card__text strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 750;
}

.contact-detail-card__text>span {
    display: block;
    margin-top: 4px;
    color: var(--contact-muted);
    font-size: 16px;
}

.contact-detail-card__arrow {
    color: #91a2bc;
    font-size: 18px;
    transition: transform .2s ease;
}

.contact-detail-card:hover .contact-detail-card__arrow {
    transform: translate(3px, -3px);
    color: var(--contact-blue);
}

.contact-address {
    display: flex;
    gap: 13px;
    padding-top: 23px;
}

.contact-address__pin {
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #e4edff;
}

.contact-address p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.8;
}

.contact-address p strong {
    color: var(--contact-ink);
    font-size: 16px;
}

.contact-details__note {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    padding: 14px;
    border: 1px solid #d9e5ff;
    border-radius: 12px;
    background: rgba(255, 255, 255, .7);
}

.contact-details__note>span {
    color: var(--contact-blue);
}

.contact-details__note p {
    margin: 0;
    color: #5f6e86;
    font-size: 16px;
    line-height: 1.7;
}

.contact-form-panel {
    padding: 35px;
    border: 1px solid #e6ebf3;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(23, 48, 91, .08);
}

.contact-form-panel__top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-form-panel__top h3 {
    margin: 10px 0 8px;
    font-size: 27px;
    letter-spacing: -.035em;
}

.contact-form-panel__top p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.7;
}

.contact-form-panel__badge {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #edf3ff;
}

.contact-form-panel__badge svg {
    width: 23px;
    height: 23px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 17px;
}

.contact-field {
    min-width: 0;
}

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

.contact-field label {
    display: block;
    margin-bottom: 8px;
    color: #24324c;
    font-size: 16px;
    font-weight: 750;
}

.contact-field label span {
    color: var(--contact-blue);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 49px;
    padding: 13px 14px;
    border: 1px solid #dfe6f0;
    border-radius: 9px;
    outline: none;
    background: #fbfcfe;
    color: var(--contact-ink);
    font: inherit;
    font-size: 16px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-field textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #a1adbf;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #6b9aff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(22, 91, 251, .09);
}

.contact-field .is-invalid {
    border-color: #df4545;
    background: #fffafa;
}

.contact-field .is-valid {
    border-color: #3eae82;
}

.contact-field__error {
    display: block;
    min-height: 0;
    margin-top: 5px;
    color: #c52d3a;
    font-size: 16px;
}

.contact-field__hint {
    display: block;
    margin-top: 7px;
    color: #8793a6;
    font-size: 12px;
}

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 20px 0 0;
    color: #6a768b;
    font-size: 16px;
    line-height: 1.7;
    cursor: pointer;
}

.contact-consent input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-consent__box {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin-top: 1px;
    border: 1px solid #cbd5e3;
    border-radius: 4px;
    background: #fff;
}

.contact-consent input:checked+.contact-consent__box {
    border-color: var(--contact-blue);
    background: var(--contact-blue);
    box-shadow: inset 0 0 0 3px #fff;
}

.contact-consent input:focus-visible+.contact-consent__box {
    outline: 3px solid rgba(22, 91, 251, .2);
}

.contact-consent__error {
    margin-left: 28px;
}

.relizon-contact-form>.contact-btn {
    width: 100%;
    margin-top: 18px;
    justify-content: space-between;
    padding: 0 19px;
}

.contact-form-footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 13px 0 0;
    color: #8995a7;
    font-size: 12px;
}

.contact-form-feedback {
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 9px;
    background: #fff7e7;
    color: #805400;
    font-size: 16px;
    line-height: 1.6;
}

.contact-location-section {
    padding: 10px 0 100px;
    background: #fff;
}

.contact-location-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    overflow: hidden;
    border: 1px solid #e6ebf3;
    border-radius: 22px;
    background: #f6f8fc;
    box-shadow: 0 18px 50px rgba(23, 48, 91, .06);
}

.contact-location-copy {
    padding: 45px 38px;
}

.contact-location-copy h2 {
    margin-top: 15px;
    font-size: clamp(27px, 3vw, 36px);
}

.contact-location-copy p {
    margin: 0 0 22px;
    color: var(--contact-muted);
    font-size: 16px;
    line-height: 1.8;
}

.contact-location-meta {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 22px;
    color: #69768c;
    font-size: 16px;
    line-height: 1.7;
}

.contact-location-meta span {
    color: var(--contact-blue);
    font-size: 18px;
}

.contact-map {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background: #e4ebf4;
}

.contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: saturate(.75);
}

.contact-map__label {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 12px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 8px 25px rgba(20, 40, 75, .12);
}

.contact-map__label-dot {
    flex: 0 0 8px;
    background: var(--contact-blue);
    box-shadow: 0 0 0 5px #e5edff;
}

.contact-map__label strong,
.contact-map__label small {
    display: block;
}

.contact-map__label strong {
    font-size: 16px;
}

.contact-map__label small {
    margin-top: 3px;
    color: var(--contact-muted);
    font-size: 12px;
}

.contact-bottom-cta {
    position: relative;
    overflow: hidden;
    background: #0b1e46;
    color: #fff;
}

.contact-bottom-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 58px;
    padding-bottom: 58px;
}

.contact-bottom-cta .contact-kicker {
    color: #91b6ff;
}

.contact-bottom-cta h2 {
    margin: 12px 0 7px;
    color: #fff;
    font-size: clamp(27px, 3.5vw, 39px);
    letter-spacing: -.04em;
}

.contact-bottom-cta p {
    margin: 0;
    color: rgba(255, 255, 255, .67);
    font-size: 16px;
    line-height: 1.7;
}

.contact-bottom-cta__orb {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    pointer-events: none;
}

.contact-bottom-cta__orb--one {
    width: 300px;
    height: 300px;
    top: -170px;
    right: 8%;
}

.contact-bottom-cta__orb--two {
    width: 430px;
    height: 430px;
    top: -230px;
    right: 2%;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@keyframes contactHeroImage {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.11);
    }
}

@keyframes contactFloat {

    0%,
    100% {
        transform: translateY(0) rotate(.2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-.4deg);
    }
}

@keyframes contactSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {

    .relizon-contact-page *,
    .relizon-contact-page *::before,
    .relizon-contact-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .contact-hero__inner {
        grid-template-columns: 1fr;
        gap: 25px;
        padding-top: 70px;
        padding-bottom: 90px;
    }

    .contact-hero__content {
        max-width: 700px;
    }

    .contact-hero__visual {
        display: none;
    }

    .contact-hero {
        min-height: auto;
    }

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

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

    .contact-details__intro,
    .contact-details__note {
        grid-column: 1 / -1;
    }

    .contact-detail-card:nth-of-type(3) {
        border-bottom: 0;
    }

    .contact-address {
        border-top: 1px solid #e0e8f4;
    }

    .contact-location-card {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 330px;
    }
}

@media (max-width: 600px) {
    .contact-container {
        width: min(100% - 32px, 1180px);
    }

    .contact-hero__inner {
        padding-top: 55px;
        padding-bottom: 76px;
    }

    .contact-hero h1 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .contact-hero__content>p {
        font-size: 16px;
        line-height: 1.75;
    }

    .contact-hero__actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .contact-main-section {
        padding: 68px 0 65px;
    }

    .contact-section-heading {
        margin-bottom: 32px;
        text-align: left;
    }

    .contact-section-heading h2 {
        font-size: 32px;
    }

    .contact-section-heading p {
        margin: 0;
        font-size: 16px;
    }

    .contact-details {
        display: block;
        padding: 21px;
    }

    .contact-detail-card {
        gap: 10px;
    }

    .contact-detail-card__icon,
    .contact-address__pin {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
    }

    .contact-detail-card__text strong {
        font-size: 16px;
    }

    .contact-form-panel {
        padding: 23px 19px;
    }

    .contact-form-panel__top h3 {
        font-size: 23px;
    }

    .contact-form-panel__badge {
        display: none;
    }

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

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

    .contact-location-section {
        padding: 0 0 65px;
    }

    .contact-location-copy {
        padding: 30px 23px;
    }

    .contact-map {
        min-height: 290px;
    }

    .contact-bottom-cta__inner {
        align-items: flex-start;
        flex-direction: column;
        padding-top: 43px;
        padding-bottom: 43px;
    }
}