.page-landing--contact {
    --contact-accent: #8b5cf6;
    --contact-accent-alt: #38bdf8;
    --contact-accent-soft: rgba(139, 92, 246, 0.16);
    --contact-panel: rgba(8, 11, 19, 0.78);
    --contact-panel-soft: rgba(255, 255, 255, 0.04);
    --contact-border: rgba(255, 255, 255, 0.10);
    --contact-border-strong: rgba(255, 255, 255, 0.18);
    --contact-text: rgba(255, 255, 255, 0.96);
    --contact-muted: rgba(226, 232, 240, 0.72);
    --contact-shadow: 0 34px 90px rgba(0, 0, 0, 0.28);
}

body.body--auth:has(.page-landing--contact) .app-shell--auth {
    max-width: none;
    margin: 0;
    padding: 0;
}

body.body--auth:has(.page-landing--contact) .content-grid {
    max-width: none !important;
    padding: 0;
}

.page-landing--contact .seo-page {
    position: relative;
    overflow: clip;
}

.page-landing--contact .seo-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(56, 189, 248, 0.12), transparent 22%),
        radial-gradient(circle at 84% 10%, rgba(139, 92, 246, 0.18), transparent 24%),
        radial-gradient(circle at 50% 72%, rgba(14, 165, 233, 0.08), transparent 26%);
    pointer-events: none;
}

.page-landing--contact .seo-page::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 100% 44px, 44px 100%;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 86%);
    opacity: 0.26;
    pointer-events: none;
}

.page-landing--contact .seo-hero {
    padding-bottom: clamp(32px, 5vw, 56px);
}

.page-landing--contact .contact-hero__panel {
    grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
}

.page-landing--contact .contact-hero__content {
    gap: 20px;
}

.page-landing--contact .seo-hero__eyebrow,
.page-landing--contact .seo-section__eyebrow {
    color: color-mix(in srgb, var(--contact-accent-alt) 58%, #ffffff 42%);
}

.page-landing--contact .seo-hero h1 {
    max-width: 11ch;
}

.page-landing--contact .seo-hero__lede {
    max-width: 58ch;
}

.page-landing--contact .seo-trust-row {
    gap: 10px;
}

.page-landing--contact .seo-trust-chip {
    border-color: var(--contact-border);
    background: rgba(255, 255, 255, 0.035);
}

.page-landing--contact .contact-hero__visual {
    min-height: auto;
}

.page-landing--contact .contact-hero__art {
    box-shadow: var(--contact-shadow);
}

.page-landing--contact .contact-hero__art img {
    aspect-ratio: 16 / 10;
    object-position: center;
}

.page-landing--contact .contact-section {
    padding-top: 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: start;
}

.contact-copy {
    display: grid;
    gap: 14px;
    padding-top: 12px;
}

.contact-copy h2 {
    margin: 0;
    font-size: clamp(1.9rem, 3.7vw, 2.75rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.contact-copy p {
    margin: 0;
    max-width: 42ch;
    color: var(--contact-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.contact-copy__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.contact-copy__card {
    display: grid;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--contact-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.contact-copy__card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.contact-copy__card p {
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-copy__contact {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid var(--contact-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
}

.contact-copy__contact-label {
    color: rgba(191, 219, 254, 0.86);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-copy__contact-link {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.contact-copy__contact-link:hover,
.contact-copy__contact-link:focus-visible {
    color: #dbeafe;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-copy__contact-note {
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.contact-form-wrap {
    position: relative;
}

.contact-form-wrap::before {
    content: "";
    position: absolute;
    inset: -14px -16px auto auto;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
}

.contact-form {
    position: relative;
    display: grid;
    gap: 16px;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid var(--contact-border);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025)),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.09), transparent 24%),
        radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.10), transparent 28%),
        var(--contact-panel);
    box-shadow: var(--contact-shadow);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.contact-form__header {
    display: grid;
    gap: 10px;
    margin-bottom: 2px;
}

.contact-form__header h2 {
    margin: 0;
    font-size: clamp(1.45rem, 2.6vw, 1.95rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.contact-form__header p {
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-field--wide,
.contact-field--message {
    grid-column: 1 / -1;
}

.contact-form::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 18%),
        linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.04) 48%, transparent 100%);
    pointer-events: none;
    opacity: 0.74;
}

.contact-form > * {
    position: relative;
    z-index: 1;
}

.contact-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.contact-field span {
    color: var(--contact-text);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid var(--contact-border-strong);
    border-radius: 14px;
    background: rgba(4, 8, 16, 0.58);
    color: var(--contact-text);
    font: inherit;
    font-size: 0.97rem;
    line-height: 1.45;
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        transform var(--transition);
}

.contact-field textarea {
    min-height: 160px;
    padding-top: 13px;
    padding-bottom: 13px;
    resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(203, 213, 225, 0.48);
}

.contact-field select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.72) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.72) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) calc(50% - 2px),
        calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 34px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: color-mix(in srgb, var(--contact-accent-alt) 72%, #ffffff 28%);
    background: rgba(5, 10, 18, 0.78);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.28),
        0 0 0 4px rgba(139, 92, 246, 0.10),
        0 16px 28px rgba(2, 8, 23, 0.18);
}

.contact-field small,
.contact-check-error {
    min-height: 17px;
    color: #fda4af;
    font-size: 0.8rem;
    line-height: 1.35;
}

.contact-field.has-error input,
.contact-field.has-error select,
.contact-field.has-error textarea {
    border-color: rgba(251, 113, 133, 0.76);
}

.contact-check {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-top: 2px;
    color: var(--contact-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.contact-check input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: #38bdf8;
}

.contact-check.has-error input {
    outline: 1px solid rgba(251, 113, 133, 0.76);
    outline-offset: 2px;
}

.contact-check a {
    color: rgba(191, 219, 254, 0.96);
    text-decoration-color: rgba(56, 189, 248, 0.44);
    text-underline-offset: 3px;
}

.contact-actions {
    display: grid;
    gap: 10px;
    padding-top: 6px;
}

.contact-form__note {
    margin: 0;
    color: var(--contact-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.contact-submit {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #ffffff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.22);
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        opacity var(--transition);
}

.contact-submit:hover,
.contact-submit:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 42px rgba(37, 99, 235, 0.28);
}

.contact-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.contact-submit svg {
    width: 17px;
    height: 17px;
}

.contact-response-time {
    margin: 0;
    color: rgba(191, 219, 254, 0.92);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.45;
}

.contact-status {
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid var(--contact-border);
    border-radius: 14px;
    background: var(--contact-panel-soft);
    color: var(--contact-text);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-status.is-success {
    border-color: rgba(34, 197, 94, 0.34);
    background: rgba(34, 197, 94, 0.10);
    color: #bbf7d0;
}

.contact-status.is-error {
    border-color: rgba(251, 113, 133, 0.34);
    background: rgba(251, 113, 133, 0.10);
    color: #fecdd3;
}

.contact-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 1100px) {
    .page-landing--contact .contact-hero__panel,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .page-landing--contact .contact-hero__visual {
        max-width: 760px;
    }

    .contact-copy p {
        max-width: 60ch;
    }

    .contact-copy__cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .page-landing--contact .seo-hero {
        padding-bottom: 20px;
    }

    .page-landing--contact .seo-hero__inner,
    .page-landing--contact .seo-section__inner {
        padding: 0 20px;
    }

    .page-landing--contact .contact-hero__art img {
        aspect-ratio: 4 / 3;
    }

    .contact-form {
        padding: 18px;
        border-radius: 20px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .page-landing--contact .seo-hero h1 {
        max-width: 10ch;
    }

    .page-landing--contact .seo-trust-row {
        gap: 8px;
    }

    .contact-copy h2 {
        font-size: clamp(1.7rem, 8vw, 2.15rem);
    }

    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        font-size: 0.96rem;
    }

    .contact-copy__contact-link {
        word-break: break-word;
    }

    .contact-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-landing--contact *,
    .page-landing--contact *::before,
    .page-landing--contact *::after {
        animation: none !important;
        transition: none !important;
    }
}
