.contacts-page,
.contacts-page * {
    box-sizing: border-box;
}

.contacts-page {
    color: #131a24;
    background:
        radial-gradient(circle at 8% 4%, rgba(255, 185, 75, 0.16), transparent 30%),
        linear-gradient(180deg, #f6fbff 0%, #ffffff 34%, #f8fafc 100%);
    font-family: "Open Sans", sans-serif;
}

.contacts-page a {
    color: inherit;
}

.contacts-page-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 104px 24px 86px;
    overflow: hidden;
    background:
        linear-gradient(105deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.46)),
        var(--contacts-hero-image, linear-gradient(135deg, #15202d 0%, #27394d 52%, #f3a832 160%));
    background-position: center;
    background-size: cover;
}

.contacts-page-hero::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -180px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(255, 193, 77, 0.28);
    filter: blur(18px);
}

.contacts-page-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    color: #ffffff;
}

.contacts-page-hero__eyebrow,
.contacts-page-kicker {
    margin: 0 0 14px;
    color: #d18a15;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.contacts-page-hero__eyebrow {
    color: #ffc14d;
}

.contacts-page-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(40px, 6vw, 74px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.contacts-page-hero p:not(.contacts-page-hero__eyebrow) {
    max-width: 720px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 21px;
    line-height: 1.65;
}

.contacts-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.contacts-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 15px 24px;
    border-radius: 18px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.contacts-page-button:hover {
    transform: translateY(-1px);
}

.contacts-page-button--primary {
    color: #17130a;
    background: linear-gradient(135deg, #ffca62 0%, #ff9d31 100%);
    box-shadow: 0 18px 34px rgba(255, 157, 49, 0.3);
}

.contacts-page-button--ghost {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.contacts-page-section {
    width: 100%;
    padding: 76px 24px 0;
}

.contacts-page-section--faq {
    padding-bottom: 82px;
}

.contacts-page-grid,
.contacts-page-details,
.contacts-page-routes,
.contacts-page-faq {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.contacts-page-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(2, minmax(0, 0.9fr));
    gap: 18px;
}

.contacts-page-card,
.contacts-page-details,
.contacts-page-routes,
.contacts-page-faq {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.07);
}

.contacts-page-card {
    min-height: 300px;
    padding: 30px;
}

.contacts-page-card--accent {
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 199, 91, 0.34), transparent 34%),
        linear-gradient(140deg, #121821 0%, #202b3a 100%);
}

.contacts-page-card__label {
    display: inline-flex;
    margin-bottom: 18px;
    color: #d18a15;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contacts-page-card--accent .contacts-page-card__label {
    color: #ffc14d;
}

.contacts-page-card h2 {
    margin: 0 0 16px;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.15;
}

.contacts-page-card p {
    margin: 16px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.65;
}

.contacts-page-card--accent p {
    color: rgba(255, 255, 255, 0.74);
}

.contacts-page-card__phone {
    display: block;
    width: fit-content;
    margin: 0 0 10px;
    color: #ffc14d;
    font-size: 25px;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
}

.contacts-page-card__link {
    display: inline-flex;
    margin-top: 20px;
    color: #151515;
    font-weight: 800;
    text-decoration: none;
}

.contacts-page-details {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
    gap: 24px;
    padding: 24px;
}

.contacts-page-details__copy {
    padding: 18px;
}

.contacts-page-details h2,
.contacts-page-routes h2,
.contacts-page-faq h2 {
    margin: 0;
    color: #141b25;
    font-size: clamp(31px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.contacts-page-details__copy > p:not(.contacts-page-kicker) {
    margin: 20px 0 0;
    color: #647084;
    font-size: 18px;
    line-height: 1.72;
}

.contacts-page-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contacts-page-list__item {
    padding: 18px;
    border-radius: 22px;
    background: #f4f7fb;
}

.contacts-page-list__item span {
    display: block;
    margin-bottom: 7px;
    color: #8a95a7;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contacts-page-list__item a,
.contacts-page-list__item strong {
    color: #18202c;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    text-decoration: none;
}

.contacts-page-map {
    min-height: 470px;
    overflow: hidden;
    border-radius: 28px;
    background: #dce5ef;
}

.contacts-page-map iframe {
    display: block;
}

.contacts-page-routes {
    padding: 38px;
}

.contacts-page-route-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.contacts-page-route-cards article {
    min-height: 190px;
    padding: 22px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f9fbfd 0%, #f1f5f9 100%);
}

.contacts-page-route-cards span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 18px;
    border-radius: 14px;
    color: #141b25;
    background: #ffc14d;
    font-size: 13px;
    font-weight: 900;
}

.contacts-page-route-cards h3 {
    margin: 0;
    color: #17202b;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.contacts-page-route-cards p {
    margin: 10px 0 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.6;
}

.contacts-page-routes__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.contacts-page-routes__links a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 999px;
    color: #17202b;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.contacts-page-faq {
    padding: 38px;
}

.contacts-page-faq details {
    padding: 20px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.contacts-page-faq details:last-child {
    border-bottom: 0;
}

.contacts-page-faq summary {
    cursor: pointer;
    color: #17202b;
    font-size: 19px;
    font-weight: 800;
    list-style: none;
}

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

.contacts-page-faq details p {
    margin: 12px 0 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.65;
}

@media screen and (max-width: 980px) {
    .contacts-page-grid,
    .contacts-page-details,
    .contacts-page-route-cards {
        grid-template-columns: 1fr;
    }

    .contacts-page-details {
        gap: 14px;
    }

    .contacts-page-map {
        min-height: 380px;
    }
}

@media screen and (max-width: 768px) {
    .contacts-page-hero {
        min-height: auto;
        padding: 72px 16px 58px;
    }

    .contacts-page-hero p:not(.contacts-page-hero__eyebrow) {
        font-size: 17px;
    }

    .contacts-page-hero__actions {
        flex-direction: column;
    }

    .contacts-page-button {
        width: 100%;
        min-height: 52px;
        padding: 13px 16px;
        text-align: center;
    }

    .contacts-page-section {
        padding: 42px 14px 0;
    }

    .contacts-page-section--faq {
        padding-bottom: 50px;
    }

    .contacts-page-card,
    .contacts-page-details,
    .contacts-page-routes,
    .contacts-page-faq {
        border-radius: 26px;
    }

    .contacts-page-card {
        min-height: 0;
        padding: 22px;
    }

    .contacts-page-card__phone {
        font-size: 22px;
    }

    .contacts-page-details,
    .contacts-page-routes,
    .contacts-page-faq {
        padding: 18px;
    }

    .contacts-page-details__copy {
        padding: 4px;
    }

    .contacts-page-map {
        min-height: 330px;
        border-radius: 22px;
    }

    .contacts-page-routes__links {
        flex-direction: column;
    }

    .contacts-page-routes__links a {
        justify-content: center;
        width: 100%;
    }
}
