/* =========================================================
   יניב נגר – רואה חשבון | עיצוב האתר
   צבעי המותג נלקחו מהלוגו (כחול כהה + זהב)
   ========================================================= */

:root {
  --navy: #0f2650;
  --navy-dark: #0a1a38;
  --navy-soft: #1c3a6e;
  --gold: #c39437;
  --gold-light: #e5bf62;
  --gold-text: #8a6516;          /* זהב כהה – עומד ביחס ניגודיות לטקסט */
  --ink: #1d2433;
  --muted: #535c6e;
  --line: #e3e6ec;
  --bg: #ffffff;
  --bg-soft: #f6f7fa;
  --bg-cream: #fbf8f1;
  --whatsapp: #1fa855;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 38, 80, 0.08);
  --max: 1160px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Heebo", "Arial Hebrew", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-soft); }
a:hover { color: var(--gold-text); }

h1, h2, h3 { color: var(--navy); line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

/* ---------- נגישות ---------- */
.skip-link {
  position: absolute; top: -100px; right: 16px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.05rem; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-dark); box-shadow: 0 4px 14px rgba(195, 148, 55, .35); }
.btn-gold:hover { color: var(--navy-dark); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { color: #fff; }

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); }
.brand img { height: 58px; width: auto; }

.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 8px;
  color: var(--navy); font-weight: 500; text-decoration: none;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { padding: 10px 18px; font-size: .98rem; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- אזור פתיחה ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 10% -10%, rgba(229,191,98,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 80px 0 128px;
}
.hero::after {
  /* קשת זהב – רמז לקו מהלוגו */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -230px; height: 320px;
  border-top: 3px solid rgba(229,191,98,.55); border-radius: 50%;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 18px; padding: 6px 16px; border-radius: 999px;
  background: rgba(229,191,98,.14); color: var(--gold-light); font-weight: 700; font-size: .95rem;
  border: 1px solid rgba(229,191,98,.35);
}
.hero h1 { color: #fff; }
.hero h1 .gold { color: var(--gold-light); }
.hero-lead { font-size: 1.2rem; color: #dbe2ef; max-width: 36em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* תמונת רו"ח – מסגרת זהב מוזזת ותווית שם */
.portrait { position: relative; margin: 0 0 18px 18px; }
.portrait::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 3px solid var(--gold); border-radius: 22px;
}
.portrait img { position: relative; width: 100%; border-radius: 20px; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
.photo-badge {
  position: absolute; right: -14px; bottom: 28px;
  background: #fff; color: var(--navy); border-radius: 12px; padding: 10px 18px;
  box-shadow: 0 8px 20px rgba(10,26,56,.3); border-right: 4px solid var(--gold);
}
.photo-badge strong { display: block; font-size: 1.05rem; }
.photo-badge span { color: var(--gold-text); font-size: .9rem; font-weight: 500; }
.hero-photo { position: relative; z-index: 1; width: 100%; max-width: 360px; justify-self: center; }

/* פס המספרים – כרטיס לבן שעולה על תחתית אזור הפתיחה */
.stats-band { position: relative; z-index: 2; margin-top: -52px; }
.stats {
  list-style: none; margin: 0; padding: 26px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  background: #fff; border-radius: 18px; box-shadow: 0 12px 34px rgba(15,38,80,.14); border: 1px solid var(--line);
}
.stats li { border-right: 3px solid var(--gold); padding-right: 14px; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.15; }
.stat-label { color: var(--muted); font-size: .98rem; white-space: nowrap; }

/* ---------- מקטעים ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-cream { background: var(--bg-cream); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.kicker { display: block; color: var(--gold-text); font-weight: 700; letter-spacing: .02em; margin-bottom: 6px; }
.gold-rule { width: 64px; height: 3px; margin: 14px auto 18px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); border-radius: 3px; }

/* שירותים */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(195,148,55,.45); }
.service .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(229,191,98,.22), rgba(195,148,55,.12)); color: var(--navy);
}
.service .icon svg { width: 26px; height: 26px; }
.service p { color: var(--muted); font-size: .98rem; margin: 0; }

/* למה אני */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line);
}
.why .icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); }
.why .icon svg { width: 22px; height: 22px; }
.why p { color: var(--muted); margin: 0; font-size: .98rem; }

/* תהליך עבודה */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 30px 22px 24px; border: 1px solid var(--line); counter-increment: step; }
.step::before {
  content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-dark); font-weight: 800; font-size: 1.2rem;
}
.step p { color: var(--muted); margin: 0; font-size: .98rem; }
.digital-note {
  margin-top: 36px; display: flex; gap: 18px; align-items: center;
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 24px 28px;
}
.digital-note svg { width: 40px; height: 40px; color: var(--gold-light); flex-shrink: 0; }
.digital-note p { margin: 0; color: #dbe2ef; }
.digital-note strong { color: #fff; }

/* לאורך השנה */
.year-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.year-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.year-card header { background: var(--navy); color: #fff; padding: 18px 24px; display: flex; align-items: center; gap: 12px; }
.year-card header svg { width: 26px; height: 26px; color: var(--gold-light); flex-shrink: 0; }
.year-card h3 { color: #fff; margin: 0; font-size: 1.15rem; }
.year-card .check-list { margin: 0; padding: 22px 24px 24px; }
.year-card .check-list li { color: var(--muted); font-size: .98rem; }

/* אודות */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about-visual {
  background: #fff; border-radius: 20px; padding: 32px 28px 22px; box-shadow: var(--shadow); border: 1px solid var(--line);
  text-align: center;
}
.headshot {
  width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px;
  border: 4px solid #fff; box-shadow: 0 0 0 3px var(--gold), 0 10px 24px rgba(15,38,80,.18);
}
.about-logo { width: 220px; margin: 0 auto; }
.about-text h2 { margin-bottom: .3em; }
.about-text .role { color: var(--gold-text); font-weight: 700; font-size: 1.1rem; margin-bottom: 1.2em; }
.check-list { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-right: 32px; }
.check-list li::before {
  content: ""; position: absolute; right: 0; top: .45em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1a38' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* המלצות */
.testimonial-empty {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: #fff; border: 2px dashed rgba(195,148,55,.5); border-radius: 20px; padding: 44px 28px;
}
.testimonial-empty .quote-mark { font-size: 4rem; line-height: .6; color: var(--gold); font-family: Georgia, serif; }
.testimonial-empty p { color: var(--muted); font-size: 1.08rem; }
.testimonial-empty .btn { margin: 6px; }

/* שאלות נפוצות */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq details[open] { border-color: rgba(195,148,55,.55); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); font-size: 1.07rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--gold-text); font-size: 1.4rem; font-weight: 400; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* צור קשר */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.contact-item .icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1rem; margin: 0 0 2px; color: var(--muted); font-weight: 500; }
.contact-item a, .contact-item span.value { color: var(--navy); font-weight: 700; font-size: 1.08rem; text-decoration: none; }
.contact-item a:hover { color: var(--gold-text); }
.hours-note { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }
.map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); height: 240px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact-form h3 { font-size: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); font-size: .98rem; }
.field .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg-soft);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .15s ease, background-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(195,148,55,.2); }
.field textarea { min-height: 120px; resize: vertical; }
.field input[type="tel"], .field input[type="email"] { direction: ltr; text-align: right; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--muted); margin-bottom: 20px; }
.consent input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }
.contact-form .btn { width: 100%; }
.hidden-field { display: none; }

/* פס קריאה לפעולה */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; padding: 56px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 4px; }
.cta-band p { margin: 0; color: #dbe2ef; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* כותרת תחתונה */
.site-footer { background: var(--navy-dark); color: #b9c3d6; padding: 48px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 14px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .footer-nav { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.site-footer a { color: #dbe2ef; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* כפתור וואטסאפ צף */
.whatsapp-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--whatsapp); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 32px; height: 32px; }

/* עמודי תוכן (נגישות / פרטיות) */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.page-hero p { color: #dbe2ef; margin: 8px 0 0; }
.prose { max-width: 820px; margin: 0 auto; padding: 56px 20px 80px; }
.prose h2 { font-size: 1.45rem; margin-top: 1.8em; }
.prose ul { padding-right: 22px; }
.prose li { margin-bottom: 6px; }
.notice { background: var(--bg-cream); border-right: 4px solid var(--gold); padding: 16px 20px; border-radius: 8px; }

/* ---------- רספונסיבי ---------- */
@media (max-width: 1080px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* תפריט מתקפל – מתחת לרוחב הזה הקישורים לא נכנסים בשורה אחת */
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: var(--header-h); right: 0; left: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(15,38,80,.1);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px 20px 18px; gap: 2px; }
  .main-nav a { padding: 12px 10px; font-size: 1.08rem; border-bottom: 1px solid var(--bg-soft); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand img { height: 50px; }
  .header-phone { display: none; }

  .hero { padding: 48px 0 104px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-grid, .year-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 300px; margin: 0 auto; }
  .hero-photo { max-width: 280px; width: calc(100% - 40px); }
  .photo-badge { right: -10px; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 22px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .services-grid, .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats { gap: 18px; }
  .stat-num { font-size: 1.6rem; }
  .contact-form { padding: 24px 18px; }
  .digital-note { flex-direction: column; text-align: center; }
  .cta-band .actions, .cta-band .actions .btn { width: 100%; }
  .whatsapp-float { width: 54px; height: 54px; left: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
