.cpm-contact-page {
    position: relative;
    overflow: hidden;
}

.cpm-contact-hero {
    position: relative;
    padding: 56px;
    border-radius: 28px;
    background: linear-gradient(130deg, #f6fbff 0%, #eef6ff 45%, #f3fff8 100%);
    border: 1px solid #d9e6f5;
    box-shadow: 0 28px 60px rgba(23, 42, 79, 0.08);
}

.cpm-contact-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 129, 255, 0.18), rgba(0, 129, 255, 0));
    pointer-events: none;
}

.cpm-contact-overline {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #0f4c81;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 76, 129, 0.09);
    margin-bottom: 20px;
}

.cpm-contact-title {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.05;
    margin-bottom: 20px;
    color: #111827;
}

.cpm-contact-lead {
    font-size: 18px;
    line-height: 1.6;
    max-width: 560px;
    color: #334155;
    margin-bottom: 36px;
}

.cpm-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.cpm-contact-layout {
    margin-top: 20px;
}

.cpm-contact-form-wrap,
.cpm-contact-map-wrap {
    border-radius: 24px;
    border: 1px solid #dce6f3;
    background: #ffffff;
    padding: 34px;
    box-shadow: 0 20px 46px rgba(17, 24, 39, 0.07);
}

.cpm-contact-form-wrap h3,
.cpm-contact-map-wrap h3 {
    margin-bottom: 12px;
}

.cpm-contact-form-wrap p,
.cpm-contact-map-wrap p {
    margin-bottom: 24px;
    color: #475569;
}

.cpm-contact-form .cpm-field {
    margin-bottom: 18px;
}

.cpm-honeypot {
    position: absolute;
    left: -99999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.cpm-form-feedback {
    display: none;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.4;
    border: 1px solid transparent;
}

.cpm-form-feedback.is-success {
    display: block;
    background: #ecfdf3;
    color: #14532d;
    border-color: #86efac;
}

.cpm-form-feedback.is-error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border-color: #fca5a5;
}

.cpm-contact-form input,
.cpm-contact-form textarea,
.cpm-contact-form select {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #cfddeb;
    background: #f8fbff;
    color: #0f172a;
    padding: 14px 16px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cpm-contact-form textarea {
    min-height: 160px;
    resize: vertical;
}

.cpm-contact-form input:focus,
.cpm-contact-form textarea:focus,
.cpm-contact-form select:focus {
    outline: none;
    border-color: #1e70c9;
    box-shadow: 0 0 0 4px rgba(30, 112, 201, 0.14);
    background: #ffffff;
}

.cpm-contact-submit {
    display: flex;
    justify-content: flex-start;
}

.cpm-contact-meta {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.cpm-contact-meta-item {
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #d9e6f4;
    padding: 16px;
}

.cpm-contact-meta-item span {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 6px;
}

.cpm-contact-map {
    border-radius: 18px;
    overflow: hidden;
    height: 360px;
    border: 1px solid #dce7f5;
    margin-bottom: 24px;
}

.cpm-contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.cpm-contact-office {
    border-radius: 16px;
    border: 1px solid #d8e5f5;
    padding: 18px;
    background: #f8fbff;
}

.cpm-contact-office h6 {
    margin-bottom: 8px;
}

.cpm-contact-office a {
    color: #0f4c81;
    text-decoration: none;
}

.cpm-contact-office a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .cpm-contact-hero {
        padding: 36px 26px;
    }

    .cpm-contact-form-wrap,
    .cpm-contact-map-wrap {
        padding: 26px;
    }

    .cpm-contact-meta {
        grid-template-columns: 1fr;
    }

    .cpm-contact-submit {
        justify-content: flex-start;
    }
}
