/* אלקנה (פונטאפ): חינם לשימוש מסחרי, לדסקטופ ולווב. אישור: גופנים/אלקנה - אישור רישיון מסחרי (פונטאפ).png
   באלקנה יש רק אותיות עבריות, ולכן מילים באנגלית מוצגות ב-Heebo. */
@font-face { font-family: "Elkanah"; src: url("fonts/elkanah-light.woff2") format("woff2"); font-weight: 300; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: "Elkanah"; src: url("fonts/elkanah-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F; }
@font-face { font-family: "Elkanah"; src: url("fonts/elkanah-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0590-05FF, U+FB1D-FB4F; }
/* גברת לוין: כתב יד, רישיון OFL (חינמי גם לשימוש מסחרי ובאתר). הרישיון: fonts/gveret-levin-OFL.txt */
@font-face { font-family: "Gveret Levin"; src: url("fonts/gveret-levin.ttf") format("truetype"); font-weight: 400; font-display: swap; }

/* ===== Design tokens: כאן מחליפים את כל הכיוון העיצובי ===== */
/* כיוון ג׳: רגוע ומקצועי. מרווה + חרדל (מהלוגו) + כחול הלוגו כמשני */
:root {
  --bg: #f7f4ef;          /* שמנת חמה */
  --bg-soft: #e9efec;     /* מרווה בהיר */
  --ink: #263535;
  --ink-soft: #4f5f5d;
  --accent: #dc9a35;      /* חרדל, כמו העלה בלוגו */
  --accent-text: #a8681a; /* חרדל כהה לטקסט על רקע בהיר */
  --accent-ink: #263535;
  --deep: #4f6e69;        /* מרווה עמוק (הוכהה מ-#5b7c77 לניגודיות AA בטקסט קטן) */
  --blue: #2a5bb8;        /* הכחול של הלוגו */
  --line: #dde5e1;
  --card: #fffcf7;        /* לבן שמנתי במקום לבן טהור */
  --radius: 10px;
  --shadow: 0 10px 30px rgba(38, 53, 53, .07);
  --serif: "Elkanah", "Heebo", "Segoe UI", Arial, sans-serif;   /* כותרות: אלקנה דק */
  --sans: "Elkanah", "Heebo", "Segoe UI", Arial, sans-serif;    /* טקסט: אלקנה רגיל */
  --hand: "Gveret Levin", "Elkanah", sans-serif;       /* כתב יד להדגשות בלבד */
  /* 5 גדלי טקסט בלבד לכל האתר (שיטת סטייליינר) */
  --fs-1: clamp(2rem, 5.5vw, 3.5rem);      /* כותרת ראשית / מספרים גדולים  32→56 */
  --fs-2: clamp(1.625rem, 4vw, 2.5rem);    /* כותרת אזור                  26→40 */
  --fs-3: 1.375rem;                        /* כותרת משנה                  22 */
  --fs-4: 1.125rem;                        /* טקסט רץ, כפתורים, תפריט     18 */
  --fs-5: .875rem;                         /* הערות, תגיות, תחתית          14 */
  --lh-head: 1.15;
  --lh-body: 1.5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--fs-4)/var(--lh-body) var(--sans); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }

h1, .h2, h3 { font-family: var(--serif); line-height: var(--lh-head); margin: 0 0 .5em; font-weight: 300; }
h1 { font-size: var(--fs-1); }
h1 em { font-style: normal; color: var(--accent-text); }
.hand { font: 400 1.2em/1.1 var(--hand); color: var(--accent-text); }
.h2 { font-size: var(--fs-2); }
h3 { font-size: var(--fs-3); }
.eyebrow { color: var(--deep); font-weight: 700; letter-spacing: .04em; margin: 0 0 .5em; }
.lead { font-size: var(--fs-4); color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 6px; border: 0;
  background: var(--accent); color: var(--accent-ink); font: 700 var(--fs-4) var(--sans);
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s;
  box-shadow: 0 6px 18px rgba(220, 154, 53, .28);
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: var(--fs-5); }
.btn--light { background: var(--bg); color: var(--deep); box-shadow: none; }

/* Top bar */
.strip { display: block; background: var(--deep); color: #fff; text-align: center; font-size: var(--fs-5); padding: 8px 16px; text-decoration: none; }
.strip:hover { text-decoration: underline; }
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(247, 244, 239, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.brand { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.brand img { height: 34px; width: auto; }
.brand span { font: 400 var(--fs-5) var(--sans); color: var(--deep); letter-spacing: .06em; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--accent); }

/* Hero */
.hero { padding: 48px 0 64px; }
.hero__in { display: grid; gap: 32px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.photo-ph {
  aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius);
  background: linear-gradient(160deg, var(--bg-soft), var(--line));
  display: grid; place-items: center; color: var(--ink-soft); border: 1px solid var(--line);
}
/* Hero: two photos + overlapping white card (Kelly Hamner reference) */
.hero { padding: 0 0 64px; }
.hero__stage { position: relative; }
.hero__img { display: block; width: 100%; object-fit: cover; }
.hero__img--main { aspect-ratio: 4 / 4.4; object-position: 78% 30%; }
.hero__img--side { display: none; }
.hero__card {
  position: relative; z-index: 2; background: var(--card); text-align: center;
  width: calc(100% - 32px); margin: -90px auto 0; padding: 30px 22px 32px;
  box-shadow: var(--shadow);
}
.hero__card h1 { color: var(--deep); font-weight: 300; font-size: var(--fs-1); line-height: var(--lh-head); margin-bottom: 14px; }
.hero__card .hand { display: block; margin-top: 6px; }
.hero__card p { color: var(--ink-soft); margin: 0 0 20px; }
.hero__promise { padding-top: 56px; }
.promise { font: 300 var(--fs-2)/var(--lh-head) var(--serif); color: var(--deep); margin: 0 0 16px; text-wrap: balance; }
/* About: framed photo with handwritten hello, quote, signature */
.about__photo { position: relative; padding: 0 0 22px 22px; }
.about__photo::before { content: ""; position: absolute; inset: 22px 22px 0 0; border: 1.5px solid var(--accent); }
.about__photo img { position: relative; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 58% 28%; }
.about__hello { position: absolute; bottom: 0; inset-inline-start: -4px; z-index: 2; background: var(--card); padding: 10px 18px; font: 400 var(--fs-3)/1 var(--hand); color: var(--deep); box-shadow: var(--shadow); transform: rotate(-3deg); }
.about__text .h2 { color: var(--deep); font-weight: 300; }
.about__text .hand { display: inline-block; }
.about__quote { margin: 24px 0; padding: 4px 18px 4px 0; border-inline-start: 3px solid var(--accent); font: 300 var(--fs-3)/var(--lh-body) var(--serif); color: var(--ink); }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 8px; }
.about__stats div { background: var(--card); border-top: 3px solid var(--accent); padding: 16px 14px; box-shadow: var(--shadow); }
.about__stats b { display: block; font: 700 var(--fs-1)/1 var(--serif); color: var(--accent-text); margin-bottom: 6px; }
.about__stats span { display: block; font-size: var(--fs-5); line-height: 1.4; color: var(--ink-soft); }
.about__sign { display: flex; align-items: center; justify-content: flex-start; gap: 16px; flex-wrap: wrap; margin-top: 20px; }

/* Sections */
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section--deep { background: var(--deep); color: #f6f1e7; }
.section--deep .lead { color: #d9d3c4; }

/* Pain: photo + overlapping white card, mirrored from the hero */
.pain { background: var(--bg-soft); padding: 0 0 64px; }
.pain__stage { position: relative; }
.pain__img { display: block; width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 55% 30%; }
.pain__card { position: relative; z-index: 2; background: var(--card); width: calc(100% - 32px); margin: -70px auto 0; padding: 30px 22px; box-shadow: var(--shadow); }
.pain__card .h2 { color: var(--deep); font-weight: 300; text-align: center; }
.pain__eyebrow { text-align: center; }
.pain__card .h2 .hand { display: block; }
.pains { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 4px; }
.pains li { position: relative; padding: 12px 34px 12px 0; border-bottom: 1px solid var(--line); }
.pains li:last-child { border-bottom: 0; }
.pains li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.pain__end { padding-top: 56px; }

/* Benefits: airy, centered, numbered circles */
.benefits__title { color: var(--deep); font-weight: 300; max-width: 720px; margin-inline: auto; }
.benefits__title .hand { display: block; }
.benefits__grid { display: grid; gap: 0; margin: 36px 0 40px; }
.benefit { text-align: center; padding: 28px 8px; border-bottom: 1px solid var(--line); }
.benefit:last-child { border-bottom: 0; }
.benefit__num {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--bg-soft); color: var(--accent-text); font: 400 var(--fs-2)/1 var(--hand); margin-bottom: 14px;
  outline: 1px solid var(--line); outline-offset: 6px;
}
.section--soft .benefit__num { background: var(--bg); }
.benefit h3 { color: var(--ink); font-weight: 700; }
.benefit p { color: var(--ink-soft); margin: 0 auto; max-width: 320px; }

.title-sage { color: var(--deep); font-weight: 300; }
.title-sage .hand { display: inline-block; margin-inline: .15em; }   /* the slanted hand font eats the word space */

/* Testimonials */
.quotes { display: grid; gap: 20px; margin-top: 36px; }
.quote { position: relative; background: var(--card); margin: 0; padding: 44px 28px 28px; text-align: center; border-top: 3px solid var(--accent); box-shadow: var(--shadow); }
.quote::before { content: "”"; position: absolute; top: 4px; left: 50%; transform: translateX(-50%); font: 700 4.5rem/1 Georgia, "Times New Roman", serif; color: var(--accent); opacity: .5; }
.quote p { font: 300 var(--fs-3)/var(--lh-body) var(--serif); margin: 0 0 16px; color: var(--ink); }
.quote cite { font-style: normal; font-weight: 700; color: var(--deep); }

.about { display: grid; gap: 32px; align-items: center; }

/* Fit */
.fit { display: grid; gap: 12px; margin-top: 28px; counter-reset: fit; }
.fit button {
  position: relative; text-align: start; padding: 18px 20px 18px 20px; padding-inline-start: 64px; border-radius: 4px; border: 1px solid var(--line);
  background: var(--card); font: 700 var(--fs-4)/var(--lh-body) var(--sans); color: var(--ink); cursor: pointer; min-height: 64px; transition: border-color .15s, background .15s;
}
.fit button::before {
  counter-increment: fit; content: counter(fit); position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--accent-text); font: 400 var(--fs-3)/1 var(--hand);
}
.fit button:hover { border-color: var(--deep); }
.fit button[aria-pressed="true"] { border-color: var(--accent); background: #fff6e6; }
.fit button[aria-pressed="true"]::before { background: var(--accent); color: var(--ink); }
.fit__result { margin-top: 20px; padding: 28px 24px; background: var(--card); border-top: 3px solid var(--accent); box-shadow: var(--shadow); }
.fit__label { margin: 0 0 4px; font-size: var(--fs-5); font-weight: 700; color: var(--ink-soft); }
.fit__name { margin: 0 0 10px; font: 700 var(--fs-3)/var(--lh-head) var(--serif); color: var(--deep); }

/* Courses */
.courses__note { margin: 0 auto; max-width: 560px; }
.courses { display: grid; gap: 20px; margin-top: 36px; }
.course { background: var(--card); padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 3px solid var(--line); }
.course--featured { border-top-color: var(--accent); }
.course h3 { color: var(--deep); font-weight: 700; font-size: var(--fs-3); }
.course__tag { align-self: flex-start; background: var(--accent); color: var(--ink); border-radius: 3px; padding: 2px 12px; font-size: var(--fs-5); font-weight: 700; margin-bottom: 12px; }
.course__for { color: var(--ink-soft); margin-top: 0; }
.course--soon .course__tag { background: var(--bg-soft); color: var(--deep); }
.course ul { list-style: none; padding: 0; margin: 8px 0 24px; flex: 1; }
.course li { position: relative; padding: 8px 26px 8px 0; border-bottom: 1px solid var(--line); }
.course li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.course__price { font: 700 var(--fs-2) var(--serif); margin-bottom: 14px; }
.course__price small { font: 400 var(--fs-5) var(--sans); color: var(--ink-soft); }
.course .btn { width: 100%; }

/* FAQ */
#faq .h2 { margin-bottom: 28px; }
details { border-bottom: 1px solid #cfdad5; }
details:first-of-type { border-top: 1px solid #cfdad5; }
summary { padding: 20px 4px; padding-inline-end: 52px; font: 400 var(--fs-3)/var(--lh-head) var(--serif); color: var(--ink); cursor: pointer; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--card); color: var(--accent-text); font: 400 var(--fs-3)/1 var(--sans);
}
details[open] summary::after { content: "−"; background: var(--accent); color: var(--ink); }
details p { padding: 0 4px 20px; margin: 0; color: var(--ink-soft); }

/* Contact: photo + overlapping white form card */
.contact { background: var(--deep); padding: 0 0 64px; }
.contact__img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 95% 25%; }
.contact__card { position: relative; z-index: 2; background: var(--card); width: calc(100% - 32px); margin: -60px auto 0; padding: 32px 22px; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.contact__card .h2 { margin-bottom: 8px; }
.contact__card .lead { font-size: var(--fs-4); }

/* Form */
.form { display: grid; gap: 14px; text-align: start; margin-top: 20px; }
.form label { display: grid; gap: 6px; font-weight: 700; }
.form input:not([type="checkbox"]) {
  min-height: 52px; border-radius: 4px; border: 1px solid #c9d4cf; background: var(--bg);
  padding: 0 16px; font: 400 var(--fs-4) var(--sans); color: var(--ink);
}
.form input:not([type="checkbox"]):focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: var(--fs-5); color: var(--ink-soft); }
.form .check input { width: 20px; height: 20px; margin-top: 4px; flex: none; accent-color: var(--deep); }
.form .btn { width: 100%; }
.form__msg { min-height: 1.5em; margin: 0; }

/* טופס רב מסר מוטמע: מתאימים אותו לעיצוב האתר */
.rm-form { margin-top: 20px; text-align: start; }
.rm-form .multytext { display: none !important; }            /* הכותרת של רב מסר חוזרת על כותרת הכרטיס */
.rm-form, .rm-form * { font-family: var(--sans) !important; }
.rm-form [class*="multy"], .rm-form [class*="submitbutton"], .rm-form [class*="submitButtonContainer_wrapper"] {
  background: transparent !important; box-shadow: none !important; border: 0 !important; max-width: 100% !important;
}
.rm-form input[type="text"], .rm-form input[type="tel"], .rm-form input[type="email"] {
  height: 52px !important; width: 100% !important; box-sizing: border-box !important; padding: 0 16px !important;
  border: 1px solid #c9d4cf !important; border-radius: 4px !important; background: var(--bg) !important;
  color: var(--ink) !important; font-size: var(--fs-4) !important; text-align: right !important; box-shadow: none !important;
}
.rm-form input:focus { outline: 2px solid var(--accent) !important; outline-offset: 1px; border-color: var(--accent) !important; }
.rm-form input::placeholder { color: var(--ink-soft) !important; opacity: 1; }
.rm-form a.submitButton, .rm-form .submitButton {
  background: var(--accent) !important; color: var(--accent-ink) !important; border: 0 !important; border-radius: 6px !important;
  min-height: 52px !important; width: 100% !important; font-size: var(--fs-4) !important; font-weight: 700 !important;
  display: flex !important; align-items: center; justify-content: center; box-shadow: none !important; text-decoration: none !important;
}
.rm-form .submitButton:hover { filter: brightness(1.04); }
/* חיזוק מול העיצוב של רב מסר (נטען מהשרת שלהם) */
html body #contact .contact__card .rm-form a.submitButton.submitButtonContainer,
html body #contact .contact__card .rm-form a.submitButton.submitButtonContainer:hover {
  background: var(--accent) !important; background-color: var(--accent) !important; background-image: none !important;
  color: var(--accent-ink) !important; border-radius: 6px !important;
}
html body #contact .contact__card .rm-form a.submitButton.submitButtonContainer * { color: var(--accent-ink) !important; }

/* טופס רב מסר: חיזוקים נגד העיצוב שנטען מהשרת שלהם */
html body #contact .rm-form, html body #contact .rm-form div, html body #contact .rm-form form,
html body #contact .rm-form input, html body #contact .rm-form label, html body #contact .rm-form span,
html body #contact .rm-form p, html body #contact .rm-form a, html body #contact .rm-form button {
  font-family: var(--sans) !important;
}
html body #contact .rm-form .formBody, html body #contact .rm-form form.form, html body #contact .rm-form [class*="multyparent"],
html body #contact .rm-form [class*="multyinner"], html body #contact .rm-form [class*="uniqueid_"], html body #contact .rm-form .field,
html body #contact .rm-form [class*="inner_"] {
  width: 100% !important; max-width: none !important; flex: 1 1 100% !important; margin-left: 0 !important; margin-right: 0 !important;
  padding-left: 0 !important; padding-right: 0 !important; box-sizing: border-box !important;
}
html body #contact .rm-form input[type="text"], html body #contact .rm-form input[type="tel"], html body #contact .rm-form input[type="email"],
html body #contact .rm-form input.ascii_email {
  direction: rtl !important; text-align: right !important; font-size: var(--fs-4) !important; font-weight: 400 !important;
}
html body #contact .rm-form input::placeholder { text-align: right !important; }
html body #contact .rm-form label, html body #contact .rm-form label * { font-size: var(--fs-5) !important; color: var(--ink-soft) !important; text-align: right !important; }
html body #contact .rm-form a.submitButton.submitButtonContainer, html body #contact .rm-form a.submitButton.submitButtonContainer * { font-size: var(--fs-4) !important; font-weight: 700 !important; }

/* Footer */
.footer { padding: 40px 0 160px; text-align: center; color: var(--ink-soft); font-size: var(--fs-5); background: var(--bg); }
.footer__in { display: grid; gap: 16px; justify-items: center; }
.footer__in img { height: 30px; width: auto; }
.footer__cta-text { font: 300 var(--fs-3) var(--serif); color: var(--deep); margin: 8px 0 0; }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 8px; }
.footer__cta { flex-wrap: nowrap; gap: 10px; width: 100%; max-width: 420px; }
.footer__cta .btn { flex: 1 1 0; min-height: 44px; padding: 0 12px; font-size: var(--fs-5); box-shadow: none; white-space: nowrap; }
.footer__cta .btn:hover { transform: none; filter: brightness(1.04); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; }
.footer__nav a { text-decoration: none; color: var(--deep); }
.footer__in p { margin: 0; }
.footer__credit { font-size: var(--fs-5); }
.form-note { font-size: var(--fs-5); color: var(--ink-soft); margin: 12px 0 0; }
/* main.js moves the note inside the Rav Messer form, between the consent box and the button */
html body #contact .rm-form p.form-note { font-size: var(--fs-5) !important; color: var(--ink-soft) !important; text-align: right !important; margin: 8px 0 16px !important; line-height: 1.5 !important; }
html body #contact .rm-form p.form-note a { color: var(--deep) !important; font-weight: 700 !important; font-size: inherit !important; text-decoration: underline !important; text-underline-offset: 3px; }
.form-note a { color: var(--deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.courses:focus-visible, .quotes:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 8px; }
/* Bottom lines: legal links on one row, copyright + credit on the next; items never break mid-phrase */
.footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 24px; }
.footer__legal a { color: var(--deep); text-decoration: underline; text-underline-offset: 3px; padding: 8px 2px; }
.footer__credit { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; }
.footer__credit span { white-space: nowrap; }
.footer__credit a { color: var(--deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* WhatsApp + sticky bar (mobile) */
.wa { position: fixed; inset-inline-start: 16px; bottom: 84px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.stickybar { position: fixed; inset-inline: 0; bottom: 0; z-index: 25; padding: 10px 16px; background: rgba(247, 244, 239, .96); border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .25s; }
.stickybar.show { transform: none; }
.stickybar .btn { width: 100%; }

/* Mobile nav */
.burger { display: none; }
.topbar__cta { display: none; }
.swipe-hint { display: none; }   /* מוצג רק בטלפון (ב-media query למטה) */
@media (max-width: 799px) {
  .topbar__in { position: relative; }
  .topbar__in { gap: 6px; }
  .brand span { display: none; }        /* בטלפון מספיק הלוגו; מסך הפתיחה כבר אומר מה העסק */
  .topbar__cta { white-space: nowrap; }
  .brand { margin-inline-end: auto; }
  .topbar__cta {
    display: inline-flex; min-height: 38px; padding: 0 14px; font-size: var(--fs-5); box-shadow: none;
    background: transparent; color: var(--ink); border: 1.5px solid var(--accent);
  }
  .burger {
    display: grid; align-content: center; gap: 5px; width: 48px; height: 48px; padding: 0 12px;
    background: transparent; border: 0; cursor: pointer; flex: none;
  }
  .burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav {
    display: none; position: absolute; top: 100%; inset-inline: -16px; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 14px 24px rgba(38,53,53,.1); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: var(--fs-4); color: var(--ink); }
  .nav .btn { display: none; }

  /* Carousel on phone: testimonials + courses, last card peeks to show there's more */
  .quotes, .courses {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 8px 16px 20px; scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar, .courses::-webkit-scrollbar { display: none; }
  .quotes > *, .courses > * { flex: 0 0 84%; scroll-snap-align: center; }
  .swipe-hint { display: block; text-align: center; color: var(--ink-soft); font-size: var(--fs-5); margin: -6px 0 0; }
}

/* Desktop */
@media (min-width: 800px) {
  .hero { padding: 0 0 96px; }
  .hero__stage { display: grid; grid-template-columns: 1fr 1fr; gap: 0 6%; align-items: start; padding-bottom: 40px; }
  .hero__img--main { aspect-ratio: 4 / 3.6; object-position: 82% 30%; }
  .hero__img--side { display: block; aspect-ratio: 1 / 1; object-position: 8% 60%; margin-top: 90px; }
  .hero__card {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(440px, 38%); margin: 0; padding: 44px 36px;
  }
  .hero__promise { padding-top: 72px; }
  .pain { padding: 100px 0 96px; }
  .pain__stage { width: min(1120px, 100% - 64px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .pain__img { grid-column: 2; grid-row: 1; aspect-ratio: 4 / 4.2; }
  .pain__card { grid-column: 1 / span 1; grid-row: 1; width: auto; margin: 0 0 0 -90px; padding: 48px 44px; }
  .pain__card .h2, .pain__eyebrow { text-align: start; }
  .pain__end { padding-top: 80px; }
  .benefits__grid { grid-template-columns: repeat(3, 1fr); margin: 56px 0; }
  .benefit { border-bottom: 0; border-inline-start: 1px solid var(--line); padding: 8px 32px; }
  .benefit:last-child { border-inline-start: 1px solid var(--line); }
  .benefit:first-child { border-inline-start: 0; }
  .quotes { grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
  .about { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .courses { grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
  .course--featured { transform: translateY(-14px); }
  .contact { padding: 100px 0; }
  .contact__stage { width: min(1120px, 100% - 64px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .contact__img { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 4.6; object-position: 92% 30%; }
  .contact__card { grid-column: 2; grid-row: 1; width: auto; margin: 0 -90px 0 0; padding: 48px 44px; }
  .section { padding: 100px 0; }
  .stickybar { display: none; }
  #faq .wrap.narrow { max-width: 1000px; }
  #faq details { break-inside: avoid; }
  #faq summary { cursor: default; pointer-events: none; padding-inline-end: 4px; }
  #faq summary::after { display: none; }
  #faq .faq__list { columns: 2; column-gap: 56px; }
  .wa { bottom: 24px; }
  .footer { padding-bottom: 28px; }
}

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

/* Skip link: hidden until the first Tab, then shown at the top */
.skip-link { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; outline: 2px solid var(--accent); outline-offset: 2px; }

/* Visible field labels that main.js adds above the Rav Messer inputs */
html body #contact .rm-form label.rm-field-label { display: block !important; font-size: var(--fs-5) !important; font-weight: 700 !important; color: var(--ink) !important; text-align: right !important; margin: 0 0 4px !important; }
/* Rav Messer's "required field" messages: our label rule turned them grey; make them read as errors */
html body #contact .rm-form label.validation_error, html body #contact .rm-form .validation_error_block * { color: #b3261e !important; font-weight: 700 !important; font-size: var(--fs-5) !important; }
html body #contact .rm-form .validation_error_block { background: transparent !important; margin-top: 4px !important; }
html body #contact .rm-form input.validation_error { border-color: #b3261e !important; }
