.contact-page {
    background: #ffffff;
}

.contact-hero {
    position: relative;
    min-height: 335px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
    background-image: linear-gradient(90deg, rgba(2, 12, 28, 0.96) 0%, rgba(2, 12, 28, 0.86) 38%, rgba(2, 12, 28, 0.28) 100%), url('https://images.unsplash.com/photo-1521791136064-7986c2920216?auto=format&fit=crop&w=1800&q=88');
    background-position: center;
    background-size: cover;
}

.contact-hero-content {
    width: min(560px, calc(100% - 48px));
    margin-left: max(48px, calc((100vw - 1320px) / 2));
}

.contact-hero-content p:first-child,
.faq-heading span {
    margin: 0 0 16px;
    color: #ff8a00;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-hero-content h1 {
    margin: 0;
    font-size: clamp(42px, 4.7vw, 58px);
    line-height: 1.08;
}

.contact-hero-content span,
.contact-title-line {
    display: block;
    width: 58px;
    height: 3px;
    margin: 20px 0;
    background: #ff8a00;
}

.contact-hero-content p:last-child {
    max-width: 500px;
    margin: 0;
    font-size: 17px;
    line-height: 1.58;
}

.contact-main-wrap {
    padding: 28px 24px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 405px minmax(0, 1fr);
    gap: 24px;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.contact-info-card,
.contact-form-card,
.faq-list details {
    border: 1px solid #e8edf3;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.contact-info-card,
.contact-form-card {
    padding: 28px 30px;
}

.contact-info-card h2,
.contact-form-card h2,
.faq-heading h2 {
    margin: 0;
    color: #07101d;
    font-size: 24px;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding: 17px 0;
    border-bottom: 1px solid #edf1f5;
}

.contact-info-item > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #ffffff;
    background: #061b4a;
    font-size: 12px;
    font-weight: 900;
}

.contact-info-item > span .svg-icon {
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 6px;
    color: #07101d;
}

.contact-info-item a,
.contact-info-item p {
    margin: 0;
    color: #111827;
    line-height: 1.5;
}

.contact-follow {
    padding-top: 18px;
}

.contact-follow h3 {
    margin: 0 0 14px;
    color: #07101d;
    font-size: 16px;
}

.contact-follow div {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-follow a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff;
    background: #0b65d8;
    overflow: hidden;
}

.contact-follow img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-follow .svg-icon {
    width: 21px;
    height: 21px;
    font-size: 21px;
    color: #ffffff;
}

.contact-form {
    display: grid;
    gap: 20px;
}

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

.contact-form label {
    display: grid;
    gap: 8px;
}

.contact-form label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #d9dee8;
    border-radius: 2px;
    outline: none;
    color: #111827;
    background: #ffffff;
    font: inherit;
}

.contact-form input {
    min-height: 56px;
    padding: 0 18px;
}

.contact-form textarea {
    min-height: 184px;
    padding: 18px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff8a00;
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.12);
}

.contact-form button {
    min-height: 54px;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    background: #061b4a;
    font-weight: 900;
    cursor: pointer;
}

.contact-safe-note {
    margin: 0;
    color: #4b5563;
    font-size: 13px;
}

.contact-success {
    margin-bottom: 16px;
    padding: 12px 14px;
    border: 1px solid #bbf7d0;
    border-radius: 6px;
    color: #14532d;
    background: #f0fdf4;
    font-weight: 800;
}

.contact-faq {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 8px 0 34px;
}

.faq-heading {
    margin-bottom: 22px;
    text-align: center;
}

.faq-heading h2 {
    font-size: 27px;
}

.faq-heading p {
    margin: 8px 0 0;
    color: #64748b;
}

.faq-list {
    display: grid;
    gap: 0;
}

.faq-list details {
    border-radius: 0;
    box-shadow: none;
}

.faq-list details:first-child {
    border-radius: 8px 8px 0 0;
}

.faq-list details:last-child {
    border-radius: 0 0 8px 8px;
}

.faq-list summary {
    position: relative;
    padding: 16px 58px 16px 34px;
    color: #07101d;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

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

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 28px;
    color: #07101d;
}

.faq-list details[open] summary::after {
    content: "-";
}

.faq-list details p {
    margin: 0;
    padding: 0 34px 18px;
    color: #475569;
    line-height: 1.55;
}

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

@media (max-width: 640px) {
    .contact-hero {
        min-height: 340px;
    }

    .contact-hero-content {
        margin-left: 24px;
    }

    .contact-hero-content p:last-child {
        font-size: 16px;
    }

    .contact-main-wrap {
        padding: 24px 16px 12px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 22px 16px;
    }

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

    .contact-info-item {
        grid-template-columns: 46px 1fr;
        gap: 14px;
    }

    .contact-info-item > span {
        width: 46px;
        height: 46px;
    }

    .contact-faq {
        width: calc(100% - 32px);
    }

    .faq-list summary {
        padding-left: 18px;
    }
}
