:root {
    --px-contact-primary: #1b84ff;
    --px-contact-navy: #253a6c;
    --px-contact-ink: #30374f;
    --px-contact-body: #475467;
    --px-contact-line: #dce0e5;
    --px-contact-success: #1fc16b;
}

html {
    scroll-behavior: smooth;
}

body.px-contact-body {
    margin: 0;
    overflow-x: hidden;
    background: #fff;
}

.px-contact-body *,
.px-contact-body *::before,
.px-contact-body *::after {
    box-sizing: border-box;
}

.px-contact-body img {
    max-width: 100%;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.px-contact-shell {
    width: min(1296px, calc(100% - 40px));
    margin-inline: auto;
}

.px-contact-button {
    min-height: 44px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.px-contact-button:hover {
    transform: translateY(-2px);
}

.px-contact-button--primary {
    background: var(--px-contact-primary);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}

.px-contact-button--primary:hover,
.px-contact-button--primary:focus {
    color: #fff;
    background: #0675f5;
    box-shadow: 0 8px 18px rgba(27, 132, 255, .22);
}

.px-contact-button--outline {
    width: 100%;
    min-height: 52px;
    border-color: rgba(255, 255, 255, .65);
    background: transparent;
}

.px-contact-button--outline:hover,
.px-contact-button--outline:focus {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.px-contact-button--outline img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.px-contact-button:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

/* Header */
.px-contact-header {
    padding-block: 40px 28px;
    position: relative;
    z-index: 100;
}

.px-contact-header__inner {
    min-height: 66px;
    padding: 10px 16px;
    border: 1px solid #cccddc;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(10, 13, 20, .03);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.px-contact-header__logo {
    width: 80px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.px-contact-header__logo img {
    width: 80px;
    height: 44px;
    object-fit: contain;
}

.px-contact-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
}

.px-contact-header__nav a {
    min-height: 44px;
    padding: 10px 2px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5f6471;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
}

.px-contact-header__nav a:hover,
.px-contact-header__nav a.is-active {
    color: var(--px-contact-primary);
}

.px-contact-header__nav a.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: var(--px-contact-primary);
}

.px-contact-header__nav a.has-chevron::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}

.px-contact-header__action {
    min-width: 154px;
}

.px-contact-header__toggle {
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 0;
    border-radius: 8px;
    background: #eef6ff;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.px-contact-header__toggle span:not(.screen-reader-text) {
    height: 2px;
    border-radius: 2px;
    background: var(--px-contact-ink);
    transition: transform .2s ease, opacity .2s ease;
}

/* Hero */
.px-contact-page {
    padding-bottom: 0;
}

.px-contact-hero {
    min-height: 820px;
    padding: 70px 64px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(430px, 1fr) minmax(430px, .92fr);
    align-items: center;
    gap: 78px;
    direction: rtl;
    background: var(--px-contact-navy);
    color: #fff;
}

.px-contact-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .14;
    background-image:
        linear-gradient(rgba(255, 255, 255, .6) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .6) 1px, transparent 1px);
    background-size: 164px 164px;
    mask-image: linear-gradient(to bottom, #000 0 75%, transparent 100%);
}

.px-contact-hero__content {
    min-height: 650px;
    padding-block: 58px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.px-contact-kicker {
    min-height: 40px;
    padding: 8px 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #23252b;
    background: #fff;
    box-shadow: 0 2px 30px rgba(171, 172, 196, .8);
    font-size: 15px;
    font-weight: 500;
}

.px-contact-kicker span {
    color: var(--px-contact-navy);
}

.px-contact-hero__content h1 {
    max-width: 560px;
    margin: 42px 0 18px;
    color: #fff;
    font-size: clamp(36px, 3.35vw, 50px);
    font-weight: 700;
    line-height: 1.4;
}

.px-contact-hero__content > p:not(.px-contact-hero__note) {
    max-width: 590px;
    margin: 0;
    color: #d7d9e0;
    font-size: 20px;
    font-weight: 400;
    line-height: 2;
}

.px-contact-hero__arrow {
    width: 170px;
    height: 100px;
    margin: 45px 110px 0 0;
    object-fit: contain;
    transform: rotate(-8deg);
}

.px-contact-hero__note {
    margin: auto 0 0;
    color: #d8dae2;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
}

.px-contact-hero__note span {
    margin-left: 6px;
}

/* Form */
.px-contact-form-card {
    width: min(530px, 100%);
    min-height: 650px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
    position: relative;
    background: rgba(24, 48, 104, .34);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
    direction: rtl;
}

.px-contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.px-contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #d9dce5;
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
}

.px-contact-form > label > span:first-child,
.px-contact-form__row label > span:first-child {
    color: #f1f3f7;
}

.px-contact-form input,
.px-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(208, 213, 221, .9);
    border-radius: 8px;
    outline: 0;
    color: #344054;
    background: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 400;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.px-contact-form input {
    height: 52px;
    padding: 12px 16px;
}

.px-contact-form textarea {
    min-height: 146px;
    padding: 14px 16px;
    resize: vertical;
    line-height: 1.8;
}

.px-contact-form input::placeholder,
.px-contact-form textarea::placeholder {
    color: #98a2b3;
}

.px-contact-form input:focus,
.px-contact-form textarea:focus {
    border-color: #73b7ff;
    box-shadow: 0 0 0 3px rgba(27, 132, 255, .15);
}

.px-contact-form__phone {
    height: 52px;
    border: 1px solid rgba(208, 213, 221, .9);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    direction: ltr;
    background: #fff;
}

.px-contact-form__phone input {
    height: 50px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.px-contact-form__phone input:focus {
    box-shadow: none;
}

.px-contact-form__phone:focus-within {
    border-color: #73b7ff;
    box-shadow: 0 0 0 3px rgba(27, 132, 255, .15);
}

.px-contact-form__country {
    min-width: 70px;
    padding-inline: 13px;
    border-right: 1px solid #eaecf0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    font-size: 14px;
}

.px-contact-form__country i {
    width: 20px;
    height: 20px;
    border: 1px solid #eaecf0;
    border-radius: 50%;
    display: inline-block;
    background: linear-gradient(to bottom, #239f40 0 33.333%, #fff 33.333% 66.666%, #da0000 66.666%);
}

.px-contact-form__country b {
    color: #667085;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
}

.px-contact-form__alert {
    padding: 10px 12px;
    border: 1px solid rgba(240, 68, 56, .45);
    border-radius: 8px;
    color: #ffd1ce;
    background: rgba(240, 68, 56, .12);
    font-size: 14px;
    line-height: 24px;
}

.px-contact-success {
    min-height: 590px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.px-contact-form-card.is-success .px-contact-form {
    display: none;
}

.px-contact-form-card.is-success .px-contact-success {
    display: flex;
}

.px-contact-success__icon {
    width: 120px;
    height: 120px;
    margin-bottom: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background:
        radial-gradient(circle, rgba(31, 193, 107, .3) 0 46%, transparent 47%),
        radial-gradient(circle, rgba(31, 193, 107, .14) 0 70%, transparent 71%);
    font-size: 44px;
    font-weight: 700;
}

.px-contact-success h2 {
    margin: 0 0 18px;
    color: var(--px-contact-success);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.4;
}

.px-contact-success p {
    max-width: 355px;
    margin: 0;
    color: #d9dce5;
    font-size: 16px;
    line-height: 2;
}

.px-contact-success a {
    margin-top: 68px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.px-contact-success a:hover {
    color: #b9ddff;
}

/* Trial CTA */
.px-contact-trial {
    min-height: 400px;
    margin-top: 82px;
    padding: 78px 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(rgba(48, 55, 79, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(48, 55, 79, .035) 1px, transparent 1px);
    background-size: 96px 96px;
}

.px-contact-trial h2 {
    width: min(620px, 100%);
    margin: 0;
    color: #111827;
    font-size: clamp(27px, 2.7vw, 38px);
    font-weight: 700;
    line-height: 1.5;
}

.px-contact-trial p {
    width: min(640px, 100%);
    margin: 14px 0 28px;
    color: #667085;
    font-size: 17px;
    line-height: 1.9;
}

.px-contact-trial .px-contact-button {
    min-width: 230px;
}

.px-contact-trial__decoration {
    width: 54px;
    height: 54px;
    padding: 11px;
    border: 1px solid #eef2f6;
    border-radius: 10px;
    position: absolute;
    display: grid;
    place-items: center;
    background: #fff;
    box-shadow: 0 8px 28px rgba(48, 55, 79, .08);
    transform: rotate(-12deg);
}

.px-contact-trial__decoration img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.px-contact-trial__decoration--1 {
    top: 58px;
    right: 10%;
}

.px-contact-trial__decoration--2 {
    top: 190px;
    right: 4%;
    transform: rotate(13deg);
}

.px-contact-trial__decoration--3 {
    bottom: 48px;
    right: 18%;
}

.px-contact-trial__decoration--4 {
    top: 74px;
    left: 10%;
    transform: rotate(10deg);
}

.px-contact-trial__decoration--5 {
    bottom: 54px;
    left: 17%;
    transform: rotate(-8deg);
}

/* Footer */
.px-contact-footer {
    margin-top: 48px;
    padding: 48px 0 30px;
    color: #d0d5dd;
    background: #071637;
}

.px-contact-footer__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
}

.px-contact-footer__brand a {
    width: 76px;
    height: 48px;
    padding: 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.px-contact-footer__brand img {
    width: 70px;
    height: 38px;
    object-fit: contain;
}

.px-contact-footer__brand p {
    margin: 0;
    color: #e7e9ee;
    font-size: 18px;
    line-height: 28px;
}

.px-contact-footer__nav {
    margin-top: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.px-contact-footer__nav a {
    padding: 4px 18px;
    position: relative;
    color: #d0d5dd;
    font-size: 14px;
    line-height: 22px;
    text-decoration: none;
}

.px-contact-footer__nav a:not(:last-child)::after {
    content: "•";
    position: absolute;
    left: -2px;
    color: #667085;
}

.px-contact-footer__nav a:hover {
    color: #fff;
}

.px-contact-footer__trust {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.px-contact-footer__trust-item {
    width: 88px;
    height: 78px;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #fff;
}

.px-contact-footer__trust-item img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.px-contact-footer__trust-item span {
    color: #475467;
    font-size: 9px;
    line-height: 13px;
}

.px-contact-footer__bottom {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(152, 162, 179, .22);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.px-contact-footer__bottom p {
    margin: 0;
    color: #98a2b3;
    font-size: 12px;
    line-height: 20px;
}

.px-contact-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    direction: ltr;
}

.px-contact-footer__socials a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #98a2b3;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.px-contact-footer__socials a:hover {
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 1199.98px) {
    .px-contact-hero {
        min-height: 730px;
        padding: 54px 38px;
        grid-template-columns: minmax(360px, 1fr) minmax(360px, .9fr);
        gap: 42px;
    }

    .px-contact-hero__content,
    .px-contact-form-card {
        min-height: 610px;
    }

    .px-contact-form-card {
        padding: 24px;
    }

    .px-contact-hero__arrow {
        margin-right: 54px;
    }
}

@media (max-width: 991.98px) {
    .px-contact-header {
        padding-top: 22px;
    }

    .px-contact-header__inner {
        min-height: 60px;
        position: relative;
    }

    .px-contact-header__toggle {
        display: flex;
        order: 3;
    }

    .px-contact-header__action {
        display: none;
    }

    .px-contact-header__nav {
        width: 100%;
        padding: 14px 20px 20px;
        border: 1px solid #e1e4ea;
        border-radius: 12px;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        box-shadow: 0 16px 35px rgba(24, 34, 48, .12);
    }

    .px-contact-header__nav.is-open {
        display: flex;
    }

    .px-contact-header__nav a {
        padding: 11px 4px;
    }

    .px-contact-header__nav a.is-active::after {
        display: none;
    }

    .px-contact-header__nav a.has-chevron::after {
        margin-right: auto;
    }

    .px-contact-header__toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .px-contact-header__toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .px-contact-header__toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .px-contact-hero {
        min-height: auto;
        padding: 58px 44px;
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .px-contact-hero__content {
        min-height: auto;
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .px-contact-hero__content h1 {
        margin-top: 30px;
    }

    .px-contact-hero__content > p:not(.px-contact-hero__note) {
        max-width: 620px;
        font-size: 18px;
    }

    .px-contact-hero__arrow {
        width: 140px;
        height: 78px;
        margin: 28px auto 0;
        transform: rotate(-88deg);
    }

    .px-contact-hero__note {
        margin-top: 32px;
    }

    .px-contact-form-card {
        min-height: 640px;
        margin-inline: auto;
    }

    .px-contact-trial__decoration--2,
    .px-contact-trial__decoration--5 {
        display: none;
    }

    .px-contact-footer__brand {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .px-contact-shell {
        width: min(100% - 28px, 560px);
    }

    .px-contact-header {
        padding-block: 18px 20px;
    }

    .px-contact-header__inner {
        padding: 8px 10px;
    }

    .px-contact-header__logo,
    .px-contact-header__logo img {
        width: 72px;
        height: 40px;
    }

    .px-contact-hero {
        padding: 38px 18px 22px;
        border-radius: 16px;
        gap: 38px;
    }

    .px-contact-hero__content h1 {
        margin-block: 25px 12px;
        font-size: 31px;
        line-height: 1.55;
    }

    .px-contact-hero__content > p:not(.px-contact-hero__note) {
        font-size: 16px;
        line-height: 2;
    }

    .px-contact-kicker {
        min-height: 36px;
        padding: 7px 14px;
        font-size: 13px;
    }

    .px-contact-hero__arrow {
        width: 110px;
        height: 62px;
        margin-top: 22px;
    }

    .px-contact-hero__note {
        margin-top: 22px;
        font-size: 13px;
        line-height: 23px;
    }

    .px-contact-form-card {
        width: 100%;
        min-height: 0;
        padding: 18px;
        border-radius: 14px;
    }

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

    .px-contact-form {
        gap: 15px;
    }

    .px-contact-form input {
        height: 50px;
    }

    .px-contact-form textarea {
        min-height: 130px;
    }

    .px-contact-form__phone {
        height: 50px;
    }

    .px-contact-success {
        min-height: 500px;
        padding-inline: 10px;
    }

    .px-contact-success__icon {
        width: 104px;
        height: 104px;
        margin-bottom: 34px;
    }

    .px-contact-success h2 {
        font-size: 25px;
    }

    .px-contact-success p {
        font-size: 15px;
    }

    .px-contact-success a {
        margin-top: 50px;
    }

    .px-contact-trial {
        min-height: 390px;
        margin-top: 46px;
        padding: 74px 20px;
    }

    .px-contact-trial h2 {
        font-size: 27px;
        line-height: 1.6;
    }

    .px-contact-trial p {
        font-size: 15px;
    }

    .px-contact-trial__decoration {
        width: 44px;
        height: 44px;
        padding: 8px;
    }

    .px-contact-trial__decoration--1 {
        top: 26px;
        right: 8%;
    }

    .px-contact-trial__decoration--3 {
        bottom: 28px;
        right: 8%;
    }

    .px-contact-trial__decoration--4 {
        top: 28px;
        left: 8%;
    }

    .px-contact-footer {
        margin-top: 34px;
        padding-top: 42px;
    }

    .px-contact-footer__brand p {
        font-size: 16px;
    }

    .px-contact-footer__nav {
        gap: 8px 0;
    }

    .px-contact-footer__nav a {
        padding-inline: 12px;
    }

    .px-contact-footer__trust {
        display: grid;
        grid-template-columns: repeat(2, 88px);
    }

    .px-contact-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .px-contact-button,
    .px-contact-header__toggle span {
        transition: none;
    }
}
