/* Contact page styles; form and map remain on the existing route. */
.hpc-contact-header {
    position: relative;
    overflow: hidden;
    padding: 35px 0 75px;
    background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.12), transparent 30%), linear-gradient(135deg, #074c2a, #0b6b3a);
    color: #fff;
}
.hpc-contact-header::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border: 55px solid rgba(255,255,255,.05);
    border-radius: 50%;
    right: -80px;
    bottom: -150px;
}

.hpc-contact-header-content, .hpc-contact-breadcrumb, .hpc-contact-header-visual {
    position: relative;
    z-index: 1;
}

.hpc-contact-breadcrumb {
    margin-bottom: 32px;
}

.hpc-contact-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 13px;
}

.hpc-contact-breadcrumb a {
    color: #e0f2e7;
    text-decoration: none;
}

.hpc-contact-breadcrumb a:hover {
    text-decoration: underline;
}

.hpc-contact-breadcrumb .active, .hpc-contact-breadcrumb .breadcrumb-item::before {
    color: #c1d9ca;
}

.hpc-contact-header-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #d7f4e4;
}

.hpc-contact-header h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.1;
    margin-bottom: 18px;
    color: #fff;
}

.hpc-contact-header p {
    max-width: 720px;
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,.86);
}

.hpc-contact-header-visual {
    justify-content: center;
}

.hpc-contact-header-visual > div {
    width: 165px;
    height: 165px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 36px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    transform: rotate(5deg);
}

.hpc-contact-header-visual i {
    font-size: 72px;
}

.hpc-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.hpc-contact-intro {
    color: #56675e;
    font-size: 16px;
    line-height: 1.8;
    margin: 22px 0 32px;
}

.hpc-contact-team article {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 26px 0;
    border-top: 1px solid #dce7df;
}

.hpc-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    height: 48px;
    border-radius: 13px;
    background: #edf8f2;
    color: #0b6b3a;
    font-size: 22px;
}

.hpc-contact-team h3 {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 14px;
}

.hpc-contact-team a {
    display: block;
    width: fit-content;
    margin-top: 8px;
    font-size: 15px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.hpc-contact-team a:hover {
    text-decoration: underline;
}

.hpc-contact-locations {
    margin-top: 18px;
    padding: 24px;
    border-radius: 14px;
    background: #f3f8f5;
}

.hpc-contact-locations ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.hpc-contact-locations li {
    padding: 7px 12px;
    border: 1px solid #dce7df;
    border-radius: 6px;
    background: #fff;
    color: #56675e;
    font-size: 13px;
}

.hpc-contact-form-card {
    padding: 36px;
    border: 1px solid #dce7df;
    border-radius: 18px;
    background: #f5faf7;
}

.hpc-contact-form-note {
    color: #56675e;
    font-size: 14px;
    margin: 14px 0 26px;
}

.hpc-contact-fields {
    display: grid;
    gap: 20px;
}

.hpc-contact-fields label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 9px;
}

.hpc-contact-fields .form-control {
    padding: 13px 16px;
    border: 1px solid #c8ddcf;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    color: #12382a;
}

.hpc-contact-fields .form-control:focus {
    border-color: #0b6b3a;
    box-shadow: 0 0 0 3px #0b6b3a15;
}

.hpc-contact-fields textarea {
    resize: vertical;
    min-height: 140px;
}

.hpc-contact-verification {
    color: #56675e;
    font-size: 12px;
    line-height: 1.6;
    margin: -8px 0 0;
}

.hpc-contact .contact-submit-button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.hpc-contact-map-section {
    padding-bottom: 72px;
}

.hpc-contact-map-wrap {
    border: 1px solid #dce7df;
    border-radius: 18px;
    overflow: hidden;
    background: #f3f8f5;
}

.hpc-contact #map {
    height: 380px;
    width: 100%;
}

.hpc-contact #map-status {
    margin: 0;
    padding: 18px 24px;
    font-size: 14px;
    color: #56675e;
}

.hpc-contact .contact-info h3 {
    font-size: 20px;
    color: #0b6b3a;
}

@media (max-width: 991px) {
    .hpc-contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 575px) {
    .hpc-contact-header {
        padding: 28px 0 48px;
    }

    .hpc-contact-header p {
        font-size: 16px;
    }

    .hpc-contact-form-card {
        padding: 24px 18px;
    }

    .hpc-contact #map {
        height: 300px;
    }
}

@media (max-width: 374px) {
    .hpc-contact .g-recaptcha {
        transform: scale(.85);
        transform-origin: left top;
        height: 66px;
    }
}
