:root {
    --contact-shadow: 0 10px 34px rgba(18,48,99,.08)
}

.contact-page {
    background: #f8fafd
}

.contact-hero {
    padding: 24px 0 36px;
    background: linear-gradient(135deg,#f2f6ff,#fbfdff);
    border-bottom: 1px solid var(--line)
}

.contact-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.contact-hero-row>div>span,.contact-section-head>span,.map-heading span {
    font-size: 11px;
    font-weight: 700;
    color: var(--blue2);
    letter-spacing: .1em;
    text-transform: uppercase
}

.contact-hero h1 {
    font-size: clamp(27px,3vw,42px);
    font-weight: 800;
    color: var(--blue);
    margin: 8px 0
}

.contact-hero p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0
}

.contact-hero-icon {
    font-size: 88px;
    color: #d9e6fa;
    margin-right: 6%
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-bottom: 22px
}

.contact-cards article {
    display: flex;
    gap: 12px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(18,48,99,.04)
}

.contact-cards article>i {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    border-radius: 9px;
    background: #edf4ff;
    color: var(--blue);
    font-size: 19px
}

.contact-cards article div {
    display: grid;
    align-content: start;
    gap: 4px;
    min-width: 0
}

.contact-cards span {
    font-size: 11px;
    color: #8994a7
}

.contact-cards strong {
    font-size: 15px;
    line-height: 1.55;
    color: #354259
}

.contact-cards a {
    font-size: 11px;
    font-weight: 650;
    color: var(--blue2)
}

.contact-cards small {
    font-size: 10px;
    color: #758197
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 330px;
    gap: 22px;
    align-items: start
}

.contact-form-card,.contact-side-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--contact-shadow)
}

.contact-form-card {
    padding: 25px
}

.contact-section-head h2,.map-heading h2 {
    font-size: 20px;
    color: var(--blue);
    font-weight: 800;
    margin: 7px 0
}

.contact-section-head p,.map-heading p {
    font-size: 12px;
    color: #7e899d;
    line-height: 1.65;
    margin: 0
}

.contact-form-card form {
    margin-top: 22px
}

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

.contact-form-grid label {
    display: grid;
    gap: 7px;
    position: relative;
    min-width: 0
}

.contact-form-grid label.full {
    grid-column: 1/-1
}

.contact-form-grid label>span {
    font-size: 12px;
    color: #46536a;
    font-weight: 650
}

.contact-form-grid b {
    color: #d9363e
}

.contact-form-grid input,.contact-form-grid select,.contact-form-grid textarea {
    width: 100%;
    border: 1px solid #dfe5ee;
    border-radius: 7px;
    background: #fff;
    outline: 0;
    color: #3f4c62;
    font-size: 12px;
}

.contact-form-grid input,.contact-form-grid select {
    height: 44px;
    padding: 0 12px
}

.contact-form-grid textarea {
    padding: 12px;
    line-height: 1.7;
    resize: vertical
}

.contact-form-grid :is(input,select,textarea):focus {
    border-color: var(--blue2);
    box-shadow: 0 0 0 3px rgba(7,84,216,.08)
}

.contact-counter {
    position: absolute;
    right: 9px;
    bottom: 7px;
    padding: 2px 4px;
    background: #fff;
    color: #929cac;
    font-size: 8px
}

.contact-form-grid .contact-consent {
    display: flex;
    grid-template-columns: 17px 1fr;
    gap: 9px;
    padding: 13px;
    border-radius: 8px;
    background: #f6f8fb
}

.contact-consent input {
    width: auto;
    height: auto;
    margin-top: 3px;
    accent-color: var(--blue)
}

.contact-consent .invalid-feedback {
    grid-column: 2
}

.invalid-feedback {
    font-size: 8px
}

.contact-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 18px
}

.contact-actions button {
    height: 43px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    color: #607087;
    font-size: 11px;
    font-weight: 700
}

.contact-actions button[type=submit] {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff
}

.contact-actions i {
    margin-right: 5px
}

.contact-aside {
    display: grid;
    gap: 15px;
    position: sticky;
    top: 15px
}

.contact-side-card {
    padding: 20px
}

.contact-side-card h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--blue);
    font-weight: 800
}

.contact-side-card dl {
    margin: 0
}

.contact-side-card dl div {
    padding: 10px 0;
    border-bottom: 1px dashed var(--line)
}

.contact-side-card dl div:last-child {
    border: 0
}

.contact-side-card dt {
    font-size: 12px;
    color: #8b95a7;
    font-weight: 500
}

.contact-side-card dd {
    font-size: 14px;
    color: #3f4d63;
    line-height: 1.6;
    font-weight: 650;
    margin: 3px 0 0;
    word-break: break-word
}

.contact-side-card dd a {
    color: var(--blue2)
}

.emergency-card {
    display: flex;
    gap: 13px;
    align-items: center;
    border: 0;
    background: linear-gradient(135deg,#0a50bc,#06388d);
    color: #fff
}

.emergency-card>i {
    font-size: 31px
}

.emergency-card div {
    display: grid
}

.emergency-card span,.emergency-card small {
    font-size: 10px;
    opacity: .8
}

.emergency-card strong {
    font-size: 17px
}

.directory-section {
    margin-top: 34px
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    margin-top: 18px
}

.directory-grid article {
    position: relative;
    padding: 19px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    transition: .25s
}

.directory-grid article:hover {
    transform: translateY(-3px);
    box-shadow: var(--contact-shadow)
}

.directory-grid article>i {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #edf4ff;
    color: var(--blue);
    font-size: 17px
}

.directory-grid h3 {
    font-size: 16px;
    color: #344158;
    font-weight: 750;
    margin: 13px 0 9px
}

.directory-grid p,.directory-grid a {
    font-size: 13px;
    color: #788398;
    margin: 4px 0
}

.directory-grid p i {
    color: var(--blue2)
}

.directory-grid a {
    color: var(--blue2);
    word-break: break-word
}

.contact-map-section {
    margin-top: 34px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--contact-shadow)
}

.map-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 23px
}

.map-heading p i {
    color: var(--blue2)
}

.map-heading>a {
    height: 40px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 0 14px;
    border-radius: 7px;
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    font-weight: 650
}

.contact-map-section iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0
}

.contact-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1080;
    max-width: 380px;
    padding: 14px 18px;
    border-radius: 8px;
    background: #087b5b;
    color: #fff;
    font-size: 9px;
    box-shadow: 0 11px 32px #17345b40;
    transform: translateY(25px);
    opacity: 0;
    transition: .3s
}

.contact-toast.show {
    transform: none;
    opacity: 1
}

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

    .contact-layout {
        grid-template-columns: minmax(0,1fr) 290px
    }
}

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

    .contact-aside {
        position: static;
        grid-template-columns: 1fr 1fr
    }

    .directory-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width: 767px) {
    .contact-hero {
        padding:16px 0 25px
    }

    .contact-hero-icon {
        display: none
    }

    .contact-hero h1 {
        font-size: 24px
    }

    .contact-hero p {
        font-size: 10px
    }

    .contact-content.section {
        padding-top: 18px
    }

    .contact-cards {
        gap: 8px
    }

    .contact-cards article {
        padding: 11px
    }

    .contact-cards article>i {
        width: 35px;
        height: 35px;
        flex-basis: 35px
    }

    .contact-form-card {
        padding: 16px
    }

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

    .contact-form-grid label.full {
        grid-column: auto
    }

    .contact-aside {
        grid-template-columns: 1fr
    }

    .directory-grid {
        grid-template-columns: 1fr
    }

    .map-heading {
        align-items: flex-start;
        flex-direction: column
    }

    .contact-map-section iframe {
        height: 320px
    }

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

    .contact-toast {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
}

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