/* ===== צבעים וגדלים – לשנות כאן כדי להתאים למיתוג ===== */
:root {
  --primary: #0e7c72;        /* טורקיז – צבע ראשי */
  --primary-dark: #0a5a53;
  --coral: #e2553a;          /* כתום-אלמוג */
  --sun: #f5a623;            /* צהוב שמש */
  --violet: #6a4fd8;         /* סגול */
  --sky: #1f7fd6;            /* כחול שמיים */
  --pink: #d13b7e;           /* ורוד */
  --accent: var(--sun);
  --whatsapp: #1a8f4c;       /* ירוק כהה מספיק לניגודיות עם טקסט לבן */
  --whatsapp-dark: #136b39;
  --text: #1b2433;
  --muted: #4c5768;
  --bg: #fffdf9;
  --bg-alt: #fff6ec;
  --border: #eadfd2;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 40, 90, .09);
  --shadow-lg: 0 24px 60px rgba(60, 40, 90, .18);
  --rainbow: linear-gradient(90deg, var(--coral), var(--sun), var(--primary), var(--sky), var(--violet), var(--pink));
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: "Heebo", "Arial", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.2rem; }

/* קו צבעוני קטן מתחת לכותרות האזורים */
.section h2::after {
  content: ""; display: block; width: 72px; height: 5px; margin-top: 12px;
  border-radius: 999px; background: var(--rainbow);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; top: -100px; right: 16px; z-index: 100;
  background: var(--text); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { top: 8px; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

/* ===== כפתורים ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 8px 22px rgba(26, 143, 76, .35); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--sky)); color: #fff; box-shadow: 0 8px 22px rgba(31, 127, 214, .3); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(31, 127, 214, .4); }
.btn-ghost { border-color: var(--violet); color: var(--violet); background: #fff; }
.btn-ghost:hover { background: #f1edff; }

/* ===== כותרת עליונה ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header::after { content: ""; position: absolute; inset: auto 0 -1px 0; height: 3px; background: var(--rainbow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.25rem; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text small { font-size: .78rem; font-weight: 600; color: var(--primary); }

.nav-toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; position: relative;
}
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }

.site-nav {
  display: none; position: absolute; top: 67px; right: 0; left: 0;
  background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.site-nav a { display: block; padding: 10px 4px; color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--violet); }
.nav-cta { color: var(--coral) !important; font-weight: 700 !important; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .site-nav a { padding: 8px 12px; border-radius: 999px; }
  .site-nav a:hover { background: #f1edff; }
  .nav-cta { background: linear-gradient(135deg, var(--coral), var(--pink)); color: #fff !important; padding: 8px 20px !important; margin-inline-start: 8px; box-shadow: 0 6px 16px rgba(226, 85, 58, .3); }
  .nav-cta:hover { background: linear-gradient(135deg, var(--coral), var(--pink)) !important; filter: brightness(1.07); }
}

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 85% 15%, rgba(245, 166, 35, .35), transparent 40%),
    radial-gradient(circle at 10% 85%, rgba(106, 79, 216, .22), transparent 45%),
    radial-gradient(circle at 55% 60%, rgba(14, 124, 114, .14), transparent 50%),
    linear-gradient(160deg, #fff1e3 0%, #fffdf9 55%, #f3efff 100%);
  padding: 48px 0 64px;
}
.hero-inner { display: grid; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 18px; padding: 8px 22px; border-radius: 999px;
  background: #fff; color: var(--coral); font-weight: 800; font-size: clamp(1.3rem, 2.9vw, 1.85rem);
  box-shadow: 0 4px 14px rgba(226, 85, 58, .15);
}
.hero h1 {
  font-size: clamp(1.8rem, 4.6vw, 2.6rem); font-weight: 900; color: var(--text);
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero h1 {
    background: linear-gradient(120deg, #0a5a53 0%, var(--sky) 45%, var(--violet) 75%, var(--pink) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li {
  background: #fff; border-radius: 999px; padding: 6px 14px; font-size: .95rem; font-weight: 500;
  box-shadow: 0 3px 10px rgba(60, 40, 90, .08);
}
.hero-points li::before { content: "✓"; font-weight: 800; margin-inline-end: 6px; }
.hero-points li:nth-child(1)::before { color: var(--coral); }
.hero-points li:nth-child(2)::before { color: var(--primary); }
.hero-points li:nth-child(3)::before { color: var(--violet); }

.hero-media { position: relative; width: 100%; max-width: 400px; margin: 0 auto; }
.hero-media::before, .hero-media::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%;
}
/* העיגולים יושבים על פינות התמונה ובולטים החוצה */
.hero-media::before {
  width: 52%; aspect-ratio: 1; top: 0; left: 0; transform: translate(-38%, -38%);
  background: linear-gradient(135deg, var(--sun), var(--coral)); opacity: .85;
}
.hero-media::after {
  width: 40%; aspect-ratio: 1; bottom: 0; right: 0; transform: translate(38%, 38%);
  background: linear-gradient(135deg, var(--sky), var(--violet)); opacity: .8;
}

@media (min-width: 900px) {
  .hero { padding: 88px 0; }
  .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* ===== תמונות ===== */
.placeholder {
  display: grid; place-items: center; aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #f3ebe2, #f3ebe2 12px, #fbf5ee 12px, #fbf5ee 24px);
  border: 2px dashed #d8c7b5; border-radius: var(--radius);
  color: var(--muted); font-weight: 500;
}
.placeholder-hero { aspect-ratio: 1 / 1; }
.hero-photo {
  width: 100%; max-width: 400px; margin: 0 auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 28px; border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.placeholder-portrait { aspect-ratio: 6 / 7; }

/* ===== אזורים ===== */
.section { padding: 72px 0; }
.section-alt {
  background:
    radial-gradient(circle at 0% 0%, rgba(245, 166, 35, .14), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(106, 79, 216, .12), transparent 40%),
    var(--bg-alt);
}
.section-lead { color: var(--muted); margin: 0 0 36px; font-size: 1.1rem; }

.cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  --c: var(--primary); --c2: var(--sky);
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px 24px; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 6px;
  background: linear-gradient(90deg, var(--c), var(--c2));
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { color: var(--c); }
.card p { margin: 0; color: var(--muted); }
.card-icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px;
  border-radius: 16px; color: #fff; font-size: 1.4rem;
  background: linear-gradient(135deg, var(--c), var(--c2));
  box-shadow: 0 8px 18px rgba(60, 40, 90, .18);
}
/* צבע שונה לכל אחד מששת התחומים */
#areas .card:nth-child(1) { --c: #c8780a; --c2: var(--sun); }      /* כלכלי */
#areas .card:nth-child(2) { --c: var(--sky); --c2: #4fb3f0; }      /* תעסוקתי */
#areas .card:nth-child(3) { --c: var(--violet); --c2: #9b7bff; }   /* משפטי */
#areas .card:nth-child(4) { --c: var(--coral); --c2: #f2896b; }    /* בריאותי */
#areas .card:nth-child(5) { --c: var(--pink); --c2: #f06aa8; }     /* חברתי */
#areas .card:nth-child(6) { --c: var(--primary); --c2: #2fb3a5; }  /* דיור */

#areas .cards { display: flex; flex-wrap: wrap; justify-content: center; }
#areas .card { flex: 1 1 100%; }
@media (min-width: 600px) { #areas .card { flex: 0 0 calc((100% - 18px) / 2); } }
@media (min-width: 900px) { #areas .card { flex: 0 0 calc((100% - 36px) / 3); } }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li {
  --c: var(--coral);
  counter-increment: step; background: #fff; border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); border-bottom: 5px solid var(--c);
}
.steps li:nth-child(2) { --c: var(--sun); }
.steps li:nth-child(3) { --c: var(--primary); }
.steps li:nth-child(4) { --c: var(--violet); }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: 50%; background: var(--c); color: #fff; font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 6px 14px rgba(60, 40, 90, .2);
}
.steps li:nth-child(2)::before { color: var(--text); }
.steps p { margin: 0; color: var(--muted); }

.about { display: grid; gap: 32px; align-items: center; }
.about-sub {
  margin-top: 44px; font-size: 1.4rem; color: var(--violet);
  display: flex; align-items: center; gap: 10px;
}
.about-sub::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--sun), var(--coral));
}
/* תעודה מקצועית */
.credential {
  display: flex; align-items: center; gap: 18px; margin: 28px 0 0; padding: 14px;
  background: linear-gradient(135deg, #fff8ec, #f4f0ff); border: 1px solid var(--border); border-radius: var(--radius);
}
.credential-thumb {
  flex: 0 0 auto; width: 150px; padding: 0; border: 1px solid var(--border); border-radius: 8px;
  background: #fff; cursor: zoom-in; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.credential-thumb:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.credential-thumb img { width: 100%; }
.credential figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .95rem; }
.credential figcaption strong { font-size: 1.05rem; }
.credential figcaption span { color: var(--muted); }
.credential figcaption [dir="ltr"] { text-align: right; }
.credential-meta { font-size: .88rem; }
.credential figcaption a { margin-top: 4px; font-weight: 600; color: var(--violet); }
@media (max-width: 480px) { .credential { flex-direction: column; align-items: flex-start; } .credential-thumb { width: 100%; max-width: 260px; } }

.cert-dialog { padding: 0; border: 0; border-radius: 12px; max-width: min(960px, 94vw); background: #fff; }
.cert-dialog::backdrop { background: rgba(20, 15, 40, .72); }
.cert-dialog img { width: 100%; }
.cert-close {
  position: absolute; top: 8px; left: 8px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
}

.benefits { padding: 0; list-style: none; margin: 16px 0 0; display: grid; gap: 10px; }
.benefits li {
  --c: var(--coral);
  background: #fff; border-radius: 12px; padding: 12px 16px;
  border-inline-start: 5px solid var(--c); box-shadow: 0 4px 14px rgba(60, 40, 90, .06);
}
.benefits li:nth-child(4n+2) { --c: var(--sun); }
.benefits li:nth-child(4n+3) { --c: var(--primary); }
.benefits li:nth-child(4n+4) { --c: var(--violet); }
@media (min-width: 900px) { .about { grid-template-columns: .8fr 1.2fr; gap: 56px; } }

.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.testimonials { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 24px; }
.testimonial { margin: 0; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.testimonial blockquote { margin: 0 0 12px; font-size: 1.05rem; }
.testimonial figcaption { color: var(--violet); font-weight: 700; }

.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 2px 18px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(60, 40, 90, .05);
}
.faq details[open] { border-color: #d6ccff; }
.faq summary {
  cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 1.1rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--pink)); color: #fff; font-size: 1.2rem; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* ===== יצירת קשר ===== */
.section-contact {
  color: #fff;
  background:
    radial-gradient(circle at 90% 10%, rgba(245, 166, 35, .45), transparent 35%),
    radial-gradient(circle at 5% 95%, rgba(209, 59, 126, .45), transparent 40%),
    linear-gradient(135deg, #0a5a53 0%, #1b4f9c 55%, #4a2fa8 100%);
}
.section-contact h2::after { background: linear-gradient(90deg, var(--sun), #fff); }
.section-contact a { color: #fff; }
.contact { display: grid; gap: 40px; }
.contact-info p { color: #e6eefc; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 6px; }
.contact-list span { color: #ffd88a; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 56px; } }

.contact-form { background: #fff; color: var(--text); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); }
.contact-form a { color: var(--violet); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px;
  border: 1px solid #b9b2c8; border-radius: 12px; background: #fff; color: var(--text);
}
.field input:focus, .field textarea:focus { border-color: var(--violet); }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.field-check input { width: 20px; height: 20px; margin-top: 4px; flex-shrink: 0; accent-color: var(--violet); }
.field-check label { font-weight: 400; margin: 0; }
.contact-form .btn { width: 100%; }
.contact-form .btn:disabled { opacity: .7; cursor: wait; }
.field-optional { font-weight: 400; color: var(--muted); font-size: .9rem; }
.form-status:empty { display: none; }
.form-status { margin: 12px 0 0; color: #b3261e; font-weight: 500; }

/* ===== כותרת תחתונה ===== */
.site-footer { position: relative; background: #1c1736; color: #d7d2ec; padding: 26px 0 96px; font-size: .95rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--rainbow); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer p { margin: 0; }
.site-footer ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.site-footer a { color: #fff; }

/* ===== כפתור וואטסאפ צף ===== */
.whatsapp-float {
  position: fixed; bottom: 20px; left: 20px; z-index: 60;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; box-shadow: 0 8px 22px rgba(26, 143, 76, .45);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); background: var(--whatsapp-dark); }

/* ===== עמודי טקסט (פרטיות / נגישות / תודה) ===== */
.page { padding: 48px 0 64px; }
.page h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); color: var(--violet); }
.page h2 { font-size: 1.35rem; margin-top: 1.6em; color: var(--primary-dark); }
.note { background: #fff4e0; border-inline-start: 4px solid var(--sun); padding: 12px 16px; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .whatsapp-float, .card { transition: none; }
  .card:hover, .btn:hover { transform: none; }
}
