/* =========================================================
   עינת פיוריץ - פסיכולוגית חינוכית מומחית
   גיליון סגנון ראשי. RTL מלא. סגנון חם, מגזיני, עם מוטיב עלווה עדין.
   פלטה (נבדקה לניגודיות WCAG AA, 4.5:1 לפחות לטקסט):
   ירוק מרווה #567d64 | קרם #faf7f2 | טקסט #2d3a33
   הדגשה חמה #8f6430 (גוון כהה של #c8955c, לעמידה בניגודיות)
   ווטסאפ #25d366 עם טקסט כהה #0b3d1f
   ========================================================= */

:root {
  --green: #567d64;
  --green-dark: #44644f;
  --green-deep: #34493c;
  --cream: #faf7f2;
  --white: #ffffff;
  --text: #2d3a33;
  --muted: #5a6b60;
  --accent: #8f6430;        /* כפתורים: 5.2:1 עם טקסט לבן */
  --accent-soft: #c8955c;   /* דקורטיבי בלבד: קווים, עלווה, אייקונים */
  --wa: #25d366;
  --wa-text: #0b3d1f;       /* 6.2:1 על ירוק ווטסאפ */
  --border: #ece4d6;
  --shadow: 0 10px 30px rgba(45, 58, 51, 0.09);
  --radius: 18px;
  --header-h: 4.5rem;
  --font-head: "Rubik", sans-serif;
  --font-body: "Assistant", sans-serif;

  /* עלווה מוטמעת לרקעים (קו דק). הצבע קבוע כי data-URI לא יורש currentColor */
  --leaf-sprig: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' fill='none' stroke='%23c8955c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 14 Q60 9 114 13'/%3E%3Cpath d='M34 12.5 Q37 4.5 45 5.5 Q42 13.5 34 12.5 Z'/%3E%3Cpath d='M78 11.5 Q83 3.5 91 5 Q86 12.5 78 11.5 Z'/%3E%3C/svg%3E");
  --leaf-large: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23567d64' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M100 185 C 40 130 45 55 100 15 C 155 55 160 130 100 185 Z'/%3E%3Cpath d='M100 182 L 100 18'/%3E%3Cpath d='M100 150 Q 70 135 62 105 M100 118 Q 130 105 138 78 M100 86 Q 76 74 70 52'/%3E%3C/svg%3E");
  --leaf-branch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='none' stroke='%23567d64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 190 Q 120 150 290 20'/%3E%3Cpath d='M70 168 Q 62 130 92 112 Q 108 146 70 168 Z'/%3E%3Cpath d='M136 132 Q 128 96 158 78 Q 174 112 136 132 Z'/%3E%3Cpath d='M204 88 Q 196 54 226 36 Q 242 70 204 88 Z'/%3E%3C/svg%3E");
}

/* ---------- איפוס ובסיס ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
}

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

a {
  color: var(--green-dark);
}

ul {
  list-style: none;
}

/* פוקוס ברור לכל אלמנט אינטראקטיבי */
:focus-visible {
  outline: 3px solid var(--green-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- דילוג לתוכן ---------- */

.skip-link {
  position: absolute;
  top: -100%;
  right: 1rem;
  z-index: 200;
  background: var(--green-dark);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* ---------- מבנה כללי ---------- */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  position: relative;
  padding: 7.5rem 0;
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.section--white { background: var(--white); }
.section--cream { background: var(--cream); }

/* ענף עלים עדין בפינת הסקשנים הקרמיים */
.section--cream::before {
  content: "";
  position: absolute;
  bottom: 2rem;
  left: 1.5rem;
  width: 15rem;
  height: 10rem;
  background: var(--leaf-branch) no-repeat center / contain;
  opacity: 0.08;
  pointer-events: none;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 2.5rem;
  padding-bottom: 1.1rem;
  position: relative;
}

/* זלזל עלים במקום קו מפריד */
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0.15rem;
  width: 6.5rem;
  height: 1.15rem;
  background: var(--leaf-sprig) no-repeat right center / contain;
}

.section-lead {
  max-width: 44rem;
  margin-bottom: 1.4rem;
  font-size: 1.125rem;
}

/* ---------- טקסט לצד תמונה ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* כשהתמונה חסרה, הטקסט תופס את כל הרוחב */
.split.is-single,
.hero-grid.is-single {
  grid-template-columns: 1fr;
}

.split .section-lead {
  max-width: 38rem;
}

.split .section-lead:last-child {
  margin-bottom: 0;
}

/* ---------- תמונת רוחב ---------- */

.band-figure {
  margin-top: 3.5rem;
  position: relative;
}

.band-figure img {
  width: 100%;
  /* height:auto מבטל את תכונת ה-height שב-HTML, כדי ש-aspect-ratio יקבע */
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.02em;
  color: var(--green-deep);
  text-decoration: none;
  line-height: 1.2;
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.main-nav ul {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.7rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.main-nav a:hover {
  background: rgba(86, 125, 100, 0.09);
  color: var(--green-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem;
  cursor: pointer;
  color: var(--green-dark);
  line-height: 0;
}

/* ---------- כפתורים ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--whatsapp {
  background: var(--wa);
  color: var(--wa-text);
}

.btn--outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green);
}

.btn--outline:hover {
  background: var(--white);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn svg {
  flex-shrink: 0;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 82% 8%, rgba(86, 125, 100, 0.1), transparent 55%),
    radial-gradient(ellipse at 12% 92%, rgba(200, 149, 92, 0.13), transparent 50%),
    var(--cream);
  padding: 7rem 0 6.5rem;
}

/* עלה גדול כסימן מים ברקע הפתיח */
.hero::before {
  content: "";
  position: absolute;
  top: -3rem;
  left: -4rem;
  width: 26rem;
  height: 26rem;
  background: var(--leaf-large) no-repeat center / contain;
  opacity: 0.06;
  transform: rotate(24deg);
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-bottom: 0.4rem;
  letter-spacing: -0.035em;
}

.hero-role {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.75rem;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.1875rem;
  margin-bottom: 1.25rem;
  max-width: 34rem;
}

.hero-cred {
  font-size: 0.9375rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
  padding: 0.4rem 0.9rem;
  display: inline-block;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* תמונת חלל הטיפול: קשת */
.arch-figure {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 24rem;
}

.arch-figure::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--accent-soft);
  border-radius: 999px 999px 20px 20px;
  opacity: 0.5;
}

.arch-figure img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 20px 20px;
  box-shadow: var(--shadow);
}

/* ---------- מסגרות הטיפול ---------- */

.modes {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.modes li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  color: var(--green-deep);
}

.modes li + li {
  border-inline-start: 1px solid var(--border);
}

.modes svg {
  flex-shrink: 0;
  color: var(--green);
}

/* ---------- תמונת פרופיל + placeholder ---------- */

.portrait-photo {
  justify-self: center;
  position: relative;
  width: min(230px, 100%);
  aspect-ratio: 2 / 3;
}

.portrait-photo::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 42% 58% 55% 45% / 50% 46% 54% 50%;
  border: 2px solid var(--accent-soft);
  opacity: 0.55;
}

/* כתם צבע אורגני רך מאחורי התמונה */
.portrait-photo::after {
  content: "";
  position: absolute;
  inset: 8% -10% -12% 10%;
  z-index: -1;
  border-radius: 55% 45% 48% 52% / 46% 54% 46% 54%;
  background: rgba(200, 149, 92, 0.16);
}

.portrait-photo img,
.photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 46% 54% 52% 48% / 52% 48% 52% 48%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.photo-placeholder {
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 4rem;
}

.portrait-photo.no-image img { display: none; }
.portrait-photo.no-image .photo-placeholder { display: flex; }

/* ---------- כרטיסיות תחומי טיפול ---------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.section--white .card {
  background: var(--cream);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green);
}

/* אייקון בתוך צורה אורגנית. הצורה והגוון מתחלפים בין הכרטיסיות */
.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.9rem;
  height: 3.9rem;
  margin-bottom: 1.15rem;
  border-radius: 52% 48% 45% 55% / 48% 52% 48% 52%;
  background: rgba(86, 125, 100, 0.12);
  color: var(--green-dark);
  transition: transform 0.3s ease;
}

.card:nth-child(4n + 2) .card-icon,
.card:nth-child(4n) .card-icon {
  background: rgba(200, 149, 92, 0.18);
  color: var(--accent);
}

.card:nth-child(4n + 2) .card-icon {
  border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%;
}

.card:nth-child(4n + 3) .card-icon {
  border-radius: 58% 42% 48% 52% / 42% 58% 42% 58%;
}

.card:nth-child(4n) .card-icon {
  border-radius: 48% 52% 58% 42% / 52% 48% 52% 48%;
}

.card:hover .card-icon {
  transform: rotate(-5deg) scale(1.05);
}

.card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- הדרכת הורים: chips ---------- */

.chips-title {
  font-size: 1.5rem;
  font-weight: 500;
  margin: 2.75rem 0 1.25rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: 52rem;
}

.chips li {
  background: var(--cream);
  border: 1px solid #e5d9c4;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green-dark);
}

.section--cream .chips li {
  background: var(--white);
}

/* ---------- ניסיון מקצועי ---------- */

.exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.exp-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-inline-start: 4px solid var(--accent-soft);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.exp-block h3 {
  font-size: 1.3125rem;
  margin-bottom: 0.7rem;
}

.exp-sub {
  margin-top: 2.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.exp-sub + .exp-sub {
  margin-top: 1.5rem;
}

.exp-sub h3 {
  font-size: 1.3125rem;
  margin-bottom: 0.7rem;
  color: var(--green-dark);
}

/* ---------- הכשרה ---------- */

.training-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}

.training-list li {
  position: relative;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 3.1rem 1rem 1.25rem;
}

.training-list li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.1rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50% 50% 50% 0;
  background: var(--accent-soft);
  transform: translateY(-50%) rotate(45deg);
}

.license-box {
  margin-top: 2.75rem;
  max-width: 52rem;
  background: rgba(86, 125, 100, 0.08);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.license-box svg {
  flex-shrink: 0;
  color: var(--green-dark);
}

.license-box a {
  font-weight: 600;
}

/* ---------- אני מאמינה ---------- */

/* פתיח כציטוט-משיכה מגזיני */
#values .section-lead {
  max-width: 42rem;
}

#values .section-lead p {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--green-deep);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}

.section--white .value-card {
  background: var(--cream);
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
  color: var(--green-dark);
}

/* ---------- יצירת קשר ---------- */

.contact {
  text-align: center;
  overflow: hidden;
}

/* עלה עדין גם ברקע סקשן הקשר הלבן */
.contact::before {
  content: "";
  position: absolute;
  bottom: -3rem;
  left: -2rem;
  width: 17rem;
  height: 17rem;
  background: var(--leaf-large) no-repeat center / contain;
  opacity: 0.05;
  transform: rotate(-18deg);
  pointer-events: none;
}

.contact .section-title {
  display: inline-block;
}

.contact .section-title::after {
  right: 50%;
  transform: translateX(50%);
}

.contact-lead {
  max-width: 34rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
}

.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.contact-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-details span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-details a {
  color: var(--green-dark);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* ---------- פוטר ---------- */

.site-footer {
  background: var(--green-deep);
  color: #e8efe9;
  padding: 2.25rem 0;
  font-size: 0.9375rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.site-footer a {
  color: #cfe0d3;
}

.footer-en {
  font-size: 0.8125rem;
  color: #b9ccbe;
}

/* ---------- ווטסאפ צף (דסקטופ) ---------- */

.wa-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 90;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--wa);
  color: var(--wa-text);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(11, 61, 31, 0.3);
  transition: transform 0.15s;
}

.wa-float:hover {
  transform: scale(1.08);
}

/* ---------- שורת פעולה דביקה (מובייל) ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 95;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}

.mobile-cta .btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  font-size: 1rem;
}

.mobile-cta .btn--call {
  background: var(--green-dark);
  color: var(--white);
}

/* ---------- עמודים משפטיים ---------- */

.legal-page {
  padding: 4rem 0 5.5rem;
}

.legal-page .container {
  max-width: 46rem;
}

.legal-page h1 {
  font-size: 2.625rem;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 2.25rem;
}

.legal-page h2 {
  font-size: 1.5rem;
  margin: 2.25rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  margin-bottom: 0.75rem;
}

.legal-page ul {
  list-style: disc;
  padding-right: 1.5rem;
}

.back-link {
  display: inline-block;
  margin-top: 2.75rem;
  font-weight: 600;
}

/* ---------- אנימציית fade-in ---------- */

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* ללא JS: הכול גלוי */
.no-js .fade-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .card,
  .wa-float {
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .card:hover .card-icon,
  .wa-float:hover {
    transform: none;
  }

  .card-icon {
    transition: none;
  }
}

/* ---------- רספונסיביות ---------- */

@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exp-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.375rem;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 4.5rem 0;
  }

  .section--cream::before {
    width: 10rem;
    height: 7rem;
    bottom: 1rem;
    left: 0.75rem;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .arch-figure {
    max-width: min(17rem, 62vw);
    margin-inline: auto;
  }

  .band-figure {
    margin-top: 2.5rem;
  }

  .band-figure img {
    aspect-ratio: 3 / 2;
  }

  .modes {
    margin-top: 2.75rem;
    grid-template-columns: 1fr;
  }

  .modes li + li {
    border-inline-start: none;
    border-top: 1px solid var(--border);
  }

  /* תפריט מובייל */
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: none;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }

  .main-nav a {
    padding: 0.85rem 1.5rem;
    border-radius: 0;
    font-size: 1.0625rem;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .hero::before {
    width: 17rem;
    height: 17rem;
    top: -2rem;
    left: -5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .portrait-photo {
    order: -1;
    width: min(13.5rem, 52vw);
  }

  .hero h1 {
    font-size: 2.625rem;
  }

  .hero-role {
    font-size: 1.375rem;
  }

  #values .section-lead p {
    font-size: 1.3125rem;
  }

  /* שורת פעולה תחתונה במקום ווטסאפ צף */
  .mobile-cta {
    display: flex;
  }

  .wa-float {
    display: none;
  }

  /* מרווח לשורת הפעולה הדביקה */
  body {
    padding-bottom: 4.25rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
