/* ==========================================================================
   Contact page — form, thank-you modal, two-column office cards.
   Loaded only for /<lang>/contact/ via per-page CSS auto-include.
   ========================================================================== */

/* ==========================================================================
   PMG Contact Form (shared styles for DE/EN/ES form includes)
   To update: edit here, applies to all contact-form-*.php files
   ========================================================================== */
.pmg-contact-wrapper {
    margin: 40px auto; display: flex; border-radius: 12px;
    overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.12); font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
}
.pmg-contact-wrapper * { margin: 0; padding: 0; box-sizing: border-box; }
.d-section-general .pmg-contact-wrapper p { font-size: 14px; text-align: left; color: inherit; margin: 0; }
.pmg-sidebar {
    background: #186e47;
    background-image: url(https://privacy-management-group.com/wp-content/uploads/2025/07/contact-section-bg.jpg);
    background-size: cover; background-position: center;
    color: #fff; width: 42%; padding: 40px 30px;
    display: flex; flex-direction: column; gap: 28px;
}
.pmg-sidebar-block { margin-bottom: 0; }
.pmg-sidebar .pmg-icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pmg-sidebar .pmg-icon-row i { width: 25px; flex-shrink: 0; text-align: center; }
.pmg-sidebar .pmg-block-title { font-size: 17px; font-weight: 600; color: #fff; }
.pmg-sidebar .pmg-block-content { margin-left: 35px; display: flex; flex-direction: column; gap: 10px; }
.pmg-sidebar .pmg-block-content p { font-size: 14px; color: #fff; line-height: 1.6; margin: 0; }
.pmg-sidebar .pmg-block-content a { font-size: 14px; color: #fff; font-weight: 300; text-decoration: none; line-height: 1.6; display: block; }
.pmg-sidebar .pmg-block-content a:hover { color: #a3c6c4; text-decoration: underline; }
.pmg-sidebar .pmg-block-content .flag-icon { margin-left: 5px; position: relative; top: -1px; }
.pmg-sidebar .pmg-qr-block { display: flex; align-items: center; gap: 15px; margin-top: 10px; margin-left: 35px; }
.pmg-sidebar .pmg-qr-block a img { width: 90px; height: 90px; border-radius: 10px; }
.pmg-sidebar .pmg-qr-block span { font-size: 14px; color: #fff; line-height: 1.5; }
.pmg-sidebar .pmg-btn-outline {
    display: inline-block; border: 1px solid #fff; color: #fff; background: transparent;
    padding: 12px 20px; border-radius: 35px; font-size: 18px; font-weight: 400;
    text-decoration: none; text-align: center; transition: all 0.2s;
}
.pmg-sidebar .pmg-btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }
.pmg-form-panel {
    background: #fff; width: 58%; padding: 40px 35px;
    display: flex; flex-direction: column; justify-content: center;
}
.pmg-form-panel label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 5px; color: #444; }
.pmg-form-panel input, .pmg-form-panel textarea, .pmg-form-panel select {
    width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px;
    font-size: 14px; font-family: inherit; background: #f7f7f7; transition: border-color 0.2s;
}
.pmg-form-panel input:focus, .pmg-form-panel textarea:focus, .pmg-form-panel select:focus {
    outline: none; border-color: #354649; background: #fff;
}
.pmg-form-panel textarea { resize: vertical; min-height: 110px; }
.pmg-form-row { display: flex; gap: 14px; margin-bottom: 16px; }
.pmg-form-row .pmg-field { flex: 1; }
.pmg-form-group { margin-bottom: 16px; }
.pmg-phone-row { display: flex; gap: 8px; }
.pmg-phone-row select { width: 48%; font-size: 13px; }
.pmg-phone-row input { width: 52%; }
.pmg-checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0; }
.pmg-checkbox-group input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; accent-color: #354649; flex-shrink: 0; }
.pmg-checkbox-group label { font-size: 13px; color: #555; line-height: 1.5; font-weight: 400; }
.pmg-checkbox-group a { color: #2a7d5f; font-weight: 500; }
.pmg-btn-submit {
    width: 100%; padding: 13px; border: none; border-radius: 30px; font-size: 15px;
    font-weight: 600; color: #fff; cursor: pointer; letter-spacing: 0.5px;
    background: linear-gradient(to right, #116a40, #188b57); transition: opacity 0.2s;
}
.pmg-btn-submit:hover { opacity: 0.9; }
.pmg-encryption-note { text-align: center !important; font-size: 12px !important; color: #888 !important; margin: 10px 0; line-height: 1.6; padding: 0; }
.pmg-success-msg { display: none; padding: 25px; background: #e8f5e9; border-radius: 8px; color: #2e7d32; text-align: center; font-size: 15px; line-height: 1.6; }
.pmg-ssl-badge { display: flex; justify-content: center; border: 2px solid #354649; border-radius: 90px; width: 150px; margin: 15px auto 0; background: #354649; padding: 4px 0; }
@media (max-width: 768px) {
    .pmg-contact-wrapper { flex-direction: column; margin: 20px 15px; }
    .pmg-sidebar, .pmg-form-panel { width: 100%; }
    .pmg-sidebar { padding: 30px 25px; }
    .pmg-form-panel { padding: 30px 25px; }
}
/* ========================================================================== */

/* ==========================================================================
   PMG Thank-You Modal (success popup for contact forms)
   ========================================================================== */
.pmg-thank-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center; justify-content: center;
    z-index: 99999;
    padding: 20px;
    animation: pmgThankFadeIn 0.18s ease-out;
}
.pmg-thank-overlay.is-open { display: flex; }
@keyframes pmgThankFadeIn { from { opacity: 0; } to { opacity: 1; } }

.pmg-thank-dialog {
    background: #faf9f3;
    border-radius: 6px;
    max-width: 540px; width: 100%;
    box-shadow: 0 12px 40px rgba(0,0,0,0.28);
    position: relative;
    padding: 40px 40px 30px 40px;
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    animation: pmgThankSlide 0.22s ease-out;
}
@keyframes pmgThankSlide { from { transform: translateY(-12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.pmg-thank-close {
    position: absolute; top: 14px; right: 18px;
    width: 32px; height: 32px;
    font-size: 28px; font-weight: 400;
    color: #1a5040;
    opacity: 0.7;
    background: none; border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: opacity 0.15s;
}
.pmg-thank-close:hover { opacity: 1; }

.pmg-thank-title {
    font-size: 26px; font-weight: 700;
    color: #1a3a2e;
    margin: 0 0 18px 0;
    line-height: 1.25;
    padding-right: 30px;
}
.pmg-thank-text {
    font-size: 16px; line-height: 1.6;
    color: #2b2b2b;
    margin: 0 0 22px 0;
}
.pmg-thank-actions { text-align: right; }
.pmg-thank-btn {
    background: #1a5040;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 10px 28px;
    font-size: 15px; font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}
.pmg-thank-btn:hover { background: #143d31; color: #ffffff; }

@media (max-width: 540px) {
    .pmg-thank-dialog { padding: 30px 24px 22px 24px; }
    .pmg-thank-title { font-size: 22px; }
    .pmg-thank-text { font-size: 15px; }
}
/* ========================================================================== */

/* Contact page - two column offices */
.d-section-general .section-wrap--wide {
    max-width: 1194px;
    margin-left: auto;
    margin-right: auto;
}
.contact-offices {
    display: flex;
    gap: 30px;
}
.contact-office {
    flex: 1;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.office-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
}
.office-photo img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
}
.office-title-wrap {
    display: flex;
    flex-direction: column;
}
.office-title-wrap .office-flag {
    width: 50px;
    height: auto;
    margin-bottom: 5px;
}
.office-title-wrap span {
    font-family: 'Poppins', 'Open Sans', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.15;
    color: #354649;
    display: block;
}
.office-details {
    margin-bottom: 15px;
}
.office-details p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 15px;
    color: #354649;
}
.office-details .office-company {
    font-size: 18px;
    color: #354649;
}
.office-details .office-company sup {
    font-size: 60%;
}
.office-details .office-hours {
    font-size: 20px;
}
.office-details a {
    color: #127749;
}
.office-details a:hover {
    color: #000;
}
.office-details .flag-icon {
    margin-left: 3px;
}
.office-disclaimer {
    font-size: 12px !important;
    color: #999;
    text-align: right !important;
    margin: 15px 0;
}
.office-map {
    margin-top: 15px;
}
.office-map iframe {
    display: block;
    width: 100%;
}
@media screen and (max-width: 900px) {
    .contact-offices {
        flex-direction: column;
    }
    .office-header {
        flex-direction: column;
        text-align: center;
    }
    .office-title-wrap {
        align-items: center;
    }
    .office-title-wrap h2 {
        text-align: center;
        font-size: 26px;
    }
}

