/* Contact-page layout: editorial heading, dark contact card, action links,
   keyboard focus states, and compact mobile variants. */

body.contact {
    color: #191a2f;
    background:
        radial-gradient(circle at 12% 18%, rgba(112, 91, 230, .09), transparent 24%),
        radial-gradient(circle at 88% 72%, rgba(142, 77, 194, .08), transparent 26%),
        #f8f8fc;
}

body.contact main.container {
    width: min(100% - 40px, 1180px);
    max-width: none;
    margin: 0 auto;
    padding: 88px 0 110px;
}

body.contact .contact-head {
    max-width: 850px;
    margin: 0 auto 52px;
    text-align: center;
}

body.contact .contact-title {
    margin: 0 0 16px;
    color: #16172b;
    font-family: 'Manrope', 'Platypi', sans-serif;
    font-size: clamp(3.4rem, 8vw, 7rem);
    font-weight: 800;
    line-height: .96;
    letter-spacing: -.06em;
}

body.contact .contact-sub {
    margin: 0;
    color: #696d81;
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

body.contact .divider {
    width: 72px;
    height: 3px;
    margin: 26px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #6658e8, #a45ac2);
}

/* Primary two-column contact panel. */
body.contact .contact-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: clamp(30px, 6vw, 72px);
    border-radius: 32px;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(130, 92, 232, .27), transparent 27%),
        radial-gradient(circle at 12% 88%, rgba(55, 89, 184, .24), transparent 30%),
        linear-gradient(145deg, #080c24, #11143b 58%, #251445);
    box-shadow: 0 28px 80px rgba(27, 19, 76, .2);
}

body.contact .contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .65;
    pointer-events: none;
    background:
        radial-gradient(circle at 8% 20%, #fff 0 1px, transparent 1.6px),
        radial-gradient(circle at 24% 66%, rgba(207,214,255,.8) 0 1px, transparent 1.7px),
        radial-gradient(circle at 51% 13%, rgba(255,255,255,.85) 0 1px, transparent 1.6px),
        radial-gradient(circle at 74% 82%, rgba(201,188,255,.85) 0 1px, transparent 1.7px),
        radial-gradient(circle at 94% 33%, #fff 0 1px, transparent 1.6px);
}

body.contact .contact-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 380px;
    height: 380px;
    right: -145px;
    bottom: -170px;
    border: 1px solid rgba(184, 171, 255, .25);
    border-radius: 50%;
    box-shadow: 0 0 0 62px rgba(160, 140, 255, .035), 0 0 0 124px rgba(160, 140, 255, .022);
}

body.contact .contact-card {
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.contact .contact-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.contact .contact-list li {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 21px;
    background: rgba(255, 255, 255, .065);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(13px);
}

body.contact .contact-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }

body.contact .contact-list i {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 17px;
    color: #b9aeff;
    background: rgba(132, 110, 238, .17);
    border: 1px solid rgba(182, 169, 255, .2);
    font-size: 1.15rem;
}

body.contact .value { overflow-wrap: anywhere; color: #c8cbe0; font-size: .94rem; line-height: 1.65; }
body.contact .label { display: block; margin: 0 0 5px; color: #fff; font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 800; }
body.contact .value a { color: #d9d4ff; font-weight: 650; text-decoration: none; }
body.contact .value a:hover { color: #fff; text-decoration: none; }

/* Links to direct contact and event discovery. */
body.contact .contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

body.contact .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 150px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

body.contact .btn-outline {
    color: #fff;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .24);
}

body.contact .btn-outline:hover {
    color: #fff;
    background: rgba(111, 91, 226, .35);
    border-color: rgba(188, 178, 255, .58);
    box-shadow: 0 12px 28px rgba(3, 6, 24, .25);
    transform: translateY(-2px);
}

body.contact :where(a, button):focus-visible {
    outline: 2px solid #c7beff;
    outline-offset: 3px;
}

@media (max-width: 860px) {
    body.contact main.container { padding-top: 68px; }
    body.contact .contact-list { grid-template-columns: 1fr; }
    body.contact .contact-list li { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; }
}

@media (max-width: 520px) {
    body.contact main.container { width: min(100% - 24px, 1180px); padding: 56px 0 80px; }
    body.contact .contact-head { margin-bottom: 36px; }
    body.contact .contact-title { font-size: clamp(3.2rem, 18vw, 4.8rem); }
    body.contact .contact-hero { padding: 20px; border-radius: 24px; }
    body.contact .contact-list li { align-items: flex-start; padding: 22px; }
    body.contact .contact-actions { flex-direction: column; }
    body.contact .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    body.contact .btn { transition: none; }
}
