.page-contact .main-content {
    max-width: none;
    padding: 0;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
}

.contact-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 52px;
    align-items: center;
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 76px 28px 84px;
}

.contact-hero-copy {
    max-width: 690px;
}

.contact-hero h1 {
    margin: 0 0 22px;
    color: var(--dark);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.12;
}

.contact-hero h1::after {
    content: "";
    display: block;
    width: 54px;
    height: 3px;
    margin-top: 20px;
    border-radius: 2px;
    background: var(--brand-blue);
}

.contact-hero p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.04rem;
    line-height: 1.85;
}

.contact-hero-lead {
    margin-bottom: 18px !important;
    color: var(--dark) !important;
    font-size: 1.13rem !important;
    font-weight: 500;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.contact-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 0.96rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-hero-btn-primary {
    background: var(--brand-blue);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(26, 167, 255, 0.2);
}

.contact-hero-btn-primary:hover {
    background: #1495e6;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(26, 167, 255, 0.26);
}

.contact-hero-btn-secondary {
    border: 1px solid rgba(28, 28, 28, 0.12);
    background: var(--white);
    color: var(--dark);
}

.contact-hero-btn-secondary:hover {
    border-color: var(--brand-yellow);
    background: var(--brand-yellow);
    color: var(--dark);
    transform: translateY(-2px);
}

.contact-hero-media {
    position: relative;
    min-height: 380px;
    border: 1px solid rgba(26, 167, 255, 0.14);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 20px 46px rgba(28, 28, 28, 0.09);
}

.contact-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 58%, rgba(28, 28, 28, 0.08) 100%);
    pointer-events: none;
}

.contact-hero-image {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-form-section {
    padding: 72px 28px 82px;
    background: var(--white);
}

.contact-form-inner {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.contact-form-heading {
    padding-top: 10px;
}

.contact-form-heading h2 {
    margin: 0 0 12px;
    color: var(--brand-blue);
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-form-heading h3 {
    margin: 0 0 16px;
    color: var(--dark);
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    line-height: 1.2;
}

.contact-form-heading p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.03rem;
    line-height: 1.8;
}

.contact-form {
    padding: 32px;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--light-gray);
}

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

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    color: var(--dark);
    font-size: 0.94rem;
    font-weight: 600;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    background: var(--white);
    color: var(--dark);
    font: inherit;
    font-size: 0.98rem;
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field input,
.contact-field select {
    min-height: 48px;
    padding: 0 14px;
}

.contact-field textarea {
    min-height: 170px;
    padding: 13px 14px;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(26, 167, 255, 0.12);
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 24px;
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    background: var(--brand-blue);
    color: var(--white);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(26, 167, 255, 0.2);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit-btn:hover {
    background: #1495e6;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(26, 167, 255, 0.26);
}

.contact-submit-btn:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
    box-shadow: none;
}

.contact-form-links {
    margin-top: 18px;
}

.contact-form-links a {
    color: var(--brand-blue);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
}

.contact-form-links a:hover {
    text-decoration: underline;
}

.contact-direct {
    padding: 70px 28px 78px;
    background: var(--light-gray);
}

.contact-direct-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.contact-direct-heading {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    margin-bottom: 34px;
}

.contact-direct-heading h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    line-height: 1.2;
}

.contact-direct-heading p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.03rem;
    line-height: 1.8;
}

.contact-direct-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.contact-direct-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-height: 100%;
    padding: 24px;
    border: 1px solid rgba(26, 167, 255, 0.14);
    border-radius: 10px;
    background: var(--white);
    color: var(--dark);
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.contact-direct-card:hover {
    border-color: var(--brand-blue);
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(26, 167, 255, 0.1);
}

.contact-direct-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: rgba(26, 167, 255, 0.1);
    color: var(--brand-blue);
    font-size: 1rem;
}

.contact-direct-content {
    display: block;
    min-width: 0;
}

.contact-direct-content strong {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 700;
}

.contact-direct-content span {
    display: block;
    color: var(--dark);
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.contact-direct-content small {
    display: block;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.65;
}

.contact-direct-actions {
    margin-top: 24px;
}

.contact-direct-actions a,
.contact-faq-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid rgba(26, 167, 255, 0.22);
    border-radius: 8px;
    background: var(--white);
    color: var(--brand-blue);
    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-direct-actions a:hover,
.contact-faq-actions a:hover {
    border-color: var(--brand-blue);
    color: #1495e6;
    transform: translateY(-2px);
}

.contact-faq {
    padding: 72px 28px 84px;
    background: var(--white);
}

.contact-faq-inner {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 52px;
    align-items: start;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.contact-faq-heading {
    position: sticky;
    top: 96px;
}

.contact-faq-heading h2 {
    margin: 0 0 16px;
    color: var(--dark);
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    line-height: 1.2;
}

.contact-faq-heading h2::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 18px;
    border-radius: 2px;
    background: var(--brand-blue);
}

.contact-faq-heading p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.03rem;
    line-height: 1.8;
}

.contact-faq-list {
    display: grid;
    gap: 14px;
}

.contact-faq-item {
    border: 1px solid var(--border-light);
    border-radius: 10px;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-faq-item[open] {
    border-color: rgba(26, 167, 255, 0.28);
    box-shadow: 0 16px 34px rgba(28, 28, 28, 0.06);
}

.contact-faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 20px 58px 20px 22px;
    color: var(--dark);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.contact-faq-item summary::-webkit-details-marker {
    display: none;
}

.contact-faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(26, 167, 255, 0.1);
    color: var(--brand-blue);
    font-size: 1.2rem;
    font-weight: 700;
    transform: translateY(-50%);
}

.contact-faq-item[open] summary::after {
    content: "-";
}

.contact-faq-item p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.8;
}

.contact-faq-actions {
    margin-top: 10px;
}

.contact-response {
    padding: 70px 28px 82px;
    background: var(--light-gray);
}

.contact-response-inner {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
    width: min(1040px, 100%);
    margin: 0 auto;
}

.contact-response-heading h2 {
    margin: 0;
    color: var(--dark);
    font-size: clamp(1.55rem, 2.4vw, 2.1rem);
    line-height: 1.2;
}

.contact-response-heading h2::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 18px;
    border-radius: 2px;
    background: var(--brand-blue);
}

.contact-response-table-wrap {
    overflow: hidden;
    border: 1px solid rgba(26, 167, 255, 0.14);
    border-radius: 10px;
    background: var(--white);
    box-shadow: 0 18px 38px rgba(28, 28, 28, 0.06);
}

.contact-response-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-response-table th,
.contact-response-table td {
    padding: 18px 22px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--border-light);
}

.contact-response-table th {
    background: #f8fbff;
    color: var(--dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.contact-response-table td {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.6;
}

.contact-response-table td:first-child {
    color: var(--dark);
    font-weight: 600;
}

.contact-response-table tbody tr:last-child td {
    border-bottom: none;
}

.contact-note {
    padding: 0 28px 76px;
    background: var(--light-gray);
}

.contact-note-inner {
    width: min(1040px, 100%);
    margin: 0 auto;
    padding: 20px 24px;
    border-left: 4px solid var(--brand-yellow);
    border-radius: 0 8px 8px 0;
    background: var(--white);
}

.contact-note p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.75;
}

@media (max-width: 991px) {
    .contact-hero-inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 58px 28px 68px;
    }

    .contact-hero-media {
        min-height: 280px;
        max-width: 430px;
    }

    .contact-form-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-direct-heading {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .contact-faq-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-faq-heading {
        position: static;
    }

    .contact-response-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 767px) {
    .contact-hero-inner {
        padding: 46px 20px 54px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero-lead {
        font-size: 1.04rem !important;
    }

    .contact-hero-media {
        min-height: 240px;
    }

    .contact-form-section {
        padding: 50px 20px 58px;
    }

    .contact-form {
        padding: 24px 20px;
    }

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

    .contact-direct {
        padding: 50px 20px 58px;
    }

    .contact-direct-card {
        padding: 22px 20px;
    }

    .contact-faq {
        padding: 50px 20px 58px;
    }

    .contact-faq-item summary {
        padding: 18px 52px 18px 18px;
    }

    .contact-faq-item summary::after {
        right: 18px;
    }

    .contact-faq-item p {
        padding: 0 18px 20px;
    }

    .contact-response {
        padding: 50px 20px 58px;
    }

    .contact-response-table th,
    .contact-response-table td {
        padding: 15px 16px;
    }

    .contact-note {
        padding: 0 20px 58px;
    }

    .contact-note-inner {
        padding: 18px 20px;
    }
}
