:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #10b981;
    --bg: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --card-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background: var(--bg);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.04);
}

.navbar,
.contact-hero,
.contact-section,
.site-footer {
    width: min(1120px, 92%);
    margin: auto;
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
    font-size: 22px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #ffffff;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.menu-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 8px;
    background: var(--border);
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 5px auto;
    background: var(--text-main);
}

.contact-hero {
    padding: 86px 0 44px;
    text-align: center;
}

.section-label {
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-hero h1 {
    max-width: 820px;
    margin: 0 auto 18px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    font-family: 'Outfit', sans-serif;
}

.contact-hero p {
    max-width: 700px;
    margin: auto;
    color: var(--text-muted);
    font-size: 18px;
}

.contact-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    padding: 42px 0 76px;
}

.contact-info,
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.04);
}

.contact-info {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
}

.contact-info > p {
    color: #eef4ff;
    margin: 12px 0 24px;
}

.info-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    margin-top: 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card span {
    font-size: 24px;
}

.info-card p {
    color: #eef4ff;
}

.contact-form h2 {
    margin-bottom: 22px;
    font-family: 'Outfit', sans-serif;
}

.form-group {
    margin-bottom: 18px;
}

label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: var(--text-main);
    font-size: 14px;
}

input,
textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text-main);
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

textarea {
    resize: vertical;
}

.error-message {
    display: block;
    min-height: 20px;
    margin-top: 5px;
    color: #dc2626;
    font-size: 14px;
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.25);
}

.form-status {
    margin-top: 14px;
    font-weight: 700;
}

.form-status.success {
    color: var(--accent);
}

.form-status.error {
    color: #dc2626;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 34px 0;
    border-top: 1px solid var(--border);
}

.site-footer p {
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: var(--text-muted);
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 820px) {
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .menu-button {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        background: #ffffff;
        box-shadow: 0 16px 30px rgba(37, 99, 235, 0.08);
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-top: 1px solid var(--border);
    }

    .nav-links a {
        display: block;
        padding: 16px;
    }

    .contact-info,
    .contact-form {
        padding: 24px;
    }

    .site-footer {
        flex-direction: column;
    }
}
