/* ===== LEGAL PAGES — מתגבר על base.css ===== */

.legal-page {
    padding: 70px 20px 100px;
    min-height: 60vh;
}

.legal-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: right;
}

/* מתגבר על h1/h2 הגלובלי */
.legal-wrap h1 {
    font-size: 2.2rem !important;
    font-weight: 900;
    color: #0a0a0a;
    margin: 0 0 8px !important;
    letter-spacing: -0.5px;
}

.legal-wrap h2 {
    font-size: 1.05rem !important;
    font-weight: 800;
    color: #0a0a0a;
    margin: 32px 0 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 2px solid #0a0a0a;
    padding-bottom: 6px;
    display: inline-block;
}

/* מתגבר על max-width: 70ch בפסקאות */
.legal-wrap p {
    font-size: 0.95rem !important;
    color: #555 !important;
    line-height: 1.8 !important;
    margin: 0 0 14px !important;
    max-width: 100% !important;
}

.legal-wrap ul {
    padding-right: 20px;
    margin: 0 0 16px;
    list-style: none;
}

.legal-wrap ul li {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.9;
    padding-right: 16px;
    position: relative;
}

.legal-wrap ul li::before {
    content: '—';
    position: absolute;
    right: 0;
    color: #ccc;
}

.legal-wrap a {
    color: #0a0a0a;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-updated {
    font-size: 0.8rem !important;
    color: #aaa !important;
    margin: 0 0 36px !important;
    padding-bottom: 28px;
    border-bottom: 1px solid #eee;
    display: block;
    max-width: 100% !important;
}

.legal-intro {
    background: #f7f7f7;
    border-right: 4px solid #0a0a0a;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 36px;
}

.legal-intro p {
    margin: 0 !important;
    font-size: 0.92rem !important;
    color: #444 !important;
}

/* ===== CONTACT CHECKBOX ===== */
.marketing-consent {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: #f9f9f9;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 16px 0 10px;
    cursor: pointer;
    transition: border-color 0.2s;
}

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

.marketing-consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #0a0a0a;
    order: -1; /* checkbox תמיד בימין */
}

.marketing-consent label {
    font-size: 0.83rem;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
    text-align: right;
    max-width: 100% !important;
}

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

.form-legal-note {
    font-size: 0.75rem;
    color: #bbb;
    margin-bottom: 16px;
    line-height: 1.5;
    max-width: 100% !important;
}

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

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

.nf-row { margin-bottom: 16px; }

.nf-row label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    margin-bottom: 7px;
    max-width: 100% !important;
}

.nf-row input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e5e5;
    border-radius: 8px;
    font-family: 'Heebo', sans-serif;
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.2s;
}

.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;
    align-items: flex-start;
    gap: 12px;
    background: #fafafa;
    border: 1.5px solid #eee;
    border-radius: 8px;
    padding: 13px 15px;
    margin: 18px 0 22px;
}

.nf-check input[type="checkbox"] {
    width: 18px; height: 18px;
    margin-top: 2px; flex-shrink: 0;
    cursor: pointer; accent-color: #0a0a0a;
}

.nf-check label {
    font-size: 0.83rem; color: #666;
    line-height: 1.6; cursor: pointer;
    max-width: 100% !important;
}

.nf-btn {
    padding: 13px 36px;
    background: #0a0a0a; color: white;
    border: none; border-radius: 8px;
    font-family: 'Heebo', sans-serif;
    font-weight: 700; font-size: 0.95rem;
    cursor: pointer; transition: all 0.2s;
}

.nf-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.12);
}

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

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

/* ===== about / services (שאר הדפים) ===== */
.values-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 18px; margin-top: 28px;
}
.value-item {
    background: #f9f9f9; border: 1px solid #eee;
    border-radius: 10px; padding: 20px;
}
.value-number {
    display: block; font-size: 0.66rem; font-weight: 900;
    letter-spacing: 2px; color: #ccc; margin-bottom: 8px;
}
.value-item h4 { font-size: 1rem !important; font-weight: 700; color: #0a0a0a; margin: 0 0 5px !important; }
.value-item p   { font-size: 0.85rem !important; color: #888 !important; margin: 0 !important; }

.services-cta {
    background: #0a0a0a; color: white;
    text-align: center; padding: 60px 20px; margin-top: 60px;
}
.services-cta h3 { font-size: 1.7rem !important; font-weight: 900; margin: 0 0 10px !important; color: white !important; }
.services-cta p  { font-size: 0.95rem !important; color: #aaa !important; margin: 0 0 26px !important; max-width: 100% !important; }
.cta-btn {
    display: inline-block; padding: 12px 32px;
    background: white; color: #0a0a0a;
    text-decoration: none; font-weight: 700;
    border-radius: 8px; transition: all 0.2s;
}
.cta-btn:hover { background: #eee; }

.success-message {
    background: #f0faf4; border: 1px solid #b7e4c7;
    border-radius: 8px; padding: 14px 18px;
    color: #1a5e2e; font-size: 0.9rem; margin-top: 12px;
}
