.contact-page {
    position: relative;
    padding: 110px 0 90px;
    background:
        radial-gradient(circle at top left, rgba(254, 40, 40, 0.16), transparent 32%),
        radial-gradient(circle at top right, rgba(15, 64, 173, 0.14), transparent 28%),
        linear-gradient(180deg, #07090f 0%, #0b0f19 100%);
    overflow: hidden;
}

.contact-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    opacity: 0.28;
}

.contact-page .container {
    position: relative;
    z-index: 1;
}

.contact-hero {
    max-width: 900px;
    margin: 0 auto 56px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    margin-bottom: 22px;
    background: rgba(15, 64, 173, 0.18);
    border: 1px solid rgba(15, 64, 173, 0.35);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 0 24px rgba(15, 64, 173, 0.18);
}

.contact-hero h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.contact-hero p {
    margin: 0 auto;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
    line-height: 1.95;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
    align-items: stretch;
}

.contact-info-card,
.contact-form-card {
    position: relative;
    padding: 32px 28px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(10, 15, 28, 0.96) 0%, rgba(9, 13, 24, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.contact-info-card::before,
.contact-form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(254, 40, 40, 0.55), rgba(15, 64, 173, 0.4));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    opacity: 0.9;
}

.contact-info-card h2,
.contact-form-card h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
}

.contact-info-card p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.95;
    font-size: 1rem;
}

.contact-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-points li {
    position: relative;
    margin-bottom: 14px;
    padding-inline-start: 22px;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.8;
}

.contact-points li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 12px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fe2828;
    box-shadow: 0 0 12px rgba(254, 40, 40, 0.55);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    outline: none;
    font-size: 1rem;
    transition: 0.25s ease;
    box-sizing: border-box;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(254, 40, 40, 0.9);
    box-shadow:
        0 0 0 3px rgba(254, 40, 40, 0.12),
        0 0 20px rgba(15, 64, 173, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #fe2828 0%, #0f40ad 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
    opacity: 0.96;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 90px 0 70px;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 24px 20px;
        border-radius: 22px;
    }
}
/* =========================================
   PREMIUM CONTACT FORM
========================================= */

.contact-form-card {
    background:
        linear-gradient(
            180deg,
            rgba(13, 18, 31, 0.98),
            rgba(7, 11, 20, 0.98)
        );

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 22px 55px rgba(0, 0, 0, 0.38),
        0 0 38px rgba(0, 74, 173, 0.05);
}

.contact-form-card h2 {
    margin-bottom: 26px;

    font-size: 1.8rem;
    font-weight: 800;

    color: #ffffff;
}


/* Form spacing */

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
    display: grid;
    gap: 10px;
}


/* Labels */

.form-group label {
    color: rgba(255, 255, 255, 0.88);

    font-size: 0.95rem;
    font-weight: 700;

    padding-inline-start: 4px;
}


/* Fields */

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 16px 18px;

    border-radius: 16px;

    border: 1px solid rgba(255, 255, 255, 0.10);

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.05),
            rgba(255, 255, 255, 0.025)
        );

    color: #ffffff;

    font-size: 1rem;
    line-height: 1.6;

    outline: none;

    box-sizing: border-box;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: rgba(254, 40, 40, 0.75);

    background:
        linear-gradient(
            180deg,
            rgba(254, 40, 40, 0.035),
            rgba(0, 74, 173, 0.035)
        );

    box-shadow:
        0 0 0 4px rgba(254, 40, 40, 0.07),
        0 0 24px rgba(0, 74, 173, 0.08);

    transform: translateY(-1px);
}


/* Message field */

.form-group textarea {
    min-height: 175px;
    resize: vertical;
}


/* Placeholder */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.34);
}


/* =========================================
   PREMIUM SEND BUTTON
========================================= */

.contact-submit {
    position: relative;

    width: 100%;
    min-height: 58px;

    margin-top: 6px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 16px;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            #fe2828 0%,
            #e71f2a 58%,
            #004aad 135%
        );

    color: #ffffff;

    font-size: 1.05rem;
    font-weight: 800;

    letter-spacing: 0.01em;

    cursor: pointer;

    box-shadow:
        0 14px 34px rgba(254, 40, 40, 0.18),
        0 6px 22px rgba(0, 0, 0, 0.32);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* Light sweep */

.contact-submit::before {
    content: "";

    position: absolute;

    top: -40%;
    left: -35%;

    width: 24%;
    height: 180%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.28),
            transparent
        );

    transform: rotate(18deg);

    transition: left 0.55s ease;
}

.contact-submit:hover::before {
    left: 115%;
}

.contact-submit:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(254, 40, 40, 0.26),
        0 0 24px rgba(0, 74, 173, 0.10);
}

.contact-submit:active {
    transform: translateY(0);
}


/* Mobile */

@media (max-width: 768px) {

    .contact-form-card h2 {
        font-size: 1.55rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 14px 15px;
        border-radius: 14px;
    }

    .contact-submit {
        min-height: 55px;
        border-radius: 14px;
    }
}