*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #C5A880;
    --gold-hover: #b0935e;
    --navy: #1B2A4A;
    --bg: #F5F3EF;
    --card-bg: #FFFFFF;
    --text: #2C2C2C;
    --text-light: #6B6B6B;
    --border: #E0DBD3;
    --radius: 8px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* Language toggle */
.lang-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 4px;
    z-index: 10;
}

.lang-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.lang-btn:first-child {
    border-radius: var(--radius) 0 0 var(--radius);
}

.lang-btn:last-child {
    border-radius: 0 var(--radius) var(--radius) 0;
}

.lang-btn.active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

/* Card */
.card {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 460px;
    padding: 48px 40px;
}

.logo {
    text-align: center;
    margin-bottom: 36px;
}

.logo h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.subtitle {
    color: var(--gold);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
}

/* Steps */
.step {
    display: none;
}

.step.active {
    display: block;
}

.step h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}

/* Fields */
.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.field input[type="text"],
.field select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #FAFAF8;
    color: var(--text);
    transition: border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.field input[type="text"]:focus,
.field select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236B6B6B' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6.5 6.5 6.5-6.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.field.error input,
.field.error select {
    border-color: #D44;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn:not(.btn-back):not(.btn-submit) {
    background: var(--gold);
    color: #fff;
}

.btn:not(.btn-back):not(.btn-submit):hover {
    background: var(--gold-hover);
}

.btn-submit {
    background: var(--navy);
    color: #fff;
}

.btn-submit:hover:not(:disabled) {
    background: #253d66;
}

.btn-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-back {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
    margin-top: 10px;
}

.btn-back:hover {
    background: var(--bg);
}

/* Summary */
.summary {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.summary p {
    font-size: 15px;
    line-height: 1.8;
}

.summary strong {
    color: var(--text-light);
    font-weight: 600;
}

/* Checkbox */
.checkbox-field {
    margin-bottom: 24px;
}

.checkbox-field label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    text-transform: none;
    font-weight: 400;
    color: var(--text);
}

.checkbox-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--navy);
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 520px) {
    .card {
        padding: 32px 24px;
    }

    .logo h1 {
        font-size: 22px;
    }

    .lang-switch {
        top: 12px;
        right: 12px;
    }
}
