:root {
    --background: #0b0907;
    --background-soft: #15100b;
    --panel: rgba(27, 20, 13, 0.96);
    --panel-light: rgba(45, 32, 20, 0.88);

    --gold: #d6a84f;
    --gold-light: #f1d28b;
    --gold-dark: #80612c;

    --text: #f4ead8;
    --text-soft: #cbbda7;
    --text-muted: #948673;

    --border: rgba(214, 168, 79, 0.26);
    --border-strong: rgba(214, 168, 79, 0.58);

    --danger: #ef8b82;
    --danger-background: rgba(128, 38, 31, 0.27);

    --success: #acd7a2;
    --success-background: rgba(45, 105, 50, 0.28);

    --info: #d9c58c;
    --info-background: rgba(110, 86, 35, 0.28);

    --shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at top,
            rgba(129, 74, 24, 0.24),
            transparent 32rem
        ),
        linear-gradient(
            180deg,
            #171008 0%,
            var(--background) 38%,
            #080706 100%
        );

    color: var(--text);
    font-family: "Inter", sans-serif;
    line-height: 1.6;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: var(--gold-light);
}

a:hover {
    color: #fff0bd;
}

.site-header {
    position: relative;
    z-index: 10;

    border-bottom: 1px solid var(--border);
    background: rgba(10, 8, 6, 0.88);
    backdrop-filter: blur(14px);
}

.header-container {
    width: min(1180px, calc(100% - 40px));
    min-height: 82px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    flex-direction: column;

    color: inherit;
    text-decoration: none;
}

.brand-title {
    color: var(--gold-light);
    font-family: "Cinzel", serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1;
}

.brand-subtitle {
    margin-top: 7px;

    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.28em;
}

.header-link {
    padding: 9px 14px;

    border: 1px solid var(--border);
    border-radius: 7px;

    color: var(--text-soft);
    font-size: 0.88rem;
    text-decoration: none;

    transition:
        border-color 160ms ease,
        color 160ms ease,
        background 160ms ease;
}

.header-link:hover {
    border-color: var(--border-strong);
    background: rgba(214, 168, 79, 0.08);
    color: var(--gold-light);
}

.page-main {
    min-height: calc(100vh - 160px);
}

.hero-section {
    padding: 76px 20px 52px;
    text-align: center;
}

.hero-content {
    width: min(820px, 100%);
    margin: 0 auto;
}

.eyebrow,
.form-step {
    margin: 0 0 14px;

    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.hero-section h1 {
    margin: 0;

    color: var(--gold-light);
    font-family: "Cinzel", serif;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    font-weight: 600;
    line-height: 1.12;
}

.hero-description {
    max-width: 720px;
    margin: 24px auto 0;

    color: var(--text-soft);
    font-size: 1.05rem;
}

.form-section {
    padding: 0 20px 90px;
}

.form-layout {
    width: min(1180px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.7fr);
    gap: 28px;
    align-items: start;
}

.information-card,
.form-card {
    border: 1px solid var(--border);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.025),
            transparent 45%
        ),
        var(--panel);

    box-shadow: var(--shadow);
}

.information-card {
    position: sticky;
    top: 26px;

    padding: 30px;
}

.information-card h2,
.form-heading h2 {
    margin: 0;

    color: var(--gold-light);
    font-family: "Cinzel", serif;
    font-weight: 600;
}

.information-card > p {
    color: var(--text-soft);
}

.information-card ul {
    margin: 24px 0 0;
    padding-left: 20px;

    color: var(--text-soft);
}

.information-card li + li {
    margin-top: 13px;
}

.information-highlight {
    margin-top: 30px;
    padding: 18px;

    border: 1px solid rgba(214, 168, 79, 0.2);
    border-radius: 9px;

    background: rgba(214, 168, 79, 0.07);
}

.information-highlight strong {
    display: block;
    margin-bottom: 4px;

    color: var(--gold-light);
}

.information-highlight p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.9rem;
}

.form-card {
    padding: clamp(26px, 5vw, 48px);
}

.form-heading {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.form-heading h2 {
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.form-heading > p:last-child {
    margin: 12px 0 0;
    color: var(--text-muted);
    font-size: 0.92rem;
}

.form-heading span,
label > span,
.checkbox-field strong {
    color: var(--gold);
}

.form-message {
    margin: 26px 0 0;
    padding: 16px 18px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 0.94rem;
}

.form-message.success {
    border-color: rgba(132, 194, 122, 0.44);
    background: var(--success-background);
    color: var(--success);
}

.form-message.error {
    border-color: rgba(239, 139, 130, 0.42);
    background: var(--danger-background);
    color: var(--danger);
}

.form-message.info {
    border-color: rgba(217, 197, 140, 0.42);
    background: var(--info-background);
    color: var(--info);
}

form {
    margin-top: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.field-full {
    grid-column: 1 / -1;
}

.field label,
.consent-group legend {
    display: block;
    margin-bottom: 8px;

    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
}

.field input,
.field textarea,
.field select {
    width: 100%;

    border: 1px solid rgba(214, 168, 79, 0.22);
    border-radius: 8px;
    outline: none;

    background: rgba(8, 7, 5, 0.7);
    color: var(--text);

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.field input,
.field select {
    min-height: 48px;
    padding: 0 14px;
}

.field textarea {
    min-height: 125px;
    padding: 13px 14px;
    resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #756a5c;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--gold-dark);
    background: rgba(13, 10, 7, 0.94);
    box-shadow: 0 0 0 3px rgba(214, 168, 79, 0.08);
}

.field input.invalid,
.field textarea.invalid,
.field select.invalid {
    border-color: rgba(239, 139, 130, 0.7);
}

.field-error {
    min-height: 19px;
    margin: 6px 0 0;

    color: var(--danger);
    font-size: 0.8rem;
}

.field-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.character-counter {
    flex-shrink: 0;
    margin-top: 6px;

    color: var(--text-muted);
    font-size: 0.75rem;
}

.consent-group {
    margin: 28px 0 0;
    padding: 24px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: rgba(214, 168, 79, 0.035);
}

.checkbox-field {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    color: var(--text-soft);
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-field + .field-error + .checkbox-field {
    margin-top: 15px;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;

    flex-shrink: 0;
    accent-color: var(--gold);
}

.submit-button {
    width: 100%;
    min-height: 54px;
    margin-top: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #e0b75f;
    border-radius: 8px;

    background:
        linear-gradient(
            180deg,
            #dcb45c,
            #aa772b
        );

    color: #1c1207;
    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: 0.045em;

    cursor: pointer;

    box-shadow:
        inset 0 1px rgba(255, 255, 255, 0.25),
        0 10px 30px rgba(148, 91, 24, 0.22);

    transition:
        transform 150ms ease,
        filter 150ms ease,
        opacity 150ms ease;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.submit-button:active:not(:disabled) {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.button-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.spinner {
    width: 17px;
    height: 17px;

    border: 2px solid rgba(28, 18, 7, 0.25);
    border-top-color: #1c1207;
    border-radius: 50%;

    animation: spin 0.8s linear infinite;
}

.privacy-note {
    margin: 16px 0 0;

    color: var(--text-muted);
    font-size: 0.78rem;
    text-align: center;
}

.honeypot-field {
    position: absolute !important;
    left: -10000px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.site-footer {
    padding: 28px 20px;

    border-top: 1px solid var(--border);
    background: rgba(5, 4, 3, 0.78);

    color: var(--text-muted);
    font-size: 0.78rem;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .form-layout {
        grid-template-columns: 1fr;
    }

    .information-card {
        position: static;
    }
}

@media (max-width: 640px) {
    .header-container {
        width: min(100% - 28px, 1180px);
        min-height: 72px;
    }

    .brand-title {
        font-size: 1.2rem;
    }

    .brand-subtitle {
        display: none;
    }

    .header-link {
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    .hero-section {
        padding: 54px 18px 38px;
    }

    .hero-description {
        font-size: 0.96rem;
    }

    .form-section {
        padding: 0 13px 60px;
    }

    .information-card,
    .form-card {
        border-radius: 10px;
    }

    .information-card {
        padding: 23px;
    }

    .form-card {
        padding: 25px 19px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field-full {
        grid-column: auto;
    }

    .consent-group {
        padding: 19px;
    }

    .field-footer {
        display: block;
    }

    .character-counter {
        display: block;
        text-align: right;
    }
    .site-footer {
    padding: 28px 20px;
    border-top: 1px solid rgba(215, 168, 79, 0.24);
    background: #040a0f;
}

.footer-content {
    width: min(calc(100% - 20px), 1180px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-content p {
    margin: 0;
    color: #aeb9c2;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 18px;
}

.footer-links a {
    color: #aeb9c2;
    font-size: 0.84rem;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #f1d38a;
}

@media (max-width: 720px) {
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        justify-content: flex-start;
    }
}
}