:root {
    --black: #090909;
    --ink: #191919;
    --muted: #6f6a60;
    --gold: #c9a24d;
    --gold-light: #f0d890;
    --paper: #fffaf0;
    --line: rgba(201, 162, 77, 0.32);
    --danger: #b42318;
    --success: #14733f;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(110deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.3) 44%, rgba(0, 0, 0, 0.7)),
        url("../images/interior-bg.png") center / cover fixed;
}

button,
input,
select,
textarea {
    font: inherit;
}

.page-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 560px);
    gap: 34px;
    align-items: center;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 40px 0;
}

.brand-panel {
    color: #fff;
    display: grid;
    gap: 62px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: min(520px, 100%);
    padding: 0;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.brand-logo {
    display: block;
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.brand-copy {
    max-width: 560px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold-light);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.brand-copy h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: 0;
}

.brand-copy p:last-child {
    max-width: 470px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.65;
}

.form-panel {
    position: relative;
}

.inquiry-form,
.thank-you {
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-top: 4px solid var(--gold);
    background: rgba(255, 250, 240, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(14px);
}

.form-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.form-heading p {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.form-heading span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

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

label {
    display: grid;
    gap: 7px;
}

label.wide {
    grid-column: 1 / -1;
}

label span {
    color: #2b2924;
    font-size: 13px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dfd3bb;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    outline: none;
    padding: 12px 13px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.18);
}

.submit-btn,
.thank-you button {
    width: 100%;
    min-height: 52px;
    margin-top: 22px;
    border: 0;
    border-radius: 6px;
    color: #111;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(104, 75, 18, 0.22);
}

.submit-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:disabled {
    cursor: wait;
    opacity: 0.75;
}

.btn-loader {
    display: none;
    width: 18px;
    height: 18px;
    border: 3px solid rgba(0, 0, 0, 0.2);
    border-top-color: #111;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.is-loading .btn-text {
    display: none;
}

.is-loading .btn-loader {
    display: inline-block;
}

.form-alert {
    display: none;
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.form-alert.is-visible {
    display: block;
}

.form-alert.error {
    color: var(--danger);
    background: #fff1ef;
    border: 1px solid #ffd0ca;
}

.form-alert.success {
    color: var(--success);
    background: #eefaf3;
    border: 1px solid #bbe7cd;
}

.thank-you {
    text-align: center;
}

.thank-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #111;
    color: var(--gold-light);
    font-size: 34px;
    font-weight: 900;
}

.thank-you h2 {
    margin: 0 0 10px;
    font-size: 34px;
}

.thank-you p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    body {
        background-attachment: scroll;
    }

    .page-shell {
        grid-template-columns: 1fr;
        gap: 26px;
        align-items: start;
        padding: 24px 0;
    }

    .brand-panel {
        gap: 28px;
    }

    .brand-copy h1 {
        max-width: 720px;
    }
}

@media (max-width: 560px) {
    .page-shell {
        width: min(100% - 24px, 1180px);
    }

    .brand-lockup {
        width: 100%;
    }

    .brand-logo {
        max-height: 118px;
    }

    .inquiry-form,
    .thank-you {
        padding: 22px 18px;
    }

    .form-heading {
        display: grid;
        gap: 6px;
    }

    .form-heading span {
        text-align: left;
    }

    .field-grid {
        grid-template-columns: 1fr;
    }
}
