/* ============================================================
   הבמה כריפוי · Roni Peled Nadler
   Warm white / sand / soft olive / charcoal · RTL
   ============================================================ */

:root {
  --paper: #F8F7F4;
  --sand: #E8DFD3;
  --olive: #A8B39A;
  --olive-deep: #8A9680;
  --ink: #2F2F2F;
  --ink-soft: #55554f;
  --radius: 20px;
  --shadow: 0 18px 50px -22px rgba(47, 47, 47, .25);
  --serif: "Frank Ruhl Libre", serif;
  --sans: "Assistant", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.25; }

h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.2rem; }

.wrap        { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 680px;  margin: 0 auto; padding: 0 24px; }
.wrap-wide   { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section.sand { background: var(--sand); }

.eyebrow {
  font-size: .85rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Fade-in on scroll (only when JS is running - otherwise everything stays visible) */
.js .fade { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.js .fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fade { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: .9rem 2rem; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: all .25s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--olive-deep); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(248,247,244,.8); color: var(--paper); }
.btn-ghost:hover { background: rgba(248,247,244,.15); }
.btn-small { padding: .5rem 1.3rem; font-size: .9rem; background: var(--ink); color: var(--paper); }
.btn-small:hover { background: var(--olive-deep); }
.btn-wide { width: 100%; justify-content: center; font-size: 1.15rem; }
.btn-whatsapp {
  width: 100%; justify-content: center; margin-top: 1rem;
  background: #fff; color: var(--ink); border-color: var(--olive);
}
.btn-whatsapp:hover { background: var(--olive); color: #fff; }

/* ---------------- Top bar ---------------- */
.topbar {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  transform: translateY(-100%); transition: transform .4s ease;
  background: rgba(248,247,244,.85); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(47,47,47,.06);
}
.topbar.show { transform: none; }
.topbar-inner {
  max-width: 1080px; margin: 0 auto; padding: .7rem 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); text-decoration: none; }

/* ---------------- Hero ---------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media, .hero-media img, .hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-media img { animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .hero-media img { animation: none; } }

.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(35,33,28,.80) 0%, rgba(35,33,28,.45) 40%, rgba(35,33,28,.22) 100%);
}
.hero-content {
  position: relative; z-index: 2; color: var(--paper);
  max-width: 1080px; margin: 0 auto; width: 100%;
  padding: 0 24px clamp(4rem, 10vh, 7rem);
}
.hero-kicker { letter-spacing: .3em; font-size: .9rem; font-weight: 600; margin-bottom: 1rem; opacity: .85; }
.hero h1 { font-size: clamp(3.4rem, 11vw, 7.5rem); font-weight: 500; margin-bottom: .5rem; }
.hero-sub { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 2rem); margin-bottom: 1.4rem; }
.hero-line { max-width: 34ch; font-size: 1.15rem; opacity: .9; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------------- About ---------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); margin-top: 1.5rem; align-items: center; }
.about-text p { margin-bottom: 1.2rem; }
.about-strong { font-family: var(--serif); font-size: 1.35rem; color: var(--olive-deep); }
.about-photo { margin: 0; }
.about-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; }
.about-points { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: clamp(2.2rem, 5vw, 3.5rem); }
.about-points li {
  background: #fff; border-radius: var(--radius); padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow); border-inline-start: 3px solid var(--olive);
  font-size: 1rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 3rem; }

/* Trial-lesson callout */
.trial-callout {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  background: var(--sand); border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3rem); text-align: center;
  border: 1px solid rgba(168,179,154,.5);
}
.trial-eyebrow { letter-spacing: .28em; font-size: .85rem; font-weight: 600; color: var(--olive-deep); margin-bottom: .8rem; }
.trial-when { font-family: var(--serif); font-size: clamp(1.4rem, 3.5vw, 2rem); color: var(--ink); }
.trial-where { font-size: 1.1rem; color: var(--ink-soft); margin-top: .3rem; }
.trial-body { max-width: 56ch; margin: 1.4rem auto; color: var(--ink-soft); }
.trial-fine { font-size: .95rem; font-weight: 600; color: var(--olive-deep); margin-bottom: 1.8rem; }
.chips span {
  font-size: .92rem; font-weight: 600; color: var(--ink-soft);
  background: var(--sand); border-radius: 999px; padding: .45rem 1.1rem;
}

/* ---------------- Quote band ---------------- */
.band { position: relative; min-height: 72svh; display: grid; place-items: center; overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-veil { position: absolute; inset: 0; background: rgba(35,33,28,.55); }
.band-quote { position: relative; z-index: 2; color: var(--paper); text-align: center; padding: 6rem 24px; max-width: 760px; }
.band-quote p { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2.1rem); line-height: 1.7; }
.band-quote cite { display: block; margin-top: 1.5rem; font-style: normal; letter-spacing: .3em; font-size: .9rem; opacity: .8; }

/* ---------------- Roni ---------------- */
.roni-grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.roni-photo { position: static; }
.roni-photo img {
  border-radius: var(--radius); box-shadow: var(--shadow); width: 100%;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 42%;
}
.roni-role { font-family: var(--serif); font-size: 1.2rem; color: var(--olive-deep); margin-bottom: 1.4rem; }
.roni-text p { margin-bottom: 1.2rem; }
.method-more { margin-top: 1.2rem; border-top: 1px solid rgba(47,47,47,.12); }
.method-more summary {
  cursor: pointer; list-style: none; padding: 1.1rem 0;
  font-weight: 600; color: var(--ink);
  display: flex; align-items: center; gap: .6rem;
  transition: color .25s ease;
}
.method-more summary::-webkit-details-marker { display: none; }
.method-more summary::after {
  content: "+"; margin-inline-start: auto;
  font-family: var(--serif); font-size: 1.5rem; color: var(--olive-deep);
  line-height: 1; transition: transform .25s ease;
}
.method-more[open] summary::after { content: "\2013"; }
.method-more summary:hover { color: var(--olive-deep); }
.method-body { padding-bottom: 1rem; }
.method-body p { margin-bottom: 1rem; color: var(--ink-soft); }
.method-body strong { color: var(--ink); }
.method-source { font-size: .9rem; }
.method-source strong { color: var(--ink); }

/* ---------------- Lesson timeline ---------------- */
.timeline { list-style: none; counter-reset: step; margin-top: 2.5rem; display: grid; gap: 0; position: relative; }
.timeline li {
  counter-increment: step;
  position: relative;
  padding: 1.6rem 4.2rem 1.6rem 0;
  border-top: 1px solid rgba(47,47,47,.1);
}
.timeline li:last-child { border-bottom: 1px solid rgba(47,47,47,.1); }
.timeline li::before {
  content: counter(step, decimal);
  position: absolute; inset-inline-start: 0; top: 1.7rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--olive); color: #fff;
  font-family: var(--serif); font-size: 1.2rem;
}
.timeline h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.timeline p { max-width: 62ch; color: var(--ink-soft); }

/* ---------------- Testimonials ---------------- */
.t-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 2.5rem; }
.t-card, .t-video {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.t-card { padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; }
.t-card p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.7; }
.t-card footer { margin-top: 1.4rem; font-weight: 600; color: var(--olive-deep); }
.t-video figcaption { padding: 1.2rem 1.6rem; font-family: var(--serif); font-size: 1.05rem; }
.t-thumb { position: relative; aspect-ratio: 16/9; }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; }

.placeholder {
  display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #efece6, #efece6 12px, #e9e4dc 12px, #e9e4dc 24px);
  color: var(--ink-soft); font-size: .95rem; text-align: center; padding: 1rem;
}
.placeholder span { position: absolute; bottom: 1rem; }

.play {
  width: 4.2rem; height: 4.2rem; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(248,247,244,.92); box-shadow: var(--shadow);
  position: relative; transition: transform .25s ease;
}
.play::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  transform: translate(-40%, -50%);
  border-block: 11px solid transparent; border-left: 18px solid var(--ink);
}
.play:hover { transform: scale(1.08); }

/* ---------------- Promo ---------------- */
.promo-frame {
  margin-top: 2rem; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); aspect-ratio: 16/9; position: relative;
}
.promo-frame iframe { width: 100%; height: 100%; border: 0; }
.promo-placeholder { position: absolute; inset: 0; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #efece6, #efece6 12px, #e9e4dc 12px, #e9e4dc 24px);
  color: var(--ink-soft);
}
.promo-placeholder span { position: absolute; bottom: 1.4rem; }

/* ---------------- Gallery ---------------- */
.masonry { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 1.2rem; margin-top: 2rem; }
.masonry figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.masonry figure.tall { grid-row: span 2; }
/* תמונה אנכית: הראש בחלק העליון - מקבעים את החיתוך כלפי מעלה */
.masonry .portrait img { object-position: 50% 25%; }
.masonry img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.masonry figure:hover img { transform: scale(1.04); }

/* ---------------- FAQ ---------------- */
.faq details {
  border-bottom: 1px solid rgba(47,47,47,.12);
  padding: 1.2rem 0;
}
.faq summary {
  font-family: var(--serif); font-size: 1.3rem; cursor: pointer;
  list-style: none; position: relative; padding-inline-end: 2.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: .2rem; top: 0;
  font-size: 1.6rem; color: var(--olive-deep); transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-top: .8rem; color: var(--ink-soft); }
.faq details p + p { padding-top: .4rem; }
.faq-list { margin: .4rem 0 0; padding-inline-start: 1.3rem; color: var(--ink-soft); }
.faq-list li { margin-bottom: .5rem; }

/* ---------------- Register ---------------- */
.register { text-align: center; }
.register-line { margin-bottom: 2rem; }
.reg-form { display: grid; gap: 1.1rem; text-align: start; }
.reg-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.reg-form input {
  font: inherit; font-weight: 300;
  padding: .85rem 1.1rem; border-radius: 14px;
  border: 1.5px solid rgba(47,47,47,.15); background: #fff;
  transition: border-color .25s ease;
}
.reg-form input:focus { outline: none; border-color: var(--olive-deep); }
.reg-form button { margin-top: .5rem; }
.reg-phone { margin-top: 1.5rem; font-size: 1rem; }
.reg-phone a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--olive); }

/* ---------------- Footer ---------------- */
.footer { background: var(--ink); color: rgba(248,247,244,.85); padding: 3.5rem 0; }
.footer-inner { display: grid; gap: 1.2rem; justify-items: center; text-align: center; }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; color: var(--paper); }
.footer-links { display: flex; gap: 1.8rem; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(248,247,244,.85); text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--olive); }
.footer-fine { font-size: .85rem; opacity: .75; max-width: 60ch; }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .about-grid, .roni-grid { grid-template-columns: 1fr; }
  .roni-photo { position: static; max-width: 380px; }
  .masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 600px) {
  body { font-size: 1.02rem; }
  .about-points { grid-template-columns: 1fr; }
  /* chips: on small screens the pills wrap into a ragged mess -
     show them as a calm, centered, dot-separated line instead */
  .chips { justify-content: center; gap: .35rem 0; margin-top: 2.2rem; }
  .chips span { background: none; padding: 0; font-weight: 600; }
  .chips span:not(:last-child)::after { content: "·"; margin: 0 .5rem; opacity: .45; }
  .t-grid { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .masonry figure.tall { grid-row: span 1; }
  /* התמונה האנכית נשארת גבוהה גם במובייל - אחרת הראש נחתך */
  .masonry figure.portrait { grid-row: span 2; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .timeline li { padding-inline-end: 3.6rem; }
}
