/* =====================================================================
   Deals for Buddies - Proper Contact Page
   Clean layout, no SVG dependency, same public page width as site.
   ===================================================================== */
body.page-contact,
body.page-template-page-contact {
    background: #f3f7fb;
}

body.page-contact .bbb-site-wrap,
body.page-template-page-contact .bbb-site-wrap {
    width: 100% !important;
    max-width: none !important;
    overflow-x: clip;
}

.dfb-contact-clean-page,
.dfb-contact-clean-page * {
    box-sizing: border-box;
}

.dfb-contact-clean-page {
    width: 100%;
    background: #f3f7fb;
    color: #0f2544;
}

.dfb-contact-container-clean {
    width: min(1150px, calc(100% - 32px));
    margin: 0 auto;
}

.dfb-contact-hero-clean {
    width: 100%;
    padding: 46px 0;
    background: linear-gradient(135deg, #062d6f 0%, #075dcc 62%, #0b8fff 100%);
    color: #fff;
}

.dfb-contact-hero-clean .dfb-contact-container-clean {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    align-items: center;
}

.dfb-contact-kicker-clean {
    display: inline-flex;
    margin-bottom: 10px;
    color: #d8ebff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dfb-contact-hero-copy-clean h1 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1;
    font-weight: 1000;
    letter-spacing: -.04em;
}

.dfb-contact-hero-copy-clean p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 17px;
    line-height: 1.65;
}

.dfb-contact-hero-card-clean {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.26);
    border-radius: 22px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    box-shadow: 0 20px 40px rgba(0,0,0,.14);
}

.dfb-icon-clean {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
    border-radius: 15px;
    background: #eaf4ff;
    color: #075dcc;
    font-size: 23px;
    line-height: 1;
    font-style: normal;
}

.dfb-contact-hero-card-clean .dfb-icon-clean {
    background: rgba(255,255,255,.95);
}

.dfb-contact-hero-card-clean strong {
    display: block;
    color: #fff;
    font-size: 18px;
    font-weight: 1000;
}

.dfb-contact-hero-card-clean p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.88);
    line-height: 1.5;
}

.dfb-contact-grid-clean {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 34px 0 28px;
}

.dfb-contact-info-clean,
.dfb-contact-form-clean,
.dfb-contact-help-clean a {
    border: 1px solid #dbe7f5;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(10, 48, 100, .08);
}

.dfb-contact-info-clean {
    display: grid;
    gap: 14px;
    padding: 18px;
}

.dfb-contact-card-clean,
.dfb-contact-method-clean,
.dfb-contact-safety-clean {
    padding: 18px;
    border-radius: 18px;
    background: #f7fbff;
    border: 1px solid #dce9f8;
}

.dfb-contact-card-blue-clean {
    background: linear-gradient(135deg, #062d6f, #075dcc);
    border-color: transparent;
    color: #fff;
}

.dfb-contact-card-blue-clean .dfb-icon-clean {
    background: #fff;
}

.dfb-contact-card-clean h2 {
    margin: 0 0 8px;
    color: inherit;
    font-size: 22px;
    font-weight: 1000;
    letter-spacing: -.03em;
}

.dfb-contact-card-clean p,
.dfb-contact-safety-clean p,
.dfb-contact-method-clean p {
    margin: 0;
    color: inherit;
    opacity: .88;
    font-size: 14px;
    line-height: 1.58;
}

.dfb-contact-method-clean {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    background: #fff;
}

.dfb-contact-method-clean .dfb-icon-clean {
    margin: 0;
}

.dfb-contact-method-clean strong,
.dfb-contact-safety-clean strong {
    display: block;
    margin-bottom: 5px;
    color: #102542;
    font-size: 14px;
    font-weight: 1000;
}

.dfb-contact-method-clean a {
    color: #075dcc !important;
    font-weight: 900;
    text-decoration: none !important;
    word-break: break-word;
}

.dfb-contact-safety-clean {
    background: #fff7ed;
    border-color: #fed7aa;
}

.dfb-contact-form-clean {
    padding: 30px;
}

.dfb-contact-form-head-clean {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2ebf7;
}

.dfb-contact-form-head-clean .dfb-icon-clean {
    margin: 0;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-size: 25px;
}

.dfb-contact-form-head-clean h2 {
    margin: 0 0 5px;
    color: #102542;
    font-size: 30px;
    font-weight: 1000;
    letter-spacing: -.035em;
}

.dfb-contact-form-head-clean p {
    margin: 0;
    color: #60728a;
    line-height: 1.55;
}

.dfb-contact-form-fields-clean,
.dfb-contact-editor-clean form {
    display: grid;
    gap: 18px;
}

.dfb-form-row-clean.two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dfb-contact-form-fields-clean label,
.dfb-contact-editor-clean label {
    display: block;
    color: #203755;
    font-size: 14px;
    font-weight: 900;
}

.dfb-contact-form-fields-clean em,
.dfb-contact-editor-clean em {
    color: #dc2626;
    font-style: normal;
}

.dfb-contact-form-fields-clean input:not([type="checkbox"]):not([type="file"]),
.dfb-contact-form-fields-clean select,
.dfb-contact-form-fields-clean textarea,
.dfb-contact-editor-clean input:not([type="checkbox"]):not([type="file"]),
.dfb-contact-editor-clean select,
.dfb-contact-editor-clean textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: 8px;
    padding: 13px 15px;
    border: 1px solid #c9d8ec;
    border-radius: 14px;
    background: #fbfdff;
    color: #102542;
    font-size: 15px;
    line-height: 1.35;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.dfb-contact-form-fields-clean textarea,
.dfb-contact-editor-clean textarea {
    min-height: 210px;
    padding: 16px;
    resize: vertical;
    line-height: 1.6;
}

.dfb-contact-form-fields-clean input:focus,
.dfb-contact-form-fields-clean select:focus,
.dfb-contact-form-fields-clean textarea:focus,
.dfb-contact-editor-clean input:focus,
.dfb-contact-editor-clean select:focus,
.dfb-contact-editor-clean textarea:focus {
    outline: 0;
    border-color: #075dcc;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(7, 93, 204, .12);
}

.dfb-message-clean small {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.dfb-contact-extra-clean {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px;
    border: 1px dashed #8dbdf2;
    border-radius: 16px;
    background: #f3f9ff;
}

.dfb-upload-clean {
    margin: 0 !important;
    cursor: pointer;
}

.dfb-upload-clean input {
    display: block;
    margin-top: 8px;
    font-weight: 600;
}

.dfb-contact-extra-clean span {
    color: #60728a;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.dfb-privacy-clean {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    color: #53657d !important;
    font-size: 13px !important;
    line-height: 1.45;
    font-weight: 700 !important;
}

.dfb-privacy-clean input {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: #075dcc;
}

.dfb-privacy-clean a {
    color: #075dcc !important;
    font-weight: 900;
    text-decoration: none !important;
}

.dfb-submit-clean,
.dfb-contact-editor-clean button,
.dfb-contact-editor-clean input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 220px;
    min-height: 54px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #075dcc, #0b86f4);
    color: #fff !important;
    font-size: 15px;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(7, 93, 204, .22);
}

.dfb-contact-help-clean {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 42px;
}

.dfb-contact-help-clean a {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    min-height: 92px;
    padding: 18px;
    color: #102542 !important;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.dfb-contact-help-clean a:hover {
    transform: translateY(-2px);
    border-color: #b9d6f6;
    box-shadow: 0 18px 38px rgba(10,48,100,.12);
}

.dfb-contact-help-clean span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 17px;
    background: #eaf4ff;
    color: #075dcc;
    font-size: 24px;
}

.dfb-contact-help-clean strong {
    display: block;
    color: #102542;
    font-size: 15px;
    font-weight: 1000;
}

.dfb-contact-help-clean small {
    color: #64748b;
    font-size: 12px;
    line-height: 1.3;
}

@media (max-width: 980px) {
    .dfb-contact-hero-clean .dfb-contact-container-clean,
    .dfb-contact-grid-clean {
        grid-template-columns: 1fr;
    }
    .dfb-contact-hero-card-clean {
        max-width: 420px;
    }
    .dfb-contact-info-clean {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .dfb-contact-card-blue-clean,
    .dfb-contact-safety-clean {
        grid-column: 1 / -1;
    }
    .dfb-contact-help-clean {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .dfb-contact-container-clean {
        width: min(100% - 22px, 1150px);
    }
    .dfb-contact-hero-clean {
        padding: 34px 0;
    }
    .dfb-contact-grid-clean {
        padding-top: 22px;
    }
    .dfb-contact-info-clean,
    .dfb-form-row-clean.two,
    .dfb-contact-help-clean {
        grid-template-columns: 1fr;
    }
    .dfb-contact-form-clean {
        padding: 20px;
        border-radius: 18px;
    }
    .dfb-contact-form-head-clean {
        grid-template-columns: 1fr;
    }
    .dfb-contact-form-head-clean h2 {
        font-size: 25px;
    }
    .dfb-contact-extra-clean {
        align-items: stretch;
        flex-direction: column;
    }
    .dfb-submit-clean,
    .dfb-contact-editor-clean button,
    .dfb-contact-editor-clean input[type="submit"] {
        width: 100%;
    }
}
