/* Consultation content and shared navigation. Keep presentation outside page HTML. */
.fs-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 22px;
    padding: 9px 16px;
    border: 1px solid rgba(103, 232, 249, 0.5);
    border-radius: 3px;
    background: #092c42;
    color: #c8f7ff;
    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.5;
}

.fs-free-badge::before {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #67e8f9;
    content: '';
}

.fs-button--primary,
.contact-form-shell .wpcf7-submit {
    background: linear-gradient(120deg, #1e40af, #075985) !important;
    color: #fff !important;
}

.fs-button--primary:hover,
.contact-form-shell .wpcf7-submit:hover {
    filter: brightness(1.12);
}

.fs-consultation-note {
    max-width: 660px;
    margin: 16px 0 0;
    color: #cedded;
    font-size: 0.88rem;
    line-height: 1.85;
}

.fs-cta-panel .fs-consultation-note {
    margin-right: auto;
    margin-left: auto;
}

.fs-consultation-band {
    padding: 38px 0;
    border-top: 1px solid var(--fs-border-strong);
    border-bottom: 1px solid var(--fs-border);
    background: #061827;
}

.fs-consultation-band__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px 48px;
}

.fs-consultation-band h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    line-height: 1.6;
}

.fs-consultation-band ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    color: #cee0f0;
    list-style: none;
    font-size: 0.94rem;
    line-height: 1.8;
}

.fs-consultation-band li::before {
    margin-right: 8px;
    color: var(--fs-cyan);
    content: '\2713';
}

.global-nav .fs-menu-consultation > a {
    margin: 6px;
    padding: 12px 18px;
    border: 1px solid #397590;
    border-radius: 3px;
    background: #10384e;
    color: #e5fbff !important;
}

.global-nav .global-nav-list > .fs-menu-consultation > a {
    height: auto;
}

.contact-form-shell {
    max-width: 900px;
}

.contact-form-shell fieldset {
    min-width: 0;
}

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

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

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

.contact-form-shell .contact-fields p,
.contact-form-shell .contact-fields label {
    margin: 0;
}

.contact-form-shell .wpcf7-text,
.contact-form-shell .wpcf7-email,
.contact-form-shell .wpcf7-textarea,
.contact-form-shell .wpcf7-select {
    min-height: 48px;
    border-color: #4b657c !important;
    font-size: 16px !important;
    line-height: 1.6;
}

.contact-form-shell .wpcf7-textarea::placeholder {
    color: #a9bdd2;
    opacity: 1;
}

.contact-form-shell .wpcf7-select {
    appearance: none;
    padding-right: 32px !important;
    background: #071322 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c7e9f4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 10px center / 16px 16px no-repeat !important;
}

.contact-form-shell .contact-field-help {
    margin: 8px 0 0;
    color: #b7c8db;
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.8;
}

.contact-privacy {
    margin: 28px 0 18px;
    padding: 18px;
    border: 1px solid #3f596f;
    border-radius: 3px;
    background: #071322;
}

.contact-privacy summary {
    color: #d6f7ff;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
}

.contact-form-shell .contact-privacy p {
    margin: 14px 0 0;
    color: #c2d1e0;
    font-size: 0.9rem;
    line-height: 1.9;
}

.contact-form-shell .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.contact-form-shell .wpcf7-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.93rem;
    line-height: 1.8;
}

.contact-form-shell input[type='checkbox'] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: #155e75;
}

.contact-form-shell .wpcf7-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.contact-form-shell .wpcf7-submit:focus-visible,
.contact-form-shell input[type='checkbox']:focus-visible,
.contact-privacy summary:focus-visible,
.fs-site-footer a:focus-visible {
    outline: 3px solid #67e8f9;
    outline-offset: 5px;
}

.contact-form-shell input:-webkit-autofill {
    -webkit-text-fill-color: #eff6ff;
    -webkit-box-shadow: 0 0 0 1000px #071322 inset;
    caret-color: #eff6ff;
}

.contact-form-shell .wpcf7-not-valid-tip {
    color: #ffbaba;
    font-size: 0.88rem;
    line-height: 1.8;
}

.contact-form-shell .wpcf7-response-output {
    border-width: 2px;
    background: #111b2b;
    line-height: 1.9;
}

.fs-page-hero--compact {
    min-height: 0;
    padding: 170px 0 64px;
    background: radial-gradient(ellipse at 85% 0, #143654 0, transparent 65%), #020b1a;
}

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

.fs-link-card {
    display: block;
    padding: 28px;
    text-decoration: none;
}

.fs-link-card h2,
.fs-link-card h3 {
    margin: 0 0 12px;
    color: #effbff;
    font-size: 1.2rem;
    line-height: 1.6;
}

.fs-link-card p {
    margin: 0;
    color: #bdcee0;
    line-height: 1.85;
}

.fs-link-card:hover,
.fs-link-card:focus-visible {
    border-color: #67e8f9;
    text-decoration: none;
}

.fs-link-card:focus-visible {
    outline: 3px solid #67e8f9;
    outline-offset: 4px;
}

.fs-guide-step {
    padding: 30px;
}

.fs-guide-step + .fs-guide-step {
    margin-top: 20px;
}

.fs-guide-step h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.6;
}

.fs-guide-step p {
    color: #c2d2e2;
    line-height: 1.9;
}

.fs-guide-step a {
    color: #91ecff;
    text-underline-offset: 4px;
}

.ai-hero__points {
    margin-top: 26px;
}

#contact-form {
    scroll-margin-top: 112px;
}

@media (width > 992px) {
    #global-nav {
        display: flex !important;
    }

    #vk-mobile-nav-menu-btn.vk-mobile-nav-menu-btn {
        display: none !important;
    }

    .site-header-container {
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .site-header-logo {
        width: 220px;
        max-width: 220px;
        flex: 0 0 220px;
        margin: 0;
        padding: 0;
        transform: none;
    }

    .site-header-logo img {
        display: block;
        max-width: 100%;
        height: auto;
        max-height: 56px;
        object-fit: contain;
        object-position: left center;
    }

    .global-nav {
        margin-left: auto;
    }
}

@media (max-width: 992px) {
    #vk-mobile-nav-menu-btn.vk-mobile-nav-menu-btn {
        position: fixed;
        top: 16px;
        left: 14px;
        display: flex !important;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background-color: #071a30 !important;
        color: #fff;
        font-size: 0;
        cursor: pointer;
    }

    #vk-mobile-nav-menu-btn::before,
    #vk-mobile-nav-menu-btn::after {
        position: absolute;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        content: '';
    }

    #vk-mobile-nav-menu-btn::before {
        box-shadow: 0 -6px 0 #fff, 0 6px 0 #fff;
    }

    #vk-mobile-nav-menu-btn::after {
        display: none;
    }

    #vk-mobile-nav-menu-btn.menu-open::before {
        transform: rotate(45deg);
        box-shadow: none;
    }

    #vk-mobile-nav-menu-btn.menu-open::after {
        display: block;
        transform: rotate(-45deg);
    }

    #vk-mobile-nav-menu-btn:focus-visible {
        outline: 3px solid #67e8f9;
        outline-offset: 4px;
    }

    body.admin-bar #vk-mobile-nav-menu-btn.vk-mobile-nav-menu-btn {
        top: 62px;
    }

    .fs-consultation-band__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .fs-page-hero {
        min-height: 0;
        padding: 136px 0 54px;
    }

    .fs-page-hero--compact {
        padding-top: 124px;
    }

    .fs-free-badge {
        font-size: 0.84rem;
        padding: 8px 12px;
    }

    .fs-consultation-note {
        font-size: 0.87rem;
    }

    .fs-consultation-band {
        padding: 30px 0;
    }

    .fs-consultation-band ul {
        display: block;
    }

    .fs-consultation-band li + li {
        margin-top: 7px;
    }

    .fs-title {
        font-size: clamp(1.65rem, 7.1vw, 2rem);
    }

    .contact-fields,
    .fs-link-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fs-site-footer__top,
    .fs-footer-links {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .fs-site-footer__top {
        gap: 18px;
    }

    .fs-footer-links {
        gap: 0;
    }

    .fs-site-footer {
        padding-top: 32px;
    }

    .fs-guide-step,
    .fs-link-card {
        padding: 24px 20px;
    }

    .fs-button {
        padding-right: 18px;
        padding-left: 18px;
        font-size: 0.94rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Keep both fixed controls usable on the inquiry page. */
body.page-id-47 #page_top {
    bottom: 90px !important;
}
