/* ───────── Contact page ───────── */

/* The hero already carries 56px bottom padding + the lead's 28px margin;
   drop the section's own 96px so the form sits close to the heading. */
.contact-section {
    padding-top: 8px;
}

/* Form card */
.contact-form-card {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    padding: 40px 36px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-form-card h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.4rem;
    letter-spacing: -0.015em;
    color: #fff;
    margin: 0 0 24px;
}

/* Contact details: three tiles under the form */
.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 760px;
    margin: 20px auto 0;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
    min-width: 0;
}

.contact-detail-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(180, 124, 253, 0.18), rgba(255, 127, 194, 0.10));
    border: 1px solid rgba(180, 124, 253, 0.25);
    color: var(--accent-purple);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-label {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.contact-detail-value {
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.35;
    color: #fff;
    font-weight: 500;
    overflow-wrap: anywhere;
}

a.contact-detail-value:hover {
    color: var(--accent-purple);
}

/* Thank-you page */
.thanks-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
}

.thanks-step {
    padding: 26px 26px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
}

.thanks-step-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.6rem;
    line-height: 1;
    letter-spacing: -0.02em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 14px;
}

.thanks-step h2 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0 0 8px;
}

.thanks-step p {
    color: var(--text-secondary);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

.thanks-people {
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 960px;
    margin: 20px auto 0;
    padding: 22px 28px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--r-lg);
}

.thanks-people-lead {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: #fff;
    margin: 0 0 10px;
}

.thanks-actions {
    margin-top: 40px;
}

@media (max-width: 780px) {
    .contact-details,
    .thanks-steps {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 32px 24px;
    }

    .thanks-people {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
}
