body {
    background:
        radial-gradient(circle at top left, rgba(47, 116, 218, 0.06), transparent 28%),
        radial-gradient(circle at top right, rgba(242, 140, 40, 0.08), transparent 24%),
        linear-gradient(180deg, #f7faff 0%, #eef3f8 100%);
    color: var(--dark);
}

.contact-hero {
    background:
        radial-gradient(circle at top left, rgba(47, 116, 218, 0.12), transparent 34%),
        radial-gradient(circle at 85% 15%, rgba(242, 140, 40, 0.12), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(245, 249, 255, 0.98) 100%);
    padding: 64px 24px 58px;
    text-align: center;
    border-bottom: 1px solid #e3eaf2;
    border-radius: 0 0 34px 34px;
}

.contact-hero-content {
    max-width: 960px;
    margin: 0 auto;
}

.contact-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(47, 116, 218, 0.08);
    border: 1px solid rgba(47, 116, 218, 0.14);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.contact-hero h1 {
    font-size: clamp(2.6rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    color: #0c1422;
}

.contact-hero p {
    font-size: 16px;
    color: #5b6778;
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-hero-pills {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid #dbe4ef;
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.contact-hero-pills i {
    color: var(--accent);
}

.contact-grid-section,
.support-lanes-section,
.map-section,
.faq-section {
    padding: 64px 24px 0;
}

.contact-grid-section,
.faq-section {
    max-width: 1240px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
}

.contact-info-side,
.contact-form-side,
.support-lane-card,
.map-container,
.faq-item {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid #dbe4ef;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.contact-info-side::before,
.contact-form-side::before,
.support-lane-card::before,
.map-container::before,
.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.contact-info-side,
.contact-form-side {
    border-radius: 28px;
    padding: 30px 26px 26px;
}

.contact-panel-head {
    margin-bottom: 22px;
}

.contact-panel-kicker {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.contact-panel-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.contact-panel-head p {
    font-size: 14px;
    color: #5b6778;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 22px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    border-radius: 18px;
    background: #f8fbff;
    border: 1px solid #e6edf7;
}

.contact-icon,
.support-lane-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(47, 116, 218, 0.12), rgba(242, 140, 40, 0.14));
    color: var(--primary);
}

.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.contact-text p,
.contact-text a,
.contact-text span {
    display: block;
    font-size: 13px;
    color: #5b6778;
    line-height: 1.6;
    text-decoration: none;
}

.contact-quick-notes {
    display: grid;
    gap: 12px;
}

.quick-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: #fff8f0;
    border: 1px solid #f6dfc4;
}

.quick-note strong {
    display: block;
    font-size: 13px;
    color: #0f172a;
    margin-bottom: 4px;
}

.quick-note span {
    font-size: 12px;
    color: #5b6778;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1.5px solid #dbe4ef;
    border-radius: 14px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: #f8fbff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(47, 116, 218, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 128px;
}

.btn-submit {
    min-height: 48px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 14px 26px rgba(47, 116, 218, 0.18);
}

.btn-submit:hover {
    transform: translateY(-2px);
}

.support-lanes-section {
    max-width: 1180px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 34px;
}

.section-head h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 16px;
    color: #5b6778;
    line-height: 1.8;
}

.support-lanes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.support-lane-card {
    border-radius: 24px;
    padding: 28px 22px 24px;
}

.support-lane-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    margin-bottom: 18px;
    font-size: 22px;
}

.support-lane-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.support-lane-card p {
    font-size: 13px;
    color: #5b6778;
    line-height: 1.75;
}

.map-section {
    max-width: 1180px;
    margin: 0 auto;
}

.map-container {
    border-radius: 24px;
    padding: 22px;
}

.map-placeholder {
    background: linear-gradient(135deg, #f1f5f9, #ffffff);
    height: 280px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    color: #64748b;
    border: 1px dashed rgba(47, 116, 218, 0.3);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 20px;
}

.map-placeholder i {
    font-size: 48px;
    color: var(--primary);
}

.map-placeholder p {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.map-placeholder span {
    font-size: 12px;
    color: #5b6778;
    max-width: 520px;
    line-height: 1.7;
}

.faq-section {
    padding-bottom: 64px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-item {
    border-radius: 20px;
    padding: 22px 20px;
}

.faq-item h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-item h3 i {
    color: var(--primary);
    font-size: 16px;
}

.faq-item p {
    font-size: 13px;
    color: #5b6778;
    line-height: 1.75;
}

:root[data-theme="dark"] body {
    background:
        radial-gradient(circle at top left, rgba(47, 116, 218, 0.16), transparent 28%),
        radial-gradient(circle at top right, rgba(242, 140, 40, 0.1), transparent 20%),
        linear-gradient(180deg, #08111f 0%, #0b1220 100%);
    color: var(--page-text);
}

:root[data-theme="dark"] .contact-hero {
    border-bottom-color: var(--page-border);
    background:
        radial-gradient(circle at top left, rgba(47, 116, 218, 0.16), transparent 32%),
        radial-gradient(circle at 88% 16%, rgba(242, 140, 40, 0.12), transparent 22%),
        linear-gradient(180deg, rgba(14, 23, 37, 0.96) 0%, rgba(11, 18, 32, 0.98) 100%);
}

:root[data-theme="dark"] .contact-kicker {
    background: rgba(47, 116, 218, 0.14);
    border-color: rgba(47, 116, 218, 0.24);
    color: #9fc4ff;
}

:root[data-theme="dark"] .contact-hero h1,
:root[data-theme="dark"] .contact-panel-head h2,
:root[data-theme="dark"] .section-head h2,
:root[data-theme="dark"] .support-lane-card h3,
:root[data-theme="dark"] .faq-item h3,
:root[data-theme="dark"] .contact-text h4,
:root[data-theme="dark"] .quick-note strong,
:root[data-theme="dark"] .map-placeholder p {
    color: #f8fbff;
}

:root[data-theme="dark"] .contact-hero p,
:root[data-theme="dark"] .section-head p,
:root[data-theme="dark"] .contact-panel-head p,
:root[data-theme="dark"] .contact-text p,
:root[data-theme="dark"] .contact-text a,
:root[data-theme="dark"] .contact-text span,
:root[data-theme="dark"] .support-lane-card p,
:root[data-theme="dark"] .quick-note span,
:root[data-theme="dark"] .map-placeholder span,
:root[data-theme="dark"] .faq-item p,
:root[data-theme="dark"] .form-group label {
    color: #9eb0c8;
}

:root[data-theme="dark"] .contact-hero-pills span,
:root[data-theme="dark"] .contact-info-side,
:root[data-theme="dark"] .contact-form-side,
:root[data-theme="dark"] .support-lane-card,
:root[data-theme="dark"] .map-container,
:root[data-theme="dark"] .faq-item,
:root[data-theme="dark"] .contact-item {
    background: linear-gradient(180deg, rgba(20, 30, 47, 0.96) 0%, rgba(17, 24, 39, 0.98) 100%);
    border-color: rgba(148, 163, 184, 0.16);
    box-shadow: 0 20px 44px rgba(3, 8, 18, 0.34);
}

:root[data-theme="dark"] .contact-hero-pills span {
    color: #dbe5f3;
}

:root[data-theme="dark"] .contact-icon,
:root[data-theme="dark"] .support-lane-icon {
    background: linear-gradient(135deg, rgba(47, 116, 218, 0.16), rgba(242, 140, 40, 0.18));
    color: #9fc4ff;
}

:root[data-theme="dark"] .quick-note,
:root[data-theme="dark"] .map-placeholder {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(148, 163, 184, 0.16);
}

:root[data-theme="dark"] .form-group input,
:root[data-theme="dark"] .form-group select,
:root[data-theme="dark"] .form-group textarea {
    background: rgba(10, 16, 28, 0.88);
    border-color: rgba(148, 163, 184, 0.16);
    color: #f8fbff;
}

:root[data-theme="dark"] .form-group input::placeholder,
:root[data-theme="dark"] .form-group textarea::placeholder {
    color: #74859b;
}

@media (max-width: 1024px) {
    .contact-grid,
    .support-lanes-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 32px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-hero-pills {
        flex-direction: column;
        align-items: stretch;
    }
}
