﻿/* Fullscreen exclusive popup — above theme/CF7 modals */
.haas-ms-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: none;
    width: 100%;
    height: 100%;
    max-height: 100dvh;
}

.haas-ms-contact-modal:not(.hidden) {
    display: block;
}

.haas-ms-contact-modal.hidden {
    display: none !important;
}

.haas-ms-contact-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    color: #111827;
}

html.haas-ms-contact-is-open,
html.haas-ms-contact-is-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
}

/* Isolate page content while popup is open */
html.haas-ms-contact-is-open #page,
html.haas-ms-contact-is-open #wpadminbar,
html.haas-ms-contact-is-open #contact-modal,
html.haas-ms-contact-is-open #consultation-modal {
    visibility: hidden !important;
    pointer-events: none !important;
}

html.haas-ms-contact-is-open .haas-ms-contact-modal {
    visibility: visible !important;
    pointer-events: auto !important;
}

.contact-fs {
    width: 100%;
    height: 100%;
    max-height: 100dvh;
}

.contact-fs--thanks .contact-fs-form-pane {
    grid-column: 1 / -1;
}

.contact-fs-content {
    width: 100%;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.contact-input {
    margin-top: 0.6rem;
    width: 100%;
    border: 1px solid #d1d5db;
    padding: 0 1rem;
    height: 3.25rem;
    font-size: 1rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s ease;
}

.contact-input:focus {
    outline: none;
    border-color: #FF7425;
}

.contact-textarea {
    height: auto;
    min-height: 8rem;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    resize: vertical;
}

.contact-choice {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 1rem 1.1rem;
    font-size: 1rem;
    font-weight: 500;
    color: #111827;
    line-height: 1.4;
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.contact-choice:hover {
    border-color: rgba(255, 116, 37, 0.55);
    background-color: rgba(255, 116, 37, 0.04);
}

.contact-choice:has(input:checked) {
    border-color: #FF7425;
    background-color: rgba(255, 116, 37, 0.08);
}

.contact-choice input {
    margin-top: 0.2rem;
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #FF7425;
    flex-shrink: 0;
}

/* Left wizard rail */
.contact-fs-rail {
    background: #0B0B0B;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 1024px) {
    .contact-fs-rail {
        border-bottom: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
}

.contact-fs-rail-inner {
    padding: 1.25rem 1.25rem 1.5rem;
}

@media (min-width: 640px) {
    .contact-fs-rail-inner {
        padding: 1.5rem 1.5rem 1.75rem;
    }
}

@media (min-width: 1024px) {
    .contact-fs-rail-inner {
        padding: 2rem 1.75rem 2rem;
    }
}

.contact-rail-brand {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.2;
}

.contact-rail-heading {
    margin-top: 0.55rem;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.2;
}

@media (min-width: 1024px) {
    .contact-rail-heading {
        font-size: 1.75rem;
    }
}

.contact-rail-status {
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.contact-fs-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 0 0.9rem;
    height: 2.75rem;
    font-size: 0.925rem;
    font-weight: 600;
    color: #111827;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.contact-fs-close:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

@media (min-width: 1024px) {
    .contact-fs-close {
        top: 1.25rem;
        right: 1.5rem;
    }
}

.contact-fs-form-pane .contact-fs-content {
    padding-top: 4.25rem;
}

@media (min-width: 1024px) {
    .contact-fs-form-pane .contact-fs-content {
        padding-top: 2.5rem;
    }
}

#contact-nav .contact-fs-content button {
    width: 100%;
}

@media (min-width: 640px) {
    #contact-nav .contact-fs-content button {
        width: auto;
    }
}

.contact-step-heading-block {
    margin: 0;
    padding: 0;
}

.contact-step-heading {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #111827;
}

@media (min-width: 768px) {
    .contact-step-heading {
        font-size: 1.875rem;
    }
}

.contact-step-subcopy {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #4b5563;
}

.contact-rail-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FF7425;
}

.contact-rail-stepcount {
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
}

.contact-rail-of {
    margin: 0 0.1rem;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 600;
}

.contact-rail-now {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.contact-rail-label {
    margin-top: 0.15rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.contact-rail-progress {
    margin-top: 1.15rem;
    height: 0.35rem;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.contact-rail-progress-fill {
    height: 100%;
    background: #FF7425;
    transition: width 0.3s ease;
}

.contact-step-list {
    margin-top: 1.75rem;
    list-style: none;
    padding: 0;
    display: none;
}

@media (min-width: 1024px) {
    .contact-step-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        flex: 1;
    }
}

.contact-step-item {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 0.15rem 0 1.15rem;
    color: rgba(255, 255, 255, 0.45);
    position: relative;
}

.contact-step-item:last-child {
    padding-bottom: 0;
}

.contact-step-track {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 100%;
}

.contact-step-track::after {
    content: "";
    position: absolute;
    top: 2rem;
    bottom: -1.15rem;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.12);
}

.contact-step-item:last-child .contact-step-track::after {
    display: none;
}

.contact-step-item.is-complete .contact-step-track::after {
    background: rgba(255, 116, 37, 0.55);
}

.contact-step-num {
    position: relative;
    z-index: 1;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #141414;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
}

.contact-step-item.is-active {
    color: #fff;
}

.contact-step-item.is-active .contact-step-num {
    border-color: #FF7425;
    background: #FF7425;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 116, 37, 0.18);
}

.contact-step-item.is-complete {
    color: rgba(255, 255, 255, 0.82);
}

.contact-step-item.is-complete .contact-step-num {
    border-color: #FF7425;
    background: transparent;
    color: #FF7425;
    font-size: 0;
}

.contact-step-item.is-complete .contact-step-num::before {
    content: "";
    width: 0.55rem;
    height: 0.3rem;
    border-left: 2px solid #FF7425;
    border-bottom: 2px solid #FF7425;
    transform: rotate(-45deg) translateY(-1px);
    display: block;
}

.contact-step-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    padding-top: 0.15rem;
}

.contact-step-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: inherit;
}

.contact-step-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.4;
}

.contact-step-item.is-active .contact-step-desc {
    color: rgba(255, 255, 255, 0.62);
}

.contact-fs-rail-help {
    display: none;
    margin-top: auto;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
    .contact-fs-rail-help {
        display: block;
    }
}

.contact-rail-help-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.contact-rail-help-copy {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.45;
}

.contact-rail-help-link {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #FF7425;
}

.contact-rail-help-link:hover {
    text-decoration: underline;
}

.contact-fs-rail a:focus-visible {
    outline: 3px solid #ffffff !important;
    outline-offset: 3px;
}


.contact-review-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .contact-review-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-review-block {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    padding: 0.95rem 1rem;
}

.contact-review-block--wide {
    grid-column: 1 / -1;
}

.contact-review-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b7280;
}

.contact-review-value {
    margin-top: 0.35rem;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 500;
    white-space: pre-wrap;
    line-height: 1.45;
}



/* Plugin-specific nav IDs + utilities */
#haas-ms-contact-nav .contact-fs-content button { width: 100%; }
@media (min-width: 640px) {
  #haas-ms-contact-nav .contact-fs-content button { width: auto; }
}
.haas-ms-contact-open { cursor: pointer; }
.w-16 { width: 4rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.h-14 { height: 3.5rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.flex-col-reverse { flex-direction: column-reverse; }
.accent-\[\#FF7425\] { accent-color: #FF7425; }
.border-\[\#FF7425\]\/30 { border-color: rgba(255, 116, 37, 0.3); }
.bg-\[\#FF7425\]\/10 { background-color: rgba(255, 116, 37, 0.1); }
.disabled\:opacity-40:disabled { opacity: 0.4; }
.disabled\:pointer-events-none:disabled { pointer-events: none; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
@media (min-width: 640px) {
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:w-auto { width: auto; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-between { justify-content: space-between; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 768px) {
  .md\:py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:h-14 { height: 3.5rem; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-4 { gap: 1rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:p-6 { padding: 1.5rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
}
@media (min-width: 1024px) {
  .lg\:px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:h-full { height: 100%; }
  .lg\:overflow-y-auto { overflow-y: auto; }
}
@media (min-width: 1280px) {
  .xl\:col-span-3 { grid-column: span 3 / span 3; }
  .xl\:col-span-9 { grid-column: span 9 / span 9; }
  .xl\:px-14 { padding-left: 3.5rem; padding-right: 3.5rem; }
}

