/* Contact-page-only visual layer. Safe to load from pilot23/contacts.tpl. */
.pm-contacts-page {
    --pmc-blue: #1f5f96;
    --pmc-ink: #182b3d;
    --pmc-muted: #6c7d8e;
    --pmc-line: #dfe7ef;
    --pmc-soft: #f3f7fa;
    --pmc-shadow: 0 14px 38px rgba(18,53,86,.09);
    padding: 6px 0 34px;
    color: var(--pmc-ink);
}

.pm-contacts-page .pm-page-hero {
    position: relative;
    overflow: hidden;
    margin: 8px 0 30px;
    padding: 36px 40px;
    border: 1px solid #dae5ee;
    border-radius: 22px;
    background: linear-gradient(118deg,#fff 0%,#f3f8fc 62%,#e8f1f8 100%);
    box-shadow: 0 10px 30px rgba(18,53,86,.065);
}

.pm-contacts-page .pm-page-hero::after {
    content: "";
    position: absolute;
    top: -88px;
    right: -48px;
    width: 255px;
    height: 255px;
    border: 42px solid rgba(47,105,153,.06);
    border-radius: 50%;
    pointer-events: none;
}

.pm-contacts-page .pm-eyebrow {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 10px;
    color: var(--pmc-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.pm-contacts-page .pm-page-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0;
    padding: 0;
    color: #16324b;
    font-size: clamp(30px,4vw,46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.pm-contacts-page .pm-page-hero p {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 13px 0 0;
    color: var(--pmc-muted);
    font-size: 16px;
    line-height: 1.65;
}

.pm-contacts-page .info-contact {
    display: grid;
    grid-template-columns: minmax(245px,300px) minmax(0,1fr);
    gap: 26px;
    align-items: start;
    margin-top: 0;
}

.pm-contacts-page .info-contact .tab {
    position: sticky;
    top: 18px;
    width: auto;
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--pmc-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(18,53,86,.065);
}

.pm-contacts-page .info-contact .tab .i {
    border: 0;
}

.pm-contacts-page .info-contact .tab .i + .i {
    margin-top: 4px;
}

.pm-contacts-page .info-contact .tab .i a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 68px;
    height: auto;
    padding: 10px 36px 10px 52px;
    border-radius: 12px;
    background: transparent;
    color: #294e70;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color .18s ease,box-shadow .18s ease,color .18s ease;
}

.pm-contacts-page .info-contact .tab .i a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 25px;
    height: 25px;
    margin-top: -13px;
    background: center/22px 22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23577795' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}

.pm-contacts-page .info-contact .tab .i a span {
    display: block;
    margin-top: 3px;
    color: #8291a0;
    font-size: 11px;
    font-weight: 500;
}

.pm-contacts-page .info-contact .tab .i a:hover {
    background: #f2f7fb;
}

.pm-contacts-page .info-contact .tab .i.active a {
    background: linear-gradient(135deg,#eaf3fa,#f5f9fc);
    color: #174f80;
    box-shadow: inset 3px 0 0 var(--pmc-blue);
}

.pm-contacts-page .info-contact .tab .i.active a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 7px;
    height: 7px;
    margin-top: -4px;
    border-radius: 50%;
    background: var(--pmc-blue);
}

.pm-contacts-page .info-contact > .content {
    width: auto;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--pmc-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--pmc-shadow);
    box-sizing: border-box;
}

.pm-contacts-page .info-contact > .content.hidden {
    display: none;
}

.pm-contacts-page .info-contact > .content > [id^="map"],
.pm-contacts-page .info-contact > .content > .map,
.pm-contacts-page .info-contact > .content iframe {
    max-width: 100%;
    overflow: hidden;
    border-radius: 14px;
}

.pm-contacts-page .info-contact .title {
    margin: 22px 0 0;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
}

.pm-contacts-page .info-contact .title a {
    color: #1d5687;
    text-decoration: none;
    border-bottom: 1px solid rgba(29,86,135,.24);
}

.pm-contacts-page .info-contact .title a:hover {
    color: #d24950;
    border-color: rgba(210,73,80,.3);
}

.pm-contacts-page .info-contact .time {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-top: 10px;
    padding: 0 12px;
    border-radius: 9px;
    background: #eef6f1;
    color: #397054;
    font-size: 13px;
    font-weight: 650;
}

.pm-contacts-page .info-contact .img {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pm-contacts-page .info-contact .img .i {
    width: 112px;
    margin: 0;
}

.pm-contacts-page .info-contact .img .i img {
    display: block;
    width: 100%;
    height: 82px;
    border-radius: 11px;
    object-fit: cover;
}

.pm-contacts-page .info-contact .list .box {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e7edf2;
}

.pm-contacts-page .info-contact .list .subtitle {
    color: #1c3c58;
    font-size: 20px;
    font-weight: 800;
}

.pm-contacts-page .info-contact .list ul {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}

.pm-contacts-page .info-contact .list ul li {
    position: relative;
    width: auto;
    min-width: 0;
    min-height: 78px;
    margin: 0 !important;
    padding: 14px 12px 13px 43px;
    border: 1px solid #e4ebf1;
    border-radius: 12px;
    background: #f9fbfc;
    box-sizing: border-box;
}

.pm-contacts-page .info-contact .list ul li::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 15px;
    width: 18px;
    height: 18px;
    margin: 0;
    opacity: .66;
    background: center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233d6b92' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 2 .7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2.1Z'/%3E%3C/svg%3E");
}

.pm-contacts-page .info-contact .list ul li.mail::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233d6b92' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E");
}

.pm-contacts-page .info-contact .list ul li.web-site::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%233d6b92' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a15 15 0 0 1 0 18M12 3a15 15 0 0 0 0 18'/%3E%3C/svg%3E");
}

.pm-contacts-page .info-contact .list ul li .level {
    overflow-wrap: anywhere;
    color: #294c6c;
    font-size: 15px;
    font-weight: 700;
}

.pm-contacts-page .info-contact .list ul li .level a {
    color: #245c8c;
    text-decoration: none;
}

.pm-contacts-page .info-contact .list ul li .level a:hover {
    color: #d24950;
}

.pm-contacts-page .info-contact .list ul li .value {
    margin-top: 5px;
    color: #798897;
    font-size: 11px;
    line-height: 1.4;
}

.pm-contacts-page .form-style,
.pm-contacts-page form {
    max-width: 100%;
}

@keyframes pmContactEnter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pm-contacts-page {
    animation: pmContactEnter .42s cubic-bezier(.2,.72,.25,1) both;
}

@media (max-width: 1199px) {
    .pm-contacts-page .info-contact .list ul {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 991px) {
    .pm-contacts-page .info-contact {
        grid-template-columns: 1fr;
    }

    .pm-contacts-page .info-contact .tab {
        position: static;
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 5px;
        width: auto;
        margin: 0;
    }

    .pm-contacts-page .info-contact .tab .i + .i {
        margin-top: 0;
    }
}

@media (max-width: 700px) {
    .pm-contacts-page {
        padding-bottom: 16px;
    }

    .pm-contacts-page .pm-page-hero {
        margin-bottom: 20px;
        padding: 25px 21px;
        border-radius: 17px;
    }

    .pm-contacts-page .pm-page-hero h1 {
        font-size: 31px;
    }

    .pm-contacts-page .pm-page-hero p {
        font-size: 14px;
        line-height: 1.55;
    }

    .pm-contacts-page .info-contact {
        gap: 16px;
    }

    .pm-contacts-page .info-contact .tab {
        grid-template-columns: 1fr;
    }

    .pm-contacts-page .info-contact .tab .i a {
        min-height: 60px;
    }

    .pm-contacts-page .info-contact > .content {
        padding: 14px;
        border-radius: 15px;
    }

    .pm-contacts-page .info-contact .list ul {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pm-contacts-page {
        animation: none;
    }

    .pm-contacts-page .info-contact .tab .i a {
        transition: none;
    }
}
