/* V2 contact section — photo panel (with contact details) + form card.
   Superdesign draft 396a66cf. Neutral language (ink / #EBECEE / #F8F9FB); brand pink only on
   the submit CTA (styled at source in app.css `.custom-form-builder-form`). No box-shadows. */

.v2-contact {
    --ct-ink: #1E242E;
    --ct-muted: #6B7280;
    --ct-border: #EBECEE;
    --ct-soft: #F8F9FB;
    --ct-surface: #FFFFFF;
    padding: 3.5rem 1.5rem 5rem;
}

.v2-contact__inner {
    max-width: 1080px;
    margin: 0 auto;
}

/* ── Split: photo + form ───────────────────────────────── */
.v2-contact__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.v2-contact__visual {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 480px;
    padding: 2rem;
    border-radius: 20px;
    background: #111111;
    color: #fff;
}

.v2-contact__photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.v2-contact__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.35) 45%, rgba(17, 17, 17, 0.92) 100%);
}

.v2-contact__eyebrow {
    display: inline-flex;
    align-items: center;
    height: 1.75rem;
    padding: 0 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.v2-contact__visual-title {
    max-width: 26rem;
    margin: 1rem 0 0;
    font-size: clamp(1.5rem, 2.2vw, 1.75rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.v2-contact__visual-copy {
    max-width: 26rem;
    margin: 0.75rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.v2-contact__details {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.v2-contact__details li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
}

.v2-contact__detail-icon {
    flex: none;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
}

.v2-contact__detail-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.v2-contact__detail-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.65);
}

.v2-contact__detail-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    overflow-wrap: anywhere;
}

a.v2-contact__detail-value:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Form card ─────────────────────────────────────────── */
.v2-contact__card {
    padding: 2.25rem;
    border: 1px solid var(--ct-border);
    border-radius: 20px;
    background: var(--ct-surface);
}

.v2-contact__title {
    margin: 0;
    font-size: 1.375rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ct-ink);
}

.v2-contact__lead {
    margin: 0.375rem 0 1.75rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--ct-muted);
}

.v2-contact__card .custom-form-builder-form .btn-wrapper,
.v2-contact__card .custom-form-builder-form .submit-btn {
    width: 100%;
}

.v2-contact__status {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--ct-border);
    border-radius: 12px;
    background: var(--ct-soft);
    color: var(--ct-ink);
}

.v2-contact__status svg {
    flex: none;
    margin-top: 1px;
}

.v2-contact__status p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.v2-contact__status--success svg {
    color: #12805C;
}

.v2-contact__status--error {
    border-color: #F4B4AB;
}

.v2-contact__status--error svg {
    color: #B42318;
}

.v2-contact__privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin: 1rem 0 0;
    font-size: 0.75rem;
    color: var(--ct-muted);
}

.v2-contact__empty {
    margin: 0;
    color: var(--ct-muted);
}

@media (max-width: 1023px) {
    .v2-contact__split {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .v2-contact__visual {
        min-height: 340px;
    }
}

@media (max-width: 640px) {
    .v2-contact {
        padding: 2rem 1rem 3.5rem;
    }

    .v2-contact__card {
        padding: 1.5rem;
    }

    .v2-contact__visual {
        padding: 1.5rem;
    }
}

/* ── Dark mode ─────────────────────────────────────────── */
html[data-theme="dark"] .v2-contact {
    --ct-ink: #F3F4F6;
    --ct-muted: #A1A1AA;
    --ct-border: #2A2C34;
    --ct-soft: #17181C;
    --ct-surface: #111111;
}
