/* ===== LEGAL PAGES ===== */
.legal-page { padding: 80px 20px 100px; min-height: 60vh; }
.legal-wrap  { max-width: 760px; margin: 0 auto; }

.legal-wrap h1 {
    font-size: 2.2rem; font-weight: 900; color: #0a0a0a;
    margin: 0 0 6px; letter-spacing: -0.5px;
}

.legal-updated {
    font-size: 0.82rem; color: #bbb;
    margin: 0 0 30px; padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}

.legal-intro {
    background: #f9f9f9; border-right: 4px solid #0a0a0a;
    padding: 16px 20px; border-radius: 0 8px 8px 0;
    font-size: 0.93rem; color: #555; line-height: 1.7;
    margin-bottom: 36px;
}

.legal-wrap h2 {
    font-size: 0.9rem; font-weight: 900; color: #0a0a0a;
    margin: 34px 0 10px; text-transform: uppercase;
    letter-spacing: 0.8px;
}

.legal-wrap p  { font-size: 0.93rem; color: #555; line-height: 1.8; margin: 0 0 12px; }
.legal-wrap ul { padding-right: 18px; margin: 0 0 12px; }
.legal-wrap li { font-size: 0.93rem; color: #555; line-height: 2; }
.legal-wrap a  { color: #0a0a0a; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal-wrap strong { color: #333; }

.legal-success {
    background: #f0faf4; border: 1px solid #b7e4c7;
    border-radius: 10px; padding: 20px 22px;
    color: #1a5e2e; font-size: 0.93rem; line-height: 1.7;
}

.legal-error {
    background: #fff5f5; border: 1px solid #ffc5c5;
    border-radius: 8px; padding: 12px 18px;
    color: #c0392b; font-size: 0.88rem; margin-bottom: 18px;
}

/* ===== CONTACT FORM ADDITIONS ===== */
.marketing-consent {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 14px;
    align-items: center;
    background: #f9f9f9;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 18px 0 10px;
    transition: border-color 0.2s;
    cursor: pointer;
}

.marketing-consent:has(input:checked) {
    border-color: #0a0a0a;
    background: #f0f0f0;
}

.marketing-consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #0a0a0a;
    margin: 0;
}

.marketing-consent label {
    font-size: 0.84rem;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
    text-align: right;
}

.marketing-consent label a {
    color: #0a0a0a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-legal-note {
    font-size: 0.76rem; color: #bbb;
    margin-bottom: 18px; line-height: 1.5;
}

.form-legal-note a { color: #999; }

/* ===== NEWSLETTER FORM ===== */
.newsletter-form { margin-top: 10px; }

.nf-row { margin-bottom: 18px; }
.nf-row label {
    display: block; font-size: 0.78rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    color: #333; margin-bottom: 7px;
}
.nf-row input {
    width: 100%; padding: 13px 15px;
    border: 1.5px solid #e5e5e5; border-radius: 8px;
    font-family: 'Heebo', sans-serif; font-size: 1rem; color: #333;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.nf-row input:focus { outline: none; border-color: #0a0a0a; box-shadow: 0 0 0 3px rgba(0,0,0,0.04); }

.nf-check {
    display: flex; gap: 12px; align-items: flex-start;
    margin: 20px 0 24px; padding: 15px 16px;
    background: #fafafa; border: 1.5px solid #eee; border-radius: 8px;
}
.nf-check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; width: 16px; height: 16px; cursor: pointer; accent-color: #0a0a0a; }
.nf-check label { font-size: 0.84rem; color: #666; line-height: 1.6; cursor: pointer; }
.nf-check label a { color: #0a0a0a; }

.nf-btn {
    padding: 13px 38px; background: #0a0a0a; color: white;
    border: none; border-radius: 8px;
    font-family: 'Heebo', sans-serif; font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: all 0.2s;
    /* FIX: רוחב מלא במובייל */
    display: block;
    width: 100%;
    text-align: center;
}
.nf-btn:hover { background: #2c2c2c; transform: translateY(-1px); box-shadow: 0 6px 15px rgba(0,0,0,0.12); }

/* ===== ABOUT / SERVICES SUPPORT ===== */

/* FIX: values-grid — עמודה אחת במובייל */
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.value-item  { background: #f9f9f9; border: 1px solid #eee; border-radius: 10px; padding: 20px; }
.value-number{ display: block; font-size: 0.68rem; font-weight: 900; letter-spacing: 2px; color: #ccc; margin-bottom: 8px; }
.value-item h4 { font-size: 1rem; font-weight: 700; color: #0a0a0a; margin: 0 0 6px; }
.value-item p  { font-size: 0.85rem; color: #888; margin: 0; }

.services-cta { background: #0a0a0a; color: white; text-align: center; padding: 60px 20px; margin-top: 60px; }
.services-cta h3 { font-size: 1.8rem; font-weight: 900; margin: 0 0 12px; letter-spacing: -0.5px; }
.services-cta p  { font-size: 1rem; color: #aaa; margin: 0 0 28px; }
.cta-btn { display: inline-block; padding: 13px 34px; background: white; color: #0a0a0a; text-decoration: none; font-weight: 700; border-radius: 8px; transition: all 0.2s; }
.cta-btn:hover { background: #eee; transform: translateY(-2px); }

.success-message { background: #f0faf4; border: 1px solid #b7e4c7; border-radius: 10px; padding: 16px 20px; color: #1a5e2e; font-size: 0.93rem; margin-top: 14px; }

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */
@media (max-width: 768px) {

    /* Legal pages */
    .legal-page { padding: 40px 16px 60px; }
    .legal-wrap h1 { font-size: 1.6rem; }
    .legal-intro { font-size: 0.88rem; }

    /* FIX: values-grid — עמודה אחת במובייל (היה 2 עמודות) */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .value-item { padding: 16px; }

    /* Services CTA */
    .services-cta { padding: 40px 16px; margin-top: 40px; }
    .services-cta h3 { font-size: 1.4rem; }

    /* Newsletter */
    .nf-row input { font-size: 0.95rem; }
    .nf-btn { padding: 13px; }

    /* Contact consent */
    .marketing-consent { flex-direction: row; }
}
