/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;

    transition:
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.site-header .navbar {
    padding: 18px 0;
}

.site-header.is-scrolled {
    border-bottom: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* =========================================================
   HEADER ON DARK PAGE HERO
   ========================================================= */

.page-contact .site-header:not(.is-scrolled) .brand-word,
.page-contact .site-header:not(.is-scrolled) .nav-link {
    color: #ffffff !important;
}

.page-contact .site-header:not(.is-scrolled) .menu-toggle span {
    background: #ffffff;
}

.page-contact .site-header:not(.is-scrolled) .nav-link::after {
    background: linear-gradient(
        90deg,
        var(--blue),
        var(--purple)
    );
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    min-width: 0;

    text-decoration: none;
}

.brand-logo {
    width: 28px;
    height: 28px;

    flex-shrink: 0;
    object-fit: contain;
}

.brand-word {
    color: var(--text);

    font-family: var(--body);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.13em;

    white-space: nowrap;
}

.nav-link {
    position: relative;

    padding: 0.6rem 0.75rem !important;

    color: #25262b !important;

    font-size: 0.9rem;
    font-weight: 600;

    transition: color 160ms ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text) !important;
}

.nav-link::after {
    content: "";

    position: absolute;
    right: 0.75rem;
    bottom: 1px;
    left: 0.75rem;

    height: 1px;

    background: linear-gradient(
        90deg,
        var(--blue),
        var(--purple)
    );

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 160ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    font-weight: 700;
}

.menu-toggle {
    padding: 8px;

    border: 0;
    box-shadow: none !important;
}

.menu-toggle span {
    display: block;

    width: 25px;
    height: 2px;
    margin: 5px;

    background: #111111;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    padding: 0.78rem 1.1rem;

    border-radius: 10px;

    font-weight: 700;

    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

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

.btn-primary-vs {
    border: 1px solid var(--dark);

    background: var(--dark);
    color: #ffffff;
}

.btn-primary-vs:hover {
    background: #1a1b1e;
    color: #ffffff;
}

.btn-secondary-vs {
    border: 1px solid #bbbbbb;

    background: transparent;
    color: #111111;
}

.btn-secondary-vs:hover {
    border-color: #111111;

    background: #ffffff;
}

.btn-light-vs {
    border: 1px solid #ffffff;

    background: #ffffff;
    color: #0a0a0c;
}

.btn-dark-outline {
    border: 1px solid #4a4c52;

    background: transparent;
    color: #ffffff;
}


/* =========================================================
   CHIPS
   ========================================================= */

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.chip-row span {
    padding: 6px 9px;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: #55585f;

    font-size: 0.73rem;
}

.chip-row-dark span {
    border-color: #393b43;
    color: #d6d8de;
}


/* =========================================================
   REVEAL MOTION
   ========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity 560ms ease,
        transform 560ms ease;
}

.reveal.is-visible {
    opacity: 1;

    transform: none;
}


/* =========================================================
   BUSINESS INQUIRY MODAL
   ========================================================= */

.vs-inquiry-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.vs-inquiry-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vs-inquiry-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(8, 9, 11, 0.72);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.vs-inquiry-dialog {
    position: relative;
    z-index: 1;

    width: min(100%, 760px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;

    padding: 32px 38px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: #ffffff;

    transform: translateY(14px);

    transition: transform 180ms ease;
}

.vs-inquiry-modal.is-open .vs-inquiry-dialog {
    transform: translateY(0);
}

.vs-inquiry-close {
    position: absolute;
    top: 18px;
    right: 18px;

    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: #ffffff;
    color: var(--dark);

    font-size: 24px;
    line-height: 1;

    cursor: pointer;
}

.vs-inquiry-header {
    max-width: 620px;
    margin-bottom: 22px;
}

.vs-inquiry-label {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.vs-inquiry-label span {
    width: 30px;
    height: 2px;

    background: linear-gradient(
        90deg,
        var(--blue),
        var(--purple)
    );
}

.vs-inquiry-header h2 {
    margin-bottom: 10px;

    font-family: var(--display);
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 800;
    line-height: 0.98;
}

.vs-inquiry-header p {
    max-width: 560px;
    margin: 0;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.65;
}

.vs-form-group {
    margin-bottom: 14px;
}

.vs-form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--text);

    font-size: 14px;
    font-weight: 650;
}

.vs-form-group label span {
    margin-left: 6px;

    color: #8c8e94;

    font-size: 12px;
    font-weight: 500;
}

.vs-form-control {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #dcdde2;
    border-radius: 10px;

    outline: none;

    background: #ffffff;
    color: var(--text);

    font-family: var(--body);
    font-size: 15px;

    transition:
        border-color 150ms ease,
        box-shadow 150ms ease;
}

.vs-form-control:focus {
    border-color: var(--blue);

    box-shadow: 0 0 0 3px rgba(29, 102, 245, 0.10);
}

.vs-form-textarea {
    min-height: 96px;
    resize: vertical;
}

.vs-form-select {
    cursor: pointer;
}

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

.vs-field-error {
    min-height: 18px;
    margin-top: 6px;

    color: #b42318;

    font-size: 12px;
}

.vs-inquiry-message {
    margin-bottom: 14px;

    font-size: 14px;
    font-weight: 600;
}

.vs-inquiry-message.is-error {
    color: #b42318;
}

.vs-inquiry-message.is-success {
    color: #137333;
}

.vs-inquiry-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    margin-top: 4px;
}

.vs-inquiry-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.vs-inquiry-note {
    margin: 12px 0 0;

    color: #8a8c92;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   FLOATING CONTACT ASSISTANT
   ========================================================= */

.vs-contact-assistant {
    position: fixed;
    right: 28px;
    bottom: 24px;
    z-index: 1500;
}

.vs-contact-launcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    min-height: 50px;
    padding: 0 18px;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: #ffffff;
    color: var(--dark);

    box-shadow: 0 12px 32px rgba(8, 9, 11, 0.10);

    font-family: var(--body);
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease;
}

.vs-contact-launcher:hover {
    transform: translateY(-2px);

    border-color: #d3d5db;

    box-shadow: 0 16px 38px rgba(8, 9, 11, 0.14);
}

.vs-contact-status {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: #18c56e;
}

.vs-contact-panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);

    width: min(390px, calc(100vw - 32px));
    padding: 24px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: #ffffff;

    box-shadow: 0 24px 60px rgba(8, 9, 11, 0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(10px);

    transition:
        opacity 170ms ease,
        visibility 170ms ease,
        transform 170ms ease;
}

.vs-contact-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateY(0);
}

.vs-contact-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;

    margin-bottom: 10px;
}

.vs-contact-kicker {
    display: block;

    margin-bottom: 7px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.vs-contact-panel-header h3 {
    margin: 0;

    font-family: var(--display);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.vs-contact-close {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: transparent;

    font-size: 21px;
    line-height: 1;

    cursor: pointer;
}

.vs-contact-intro {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.55;
}

.vs-contact-options {
    display: grid;

    border-top: 1px solid var(--border);
}

.vs-contact-option {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;

    width: 100%;
    padding: 13px 0;

    border: 0;
    border-bottom: 1px solid var(--border);

    background: transparent;
    color: var(--dark);

    text-align: left;

    cursor: pointer;

    transition:
        color 140ms ease,
        padding-left 140ms ease;
}

.vs-contact-option:hover {
    padding-left: 4px;

    color: var(--blue);
}

.vs-contact-option-number {
    color: #8a8c92;

    font-size: 10px;
    font-weight: 700;
}

.vs-contact-option strong {
    display: block;

    margin-bottom: 2px;

    font-size: 13px;
    font-weight: 700;
}

.vs-contact-option small {
    display: block;

    color: #777980;

    font-size: 11px;
    line-height: 1.4;
}

.vs-contact-direct {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    margin-top: 18px;

    font-size: 12px;
}

.vs-contact-direct span {
    color: #777980;
}

.vs-contact-direct a {
    color: var(--dark);

    font-weight: 700;
}

.vs-contact-direct a:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 88px 0 28px;

    border-top: 1px solid #17181b;

    background: #050607;
    color: #ffffff;
}

.footer-main {
    display: grid;
    grid-template-columns:
        minmax(300px, 1.7fr)
        0.75fr
        0.75fr
        1fr;
    gap: 60px;
}

.footer-brand-column {
    max-width: 480px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 28px;
}

.footer-brand-logo {
    width: 31px;
    height: 31px;

    object-fit: contain;
}

.footer-brand > span {
    margin: 0;

    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.footer-statement {
    max-width: 470px;
    margin: 0 0 28px;

    color: #ffffff;

    font-family: var(--display);
    font-size: clamp(2.3rem, 3.2vw, 3.6rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.02em;
}

.footer-conversation-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 0 0 5px;

    border: 0;
    border-bottom: 1px solid #5d6068;

    background: transparent;
    color: #ffffff;

    font-family: var(--body);
    font-size: 0.88rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        border-color 160ms ease,
        gap 160ms ease;
}

.footer-conversation-link:hover {
    gap: 14px;

    border-color: #ffffff;
}

.footer-links-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-label {
    margin: 0 0 20px !important;

    color: #777a83 !important;

    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.footer-links-column a,
.footer-links-column > span {
    margin: 0 0 11px;

    color: #d0d1d5;

    font-size: 0.9rem;

    transition: color 150ms ease;
}

.footer-links-column a:hover {
    color: #ffffff;
}

.footer-contact-note {
    max-width: 240px;
    margin-top: 18px;

    color: #777a83;

    font-size: 0.78rem;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 70px;
    padding-top: 24px;

    border-top: 1px solid var(--border-dark);
}

.footer-bottom span {
    margin: 0;

    color: #777a83;

    font-size: 0.77rem;
}
