.hero {
    position: relative;
    background: linear-gradient(135deg, #0d1117 0%, #121b2e 50%, #0d1117 100%);
    padding: 80px 60px 56px;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 0%, rgba(230, 168, 23, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 79px,
            rgba(255, 255, 255, 0.015) 79px, rgba(255, 255, 255, 0.015) 80px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--fg);
    margin-bottom: 16px;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 0.95rem;
    color: var(--fg2);
    font-weight: 300;
    line-height: 1.8;
}

/* ── MAIN WRAPPER ── */
.page-main {
    background: var(--bg);
    padding: 72px 60px 100px;
}

.page-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ── SECTION BLOCK ── */
.form-section {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-top: 3px solid var(--gold);
    padding: 44px 48px;
    margin-bottom: 28px;
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
}

.section-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
    display: block;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--fg);
    line-height: 1.15;
    margin-bottom: 8px;
}

.section-title em {
    font-style: italic;
    color: var(--gold);
}

.section-divider {
    width: 48px;
    height: 2px;
    background: var(--gold);
    margin: 18px 0 36px;
}

/* centered heading variant */
.section-center {
    text-align: center;
}

.section-center .section-eyebrow {
    justify-content: center;
}

.section-center .section-eyebrow::before {
    display: none;
}

.section-center .section-eyebrow::after {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
    display: block;
}

.section-center .section-divider {
    margin: 18px auto 36px;
}

/* ── FORM ROWS & FIELDS ── */
.form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.form-row-full {
    grid-column: 1 / -1;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg2);
    font-weight: 500;
}

.field label span {
    color: var(--gold);
    margin-left: 2px;
}

.field input,
.field select,
.field textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--fg);
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 300;
    padding: 13px 16px;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border-radius: var(--btn-radius);
}

.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a09888' stroke-width='1.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

.field select option {
    background: #1a2030;
    color: var(--fg);
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(160, 152, 136, 0.35);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(230, 168, 23, 0.5);
    background: rgba(230, 168, 23, 0.03);
}

.field textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.7;
}

.field.error input,
.field.error select,
.field.error textarea {
    border-color: rgba(220, 80, 80, 0.6);
}

.field-error-msg {
    display: none;
    color: rgba(220, 80, 80, 0.9);
    font-size: 0.75rem;
    margin-top: 6px;
}

.field.error .field-error-msg {
    display: block;
}

/* ── SERVICES DROPDOWN WITH CHECKBOXES ── */
.services-wrapper {
    position: relative;
}

.services-trigger {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--fg);
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 300;
    padding: 13px 40px 13px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: border-color 0.3s;
    user-select: none;
}

.services-trigger:hover,
.services-trigger.open {
    border-color: rgba(230, 168, 23, 0.5);
    background: rgba(230, 168, 23, 0.03);
}

.services-trigger-text {
    color: rgba(160, 152, 136, 0.55);
    font-size: 0.9rem;
}

.services-trigger-text.has-value {
    color: var(--fg);
}

.services-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--fg2);
}

.services-chevron.open {
    transform: rotate(180deg);
}

.services-dropdown {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #1a2030;
    border: 1px solid rgba(230, 168, 23, 0.25);
    z-index: 100;
    display: none;
}

.services-dropdown.open {
    display: block;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 18px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.service-option:last-child {
    border-bottom: none;
}

.service-option:hover {
    background: rgba(230, 168, 23, 0.05);
}

.service-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-checkmark {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, background 0.3s;
    flex-shrink: 0;
}

.service-option input:checked+.service-checkmark {
    background: var(--gold);
    border-color: var(--gold);
}

.service-option input:checked+.service-checkmark::after {
    content: '';
    display: block;
    width: 4px;
    height: 8px;
    border: 2px solid #0d1117;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.service-option-label {
    font-size: 0.85rem;
    color: var(--fg2);
    transition: color 0.2s;
}

.service-option:hover .service-option-label,
.service-option input:checked~.service-option-label {
    color: var(--fg);
}

/* ── RADIO BUTTONS ── */
.radio-group {
    display: flex;
    gap: 16px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--fg2);
    padding: 12px 20px;
    border: 1px solid var(--border);
    background: var(--bg);
    flex: 1;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.radio-label:hover {
    border-color: rgba(230, 168, 23, 0.3);
    color: var(--fg);
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-mark {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.radio-label:has(input:checked) {
    border-color: rgba(230, 168, 23, 0.5);
    background: rgba(230, 168, 23, 0.03);
    color: var(--fg);
}

.radio-label:has(input:checked) .radio-mark {
    border-color: var(--gold);
}

.radio-label:has(input:checked) .radio-mark::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* ── BUDGET INPUT ── */
.budget-wrapper {
    position: relative;
}

.budget-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 500;
    pointer-events: none;
}

.budget-wrapper input {
    padding-left: 34px;
}

/* ── SUBMIT ── */
.submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.submit-note {
    font-size: 0.75rem;
    color: var(--fg2);
    line-height: 1.6;
}

.submit-note strong {
    color: var(--fg);
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 36px;
    background: var(--gold);
    color: #0d1117;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    min-width: 260px;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--gold2);
}

.submit-arrow {
    font-size: 1.2rem;
    font-weight: 400;
    transition: transform 0.3s;
}

.submit-btn:hover .submit-arrow {
    transform: translateX(4px);
}

/* ── SUCCESS ── */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 72px 40px;
    background: rgba(230, 168, 23, 0.05);
    border: 1px solid rgba(230, 168, 23, 0.2);
    margin-top: 28px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--gold);
    color: #0d1117;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.form-success h4 {
    font-family: var(--serif);
    font-size: 1.7rem;
    color: var(--fg);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--fg2);
    line-height: 1.8;
    max-width: 440px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .hero {
        padding: 60px 24px 40px;
    }

    .page-main {
        padding: 48px 24px 72px;
    }

    .form-section {
        padding: 32px 24px;
    }

    .form-row,
    .form-row-3 {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

    .submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .submit-btn {
        min-width: 100%;
    }
}