/* ==========================================================================
   ערב לנשים עם דבורה לינויה - styles.css
   כיוון אמנותי: "מאֵילמות לקול, מאפור לצבע" - בלוקי צבע חמים (MASS)
   שנפתחים מאפלה שקטה אל צבע, אור ושיר.
   ========================================================================== */

/* ----- tokens ----- */
:root {
  --plum: #2A1124;        /* החדר החשוך - מסה כהה */
  --plum-2: #3B1A33;
  --magenta: #A82E63;     /* הצבע שחוזר, נשי, שיר */
  --magenta-deep: #7E1F49;
  --gold: #E9A23B;        /* האור */
  --gold-soft: #F3C57E;
  --cream: #FBF3E9;       /* רקע בהיר חם */
  --sand: #F2E2CE;        /* משטח */
  --sand-2: #EAD3B4;
  --ink: #2A1124;         /* טקסט ראשי על בהיר */
  --muted: #6B4D5E;       /* טקסט משני */
  --error: #C0392B;
  --white: #ffffff;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 26px;
  --shadow: 0 18px 50px -24px rgba(42, 17, 36, 0.55);
  --shadow-soft: 0 10px 30px -18px rgba(42, 17, 36, 0.4);

  --font-display: "Secular One", "IBM Plex Sans Hebrew", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Hebrew", system-ui, "Segoe UI", sans-serif;
  --text-scale: 1;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----- reset ----- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: calc(17px * var(--text-scale));
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video { max-width: 100%; display: block; }
img { height: auto; }  /* override HTML width/height attrs so aspect-ratio/square assets are not forced tall */
a { color: inherit; }
button { font-family: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(56px, 9vw, 120px); }

/* ----- skip link ----- */
.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px;
  background: var(--plum); color: var(--cream); padding: 10px 18px;
  border-radius: 0 0 12px 12px; z-index: 200; transition: top 0.2s var(--ease);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600;
  font-size: calc(1.02rem * var(--text-scale));
  padding: 16px 30px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg { width: 1.35em; height: 1.35em; flex: none; }
.btn-wa {
  background: var(--magenta); color: var(--white);
  box-shadow: 0 14px 34px -14px rgba(168, 46, 99, 0.8);
}
.btn-wa:hover { background: var(--magenta-deep); transform: translateY(-3px); }
.btn-wa:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-lg { padding: 19px 38px; font-size: calc(1.12rem * var(--text-scale)); }
.btn-ghost {
  background: transparent; color: var(--cream); border-color: rgba(251, 243, 233, 0.5);
}
.btn-ghost:hover { background: rgba(251, 243, 233, 0.12); }
.btn-ghost:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.header-cta.btn-dark { color: var(--cream); border-color: rgba(251,243,233,.45); }

/* ----- header ----- */
.site-header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-family: var(--font-display); font-size: 1.25rem; }
.brand .mark { width: 38px; height: 38px; flex: none; }
.site-header.scrolled { background: rgba(42, 17, 36, 0.92); backdrop-filter: blur(8px); box-shadow: 0 6px 24px -16px rgba(0,0,0,.6); }
.site-header.scrolled .brand { color: var(--cream); }
.header-cta { padding: 11px 22px; font-size: calc(0.95rem * var(--text-scale)); }

/* ==========================================================================
   HERO - מסה כהה שממנה מבצבץ צבע, פורטרט מחייך, כותרת ענקית
   ========================================================================== */
.hero {
  position: relative; color: var(--cream);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(168, 46, 99, 0.55) 0%, transparent 55%),
    radial-gradient(110% 80% at 10% 100%, rgba(233, 162, 59, 0.32) 0%, transparent 50%),
    linear-gradient(160deg, var(--plum) 0%, var(--plum-2) 60%, #4a1f3d 100%);
  padding-block: clamp(96px, 14vh, 200px) clamp(56px, 9vw, 110px);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.eyebrow {
  display: inline-block; font-weight: 600; letter-spacing: 0.02em;
  color: var(--gold); font-size: calc(0.95rem * var(--text-scale));
  margin-bottom: 18px;
}
/* בקשת לקוחה 3: כותרת הפתיחה גדולה ובולטת, קופצת לעין מיד */
.hero-title {
  font-size: clamp(2.7rem, 8.5vw, 5.6rem);
  line-height: 1.02;
  margin-bottom: 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.hero-title .accent { color: var(--gold-soft); }
.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 300;
  line-height: 1.55; max-width: 36ch; margin-bottom: 18px; color: #F4E6DC;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 30px;
  font-weight: 600; font-size: calc(1rem * var(--text-scale));
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-proof { margin-top: 22px; font-size: calc(0.95rem * var(--text-scale)); color: #E7D3C8; font-weight: 300; }
.hero-proof strong { font-weight: 600; color: var(--gold-soft); }

.hero-media { position: relative; }
.hero-portrait {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7);
  border: 5px solid rgba(251, 243, 233, 0.12);
}

/* ==========================================================================
   DARK - הקושי / האפלה (empathy)
   ========================================================================== */
.dark { background: var(--plum); color: var(--cream); }
.dark .section-head { color: var(--cream); }
.pain-inner { max-width: 760px; }
.section-head {
  font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 26px;
}
.lead-p { font-size: clamp(1.05rem, 2.2vw, 1.28rem); font-weight: 300; line-height: 1.7; color: #EAD9CE; }
.lead-p + .lead-p { margin-top: 18px; }
.whispers { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.whispers li {
  font-family: var(--font-display); font-size: clamp(1.15rem, 3vw, 1.7rem);
  color: var(--gold-soft); padding-inline-start: 24px; position: relative; line-height: 1.3;
}
.whispers li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--magenta); }

/* ==========================================================================
   STATEMENT - מעבר מאפור לצבע, בלום
   ========================================================================== */
.statement {
  text-align: center; color: var(--white);
  background:
    radial-gradient(100% 120% at 50% 0%, var(--magenta) 0%, var(--magenta-deep) 60%, var(--plum) 100%);
}
.big-statement {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.8rem, 5.5vw, 3.4rem); line-height: 1.15;
  max-width: 18ch; margin-inline: auto;
}
.big-statement .accent { color: var(--gold-soft); }

/* ==========================================================================
   EVENING - מה זה הערב (מופע חווייתי ועמוק) + וידאו
   ========================================================================== */
.evening { background: var(--cream); }
.evening .section-head { color: var(--ink); max-width: 20ch; }
.evening-intro { max-width: 720px; margin-bottom: 48px; }
.evening-intro .lead-p { color: var(--muted); }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); }
.pillar {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-soft); border-top: 5px solid var(--magenta);
}
.pillar:nth-child(2) { border-top-color: var(--gold); }
.pillar:nth-child(3) { border-top-color: var(--plum); }
.pillar h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 12px; color: var(--ink); }
.pillar p { margin: 0; color: var(--muted); font-size: calc(1rem * var(--text-scale)); }

/* video feature (בקשות 1+2) */
.video-feature { margin-top: clamp(46px, 6vw, 76px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.video-copy h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--ink); margin-bottom: 16px; }
.video-copy p { color: var(--muted); font-size: calc(1.05rem * var(--text-scale)); }
.video-copy .sing { color: var(--magenta-deep); font-weight: 600; }
.video-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); background: var(--plum);
  aspect-ratio: 1 / 1;
}
.video-frame video, .video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-note { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }

/* ==========================================================================
   ABOUT - דבורה, השיטה (קריאה אנרגטית), הסיפור
   ========================================================================== */
.about { background: var(--sand); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.about-copy h2 { font-size: clamp(2rem, 4.6vw, 3rem); color: var(--ink); margin-bottom: 20px; }
.about-copy p { color: #4a3340; margin-block: 0 16px; font-size: calc(1.05rem * var(--text-scale)); }
.about-copy p:last-child { margin-bottom: 0; }
.about-copy .method { background: var(--white); border-inline-start: 5px solid var(--magenta); padding: 18px 22px; border-radius: 0 12px 12px 0; font-weight: 400; }
.about-copy .method strong { color: var(--magenta-deep); }

/* ==========================================================================
   PROOF - המלצות (וידאו + צילומי מסך)
   ========================================================================== */
.proof { background: var(--plum); color: var(--cream); }
.proof .section-head { color: var(--cream); text-align: center; margin-inline: auto; max-width: 22ch; }
.proof-sub { text-align: center; color: #E7D3C8; font-weight: 300; max-width: 50ch; margin: 0 auto clamp(38px, 5vw, 56px); }
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 3vw, 30px); }
.proof-card {
  background: var(--plum-2); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid rgba(251,243,233,0.08);
}
.proof-video { position: relative; aspect-ratio: 9 / 16; background: #000; max-height: 540px; }
.proof-video video { width: 100%; height: 100%; object-fit: cover; }
.proof-shot { padding: 0; background: var(--white); }
.proof-shot img { width: 100%; height: auto; }
.proof-card .cap { padding: 14px 18px 18px; font-size: 0.95rem; color: #E7D3C8; font-weight: 300; }
.proof-shot .cap { color: var(--muted); }

/* ==========================================================================
   DETAILS / CTA - פרטי הערב + הרשמה
   ========================================================================== */
.details {
  background:
    radial-gradient(120% 100% at 90% 0%, rgba(233,162,59,.4) 0%, transparent 55%),
    linear-gradient(150deg, var(--magenta-deep) 0%, var(--magenta) 55%, #92245a 100%);
  color: var(--white); text-align: center;
}
.details .section-head { color: var(--white); margin-bottom: 14px; }
.details-sub { color: #FCE7D8; font-weight: 300; max-width: 46ch; margin: 0 auto 40px; font-size: calc(1.1rem * var(--text-scale)); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto 44px; }
.fact {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius); padding: 24px 20px; backdrop-filter: blur(3px);
}
.fact .k { display: block; font-size: 0.92rem; color: #FCE7D8; margin-bottom: 8px; font-weight: 600; }
.fact .v { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.15; }
.fact .v small { font-size: 0.95rem; display: block; font-family: var(--font-body); font-weight: 300; margin-top: 4px; }
.details-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.details .btn-wa { background: var(--white); color: var(--magenta-deep); box-shadow: 0 16px 40px -16px rgba(0,0,0,.5); }
.details .btn-wa:hover { background: var(--cream); }
.details-fine { font-size: 0.9rem; color: #FCE7D8; font-weight: 300; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--plum); color: var(--cream); padding-block: 48px 28px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 26px 50px; justify-content: space-between; align-items: flex-start; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; }
.footer-brand p { font-family: var(--font-body); font-weight: 300; font-size: 0.95rem; color: #E7D3C8; margin: 8px 0 0; max-width: 30ch; }
.footer-contact, .footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { color: var(--gold-soft); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.link-btn {
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  color: var(--gold-soft); text-decoration: underline; font: inherit; text-align: start;
}
.link-btn:hover { color: var(--gold); }
.footer-links .link-btn { color: #E7D3C8; }
.footer-copy { text-align: center; margin: 32px 0 0; font-size: 0.85rem; color: #B99CAE; font-weight: 300; }

/* ==========================================================================
   reveal motion (חסין לגלילה מהירה; כבוי כשאין JS)
   ========================================================================== */
/* offsets live on :not(.in) so the "in" state cleanly wins (no specificity clash),
   and horizontal slides are desktop-only so they never cause mobile overflow. */
.js .reveal:not(.in) { opacity: 0; will-change: transform, opacity; }
.js .reveal:not(.in)[data-anim="rise"] { transform: translateY(34px); }
.js .reveal:not(.in)[data-anim="bloom"] { transform: scale(0.94); }
.js .reveal:not(.in)[data-anim="slide-start"] { transform: translateY(34px); }
.js .reveal:not(.in)[data-anim="slide-end"] { transform: translateY(34px); }
@media (min-width: 901px) {
  .js .reveal:not(.in)[data-anim="slide-start"] { transform: translateX(40px); }
  .js .reveal:not(.in)[data-anim="slide-end"] { transform: translateX(-40px); }
}
.reveal.in { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}

/* ==========================================================================
   accessibility widget
   ========================================================================== */
.a11y-toggle {
  position: fixed; inset-block-end: calc(18px + var(--cookie-h, 0px)); inset-inline-end: 18px;
  z-index: 150; width: 52px; height: 52px; border-radius: 50%;
  background: var(--plum); color: var(--cream); border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow); transition: inset-block-end 0.25s var(--ease), transform 0.2s var(--ease);
}
.a11y-toggle:hover { transform: scale(1.06); }
.a11y-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.a11y-panel {
  position: fixed; inset-block-end: 80px; inset-inline-end: 18px; z-index: 151;
  width: min(300px, calc(100vw - 36px)); background: var(--white); color: var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px;
  border: 1px solid var(--sand-2);
}
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.a11y-head h2 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }
.a11y-close { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--muted); }
.a11y-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-controls button, .a11y-reset {
  background: var(--sand); border: 1px solid var(--sand-2); border-radius: 10px;
  padding: 10px 8px; cursor: pointer; font-size: 0.88rem; color: var(--ink); text-align: center;
  transition: background-color 0.2s var(--ease);
}
.a11y-controls button:hover, .a11y-reset:hover { background: var(--sand-2); }
.a11y-controls button[aria-pressed="true"] { background: var(--magenta); color: var(--white); border-color: var(--magenta); }
.a11y-reset { width: 100%; margin-top: 10px; }
.a11y-controls button:focus-visible, .a11y-reset:focus-visible, .a11y-close:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }

/* a11y body states */
body.a11y-contrast { --cream: #ffffff; --ink: #000000; --muted: #2a2a2a; }
body.a11y-contrast .hero, body.a11y-contrast .dark, body.a11y-contrast .proof, body.a11y-contrast .site-footer { background: #1a0a16 !important; color: #fff !important; }
body.a11y-grayscale { filter: grayscale(1); }
body.a11y-links a, body.a11y-links .link-btn { text-decoration: underline !important; font-weight: 600 !important; }
body.a11y-readable, body.a11y-readable * { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: 0.01em; }
body.a11y-stop-motion *, body.a11y-stop-motion *::before, body.a11y-stop-motion *::after { animation: none !important; transition: none !important; }
body.a11y-stop-motion .reveal { opacity: 1 !important; transform: none !important; }
body.a11y-focus :focus { outline: 3px solid var(--magenta) !important; outline-offset: 2px !important; }

/* ==========================================================================
   cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 160;
  background: var(--plum); color: var(--cream); padding: 16px var(--pad);
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center;
  box-shadow: 0 -10px 30px -18px rgba(0,0,0,.5); text-align: center;
}
.cookie-banner p { margin: 0; font-size: 0.92rem; font-weight: 300; max-width: 70ch; }
.cookie-banner .link-btn { color: var(--gold-soft); }
.btn-sm { padding: 10px 22px; font-size: 0.92rem; }

/* ==========================================================================
   modals (native dialog)
   ========================================================================== */
.modal { border: none; padding: 0; background: transparent; max-width: 640px; width: calc(100vw - 32px); }
.modal::backdrop { background: rgba(42, 17, 36, 0.6); backdrop-filter: blur(3px); }
.modal-card { background: var(--cream); border-radius: var(--radius); padding: 32px clamp(22px, 4vw, 40px); position: relative; max-height: 86vh; overflow-y: auto; box-shadow: var(--shadow); }
.modal-close { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; background: var(--sand); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem; color: var(--ink); }
.modal-close:hover { background: var(--sand-2); }
.modal-card h2 { font-size: 1.7rem; margin-bottom: 16px; color: var(--ink); padding-inline-end: 40px; }
.modal-card h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; margin: 18px 0 6px; color: var(--magenta-deep); }
.modal-body p { color: #4a3340; font-size: 0.98rem; margin: 0 0 12px; }
.modal-body a { color: var(--magenta-deep); }
.modal-meta { font-size: 0.85rem; color: var(--muted); margin-top: 16px; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 320px; margin-inline: auto; }
  .pillars { grid-template-columns: 1fr; }
  .video-feature { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin-inline: auto; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-video { max-height: none; aspect-ratio: 9/16; max-width: 360px; margin-inline: auto; width: 100%; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .btn { width: 100%; }
  .hero-actions .btn, .details-cta .btn { width: 100%; }
  .hero-actions { width: 100%; }
}
