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

/* ── Base ── */
body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #e8e2dc;
    background: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ── Header ── */
.site-header {
    text-align: center;
    padding: 40px 20px 20px;
    border-bottom: 1px solid #333;
}
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 6px;
    color: #e8e2dc;
}

/* ── Main ── */
.main {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* ── Intro ── */
.page-intro {
    text-align: center;
    margin-bottom: 60px;
}
.label-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    color: #888;
    margin-bottom: 16px;
}
.page-intro h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: #e8e2dc;
    margin-bottom: 20px;
    line-height: 1.3;
    white-space: nowrap;
}
@media (max-width: 500px) {
    .page-intro h1 { font-size: 28px; white-space: normal; }
}
.intro-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: #999;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Form Container ── */
.form-container {
    background: rgba(255,255,255,0.04);
    border: 1px solid #333;
    padding: 50px 40px;
}

@media (max-width: 600px) {
    .form-container { padding: 30px 20px; }
}

/* ── Sections ── */
.form-section {
    display: none;
}
.form-section.active {
    display: block;
    animation: fadeUp 0.35s ease;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.form-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    color: #e8e2dc;
    margin-bottom: 8px;
    text-align: center;
}
.form-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    color: #e8e2dc;
    margin: 36px 0 16px;
    padding-top: 16px;
    border-top: 1px solid #333;
}

.note {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 15px;
    color: #999;
    line-height: 1.7;
    margin: 16px 0 32px;
    padding: 16px 20px;
    border-left: 2px solid #555;
    background: rgba(255,255,255,0.03);
}
.hint {
    font-size: 12px;
    color: #777;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* ── Fields ── */
.field {
    margin-bottom: 28px;
}
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
@media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; gap: 0; }
}

label {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 15px;
    color: #ccc;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #444;
    color: #e8e2dc;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    transition: border-color 0.2s ease;
    border-radius: 0;
    -webkit-appearance: none;
    outline: none;
}
input:focus,
select:focus,
textarea:focus {
    border-bottom-color: #e8e2dc;
}
input::placeholder,
textarea::placeholder {
    color: #666;
    font-style: italic;
}

textarea {
    resize: vertical;
    min-height: 80px;
    border: 1px solid #444;
    padding: 12px;
    margin-top: 4px;
}
textarea:focus {
    border-color: #e8e2dc;
}

select {
    cursor: pointer;
    background: transparent;
}
select option {
    background: #1a1a1a;
    color: #e8e2dc;
}

/* ── Phone Input ── */
.phone-input {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}
.country-code {
    width: 110px;
    flex-shrink: 0;
    padding: 10px 0;
    font-size: 14px;
}
.phone-input input[type="tel"] {
    flex: 1;
}

/* ── Radio ── */
.radio-row {
    display: flex;
    gap: 24px;
    margin-top: 4px;
}
.radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 14px;
}
.radio input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    accent-color: #2a2a2a;
    cursor: pointer;
}
.radio input[type="radio"] {
    accent-color: #e8e2dc;
}
.radio span {
    color: #ccc;
}

/* ── Buttons ── */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #333;
}

.btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1px solid #e8e2dc;
    background: #e8e2dc;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn:hover {
    background: #fff;
    border-color: #fff;
}
.btn-back {
    background: transparent;
    color: #e8e2dc;
    border: 1px solid #e8e2dc;
}
.btn-back:hover {
    background: #e8e2dc;
    color: #1a1a1a;
}

/* ── Success ── */
.success {
    text-align: center;
    padding: 60px 20px;
}
.success-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #e8e2dc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 24px;
    color: #e8e2dc;
}
.success h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 300;
    color: #e8e2dc;
    margin: 16px 0 24px;
}
.success-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 16px;
    color: #999;
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.7;
}
.success-divider {
    width: 40px;
    height: 1px;
    background: #444;
    margin: 32px auto;
}
.success-sign {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: #e8e2dc;
    line-height: 1.5;
}
.success-sign span {
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 3px;
    color: #888;
}
.success p {
    font-size: 14px;
    color: #999;
}
.section-divider {
    height: 1px;
    background: #333;
    margin: 40px 0;
}

/* ── Footer ── */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #333;
}
.site-footer p {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    color: #888;
}

/* ── Error ── */
.field-error input,
.field-error textarea,
.field-error select {
    border-bottom-color: #e74c3c;
}
.field-error textarea {
    border-color: #e74c3c;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}
