/* =====================================================
   DaNia — styles.css
   RTL · Mobile-first · Hebrew · IS 5568 accessible
   ===================================================== */

/* ===== צבעי מותג — שני כאן ===== */
:root {
  --primary:     #4A7C6F;   /* ירוק-כחול — שלווה וצמיחה */
  --primary-dk:  #2C5F56;   /* ירוק כהה — עומק */
  --accent:      #C4775E;   /* ורוד-שזוף — נשיות ותשוקה */
  --earth:       #C8B49A;   /* בז' — קרקע ואותנטיות */
  --light:       #F7F3EE;   /* רקע בהיר ונושם */
  --light-alt:   #EDE7DF;   /* רקע מתחלף */
  --dark:        #2D2D2D;   /* טקסט ראשי */
  --muted:       #6B6259;   /* טקסט משני */
  --white:       #FFFFFF;
  --card-bg:     #FDFAF7;   /* רקע כרטיסים */

  --maxw:    1100px;
  --radius:  16px;
  --radius-sm: 8px;
  --gap:     clamp(1.5rem, 4vw, 2.5rem);
  --space:   clamp(3rem, 8vw, 6rem);
  --font:    "Heebo", system-ui, Arial, sans-serif;

  --shadow-sm:  0 2px 12px rgba(44,95,86,.08);
  --shadow-md:  0 6px 28px rgba(44,95,86,.13);
  --transition: .2s ease;
}

/* ===== ריסט וורסה ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background: var(--light);
  line-height: 1.7;
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; margin-block: 0; }
p { margin-block: 0; }
img, video { max-width: 100%; height: auto; display: block; }
ul { padding-inline-start: 1.5rem; }
a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-dk); }
figure { margin: 0; }

/* ===== נגישות ===== */
.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 0;
  background: var(--dark);
  color: #fff;
  padding: .6rem 1.2rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 500;
}
.skip-link:focus { inset-inline-start: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== מאגר / Container ===== */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ===== כפתורים ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  text-decoration: none;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  padding: .75rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: .9rem 2.2rem; font-size: 1.08rem; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dk);
  border-color: var(--primary-dk);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-glass {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
}
.btn-glass:hover {
  background: rgba(255,255,255,.28);
  color: var(--white);
}

/* ===== ניווט ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,243,238,.94);
  backdrop-filter: blur(12px);
  border-block-end: 1px solid var(--light-alt);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: .85rem clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  line-height: 1.1;
  flex-shrink: 0;
}
.brand-logo {
  height: 42px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}
.brand-name {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--dark);
}
.brand-sub {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.4rem;
  margin-inline-start: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a:hover { color: var(--primary); }

.nav-cta { margin-inline-start: .5rem; }

/* המבורגר — נייד */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-inline-start: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 50%, #6BA89A 100%);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .7;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.25) 0%,
    rgba(0,0,0,.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-align: center;
  padding-block: var(--space);
}

.hero-eyebrow {
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
  margin-block-end: 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  margin-block-end: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: .9;
  max-width: 640px;
  margin-inline: auto;
  margin-block-end: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-block-end: 1.5rem;
}

.hero-note {
  display: inline-block;
  font-size: .95rem;
  font-weight: 600;
  background: rgba(0,0,0,.28);
  padding: .45rem 1.3rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ===== מקטעים כלליים ===== */
.section { padding-block: var(--space); }
.section-alt { background: var(--light-alt); }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-block-end: .5rem;
}

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: var(--dark);
  margin-block-end: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 680px;
  margin-block-end: 2.5rem;
}

/* ===== ABOUT — עלי ===== */
.program-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.program-layout--top { align-items: start; }
.program-layout img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 4/3;
  max-height: 320px;
  display: block;
}
.program-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.program-content p { color: var(--muted); line-height: 1.7; font-size: 1.05rem; }

.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-visual { position: relative; }

.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  width: 100%;
  object-fit: cover;
  display: block;
}

.about-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-block: .3rem 1rem;
}
.about-text p {
  color: var(--muted);
  margin-block-end: .9rem;
  line-height: 1.75;
}

.credentials {
  list-style: none;
  padding: 0;
  margin-block-start: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .6rem;
}
.credentials li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--dark);
  background: var(--light-alt);
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
}

/* ===== VALUES — ערכים ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-block-start: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1.1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-icon { font-size: 2.5rem; margin-block-end: .8rem; }
.value-item h3 { font-size: 1.1rem; margin-block-end: .5rem; color: var(--primary-dk); }
.value-item p { color: var(--muted); font-size: .95rem; }

/* ===== SERVICES — שירותים ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--gap);
  margin-block-start: 2.5rem;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border-block-start: 3px solid var(--primary);
  overflow: hidden;
}
.service-img {
  display: block;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  flex-shrink: 0;
}
.service-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.service-card h3 { font-size: 1.2rem; color: var(--dark); }
.service-card p { color: var(--muted); line-height: 1.65; font-size: .97rem; }

.service-for { font-size: .9rem; color: var(--muted); }

.service-promo {
  background: rgba(196,119,94,.12);
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  display: inline-block;
}
.service-details {
  border: 1px solid var(--light-alt);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.service-details summary {
  cursor: pointer;
  padding: .7rem 1rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: var(--white);
}
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary::after { content: "↓"; transition: transform var(--transition); }
.service-details[open] summary::after { transform: rotate(180deg); }

.details-body {
  padding: 1rem 1.2rem;
  background: var(--white);
  border-block-start: 1px solid var(--light-alt);
  font-size: .9rem;
  color: var(--muted);
}
.details-body ul { margin: .4rem 0 .8rem; }
.details-body li { margin-block-end: .3rem; }
.details-body p { margin-block-end: .5rem; }

.service-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.coaching-track {
  border-inline-start: 3px solid var(--primary);
  padding-inline-start: 1rem;
  margin-block-end: 1.2rem;
}
.coaching-track h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dk);
  margin-block-end: .4rem;
}
.coaching-track p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.6; }

/* ===== BELIEFS — האני מאמין ===== */
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap);
  margin-block-start: 2rem;
}

.belief-item {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.belief-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary);
  opacity: .12;
  position: absolute;
  top: 1rem;
  inset-inline-end: 1.5rem;
  line-height: 1;
}
.belief-item h3 {
  font-size: 1.1rem;
  color: var(--primary-dk);
  margin-block-end: .7rem;
}
.belief-item p { color: var(--muted); font-size: .97rem; }

/* ===== FORMS — טפסים ===== */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 680px;
  margin-inline: auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-block-end: 1.2rem;
}
.form-group label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--dark);
}
.required { color: var(--accent); }

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font);
  font-size: 1rem;
  padding: .65rem 1rem;
  border: 2px solid var(--light-alt);
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--dark);
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: .7rem;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-block-start: 3px;
  accent-color: var(--primary);
  cursor: pointer;
}
.form-consent label {
  font-size: .85rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.form-consent label a { color: var(--primary); }

.form-success {
  text-align: center;
  padding: 1rem;
  background: rgba(74,124,111,.1);
  color: var(--primary-dk);
  border-radius: var(--radius-sm);
  font-weight: 600;
  margin-block-start: 1rem;
}

/* ===== TESTIMONIALS — המלצות ===== */
.slider {
  position: relative;
  overflow: hidden;
  margin-block-start: 2rem;
}

.slider-track {
  display: flex;
  transition: transform .4s ease;
}

.testimonial {
  flex-shrink: 0;
  width: 100%;
  padding: 2.5rem 2rem;
  margin: 0;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-inline-start: 5px solid var(--accent);
}

.testimonial p {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--dark);
  margin-block-end: 1rem;
  font-style: italic;
}
.testimonial p::before { content: '"'; }
.testimonial p::after  { content: '"'; }

.testimonial cite {
  font-weight: 700;
  font-style: normal;
  color: var(--primary);
  font-size: .95rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-block-start: 1.5rem;
}

.slider-btn {
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.slider-btn:hover { background: var(--primary); color: var(--white); }

.slider-dots {
  display: flex;
  gap: .5rem;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--earth);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition);
}
.slider-dot[aria-selected="true"] {
  background: var(--primary);
  transform: scale(1.2);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 780px;
  margin: 2rem auto 0;
}

.faq-item {
  border-block-end: 1px solid var(--light-alt);
}
.faq-item:first-child { border-block-start: 1px solid var(--light-alt); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 0;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  text-align: start;
  gap: 1rem;
}
.faq-q:hover { color: var(--primary); }

.faq-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--primary);
  transition: transform var(--transition);
}
.faq-q[aria-expanded="true"] .faq-arrow { transform: none; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a[aria-hidden="false"] { max-height: 600px; }

.faq-a p {
  padding-block: 0 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== CONTACT — יצירת קשר ===== */
.contact-container { text-align: center; }
.contact-container .section-sub { margin-inline: auto; text-align: center; }

.contact-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-block: 2rem;
}

.divider-text {
  color: var(--muted);
  font-size: .9rem;
  margin-block: 1.5rem;
}

.contact-form { margin-block-start: 0; text-align: start; }

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-block-start: 2rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .95rem;
}
.contact-detail a { color: var(--primary); text-decoration: none; }
.contact-detail a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #cec6bf;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem;
  align-items: start;
  padding-block: 3rem;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  margin-block-end: .4rem;
}
.footer-tagline {
  font-size: .85rem;
  color: #a09890;
  line-height: 1.5;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-nav a {
  color: #cec6bf;
  text-decoration: none;
  font-size: .9rem;
}
.footer-nav a:hover { color: var(--earth); }

.footer-social {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  align-items: flex-end;
}

.social-link {
  color: #a09890;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  transition: background var(--transition), color var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white); }

.footer-bottom {
  border-block-start: 1px solid rgba(255,255,255,.1);
  padding-block: 1.2rem;
  text-align: center;
  font-size: .8rem;
  color: #7a7068;
}
.footer-bottom a { color: var(--earth); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ===== כפתור WhatsApp צף ===== */
.whatsapp-float {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 90;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
  color: var(--white);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  inset-block-end: 0;
  inset-inline: 0;
  background: var(--dark);
  color: #e0d9d2;
  padding: 1.2rem clamp(1rem, 4vw, 2rem);
  z-index: 150;
  display: flex;
  justify-content: center;
}
.cookie-banner[hidden] { display: none; }
.cookie-content {
  max-width: var(--maxw);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}
.cookie-content p {
  flex: 1;
  min-width: 200px;
  font-size: .88rem;
  line-height: 1.6;
}
.cookie-content a { color: var(--earth); }

/* ===== REVEAL — אנימציית כניסה ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== כיבוד הגדרת "הפחתת תנועה" של מערכת ההפעלה ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ===== MOBILE — נייד ===== */
@media (max-width: 720px) {

  /* nav */
  .hamburger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--light);
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s ease, padding .35s ease;
    border-block-end: 1px solid var(--light-alt);
    z-index: 99;
  }
  .nav-links.open {
    max-height: 500px;
    padding-block: .5rem;
  }
  .nav-links li a {
    display: block;
    padding: .8rem 1.5rem;
    font-size: 1rem;
    border-block-end: 1px solid var(--light-alt);
  }
  .nav-cta { display: none; }

  /* hero */
  .hero-content h1 { font-size: 2rem; }
  .hero-content h1 br { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }
  /* מרווח כדי שכפתורי הוואטסאפ והנגישות הצפים לא יסתירו את שורת הקהילה */
  .hero-content { padding-block-end: 7.5rem; }

  /* about */
  .program-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 320px; margin-inline: auto; }

  /* services */
  .services-grid { grid-template-columns: 1fr; }

  /* beliefs */
  .beliefs-grid { grid-template-columns: 1fr; }

  /* form */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }

  /* footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-social {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .contact-btns { flex-direction: column; align-items: center; }
}

/* =====================================================
   ווידג'ט נגישות — IS 5568 / תקנה 35
   ===================================================== */

/* אפקטי המחלקות — נטענות לפני render (FOUC-safe) */
html.a11y-text-115 { font-size: 115%; }
html.a11y-text-130 { font-size: 130%; }
html.a11y-text-150 { font-size: 150%; }

html.a11y-contrast-high { filter: contrast(1.6) saturate(1.1); }
html.a11y-contrast-invert { filter: invert(1) hue-rotate(180deg); }

html.a11y-lines-16 * { line-height: 1.6 !important; }
html.a11y-lines-20 * { line-height: 2 !important; }

html.a11y-links a {
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

html.a11y-no-motion *, html.a11y-no-motion *::before, html.a11y-no-motion *::after {
  animation-duration: .001ms !important;
  transition-duration: .001ms !important;
}

/* counter-invert הווידג'ט עצמו כשמצב הפוך פעיל */
html.a11y-contrast-invert #a11y-widget { filter: invert(1) hue-rotate(180deg); }

@media print {
  #a11y-widget { display: none !important; }
  html[class*="a11y-"] { filter: none !important; }
  html[class*="a11y-text-"] { font-size: 100% !important; }
}

/* כפתור ופאנל */
#a11y-widget {
  position: fixed;
  left: 1.8rem;
  bottom: 1.8rem;
  z-index: 91;
}

#a11y-trigger {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-dk);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(44,95,86,.45);
  transition: background var(--transition), transform var(--transition);
}
#a11y-trigger:hover { background: var(--primary); transform: scale(1.08); }
#a11y-trigger:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

#a11y-panel {
  position: absolute;
  bottom: 4rem;
  left: 0;
  width: 252px;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1rem 1.1rem;
}
#a11y-panel[hidden] { display: none; }

#a11y-panel h3 {
  font-size: .9rem;
  margin-block-end: .7rem;
  color: var(--primary-dk);
  border-bottom: 1px solid var(--light-alt);
  padding-block-end: .45rem;
}

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .3rem 0;
}
.a11y-row-label { font-size: .84rem; color: var(--dark); flex: 1; }

.a11y-cycle-btn {
  border: 1.5px solid var(--earth);
  border-radius: 6px;
  background: var(--light);
  padding: .2rem .6rem;
  font-size: .78rem;
  cursor: pointer;
  min-width: 4rem;
  text-align: center;
  color: var(--dark);
  font-family: var(--font);
  transition: background var(--transition);
}
.a11y-cycle-btn:hover { background: var(--light-alt); }
.a11y-cycle-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.a11y-cycle-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Toggle switch */
.a11y-toggle { position: relative; width: 38px; height: 22px; flex-shrink: 0; }
.a11y-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.a11y-toggle span {
  position: absolute; inset: 0;
  background: var(--earth); border-radius: 999px; cursor: pointer;
  transition: background .2s;
}
.a11y-toggle span::before {
  content: ''; position: absolute;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  top: 3px; left: 3px;
  transition: left .2s;
}
.a11y-toggle input:checked + span { background: var(--primary); }
.a11y-toggle input:checked + span::before { left: 19px; }
.a11y-toggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

#a11y-reset {
  width: 100%; margin-top: .7rem;
  padding: .35rem; font-size: .82rem;
  border: 1px solid var(--earth); background: var(--light);
  border-radius: 6px; cursor: pointer; color: var(--muted);
  font-family: var(--font); transition: background var(--transition);
}
#a11y-reset:hover { background: var(--light-alt); color: var(--dark); }
#a11y-reset:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.a11y-hint { font-size: .68rem; color: var(--muted); text-align: center; margin-top: .5rem; margin-bottom: 0; }
