body { background: #fbf6ef !important; }

.contact-inner {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero */
.contact-hero {
    background: linear-gradient(180deg, #fbf6ef 0%, #f7ecdc 100%);
    padding: calc(var(--header-height) + 48px) 0 32px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 88% 30%, rgba(184, 106, 60, 0.08), transparent 32%),
        radial-gradient(circle at 8% 80%, rgba(46, 60, 110, 0.05), transparent 28%);
    z-index: 0;
}
.contact-hero-inner { position: relative; z-index: 1; }
.contact-eyebrow {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #d44e1d;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 6px;
}
.contact-title {
    font-size: 2.3rem;
    font-weight: 900;
    letter-spacing: -0.025em;
    color: #0a0a0f;
    margin: 0 0 10px;
}
.contact-tagline {
    font-size: 0.92rem;
    line-height: 1.85;
    color: #555;
    max-width: 720px;
    margin: 0;
}

/* Progress steps */
.contact-steps-wrap {
    background: #fbf6ef;
    padding: 28px 0 0;
}
.contact-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
    border: 1px solid rgba(80, 38, 16, 0.06);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}
.contact-step {
    position: relative;
    padding: 14px 18px;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    counter-increment: step;
    letter-spacing: 0.02em;
}
.contact-step::before {
    content: counter(step, decimal-leading-zero);
    font-family: 'EB Garamond', serif;
    font-style: italic;
    color: rgba(212, 78, 29, 0.55);
    margin-right: 8px;
    font-size: 0.95rem;
}
.contact-step + .contact-step {
    border-left: 1px solid rgba(80, 38, 16, 0.08);
}
.contact-step.is-active {
    background: linear-gradient(135deg, #060d22 0%, #0e1a3a 35%, #1e2a5a 100%);
    color: #fff;
    font-weight: 600;
}
.contact-step.is-active::before { color: rgba(255, 245, 232, 0.85); }
@media (max-width: 540px) {
    .contact-steps { grid-template-columns: 1fr; border-radius: 14px; }
    .contact-step + .contact-step { border-left: none; border-top: 1px solid rgba(80, 38, 16, 0.08); }
}

/* Form / Confirm / Complete shared shell */
.contact-form-section,
.contact-confirm-section,
.contact-complete-section {
    background: #fbf6ef;
    padding: 32px 0 96px;
}
.contact-card {
    background: #fff;
    border: 1px solid rgba(80, 38, 16, 0.06);
    border-radius: 14px;
    padding: 44px 48px;
}
@media (max-width: 720px) {
    .contact-card { padding: 32px 22px; }
}

/* Form rows */
.contact-form-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.contact-form-row:first-of-type { padding-top: 4px; }
.contact-form-row:last-of-type { border-bottom: none; padding-bottom: 6px; }
@media (max-width: 720px) {
    .contact-form-row { grid-template-columns: 1fr; gap: 8px; }
}
.contact-form-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0a0a0f;
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
@media (max-width: 720px) {
    .contact-form-label { padding-top: 0; }
}
.contact-form-required {
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    background: #d44e1d;
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.04em;
}
.contact-form-optional {
    font-size: 0.65rem;
    font-weight: 600;
    color: #888;
    background: rgba(0, 0, 0, 0.05);
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.04em;
}
.contact-form-control {
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    color: #0a0a0f;
    padding: 12px 14px;
    background: #fbf6ef;
    border: 1px solid rgba(80, 38, 16, 0.12);
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.18s ease;
}
.contact-form-control:focus {
    outline: none;
    border-color: #d44e1d;
    background: #fff;
}
textarea.contact-form-control { min-height: 160px; resize: vertical; }
.contact-form-help {
    font-size: 0.78rem;
    color: #888;
    margin: 6px 0 0;
    line-height: 1.65;
}

/* Validation errors */
.contact-form-errors {
    margin: 0 0 28px;
    padding: 18px 22px;
    background: rgba(212, 78, 29, 0.06);
    border-left: 3px solid #d44e1d;
    border-radius: 4px;
    color: #b73f15;
}
.contact-form-errors-title {
    font-size: 0.92rem;
    font-weight: 700;
    margin: 0 0 8px;
}
.contact-form-errors ul {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 0.86rem;
    line-height: 1.85;
}

/* Actions */
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 999px;
    border: none;
    font-family: inherit;
    cursor: pointer;
}
.contact-btn-primary {
    background: #0a0a0f;
    color: #fff;
}
.contact-btn-primary::after { content: '→'; font-style: normal; }
.contact-btn-secondary {
    background: transparent;
    color: #0a0a0f;
    border: 1px solid rgba(80, 38, 16, 0.18);
}
.contact-btn-secondary::before { content: '←'; font-style: normal; }

/* Privacy notice */
.contact-privacy-note {
    margin: 24px 0 0;
    padding: 18px 22px;
    background: #fbf6ef;
    border-left: 3px solid #d44e1d;
    border-radius: 4px;
    font-size: 0.83rem;
    line-height: 1.85;
    color: #555;
}
.contact-privacy-note a { color: #d44e1d; font-weight: 600; }

/* Confirm table */
.confirm-table { width: 100%; border-collapse: collapse; }
.confirm-table tr { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.confirm-table tr:last-child { border-bottom: none; }
.confirm-table th, .confirm-table td {
    text-align: left;
    padding: 18px 0;
    vertical-align: top;
    font-size: 0.92rem;
    line-height: 1.85;
}
.confirm-table th {
    width: 220px;
    font-weight: 700;
    color: #0a0a0f;
    padding-right: 24px;
}
.confirm-table td {
    color: #2a2a35;
    white-space: pre-wrap;
    word-break: break-word;
}
@media (max-width: 600px) {
    .confirm-table th, .confirm-table td {
        display: block;
        width: auto;
        padding: 8px 0;
    }
    .confirm-table th { font-size: 0.75rem; color: #888; letter-spacing: 0.04em; padding-bottom: 0; }
    .confirm-table td { padding-top: 4px; padding-bottom: 18px; }
}

/* Complete card */
.contact-complete-card {
    background: #fff;
    border: 1px solid rgba(80, 38, 16, 0.06);
    border-radius: 14px;
    padding: 64px 48px 56px;
    text-align: center;
}
@media (max-width: 720px) { .contact-complete-card { padding: 48px 22px; } }

.complete-mark {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0683a 0%, #d44e1d 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}
.complete-mark svg { width: 38px; height: 38px; }

.complete-eyebrow {
    display: block;
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: #d44e1d;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.complete-title {
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0a0a0f;
    margin: 0 0 20px;
}
.complete-body {
    font-size: 0.95rem;
    line-height: 1.95;
    color: #444;
    max-width: 560px;
    margin: 0 auto 36px;
}
.complete-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ====== AD section (shared dark band before footer) ====== */
.lds-ad-section {
    position: relative;
    background: linear-gradient(180deg, #0d0c14 0%, #14100f 25%, #1f1612 50%, #18100c 75%, #0a0604 100%);
    padding: 60px 0 80px;
    overflow: hidden;
}
.lds-ad-section::before {
    content: '';
    position: absolute;
    top: 30%; left: 50%;
    transform: translateX(-50%);
    width: 55%; height: 45%;
    background: radial-gradient(ellipse 50% 60% at center,
        rgba(170, 105, 65, 0.16) 0%,
        rgba(140, 80, 50, 0.06) 45%,
        transparent 75%);
    pointer-events: none;
}
.lds-ad-section .lds-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
}
.lds-ad-header {
    display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
}
.lds-ad-eyebrow {
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.32em;
    color: rgba(255, 255, 255, 0.45); text-transform: uppercase;
}
.lds-ad-divider { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.1); }
.lds-ad-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.lds-ad-banner {
    aspect-ratio: 6 / 5; max-width: 360px; width: 100%; margin: 0 auto;
    background: rgba(0, 0, 0, 0.35);
    border: 1px dashed rgba(180, 140, 110, 0.3);
    border-radius: 14px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; text-decoration: none; backdrop-filter: blur(4px);
}
.lds-ad-tag {
    font-size: 0.65rem; font-weight: 800; letter-spacing: 0.24em;
    color: #c89070; background: rgba(200, 144, 112, 0.1);
    padding: 3px 10px; border-radius: 4px;
}
.lds-ad-banner-text { font-size: 0.95rem; font-weight: 600; color: rgba(255, 255, 255, 0.6); }
.lds-ad-banner-size { font-size: 0.72rem; color: rgba(255, 255, 255, 0.32); letter-spacing: 0.04em; }
@media (max-width: 768px) { .lds-ad-grid { grid-template-columns: 1fr; } }

/* Footer dark continuation */
.footer {
    background: linear-gradient(180deg, #0a0604 0%, #000 40%, #000 100%) !important;
}
