:root {
    --bg-cream: #FDFBF7;
    --bg-beige: #F0EBE0;
    --primary-green: #1A3C2A;
    --gold: #C5A059;
    --caramel: #a0876a;
    --text-main: #545454;
    --shadow-deep: 0 15px 35px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Assistant', sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-main);
    direction: rtl;
    line-height: 1.85;
    font-size: 1.05rem;
}

/* HEADER */
.policy-hero {
    background: var(--primary-green);
    color: #fff;
    text-align: center;
    padding: 50px 20px 60px;
}
.policy-home {
    display: inline-block;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 22px;
    font-size: 1rem;
}
.policy-home:hover { color: #fff; }
.policy-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.35;
}
.policy-divider {
    display: block;
    width: 70px;
    height: 3px;
    background: var(--gold);
    margin: 24px auto 0;
    border-radius: 2px;
}

/* CONTENT */
.policy-wrap {
    max-width: 860px;
    margin: -30px auto 0;
    padding: 0 20px 60px;
}
.policy-intro {
    background: #fff;
    border-radius: 20px;
    padding: 30px 36px;
    box-shadow: var(--shadow-deep);
    border-top: 4px solid var(--gold);
    font-size: 1.1rem;
    color: var(--primary-green);
}

/* TABLE OF CONTENTS */
.policy-toc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 30px 0 10px;
}
.policy-toc a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-beige);
    border-radius: 12px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: background 0.25s, transform 0.25s;
}
.policy-toc a:hover { background: #e7dfcf; transform: translateY(-2px); }
.policy-toc a span {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--caramel);
    color: #fff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* SECTIONS */
.policy-section {
    padding: 34px 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
    scroll-margin-top: 20px;
}
.policy-section:last-of-type { border-bottom: none; }
.policy-section h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--primary-green);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 16px;
}
.policy-section h2 small {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--caramel);
}
.policy-section .num {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.policy-section p { margin-bottom: 12px; }

.policy-section ul {
    list-style: none;
    margin: 6px 0 16px;
    padding-right: 6px;
}
.policy-section li {
    position: relative;
    padding-right: 24px;
    margin-bottom: 8px;
}
.policy-section li::before {
    content: '';
    position: absolute;
    right: 4px;
    top: 0.75em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

.policy-note {
    background: var(--bg-beige);
    border-right: 4px solid var(--caramel);
    border-radius: 12px;
    padding: 18px 22px;
    margin-top: 16px;
    color: #4a4a4a;
}
.policy-note strong { color: var(--primary-green); display: block; margin-bottom: 4px; }

.policy-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 4px 0 18px;
}
.policy-contact a {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    border: 1.5px solid var(--caramel);
    border-radius: 30px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.25s, color 0.25s;
}
.policy-contact a:hover { background: var(--caramel); color: #fff; }

/* BACK BUTTON */
.policy-back-wrap { text-align: center; margin-top: 30px; }
.policy-back {
    display: inline-block;
    padding: 16px 44px;
    background: var(--caramel);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.policy-back:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(160, 135, 106, 0.45); }

/* FOOTER */
.policy-footer {
    background: var(--primary-green);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    padding: 22px 16px;
    font-size: 0.9rem;
}

/* MOBILE */
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .policy-hero { padding: 36px 16px 50px; }
    .policy-wrap { padding: 0 16px 40px; }
    .policy-intro { padding: 22px 20px; font-size: 1rem; }
    .policy-toc { grid-template-columns: 1fr; }
    .policy-section { padding: 26px 0; }
    .policy-section h2 { font-size: 1.2rem; gap: 10px; }
    .policy-section .num { width: 32px; height: 32px; font-size: 0.95rem; }
    .policy-note { padding: 14px 16px; }
    .policy-back { width: 100%; }
}

/* אי אפשר לסמן/להעתיק טקסט באתר (שדות הטופס נשארים רגילים) */
body { -webkit-user-select: none; -ms-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea { -webkit-user-select: text; -ms-user-select: text; user-select: text; -webkit-touch-callout: default; }

/* הפוטר תמיד בתחתית המסך — גם כשהעמוד קצר — בלי פס בהיר מתחתיו */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main { flex: 1 0 auto; width: 100%; }
