/**
 * Contact page - Avia Nova.
 */

body.avia-nova-theme .nova-contact-page {
    --nova-contact-primary: #2095AE;
    --nova-contact-navy: #0F2454;
    --nova-contact-text: #676977;
    --nova-contact-line: #E6E8EE;
    background: var(--nova-smoke, #F6F8FA);
}

body.avia-nova-theme:has(.nova-contact-page) .nova-site-header {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 6px 24px rgba(15, 36, 84, 0.07);
    backdrop-filter: blur(12px);
}

body.avia-nova-theme:has(.nova-contact-page) .nova-navbar > .container {
    border-bottom-color: transparent;
}

body.avia-nova-theme:has(.nova-contact-page) .nova-menu .nav-link {
    color: var(--nova-contact-navy);
}

body.avia-nova-theme:has(.nova-contact-page) .nova-menu .nav-link i {
    color: rgba(15, 36, 84, 0.55);
}

body.avia-nova-theme:has(.nova-contact-page) .nova-action-btn {
    color: var(--nova-contact-navy);
    background: rgba(15, 36, 84, 0.04);
    border-color: rgba(15, 36, 84, 0.1);
}

body.avia-nova-theme:has(.nova-contact-page) .nova-action-btn:hover {
    color: #fff;
    background: var(--nova-contact-primary);
    border-color: var(--nova-contact-primary);
}

body.avia-nova-theme:has(.nova-contact-page) .nova-nav-toggle span {
    background: var(--nova-contact-navy);
}

.nova-contact-page .container {
    max-width: min(1140px, calc(100% - 32px));
}

.nova-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 150px 0 84px;
    background:
        linear-gradient(135deg, rgba(15, 36, 84, 0.98), rgba(15, 36, 84, 0.88)),
        radial-gradient(circle at top right, rgba(32, 149, 174, 0.5), transparent 34%);
    color: #fff;
}

.nova-contact-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.nova-contact-breadcrumb {
    position: relative;
    z-index: 1;
    margin-bottom: 34px;
}

.nova-contact-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.nova-contact-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.nova-contact-breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.42);
}

.nova-contact-breadcrumb a {
    color: rgba(255, 255, 255, 0.82) !important;
}

.nova-contact-breadcrumb a:hover {
    color: #fff !important;
}

.nova-contact-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.nova-contact-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--nova-contact-primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nova-contact-hero__eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

body.avia-nova-theme .nova-contact-page .nova-contact-hero h1 {
    margin: 0;
    color: #fff !important;
    font-family: var(--nova-font-heading);
    font-size: clamp(44px, 6.2vw, 82px);
    font-weight: 700;
    line-height: 0.98;
}

body.avia-nova-theme .nova-contact-page .nova-contact-hero p {
    max-width: 620px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 18px;
    line-height: 1.75;
}

.nova-contact-main {
    padding: 70px 0 96px;
}

.nova-contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 22px;
    border-radius: 0;
}

.nova-contact-alert i {
    font-size: 20px;
}

.nova-contact-info-row {
    margin-bottom: 34px;
}

.nova-contact-info-card,
.nova-contact-form-panel,
.nova-contact-sidebar {
    height: 100%;
    border: 1px solid var(--nova-contact-line);
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 36, 84, 0.08);
}

.nova-contact-info-card {
    padding: 28px 24px;
    text-align: center;
}

.nova-contact-info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    background: rgba(32, 149, 174, 0.1);
    color: var(--nova-contact-primary);
    font-size: 24px;
}

.nova-contact-info-card h2 {
    margin: 0 0 6px;
    color: var(--nova-contact-navy);
    font-family: var(--nova-font-heading);
    font-size: 22px;
    font-weight: 700;
}

.nova-contact-info-card p {
    margin: 0 0 10px;
    color: var(--nova-contact-text);
    font-size: 14px;
}

.nova-contact-info-card a,
.nova-contact-info-card address {
    margin: 0;
    color: var(--nova-contact-primary);
    font-size: 15px;
    font-style: normal;
    font-weight: 800;
    word-break: break-word;
}

.nova-contact-info-card a:hover {
    color: var(--nova-contact-navy);
}

.nova-contact-form-panel,
.nova-contact-sidebar {
    padding: 32px;
}

.nova-contact-panel-head {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.nova-contact-panel-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    background: rgba(32, 149, 174, 0.1);
    color: var(--nova-contact-primary);
    font-size: 24px;
}

.nova-contact-panel-head h2,
.nova-contact-sidebar > h2 {
    margin: 0 0 8px;
    color: var(--nova-contact-navy);
    font-family: var(--nova-font-heading);
    font-size: 28px;
    font-weight: 700;
}

.nova-contact-panel-head p {
    margin: 0;
    color: var(--nova-contact-text);
    line-height: 1.6;
}

.nova-contact-form .form-label {
    margin-bottom: 8px;
    color: var(--nova-contact-navy);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.nova-contact-form .form-control {
    min-height: 52px;
    border: 1px solid var(--nova-contact-line);
    border-radius: 0;
    background: #F8FAFC;
    color: var(--nova-contact-text);
    box-shadow: none;
}

.nova-contact-form textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.nova-contact-form .form-control:focus {
    border-color: var(--nova-contact-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(32, 149, 174, 0.12);
}

.nova-contact-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.nova-contact-captcha__image {
    padding: 6px 10px;
    border: 1px solid var(--nova-contact-line);
    background: #F8FAFC;
    line-height: 0;
}

.nova-contact-captcha__image img {
    display: block;
    width: auto;
    max-width: 150px;
    height: 40px;
}

.nova-contact-captcha__refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--nova-contact-line);
    background: #fff;
    color: var(--nova-contact-navy);
}

.nova-contact-captcha__refresh:hover {
    border-color: var(--nova-contact-primary);
    color: var(--nova-contact-primary);
}

.nova-contact-captcha .form-control {
    flex: 1;
    min-width: 140px;
    max-width: 180px;
}

.nova-contact-captcha__hint {
    margin: 8px 0 0;
    color: var(--nova-contact-text);
    font-size: 13px;
}

.nova-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    background: var(--nova-contact-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px rgba(32, 149, 174, 0.22);
}

.nova-contact-submit:hover {
    background: var(--nova-contact-navy);
    color: #fff;
}

.nova-contact-sidebar {
    position: sticky;
    top: 104px;
    background:
        linear-gradient(180deg, #fff 0%, #F8FAFC 100%);
}

.nova-contact-sidebar__block {
    display: flex;
    gap: 14px;
    padding: 20px 0;
    border-top: 1px solid var(--nova-contact-line);
}

.nova-contact-sidebar__block > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: rgba(32, 149, 174, 0.1);
    color: var(--nova-contact-primary);
    font-size: 19px;
}

.nova-contact-sidebar h3 {
    margin: 0 0 5px;
    color: var(--nova-contact-navy);
    font-size: 16px;
    font-weight: 800;
}

.nova-contact-sidebar p {
    margin: 0;
    color: var(--nova-contact-text);
    line-height: 1.6;
}

.nova-contact-sidebar a {
    color: var(--nova-contact-primary);
    font-weight: 800;
    word-break: break-word;
}

.nova-contact-sidebar a:hover {
    color: var(--nova-contact-navy);
}

.nova-contact-sidebar__social {
    padding-top: 20px;
    border-top: 1px solid var(--nova-contact-line);
}

.nova-contact-sidebar__social > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nova-contact-sidebar__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--nova-contact-navy);
    color: #fff;
    font-size: 18px;
}

.nova-contact-sidebar__social a:hover {
    background: var(--nova-contact-primary);
    color: #fff;
}

.nova-contact-sidebar__support {
    margin-top: 22px !important;
    padding-top: 20px;
    border-top: 1px solid var(--nova-contact-line);
}

@media (max-width: 991.98px) {
    .nova-contact-hero {
        padding: 124px 0 58px;
    }

    .nova-contact-main {
        padding: 42px 0 64px;
    }

    .nova-contact-sidebar {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .nova-contact-page .container {
        max-width: calc(100% - 24px);
    }

    .nova-contact-hero {
        padding: 112px 0 46px;
    }

    body.avia-nova-theme .nova-contact-page .nova-contact-hero h1 {
        font-size: 44px;
    }

    .nova-contact-form-panel,
    .nova-contact-sidebar,
    .nova-contact-info-card {
        padding: 20px;
    }

    .nova-contact-panel-head {
        flex-direction: column;
    }

    .nova-contact-submit {
        width: 100%;
    }
}
