/* =========================================================
   CONTACT.CSS
========================================================= */

.contact-section {
    position: relative;
    padding: 9rem 9% 8rem;
    background: linear-gradient(180deg, #0b1320 0%, #09111a 100%);
}

.contact-shell {
    width: 100%;
    max-width: 128rem;
    margin: 0 auto;
}

.contact-intro {
    max-width: 88rem;
    margin-bottom: 4.5rem;
}

.contact-kicker {
    display: inline-block;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca8ff;
}

.contact-title {
    font-size: clamp(3.2rem, 4vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #f5f7ff;
    margin-bottom: 1.8rem;
    max-width: 18ch;
}

.contact-title span {
    color: #aeb8ff;
}

.contact-text {
    max-width: 72rem;
    font-size: 1.75rem;
    line-height: 1.72;
    color: rgba(245, 247, 255, 0.76);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.contact-card,
.contact-side-card {
    border-radius: 2.4rem;
    border: 1px solid rgba(255,255,255,0.08);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
    box-shadow: 0 2rem 5rem rgba(0,0,0,0.14);
}

.contact-card {
    padding: 2.6rem;
}

.contact-card-header {
    margin-bottom: 2.4rem;
}

.contact-card-header h3 {
    font-size: 2.4rem;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-card-header p {
    font-size: 1.55rem;
    line-height: 1.68;
    color: rgba(245,247,255,0.72);
    max-width: 48ch;
}

.contact-form {
    display: grid;
    gap: 1.6rem;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.contact-field {
    display: grid;
    gap: 0.8rem;
}

.contact-field label {
    font-size: 1.35rem;
    font-weight: 700;
    color: rgba(255,255,255,0.88);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #f5f7ff;
    border-radius: 1.6rem;
    padding: 1.4rem 1.6rem;
    font-size: 1.5rem;
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: rgba(245,247,255,0.42);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: rgba(139,123,255,0.35);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 0.4rem rgba(139,123,255,0.10);
}

.contact-field textarea {
    resize: vertical;
    min-height: 14rem;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 5.4rem;
    padding: 0 2rem;
    border: 0;
    border-radius: 1.6rem;
    background: linear-gradient(135deg, #8b7bff 0%, #6f7cff 100%);
    color: #ffffff;
    font-size: 1.52rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 1.8rem 4.5rem rgba(111,124,255,0.22);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-submit:hover {
    transform: translateY(-0.3rem);
    box-shadow: 0 2.4rem 6rem rgba(111,124,255,0.28);
}

.contact-side {
    display: grid;
    gap: 1.8rem;
}

.contact-side-card {
    padding: 2.4rem;
}

.contact-side-primary {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.contact-mini-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca8ff;
}

.contact-side-card h3 {
    font-size: 2.2rem;
    line-height: 1.18;
    color: #ffffff;
    margin-bottom: 1.6rem;
    max-width: 18ch;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    min-height: 4.8rem;
    padding: 0 1.6rem;
    margin-bottom: 2rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #f5f7ff;
    font-size: 1.48rem;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    word-break: break-word;
}

.contact-email:hover {
    transform: translateY(-0.25rem);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.16);
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-socials a {
    width: 5rem;
    height: 5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.04);
    color: #f5f7ff;
    font-size: 2.1rem;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.contact-socials a:hover {
    transform: translateY(-0.3rem);
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.16);
}

.contact-side-note h4 {
    font-size: 1.95rem;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-side-note p {
    font-size: 1.55rem;
    line-height: 1.72;
    color: rgba(245,247,255,0.72);
}

/* =========================================================
   REVEAL ON SCROLL
========================================================= */

.contact-section .section-reveal-item {
    opacity: 0;
    transform: translateY(90px) scale(0.96);
    filter: blur(14px);
    will-change: opacity, transform, filter;
    transition:
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        filter 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-section .section-reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.contact-section .section-reveal-item.delay-1 {
    transition-delay: 0.12s;
}

.contact-section .section-reveal-item.delay-2 {
    transition-delay: 0.24s;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .contact-title {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .contact-section {
        padding: 8.5rem 5% 7rem;
    }

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

@media (max-width: 768px) {
    .contact-title {
        font-size: 3.8rem;
        line-height: 1.08;
    }

    .contact-text {
        font-size: 1.6rem;
        line-height: 1.68;
    }

    .contact-card,
    .contact-side-card {
        border-radius: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-side-card {
        padding: 2rem;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .contact-card-header h3 {
        font-size: 2.2rem;
    }

    .contact-side-card h3 {
        font-size: 2rem;
    }

    .contact-email {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 0 1.2rem;
    }

    .contact-socials {
        width: 100%;
    }

    .contact-submit {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 7.5rem 5% 6rem;
    }

    .contact-title {
        font-size: 3.2rem;
    }

    .contact-text,
    .contact-card-header p,
    .contact-side-note p {
        font-size: 1.48rem;
    }

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

    .contact-socials a {
        width: 4.6rem;
        height: 4.6rem;
        font-size: 1.95rem;
    }
}