/**
 * pages/contact.css — Contact page elevation
 * Phase 6 Page-by-Page Polish
 *
 * Refines contact form inputs and contact info card hover.
 */

body.contact-page main>section:first-of-type,
body.contact-page .contact-hero {
    position: relative;
    isolation: isolate;
}

body.contact-page main>section:first-of-type::before,
body.contact-page .contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(ellipse 80% 50% at 25% 30%, rgba(168, 85, 247, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 30%, rgba(78, 205, 196, 0.08) 0%, transparent 60%);
}

body.contact-page main>section:first-of-type>*,
body.contact-page .contact-hero>* {
    position: relative;
    z-index: 1;
}

/* Contact form card */
body.contact-page .contact-form,
body.contact-page form,
body.contact-page .contact-form-card {
    transition:
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.contact-page .contact-form-card:hover {
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(168, 85, 247, 0.15);
}

/* Contact info icons — branded gradient on hover */
body.contact-page .contact-info-item,
body.contact-page .contact-detail,
body.contact-page [class*="contact-info"] {
    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.contact-page .contact-info-item:hover {
    transform: translateY(-2px);
}

/* H1 polish */
body.contact-page main>section:first-of-type h1,
body.contact-page .contact-hero h1 {
    letter-spacing: -0.04em;
    text-wrap: balance;
}
