.section {
    padding: 62px 0
}

.office-grid {
    display: flex;
    gap: 60px
}

.office-card {
    flex: 1 1 0;
    min-width: 0
}

.office-card,
.contact-card {
    margin: 0;
    background: #fafafa;
    border: 0;
    box-shadow: none;
    border-radius: 3px
}

.contact-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    box-shadow: none
}

.office-card {
    padding: 0 20px 24px;
    overflow: hidden
}

.office-card::before {
    content: "";
    display: block;
    height: 230px;
    margin: 0 -20px 20px;
    background: center/cover no-repeat
}

.office-card:first-child::before,
.office-card:last-child::before {
    background-image: url('../banner.png')
}

.office-card h3 {
    margin: 0 0 18px;
    font-size: 22px
}

.office-card h3::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    margin-top: 10px;
    background: var(--brand)
}

.office-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0;
    color: #4d5358;
    font-size: 15px;
    line-height: 1.6
}

.office-line .icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    color: var(--accent-green)
}

.office-card:first-child h3::after {
    background: var(--accent-green)
}

.office-card:last-child h3::after {
    background: var(--brand)
}

.office-card:last-child .office-line .icon {
    color: var(--brand)
}

.contact-card {
    padding: 42px 40px
}

.contact-card h2 {
    margin: 0 0 30px;
    font-size: 25px
}

.contact-card h2::after {
    content: "";
    display: block;
    width: 22px;
    height: 3px;
    margin: 12px 0 15px;
    background: var(--brand)
}

.contact-card>p {
    margin: 0 0 20px;
    color: #666;
    font-size: 13px
}

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

.contact-form-grid>div {
    min-width: 0
}

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

.contact-captcha-controls {
    display: flex;
    align-items: center;
    gap: 10px
}

.contact-captcha-controls .form-control {
    flex: 0 0 calc(50% - 9px);
    min-width: 0
}

.contact-captcha-image {
    display: block;
    width: 112px;
    height: 50px;
    border: 1px solid #ddd;
    background: #f7f7f7;
    cursor: pointer
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600
}

.form-control {
    width: 100%;
    min-height: 50px;
    padding: 11px 13px;
    border: 1px solid #ddd;
    border-radius: 2px;
    background: #fff;
    font: inherit;
    font-size: 15px
}

textarea.form-control {
    min-height: 140px;
    resize: vertical
}

.form-submit {
    min-height: 46px;
    border: 0;
    border-radius: 2px;
    background: var(--brand);
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer
}

.form-status {
    color: var(--accent-green);
    font-size: 12px
}

.map-placeholder {
    min-height: 360px;
    padding: 0 40px;
    display: grid;
    grid-template-columns: minmax(260px, .42fr) minmax(0, .58fr);
    align-items: center;
    background: transparent url('../map.png') right center/auto 100% no-repeat;
    border: 0
}

.map-placeholder>div {
    max-width: 360px;
    padding: 0;
    background: transparent;
    box-shadow: none
}

.map-placeholder strong {
    display: block;
    font-size: 28px
}

.map-placeholder span {
    display: block;
    margin-top: 22px;
    color: #666;
    font-size: 14px;
    line-height: 1.8
}

.site-footer {
    margin-top: 0
}

.contact-map-section,
.contact-offices {
    display: none
}

.contact-details-section {
    padding-top: 62px;
    padding-bottom: 70px
}

.contact-location-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 42px 0;
    gap: 42px;
    border-bottom: 1px solid #e6e8e9;
}

.contact-location-card:last-child {
    border-bottom: 0;
}

.contact-location-map {
    height: 260px;
    overflow: hidden;
}

.contact-location-map img,
.contact-location-map iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .72;
}

.contact-location-info {

    padding: 0 40px;
}

.contact-location-label>svg {
    width: 40px;
    height: 40px;
    color: var(--brand);
    stroke-width: 1.5;
}

.contact-location-info h2 {
    margin: 0;
    color: #25292d;
    font-size: 30px;
    font-weight: 600;
    white-space: nowrap;
    margin-bottom: 20px;
}

.contact-location-card address {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
    font-style: normal;
    text-align: left;
}

.contact-location-line {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    color: #333;
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
}

.contact-location-card h2+.contact-location-line {
    margin-top: 0;
}

.contact-location-line>svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: #333;
    stroke-width: 1.8;
}

.contact-details-card {
    position: relative;
    overflow: hidden;
    /* padding: 52px 58px; */
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    /* box-shadow: 0 18px 42px rgb(20 25 30 / 7%) */
}

.contact-details-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--brand)
}

.contact-details-heading {
    margin-bottom: 38px;
    padding-left: 4px
}

.contact-details-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .2em
}

.contact-details-heading h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.25
}

.contact-details-heading p {
    margin: 12px 0 0;
    color: #707070;
    font-size: 14px
}

.contact-details-body {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 58px;
    align-items: stretch
}

.contact-address {
    display: flex;
    gap: 18px;
    padding: 28px 28px 26px;
    background: #f7f8f8;
    border: 1px solid #ececec;
    border-radius: 4px
}

.contact-address h3 {
    margin: 1px 0 15px;
    font-size: 19px;
    line-height: 1.5
}

.contact-address p {
    margin: 0;
    color: #4d5358;
    font-size: 16px;
    line-height: 1.9
}

.contact-detail-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: var(--brand);
    background: #fff;
    border: 1px solid #f0c5ca;
    border-radius: 50%
}

.contact-detail-icon .lucide {
    width: 19px;
    height: 19px;
    stroke-width: 1.8
}

.contact-details-list {
    display: grid;
    gap: 12px;
    align-content: stretch
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 98px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    color: inherit;
    transition: border-color .2s, box-shadow .2s, transform .2s
}

a.contact-detail-item:hover {
    border-color: var(--brand);
    box-shadow: 0 8px 20px rgb(214 0 22 / 8%);
    transform: translateY(-2px)
}

.contact-detail-item>span:nth-child(2) {
    display: grid;
    gap: 5px;
    flex: 1
}

.contact-detail-item small {
    color: #777;
    font-size: 12px
}

.contact-detail-item strong {
    color: #151515;
    font-size: 20px;
    letter-spacing: .02em
}

.contact-detail-arrow {
    width: 17px;
    height: 17px;
    color: var(--brand)
}

@media(max-width:800px) {
    .contact-location-card {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: 0;
        padding: 30px 8px;
    }

    .contact-location-card:last-child {
        border-bottom: 0;
    }

    .contact-location-card>svg {
        width: 38px;
        height: 38px;
    }

    .contact-location-map img,
    .contact-location-map iframe {
        height: 180px;
    }

    .contact-location-info {
        padding: 0;
    }

    .contact-location-info h2 {
        font-size: 21px;
    }

    .contact-location-line {
        font-size: 15px;
    }

    .contact-captcha-controls .form-control {
        flex: 1 1 auto
    }

    .contact-details-section {
        padding-top: 44px;
        padding-bottom: 50px
    }

    .contact-details-card {
        /* padding: 34px 22px 28px */
    }

    .contact-details-heading {
        margin-bottom: 28px
    }

    .contact-details-heading h2 {
        font-size: 25px
    }

    .contact-details-body {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .contact-address {
        padding: 22px 18px;
        gap: 13px
    }

    .contact-address h3 {
        font-size: 16px
    }

    .contact-address p {
        font-size: 14px
    }

    .contact-detail-item strong {
        font-size: 18px
    }
}

@media(max-width:800px) {
    .office-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        visibility: visible;
        opacity: 1
    }

    .office-card {
        display: block;
        width: 100%;
        flex: 0 0 auto;
        visibility: visible;
        opacity: 1
    }

    .map-placeholder {
        min-height: 420px;
        padding: 35px 24px;
        grid-template-columns: 1fr;
        background-size: auto 70%;
        background-position: center bottom;
        align-items: start
    }

    .map-placeholder>div {
        max-width: 300px
    }

    .map-placeholder strong {
        font-size: 24px
    }

    .section {
        padding: 44px 0
    }

    .contact-card {
        padding: 24px 18px;
        width: 100%;
        box-sizing: border-box
    }

    .contact-card h2 {
        margin-bottom: 24px;
        font-size: 23px
    }

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

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

/* Headquarters contact block: reference-style editorial layout. */
.contact-details-section {
    padding: 88px 0 96px;
    width: 100%;
    height: 100%;
    background: #fff url('../contact-bg.png') center center/100% 100% no-repeat
}

.contact-details-card {
    /* min-height: 520px; */
    /* padding: 64px 56px; */
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none
}

.contact-details-card::before {
    display: none
}

.contact-details-heading {
    margin: 0 0 68px;
    padding: 0;
    max-width: 650px
}

.contact-details-eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
    letter-spacing: .13em
}

.contact-details-heading h2 {
    font-size: 36px;
    line-height: 1.35;
    font-weight: 600
}

.contact-details-heading h2::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    margin-top: 24px;
    background: var(--brand)
}

.contact-details-heading p {
    display: none
}

.contact-details-body {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    gap: 76px;
    align-items: center;
    max-width: 1040px
}

.contact-address {
    display: block;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0
}

.contact-address>.contact-detail-icon {
    display: none
}

.contact-address h3 {
    margin: 0 0 18px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.5
}

.contact-address p {
    font-size: 16px;
    line-height: 1.9
}

.contact-details-list {
    gap: 0;
    margin-bottom: 4px;
    background: rgb(255 255 255 / 66%)
}

.contact-detail-item {
    min-height: 116px;
    gap: 18px;
    padding: 22px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgb(0 0 0 / 9%);
    border-radius: 0;
    box-shadow: none;
    transition: none
}

a.contact-detail-item:hover {
    border-color: rgb(0 0 0 / 9%);
    box-shadow: none;
    transform: none
}

.contact-detail-icon {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
    color: #444;
    background: rgb(255 255 255 / 82%);
    border: 0;
    border-radius: 50%;

}

.contact-detail-icon .lucide {
    width: 28px;
    height: 28px;
    stroke-width: 1.7
}

.contact-detail-item small {
    color: #555;
    font-size: 14px
}

.contact-detail-item strong {
    font-size: 23px;
    letter-spacing: 0
}

.contact-detail-arrow {
    display: none
}

@media(max-width:800px) {
    .contact-details-section {
        padding: 56px 0 62px
    }

    .contact-details-card {
        min-height: 0;
        padding: 46px 24px;
        background-position: 68% center;
        background-size: auto 100%
    }

    .contact-details-heading {
        margin-bottom: 46px
    }

    .contact-details-heading h2 {
        font-size: 27px
    }

    .contact-details-body {
        grid-template-columns: 1fr;
        gap: 42px
    }

    .contact-address h3 {
        font-size: 16px
    }

    .contact-address p {
        font-size: 14px
    }

    .contact-detail-item {
        min-height: 92px;
        padding: 16px 0
    }

    .contact-detail-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px
    }

    .contact-detail-icon .lucide {
        width: 24px;
        height: 24px
    }

    .contact-detail-item strong {
        font-size: 18px
    }
}
