/* ==========================================================================
   Contact — dedicated stadium hero + broadcast form shell
   ========================================================================== */

#atelier-contact.contact-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1950;
    display: none;
    overflow: hidden;
    opacity: 0;
    background: rgba(6, 10, 18, 0.55);
}

#atelier-contact.contact-overlay.is-active {
    display: block;
    opacity: 1;
}

#atelier-contact .contact-stadium {
    z-index: 0;
}

.contact-shell {
    position: relative;
    z-index: 1;
    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 28px 40px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Legacy Edge */
}

.contact-shell::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none; /* Chrome, Safari, Opera */
}

.contact-close-btn {
    position: absolute;
    top: 22px;
    right: 28px;
    background: none;
    border: none;
    font-family: "Sora", sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    color: var(--sf-muted, #9aa8bc);
    transition: color 0.25s ease;
    z-index: 2;
    padding: 6px 0;
}

.contact-close-btn:hover,
.contact-close-btn:focus-visible {
    color: var(--sf-chrome, #eef4ff);
    outline: none;
}

/* Dedicated section hero */
.contact-hero {
    position: relative;
    padding: 56px 0 28px;
    max-width: none;
    width: 100%;
    pointer-events: none;
}

.contact-hero .broadcast-title {
    pointer-events: none;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.contact-hero-lead {
    margin: 16px 0 0;
    max-width: none;
    font-family: "Sora", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    letter-spacing: 0.01em;
    color: rgba(238, 244, 255, 0.78);
    pointer-events: none;
    white-space: nowrap;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(280px, 1.35fr);
    gap: 20px;
    align-items: stretch;
    padding-bottom: 24px;
}

.contact-channels,
.contact-form-panel,
.contact-action-panel {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(165deg, rgba(255, 77, 0, 0.05) 0%, transparent 40%),
        linear-gradient(180deg, rgba(12, 20, 34, 0.94) 0%, rgba(4, 8, 14, 0.96) 100%);
    border: 1px solid rgba(34, 232, 144, 0.18);
    border-left: 3px solid var(--sf-primary, #ff4d00);
    border-radius: var(--radius-overlay, 12px);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.3),
        0 16px 40px rgba(0, 0, 0, 0.4);
    padding: 28px 26px;
    box-sizing: border-box;
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-channels::before,
.contact-form-panel::before,
.contact-action-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 36% at 50% 0%, rgba(255, 120, 40, 0.12) 0%, transparent 65%);
    z-index: 0;
}

.contact-channels > *,
.contact-form-panel > *,
.contact-action-panel > * {
    position: relative;
    z-index: 1;
}

body.is-low-power .contact-channels,
body.is-low-power .contact-form-panel,
body.is-low-power .contact-action-panel {
    background: rgba(12, 20, 34, 0.96);
}

.contact-section-label {
    margin: 0 0 18px;
    font-family: "Sora", sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sf-primary-bright, #ffb000);
}

.contact-channel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.contact-channel {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(34, 232, 144, 0.12);
}

.contact-channel:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-channel-key {
    font-family: "Sora", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(168, 240, 200, 0.9);
}

.contact-channel-value {
    font-family: "Sora", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--sf-chrome, #eef4ff);
    text-decoration: none;
    word-break: break-word;
}

a.contact-channel-value[href^="mailto:"],
a.contact-channel-value[href^="tel:"],
a.contact-channel-value[href^="http"],
a.contact-channel-value[href^="https"] {
    color: var(--sf-secondary, #22e890);
    transition: color 0.2s ease;
}

a.contact-channel-value[href^="mailto:"]:hover,
a.contact-channel-value[href^="tel:"]:hover,
a.contact-channel-value[href^="http"]:hover,
a.contact-channel-value[href^="https"]:hover {
    color: var(--sf-primary-bright, #ffb000);
}

.contact-channel-value.is-pending {
    color: var(--sf-muted, #9aa8bc);
    font-weight: 500;
}

.contact-channels-note {
    margin: 20px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(238, 244, 255, 0.65);
}

.contact-channels-note:empty {
    display: none;
}

.contact-action-lead {
    margin: 0 0 20px;
    font-family: "Sora", sans-serif;
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0.01em;
    color: rgba(238, 244, 255, 0.72);
}

.contact-topic-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    justify-content: center;
}

.contact-topic-chip {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(34, 232, 144, 0.28);
    background: rgba(8, 14, 24, 0.55);
    color: var(--sf-chrome, #eef4ff);
    font-family: "Sora", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: var(--radius-button, 6px);
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.contact-topic-chip:hover,
.contact-topic-chip:focus-visible {
    border-color: var(--sf-primary-bright, #ffb000);
    background: rgba(255, 176, 0, 0.12);
    color: var(--sf-primary-bright, #ffb000);
    outline: none;
}

.contact-cta-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.contact-cta-primary.product-buy-now-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    padding: 16px 18px;
    font-family: "Sora", sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-button, 6px);
    cursor: pointer;
    box-sizing: border-box;
}

.contact-cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 18px;
    font-family: "Sora", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--sf-chrome, #eef4ff);
    background: transparent;
    border: 1px solid rgba(34, 232, 144, 0.35);
    border-radius: var(--radius-button, 6px);
    box-sizing: border-box;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.contact-cta-secondary:hover,
.contact-cta-secondary:focus-visible {
    border-color: var(--sf-primary-bright, #ffb000);
    color: var(--sf-primary-bright, #ffb000);
    background: rgba(255, 176, 0, 0.12);
    outline: none;
}

@media (max-width: 860px) {
    .contact-shell {
        padding: 20px 18px 32px;
    }

    .contact-close-btn {
        top: 16px;
        right: 18px;
    }

    .contact-hero {
        padding: 48px 0 22px;
        padding-right: 64px;
    }

    .contact-hero .broadcast-title {
        flex-wrap: wrap;
        white-space: normal;
    }

    .contact-hero-lead {
        white-space: normal;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
