﻿@import url('./home.css');

.contact-page .page-hero {
    background: transparent;
    padding: 42px 0 18px;
}

.contact-page .page-hero .container {
    max-width: 900px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    text-align: center;
}

.contact-page .page-hero .section-tag {
    display: none;
}

.contact-page .page-hero .section-title {
    max-width: 20ch;
    margin: 0 auto;
    color: #1f2f49;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.05;
    text-wrap: balance;
}

.contact-page .page-hero p {
    max-width: 48ch;
    margin: 16px auto 0;
    color: #42526d;
    font-size: 1rem;
    line-height: 1.65;
}

.map-box {
    margin-top: 20px;
    min-height: 260px;
    border-radius: 24px;
    background:
        linear-gradient(145deg, rgba(216, 221, 232, 0.84), rgba(244, 246, 250, 0.98)),
        radial-gradient(circle at 82% 16%, rgba(47, 154, 210, 0.14), rgba(47, 154, 210, 0));
    border: 1px solid rgba(175, 186, 211, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5b6780;
    font-size: 1.02rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.contact-page .contact-stage {
    align-items: start;
    grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
    gap: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(242, 245, 250, 0.86)),
        radial-gradient(circle at 86% 14%, rgba(47, 154, 210, 0.08), rgba(47, 154, 210, 0));
}

.contact-page .inner-section {
    padding-top: 46px;
}

.contact-page .contact-box:first-child {
    position: sticky;
    top: 122px;
    background:
        radial-gradient(circle at 84% 16%, rgba(104, 203, 83, 0.16), rgba(104, 203, 83, 0)),
        linear-gradient(180deg, rgba(20, 26, 64, 0.94), rgba(17, 21, 53, 0.96));
    border-color: rgba(189, 200, 224, 0.16);
    box-shadow: 0 26px 56px rgba(7, 12, 28, 0.18);
}

.contact-page .contact-box:first-child h3,
.contact-page .contact-box:first-child p,
.contact-page .contact-box:first-child li,
.contact-page .contact-box:first-child strong,
.contact-page .contact-box:first-child span {
    color: #eef4ff;
}

.contact-page .contact-box:first-child a {
    color: #7ad6ff;
}

.contact-page .contact-box:last-child {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 252, 0.98)),
        radial-gradient(circle at 88% 14%, rgba(47, 154, 210, 0.08), rgba(47, 154, 210, 0));
}

.contact-page .map-box {
    border-radius: 26px;
    border-color: rgba(173, 186, 211, 0.22);
    background:
        linear-gradient(145deg, rgba(44, 53, 86, 0.88), rgba(25, 31, 61, 0.94)),
        radial-gradient(circle at 82% 16%, rgba(47, 154, 210, 0.2), rgba(47, 154, 210, 0));
    color: #d8e3fa;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

    .contact-page .contact-box:first-child {
        position: static;
    }
}

@media (max-width: 820px) {
    .contact-page .page-hero {
        padding: 30px 0 10px;
    }

    .contact-page .page-hero .section-title {
        max-width: 18ch;
        font-size: clamp(1.8rem, 8vw, 2.6rem);
    }

    .contact-page .inner-section {
        padding-top: 34px;
    }
}
