/* ── Lead Capture Modal ────────────────────────────────────── */
#woi-lead-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}
#woi-lead-modal.woi-active { display: block; }
body.woi-open { overflow: hidden; }

.woi-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 19, 43, 0.6);
    backdrop-filter: blur(3px);
    animation: woiFadeIn 0.25s ease;
}

.woi-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 440px;
    background: #fff;
    border-top: 4px solid #162846;
    padding: 50px 46px 46px;
    box-sizing: border-box;
    box-shadow: 0 30px 80px rgba(11, 19, 43, 0.25);
    animation: woiSlideUp 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.woi-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #8A9AAB;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s;
}
.woi-close:hover { color: #162846; }

.woi-modal-label {
    display: block;
    color: #8A9AAB;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.68rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.woi-modal-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.2rem;
    color: #162846;
    margin: 0 0 8px 0;
    font-weight: normal;
    line-height: 1.15;
}

.woi-modal-sub {
    color: #8A9AAB;
    font-size: 0.9rem;
    margin: 0 0 26px 0;
    line-height: 1.5;
}

.woi-field { margin-bottom: 14px; }

.woi-field input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #d8dde6;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
    background: #f8fafc;
    border-radius: 0;
    -webkit-appearance: none;
}
.woi-field input:focus {
    border-color: #162846;
    background: #fff;
}
.woi-field input::placeholder { color: #aab4be; }

.woi-error {
    color: #c0392b;
    font-size: 0.82rem;
    margin-bottom: 8px;
    min-height: 16px;
}

.woi-submit {
    width: 100%;
    padding: 14px;
    background: #162846;
    color: #fff;
    border: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin-top: 6px;
    border-radius: 0;
}
.woi-submit:hover { background: #1f3a66; }
.woi-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.woi-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 10px 10px;
}
.woi-success-mark {
    font-size: 2rem;
    color: #162846;
    margin-bottom: 18px;
    display: block;
    line-height: 1;
}
.woi-success h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    color: #162846;
    margin: 0 0 12px;
    font-weight: normal;
}
.woi-success p { color: #8A9AAB; font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* ── Interior hero injected button ────────────────────────── */
.interior-hero .btn-hero-lead { display: inline-block; }

/* ── Hero CTA button ───────────────────────────────────────── */
.hero-cta-row { margin-top: 30px; display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }

.btn-hero-lead {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: #fff;
    padding: 13px 34px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    transition: background 0.3s, border-color 0.3s;
    white-space: nowrap;
}
.btn-hero-lead:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.85);
}

/* ── Inline CTA button (light backgrounds) ─────────────────── */
.btn-lead-inline {
    display: inline-block;
    padding: 13px 34px;
    background: transparent;
    border: 1px solid #162846;
    color: #162846;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.78rem;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}
.btn-lead-inline:hover { background: #162846; color: #fff; }

@keyframes woiFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes woiSlideUp {
    from { opacity: 0; transform: translate(-50%, calc(-50% + 18px)); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

@media (max-width: 480px) {
    .woi-modal { padding: 42px 26px 36px; }
    .woi-modal-title { font-size: 1.9rem; }
}
