:root {
    --brown: #3B2A1A;
    --jade: #2E5B3A;
    --jade-dark: #21442b;
    --sand: #D9C7A7;
    --cream: #F7F3EA;
    --ivory: #FCFBF7;
    --text: #28251f;
    --muted: #756e62;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--text);
    background: var(--cream);
    font-family: "DM Sans", sans-serif;
}

.navbar {
    background: var(--brown);
    padding: 16px 0;
}

.navbar-brand {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    letter-spacing: .04em;
}

.navbar-brand:hover { color: #fff; }

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 50%;
    font-family: "Playfair Display", serif;
    font-size: 21px;
}

.navbar-brand strong { font-weight: 700; }

.hero {
    background:
        linear-gradient(rgba(59,42,26,.90), rgba(59,42,26,.90)),
        radial-gradient(circle at 80% 30%, rgba(46,91,58,.5), transparent 35%);
    color: white;
    padding: 75px 0 85px;
}

.hero-content {
    max-width: 780px;
    margin: auto;
    text-align: center;
}

.eyebrow {
    color: #d9c7a7;
    font-size: .78rem;
    letter-spacing: .18em;
    font-weight: 700;
}

h1, h2 {
    font-family: "Playfair Display", serif;
}

h1 {
    font-size: clamp(2.3rem, 5vw, 4.4rem);
    line-height: 1.05;
    margin: 15px 0;
}

.hero p {
    max-width: 680px;
    margin: auto;
    color: rgba(255,255,255,.82);
    font-size: 1.05rem;
    line-height: 1.8;
}

.form-section {
    padding: 55px 0 30px;
}

.form-card {
    background: var(--ivory);
    border-radius: 18px;
    padding: clamp(24px, 5vw, 55px);
    box-shadow: 0 15px 50px rgba(59,42,26,.09);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.step-number {
    color: var(--jade);
    font-weight: 700;
    letter-spacing: .1em;
    font-size: .8rem;
}

.form-header h2 {
    font-size: 1.65rem;
    margin: 0 0 4px;
}

.form-header p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
}

.form-label {
    font-weight: 600;
    font-size: .92rem;
    margin-bottom: 8px;
}

.form-label span,
.required-note span {
    color: var(--jade);
}

.form-control,
.form-select {
    min-height: 50px;
    border: 1px solid #ddd6c9;
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--jade);
    box-shadow: 0 0 0 .2rem rgba(46,91,58,.10);
}

hr {
    margin: 42px 0;
    border-color: #e7e0d4;
    opacity: 1;
}

.material-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.material-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.material-option span {
    display: inline-block;
    border: 1px solid #ddd6c9;
    border-radius: 999px;
    padding: 9px 15px;
    cursor: pointer;
    background: #fff;
    font-size: .88rem;
    transition: .2s ease;
}

.material-option input:checked + span {
    background: var(--jade);
    border-color: var(--jade);
    color: #fff;
}

.consent-box {
    background: #f3efe6;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 25px;
}

.form-check-input:checked {
    background-color: var(--jade);
    border-color: var(--jade);
}

.btn-submit {
    width: 100%;
    min-height: 56px;
    border-radius: 10px;
    border: 0;
    background: var(--jade);
    color: #fff;
    font-weight: 700;
    letter-spacing: .02em;
    transition: .2s ease;
}

.btn-submit:hover {
    background: var(--jade-dark);
    color: #fff;
    transform: translateY(-1px);
}

.character-count {
    text-align: right;
    color: #8a8377;
    font-size: .78rem;
    margin-top: 5px;
}

.required-note {
    color: var(--muted);
    font-size: .8rem;
    text-align: center;
    margin: 13px 0 0;
}

.bottom-note {
    text-align: center;
    color: #81796d;
    padding: 24px 0 10px;
    font-size: .85rem;
}

.alert {
    border-radius: 12px;
    border: 0;
    margin-bottom: 22px;
}

@media (max-width: 576px) {
    .hero { padding: 55px 0 65px; }
    .form-section { padding-top: 30px; }
    .form-card { border-radius: 14px; }
}
