﻿:root {
    --primary: #264EFF;
    --primary-light: #4A6EFF;
    --primary-dark: #1838D1;
    --accent: #F7A722;
    --bg: #F5F7FD;
    --card: #FFFFFF;
    --text: #111827;
    --text-light: #6B7280;
    --border: #E9EDF7;
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-sm: 0 8px 30px rgba(15,23,42,.06);
    --shadow-md: 0 18px 50px rgba(38,78,255,.10);
    --transition: .3s ease;
}
body {
    background: linear-gradient(180deg,#F8FAFF 0%,#F2F5FC 100%);
    color: var(--text);
    overflow-x: hidden;
}
.contact-page {
    padding: 30px 0 70px;
    position: relative;
}
    .contact-page::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: rgba(38,78,255,.05);
        top: -180px;
        right: -150px;
        z-index: 0;
    }
    .contact-page::after {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        border-radius: 50%;
        background: rgba(247,167,34,.08);
        bottom: 0;
        left: -120px;
        z-index: 0;
    }
.contact-container {
    max-width: 1240px;
    margin: auto;
    padding: 0 18px;
    position: relative;
    z-index: 2;
}
/* HERO */
.contact-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg,#fff 0%,#F8FAFF 100%);
    border: 1px solid rgba(38,78,255,.08);
    border-radius: 34px;
    padding: 55px 60px;
    margin-bottom: 35px;
    box-shadow: var(--shadow-sm);
}
    .contact-hero::before {
        content: "";
        position: absolute;
        width: 340px;
        height: 340px;
        border-radius: 50%;
        background: rgba(38,78,255,.06);
        top: -120px;
        right: -80px;
    }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(38,78,255,.08);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.contact-hero h1 {
    font-size: 48px;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text);
    max-width: 700px;
}
.contact-hero p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    max-width: 650px;
    margin: 0;
}
/* GRID */
.contact-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 28px;
    align-items: start;
}
/* SIDE CARD */
.info-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 35px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
    overflow: hidden;
}
    .info-card::before {
        content: "";
        position: absolute;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: rgba(38,78,255,.04);
        top: -80px;
        right: -80px;
    }
.info-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text);
}
.info-sub {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 14px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 18px;
    transition: var(--transition);
    margin-bottom: 16px;
    border: 1px solid transparent;
    background: #FAFBFF;
}
    .info-item:hover {
        transform: translateY(-4px);
        border-color: rgba(38,78,255,.15);
        box-shadow: var(--shadow-md);
        background: #fff;
    }
.info-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 18px;
    background: linear-gradient(135deg,var(--primary),var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(38,78,255,.22);
}
.info-content span {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
    font-weight: 700;
}
.info-content a,
.info-content p {
    color: var(--text);
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
}
    .info-content a:hover {
        color: var(--primary);
    }
/* FORM */
.form-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    padding: 42px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
    .form-card::before {
        content: "";
        position: absolute;
        width: 250px;
        height: 250px;
        background: rgba(247,167,34,.08);
        border-radius: 50%;
        bottom: -100px;
        left: -100px;
    }
.form-head {
    margin-bottom: 30px;
}
    .form-head h2 {
        font-size: 34px;
        font-weight: 900;
        margin-bottom: 10px;
        color: var(--text);
    }
    .form-head p {
        color: var(--text-light);
        font-size: 15px;
        margin: 0;
    }
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.form-group {
    margin-bottom: 24px;
    position: relative;
}
    .form-group label {
        display: block;
        margin-bottom: 10px;
        font-size: 13px;
        font-weight: 800;
        color: var(--text);
    }
    .form-group input,
    .form-group textarea {
        width: 100%;
        border: 1.5px solid var(--border);
        border-radius: 18px;
        padding: 16px 18px;
        background: #fff;
        font-size: 15px;
        transition: var(--transition);
        color: var(--text);
    }
        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 5px rgba(38,78,255,.08);
            transform: translateY(-1px);
        }
        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #A0A8B8;
        }
    .form-group textarea {
        min-height: 170px;
        resize: vertical;
    }
.full-width {
    grid-column: span 2;
}
.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 24px;
}
    .checkbox-wrap input {
        width: 18px;
        height: 18px;
        accent-color: var(--primary);
    }
    .checkbox-wrap label {
        margin: 0;
        font-size: 14px;
        color: var(--text-light);
        font-weight: 600;
    }
.submit-btn {
    width: 100%;
    border: none;
    background: linear-gradient(135deg,var(--primary),var(--primary-light));
    color: #fff;
    height: 60px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 800;
    transition: var(--transition);
    box-shadow: 0 16px 40px rgba(38,78,255,.25);
}
    .submit-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 50px rgba(38,78,255,.32);
        background: linear-gradient(135deg,var(--primary-light),var(--primary));
    }
/* FAQ */
.faq-section {
    margin-top: 35px;
}
.faq-card {
    background: #fff;
    border-radius: 28px;
    border: 1px solid var(--border);
    padding: 35px;
    box-shadow: var(--shadow-sm);
}
.faq-title {
    text-align: center;
    margin-bottom: 28px;
}
    .faq-title h3 {
        font-size: 34px;
        font-weight: 900;
        margin-bottom: 10px;
    }
    .faq-title p {
        color: var(--text-light);
        margin: 0;
    }
.faq-item {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 18px;
    transition: var(--transition);
    background: #fff;
}
    .faq-item:hover {
        box-shadow: var(--shadow-md);
        border-color: rgba(38,78,255,.15);
    }
    .faq-item summary {
        list-style: none;
        padding: 22px 24px;
        cursor: pointer;
        position: relative;
        font-weight: 800;
        color: var(--text);
        transition: var(--transition);
    }
        .faq-item summary::-webkit-details-marker {
            display: none;
        }
        .faq-item summary::after {
            content: "+";
            position: absolute;
            right: 24px;
            top: 50%;
            transform: translateY(-50%);
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: rgba(38,78,255,.08);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: 900;
        }
    .faq-item[open] summary::after {
        content: "–";
    }
.faq-content {
    padding: 0 24px 24px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 15px;
}
/* RESPONSIVE */
@media(max-width:992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .info-card {
        position: relative;
        top: 0;
    }
    .contact-hero {
        padding: 40px 30px;
    }
        .contact-hero h1 {
            font-size: 38px;
        }
}
@media(max-width:768px) {
    .contact-page {
        padding-top: 10px;
    }
    .contact-hero {
        border-radius: 24px;
        padding: 32px 22px;
    }
        .contact-hero h1 {
            font-size: 30px;
        }
    .form-card,
    .info-card,
    .faq-card {
        padding: 24px;
        border-radius: 24px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .full-width {
        grid-column: span 1;
    }
    .form-head h2,
    .faq-title h3 {
        font-size: 26px;
    }
    .info-title {
        font-size: 24px;
    }
}
