/* ============================================
   Kripton – Brochure Gate Modal
   ============================================ */

/* Backdrop */
.brochure-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.brochure-modal.is-open {
    display: flex;
}

/* Box */
.brochure-modal__box {
    background: #ffffff;
    width: 100%;
    max-width: 480px;
    padding: 3rem;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Close button */
.brochure-modal__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 1.4rem;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
}
.brochure-modal__close:hover { color: #0a0a0a; }

/* Header */
.brochure-modal__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #888;
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
}

.brochure-modal__title {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.brochure-modal__sub {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-family: 'Outfit', sans-serif;
}

/* Form fields */
.brochure-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.brochure-form__label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    color: #888;
    font-family: 'Outfit', sans-serif;
}

.brochure-form__input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #d0d0d0;
    padding: 0.65rem 0;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    color: #0a0a0a;
    outline: none;
    transition: border-color 0.25s ease;
    width: 100%;
}

.brochure-form__input:focus { border-bottom-color: #0a0a0a; }

.brochure-form__input.is-error { border-bottom-color: #c0392b; }

.brochure-form__error {
    font-size: 0.72rem;
    color: #c0392b;
    display: none;
    font-family: 'Outfit', sans-serif;
}

.brochure-form__input.is-error + .brochure-form__error { display: block; }

/* Submit */
.brochure-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    background: #0a0a0a;
    color: #ffffff;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'Outfit', sans-serif;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease;
}
.brochure-form__submit:hover { background: #333; }

.brochure-form__submit svg {
    width: 20px; height: 10px;
    stroke: currentColor; fill: none; stroke-width: 1.5;
    transition: transform 0.25s ease;
}
.brochure-form__submit:hover svg { transform: translateX(4px); }

/* Privacy note */
.brochure-form__note {
    font-size: 0.7rem;
    color: #aaa;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.5;
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 480px) {
    .brochure-modal__box { padding: 2rem 1.5rem; }
}
