/* Olga Pavlova Academy of Photography — styles of the public site.
   Plain CSS, no build step. Logical properties (inline/block) mirror the layout
   for Hebrew automatically; [dir="rtl"] rules are only for typography. */

/* ---------------------------------------------------------------- tokens */
:root {
  --cream: #FDF8F0;        /* page background (logo background) */
  --sand: #F6EEE2;         /* calm beige blocks, footer */
  --white: #FFFFFF;        /* cards, forms */
  --ink: #3A2E25;          /* text, primary buttons (logo letters) */
  --ink-deep: #2B2119;
  --ink-soft: #5A4A3D;
  --muted: #74665A;        /* secondary text: 5:1 on cream */
  --gold: #C8A97E;         /* thin lines, dots, icons — never small text */
  --gold-deep: #B08F62;
  --line: #EDE4D8;         /* borders and dividers */
  --line-strong: #E0D2BF;
  --olive: #5F6B47;        /* success */
  --terracotta: #A3533A;   /* attention, errors */

  --font-display: 'Cormorant Garamond', 'Bellefair', Georgia, 'Times New Roman', serif;
  --font-text: 'Source Sans 3', 'Assistant', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 64px;
  --radius: 6px;
  --radius-lg: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 10px 40px rgba(58, 46, 37, .08);
}

:root[lang="he"] {
  --font-display: 'Bellefair', 'Cormorant Garamond', Georgia, serif;
  --font-text: 'Assistant', 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 40px; --header-h: 80px; }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  /* Cormorant draws old-style figures by default: "01" would read as "OI" */
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) {
  body { font-size: 1.0625rem; }
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
picture { display: contents; }
figure { margin: 0; }
p, ul, ol, h1, h2, h3, h4 { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }

::selection { background: rgba(200, 169, 126, .35); color: var(--ink-deep); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

[hidden] { display: none !important; }

/* ------------------------------------------------------------ typography */
.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -.005em;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.6rem, 1.7rem + 3.4vw, 4.9rem); line-height: 1.02; }
.h2 { font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem); line-height: 1.06; }
.h2--compact { font-size: clamp(1.9rem, 1.45rem + 1.5vw, 2.75rem); line-height: 1.12; }
.h3 { font-size: clamp(1.45rem, 1.25rem + .7vw, 1.9rem); line-height: 1.15; }

:root[lang="he"] .h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); line-height: 1.08; }
:root[lang="he"] .h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); line-height: 1.12; }
:root[lang="he"] .h1, :root[lang="he"] .h2, :root[lang="he"] .h3 { font-weight: 400; letter-spacing: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-text);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.eyebrow:lang(he) { letter-spacing: .02em; font-size: .9375rem; }

.lead { font-size: 1.125rem; line-height: 1.65; color: var(--ink-soft); }
@media (min-width: 1024px) { .lead { font-size: 1.25rem; } }

.muted { color: var(--muted); }

.money { unicode-bidi: isolate; white-space: nowrap; }

/* ---------------------------------------------------------------- layout */
.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section { padding-block: clamp(72px, 9vw, 136px); }
.section--sand { background: var(--sand); }

.section-head { max-width: 640px; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 22px; }

/* Thin line with a dot in the middle, as in the logo */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
}
.divider::before, .divider::after {
  content: "";
  flex: 1;
  height: 1px;
}
.divider::before { background: linear-gradient(to right, rgba(200, 169, 126, 0), var(--gold)); }
.divider::after { background: linear-gradient(to left, rgba(200, 169, 126, 0), var(--gold)); }
.divider__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
main > .section-divider:last-child { margin-bottom: clamp(72px, 9vw, 136px); }
/* Around a divider the sections come closer: the line itself separates them */
.section:has(+ .section-divider) { padding-bottom: clamp(56px, 6vw, 88px); }
.section-divider + .section { padding-top: clamp(56px, 6vw, 88px); }

/* ----------------------------------------------------------------- icons */
.icon { width: 24px; height: 24px; flex: none; }
.icon--line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--brand { fill: currentColor; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--ink-deep); }
.btn--secondary { border-color: rgba(58, 46, 37, .45); color: var(--ink); background: transparent; }
.btn--secondary:hover { border-color: var(--ink); background: rgba(58, 46, 37, .04); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }
.btn--xs { min-height: 38px; padding: 0 14px; font-size: .875rem; }
.btn--block { width: 100%; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 240, .94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled, .menu-open .site-header { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  text-decoration: none;
}
.brand__mark { height: 40px; width: auto; }
.brand__word { display: none; height: 34px; width: auto; }
@media (min-width: 768px) {
  .brand__mark { height: 44px; }
  .brand__word { display: block; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .brand__word { display: none; }
}
@media (min-width: 1280px) {
  .brand__mark { height: 50px; }
  .brand__word { height: 38px; }
}

.site-nav { display: none; }
.site-nav a {
  position: relative;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-block: 8px;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="true"]::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-inline-start: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.lang-switch a {
  padding: 8px 6px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--gold); }

.site-header__login {
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 4px;
}
.site-header__login:hover { text-decoration: underline; text-decoration-color: var(--gold); }

.site-header .lang-switch, .site-header__login { display: none; }
@media (max-width: 767px) {
  .site-header__cta { min-height: 38px; padding: 0 14px; font-size: .875rem; }
}

.burger {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-inline-end: -10px;
  border: 0;
  background: none;
  color: var(--ink);
}
.burger__lines { position: relative; width: 24px; height: 12px; }
.burger__lines::before, .burger__lines::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger__lines::before { top: 0; }
.burger__lines::after { top: 10.5px; }
.burger[aria-expanded="true"] .burger__lines::before { top: 5.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { top: 5.25px; transform: rotate(-45deg); }

@media (min-width: 768px) {
  .site-header .lang-switch { display: flex; }
}
@media (min-width: 1024px) {
  .site-header__inner { gap: 24px; }
  .site-nav { display: flex; gap: clamp(18px, 2vw, 34px); margin-inline: auto; }
  .site-header__actions { margin-inline-start: 0; gap: 16px; }
  .site-header__login { display: inline-block; }
  .burger { display: none; }
}

/* Menu panel on phones and tablets */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  overflow-y: auto;
  background: var(--cream);
  padding: 12px var(--gutter) 40px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; transform: none; }
.menu-open { overflow: hidden; }

.mobile-menu__nav a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1.15;
  text-decoration: none;
}
.mobile-menu__actions { display: grid; gap: 12px; margin-top: 32px; }
.mobile-menu__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}
.mobile-menu__meta .lang-switch { font-size: .9375rem; }
.mobile-menu__contacts { display: flex; gap: 8px; }
.mobile-menu__contacts a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink);
}
.mobile-menu__contacts .icon { width: 20px; height: 20px; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* -------------------------------------------------- block 1: first screen */
.hero { display: grid; }
.hero__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); order: -1; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__text { padding: 40px var(--gutter) 56px; }

.hero__title { margin-top: 22px; }
.hero__subtitle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 22px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__subtitle:lang(he) { letter-spacing: .03em; font-size: 1.0625rem; }
.hero__subtitle .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.hero__actions { display: grid; gap: 12px; margin-top: 36px; }

.hero__facts {
  display: grid;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
  font-size: .9375rem;
  color: var(--ink-soft);
}
.hero__facts li { display: flex; align-items: baseline; gap: 12px; }
.hero__facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  transform: translateY(-2px);
}
.hero__facts span { display: block; }
.hero__facts span::first-letter { text-transform: uppercase; }

@media (max-width: 559px) {
  .hero .eyebrow { letter-spacing: .12em; font-size: .75rem; }
  .hero .eyebrow::before { display: none; }
  .hero__text { padding-bottom: 40px; }
}

@media (min-width: 560px) {
  .hero__actions { display: flex; flex-wrap: wrap; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__title { font-size: clamp(2.4rem, 1rem + 3.4vw, 3rem); }
  .hero .eyebrow { letter-spacing: .12em; font-size: .75rem; }
  .hero .eyebrow::before { width: 20px; }
}
@media (min-width: 1024px) {
  .hero__actions .btn { flex: 0 0 auto; }
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns:
      [full-start] minmax(var(--gutter), 1fr)
      [content-start] minmax(0, calc(var(--container) * .54))
      [half] minmax(0, calc(var(--container) * .46))
      [content-end] minmax(var(--gutter), 1fr) [full-end];
  }
  .hero__text {
    grid-column: content-start / half;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 0;
    padding-inline-end: clamp(28px, 4vw, 72px);
  }
  .hero__media { grid-column: half / full-end; grid-row: 1; aspect-ratio: auto; min-height: 560px; }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns:
      [full-start] minmax(var(--gutter), 1fr)
      [content-start] minmax(0, calc(var(--container) / 2))
      [half] minmax(0, calc(var(--container) / 2))
      [content-end] minmax(var(--gutter), 1fr) [full-end];
    min-height: clamp(620px, calc(100vh - var(--header-h)), 980px);
    min-height: clamp(620px, calc(100svh - var(--header-h)), 980px);
  }
  .hero__text { padding-block: 64px 48px; }
  .hero__text-inner { margin-block: auto; }
  .hero__facts { margin-top: 56px; }
}

/* ---------------------------------------------- block 2: learning format */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body .h2 { margin-top: 18px; }
.split__body .lead { margin-top: 26px; max-width: 34em; }

@media (min-width: 768px) {
  .split { grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 112px); }
  .split__media { aspect-ratio: 2 / 3; }
}

.features {
  display: grid;
  gap: 22px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon { width: 30px; height: 30px; color: var(--gold-deep); stroke-width: 1.25; }
.feature__title { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.feature__text { margin-top: 4px; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
@media (min-width: 1024px) {
  .features { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .feature { flex-direction: column; gap: 14px; }
}

/* ------------------------------------------------------- shared pieces */
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}
.section-head + * { margin-top: clamp(40px, 5vw, 64px); }

.label {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.label:lang(he) { letter-spacing: .02em; font-size: .9375rem; }

.dots { display: grid; gap: 10px; }
.dots li { position: relative; padding-inline-start: 22px; line-height: 1.5; }
.dots li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
@media (min-width: 768px) {
  .dots--columns { grid-template-columns: 1fr 1fr; column-gap: 32px; }
}

.tag {
  display: inline-block;
  margin-inline-start: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-text);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  vertical-align: .25em;
}

.prose p + p { margin-top: 1em; }

.btn--gold { background: var(--gold); color: var(--ink-deep); }
.btn--gold:hover { background: var(--gold-deep); }

.round-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.round-button:hover { border-color: var(--ink); }
.round-button:disabled { opacity: .35; cursor: default; border-color: var(--line-strong); }
.round-button .icon { width: 20px; height: 20px; }

/* Accordion panels: open by default without JavaScript, collapse smoothly with it */
[data-panel] { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
[data-panel] > * { overflow: hidden; min-height: 0; }
.js [data-item]:not(.is-open) > [data-panel] { grid-template-rows: 0fr; }

/* --------------------------------------------- block 3: what's included */
.cards { display: grid; gap: 16px; }
.card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.card__icon { display: inline-flex; color: var(--gold-deep); }
.card__icon .icon { width: 32px; height: 32px; stroke-width: 1.25; }
.card__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.15;
}
:root[lang="he"] .card__title { font-weight: 400; }
.card__text { margin-top: 10px; color: var(--muted); }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { padding: 36px 32px; }
}

/* ------------------------------------------------------ block 4: program */
.strips { display: grid; gap: 12px; }
.strip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color .3s var(--ease);
}
.strip.is-open { border-color: var(--line-strong); }
.strip__button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 20px;
  border: 0;
  background: none;
  text-align: start;
}
.strip__number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gold-deep);
  min-width: 2ch;
}
.strip__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.15rem + .6vw, 1.75rem);
  font-weight: 500;
  line-height: 1.2;
}
:root[lang="he"] .strip__title { font-weight: 400; }
.strip__chevron {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .35s var(--ease), border-color .3s var(--ease);
}
.strip__chevron .icon { width: 18px; height: 18px; }
.strip__button:hover .strip__chevron { border-color: var(--ink); }
.strip.is-open .strip__chevron { transform: rotate(180deg); }
.strip__content {
  display: grid;
  gap: 24px;
  padding: 0 20px 24px;
}
.strip__content .label { margin-bottom: 12px; }
.strip__content .dots + .label { margin-top: 24px; }
.strip__intro { margin-bottom: 20px; font-style: italic; color: var(--ink-soft); }
.strip__materials { color: var(--ink-soft); }
.strip__outcome {
  align-self: start;
  padding: 22px 24px;
  background: #FBF6EE;
  border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
}
.strip__outcome p:last-child { color: var(--ink-soft); }
@media (min-width: 768px) {
  .strip__button { padding: 26px 32px; gap: 28px; }
  .strip__number { font-size: 2.25rem; }
  .strip__content { grid-template-columns: 1.35fr 1fr; gap: 40px; padding: 0 32px 32px calc(32px + 2ch + 28px); }
}

/* ------------------------------------------------ block 5: how it works */
.wide-photo {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 5vw, 64px);
  aspect-ratio: 4 / 3;
  background: var(--sand);
}
.wide-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .wide-photo { aspect-ratio: 16 / 7; } }
@media (min-width: 1440px) { .wide-photo { aspect-ratio: 21 / 8; } }

.steps {
  position: relative;
  display: grid;
  gap: 28px;
  margin-top: clamp(40px, 5vw, 64px);
}
.step { position: relative; padding-inline-start: 64px; }
.step__number {
  position: absolute;
  inset-inline-start: 0;
  top: -6px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 22px;
  top: 44px;
  bottom: -28px;
  width: 1px;
  background: var(--line-strong);
}
.step__title { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.step__text { margin-top: 6px; color: var(--muted); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { padding-inline-start: 0; padding-top: 72px; }
  .step__number { top: 0; }
  .step:not(:last-child)::after {
    inset-inline-start: 56px;
    inset-inline-end: -20px;
    top: 22px;
    bottom: auto;
    width: auto;
    height: 1px;
  }
}

/* --------------------------------------------------- block 6: outcome */
.split--top { align-items: start; }
@media (min-width: 1024px) {
  .split__media--sticky { position: sticky; top: calc(var(--header-h) + 32px); }
}
.outcomes { display: grid; gap: 14px; margin-top: 36px; }
.outcome {
  padding: 24px 24px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.outcome__number { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--gold-deep); }
.outcome__title { margin-top: 14px; font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.outcome__text { margin-top: 8px; color: var(--muted); }
@media (min-width: 1200px) { .outcomes { grid-template-columns: 1fr 1fr; } }

/* ------------------------------------------------- block 7: community */
.community__list-title { margin-top: 32px; margin-bottom: 14px; }
.note {
  margin-top: 32px;
  padding-inline-start: 22px;
  border-inline-start: 2px solid var(--gold);
}
.note .label { margin-bottom: 8px; }
.note__text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.2rem + .5vw, 1.6rem);
  font-style: italic;
  line-height: 1.35;
}
:root[lang="he"] .note__text { font-style: normal; }

/* ---------------------------------------------------- block 8: author */
@media (min-width: 768px) {
  .split--author { grid-template-columns: 4fr 6fr; }
}
.author__text { margin-top: 24px; color: var(--ink-soft); }
.author__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .25s var(--ease);
}
.link-pill:hover { border-color: var(--ink); }
.link-pill .icon { width: 20px; height: 20px; }
.link-pill__muted { font-weight: 400; color: var(--muted); }

/* ------------------------------------------------------ block 9: works */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: var(--sand);
  cursor: zoom-in;
}
.gallery__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(43, 33, 25, 0);
  transition: background-color .3s var(--ease);
}
.gallery__item:hover::after { background: rgba(43, 33, 25, .12); }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr;
  place-items: center;
  background: rgba(31, 24, 18, .96);
  color: var(--cream);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox-open { overflow: hidden; }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; margin: 0; padding: 64px 16px; }
.lightbox__image {
  max-width: min(92vw, 1100px);
  max-height: calc(100vh - 150px);
  max-height: calc(100svh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}
.lightbox__counter { font-size: .875rem; letter-spacing: .12em; color: rgba(253, 248, 240, .7); }
.lightbox__button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(253, 248, 240, .25);
  border-radius: 50%;
  background: rgba(31, 24, 18, .4);
  color: var(--cream);
  transition: border-color .25s var(--ease);
}
.lightbox__button:hover { border-color: var(--cream); }
.lightbox__button:focus-visible { outline-color: var(--cream); }
.lightbox__close { top: 16px; inset-inline-end: 16px; }
.lightbox__prev, .lightbox__next { top: 50%; transform: translateY(-50%); }
.lightbox__prev { inset-inline-start: 16px; }
.lightbox__next { inset-inline-end: 16px; }
@media (max-width: 767px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { inset-inline-start: calc(50% - 64px); }
  .lightbox__next { inset-inline-end: calc(50% - 64px); }
  .lightbox__figure { padding-bottom: 96px; }
}

/* ----------------------------------------------------- block 10: plans */
.plans {
  display: grid;
  gap: 24px;
  max-width: 1000px;
  margin-inline: auto;
  align-items: start;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 24px 28px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
}
.plan--featured {
  border: 1.5px solid var(--gold);
  box-shadow: 0 24px 60px rgba(58, 46, 37, .10);
}
.plan__badge {
  position: absolute;
  top: 0;
  inset-inline-start: 24px;
  transform: translateY(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink-deep);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.plan__badge:lang(he) { letter-spacing: .02em; font-size: .875rem; }
.plan__number { font-family: var(--font-display); font-size: 1.25rem; color: var(--muted); }
.plan__name {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  font-weight: 500;
  line-height: 1.1;
}
:root[lang="he"] .plan__name { font-weight: 400; }
.plan__price {
  margin-top: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 2.2rem + 2vw, 3.75rem);
  font-weight: 500;
  line-height: 1;
}
.price { display: inline-flex; align-items: baseline; gap: .18em; white-space: nowrap; unicode-bidi: isolate; }
.price__currency { font-family: var(--font-text); font-size: .5em; font-weight: 400; color: var(--ink-soft); }
.plan__features { display: grid; gap: 4px; margin-top: 20px; }
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 0;
  line-height: 1.45;
}
.plan__features .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--gold-deep); stroke-width: 2; }
.plan__features .is-highlight {
  margin: 6px -12px;
  padding: 12px;
  background: #FBF4E7;
  border-radius: var(--radius);
  font-weight: 600;
}
.plan__installments { margin-top: 18px; font-style: italic; color: var(--muted); }
.plan__buy { margin-top: 24px; }
@media (min-width: 860px) {
  .plans { grid-template-columns: 1fr 1fr; gap: 28px; }
  .plan { padding: 44px 36px 36px; }
}

/* --------------------------------------------------- block 11: reviews */
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.reviews__head .section-head + * { margin-top: 0; }
.carousel__arrows { display: none; gap: 10px; }
@media (min-width: 768px) { .carousel__arrows { display: flex; } }
.carousel { margin-top: clamp(32px, 4vw, 52px); }
.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* without it Chromium counts the hidden slides' photos in the page width */
  contain: paint;
}
.carousel__track::-webkit-scrollbar { display: none; }
.review {
  display: grid;
  flex: 0 0 100%;
  /* slides share the height of the longest review: keep rows at their content size */
  align-content: start;
  gap: 24px;
  scroll-snap-align: start;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.review__works { overflow: hidden; border-radius: 4px; background: var(--sand); }
.review__works img { width: 100%; height: auto; }
.review__body { padding: 4px 8px 12px; }
.review__nick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
}
.review__nick .icon { width: 18px; height: 18px; color: var(--gold-deep); }
.review__nick:hover span { text-decoration: underline; text-decoration-color: var(--gold); }
.review__text { margin-top: 18px; color: var(--ink-soft); line-height: 1.7; }
.review__text p + p { margin-top: .9em; }
.review__text--short {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1.3;
  color: var(--ink);
}
@media (min-width: 768px) {
  .review { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; padding: 24px; align-items: center; align-content: center; }
  .review__body { padding: 8px 16px 8px 0; }
  [dir="rtl"] .review__body { padding: 8px 0 8px 16px; }
}
.carousel__dots { display: flex; justify-content: center; gap: 4px; margin-top: 20px; }
.carousel__dots button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
}
.carousel__dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.carousel__dots button[aria-current="true"]::before { background: var(--gold-deep); transform: scale(1.25); }

/* -------------------------------------------------------- block 12: FAQ */
.faq { display: grid; gap: 40px; }
.faq__contact { margin-top: 20px; margin-bottom: 20px; color: var(--muted); max-width: 26em; }
.faq__head .btn .icon { width: 18px; height: 18px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.qa { border-bottom: 1px solid var(--line-strong); }
.qa__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: none;
  text-align: start;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
}
.qa__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform .35s var(--ease), border-color .25s var(--ease);
}
.qa__icon .icon { width: 16px; height: 16px; }
.qa__button:hover .qa__icon { border-color: var(--ink); }
.qa.is-open .qa__icon { transform: rotate(45deg); }
.qa__answer { padding-bottom: 24px; padding-inline-end: 56px; color: var(--ink-soft); }
.qa__answer p + p { margin-top: .8em; }
@media (min-width: 1024px) {
  .faq { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
  .qa__button { font-size: 1.125rem; padding: 26px 0; }
}

/* -------------------------------------------------- block 13: final call */
.section--final { padding-top: 0; }
.final {
  display: grid;
  overflow: hidden;
  background: var(--sand);
  border-radius: 12px;
}
.final__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; }
.final__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 40px 24px 44px;
}
.final__mark { width: 44px; height: auto; }
.final__text {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.4rem + 1.3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.18;
  text-wrap: balance;
}
:root[lang="he"] .final__text { font-weight: 400; }
@media (min-width: 768px) {
  .final { grid-template-columns: 5fr 7fr; }
  .final__media { aspect-ratio: auto; min-height: 520px; }
  .final__body { padding: 56px clamp(32px, 5vw, 80px); }
}

/* ---------------------------------------------------------------- footer */
.site-footer {
  background: var(--sand);
  border-top: 1px solid var(--line);
  padding-block: 64px 28px;
  font-size: .9375rem;
}
.site-footer__grid { display: grid; gap: 40px; }
.site-footer__brand img { width: 176px; height: auto; }
.site-footer__about { margin-top: 20px; max-width: 30em; color: var(--muted); line-height: 1.55; }
.site-footer__title {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.site-footer__title:lang(he) { letter-spacing: .02em; font-size: .875rem; }
.site-footer__links { display: grid; gap: 10px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer__contact { display: flex; align-items: center; gap: 10px; }
.site-footer__contact .icon { width: 18px; height: 18px; color: var(--muted); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: .875rem;
}
.payments { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.payments__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration: none;
}
.payments__label:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.payments__label .icon { width: 16px; height: 16px; }
/* Badges: static/img/payments, made by scripts/build_payment_icons.py */
.payments__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.payments__list img { width: 48px; height: 32px; }
@media (max-width: 420px) {
  .payments__list img { width: 42px; height: 28px; }
}

@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .site-footer { padding-block: 88px 32px; }
  .site-footer__grid { grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 48px; }
}

/* ------------------------------------------------------ WhatsApp button */
.wa-float {
  position: fixed;
  inset-inline-end: 20px;
  bottom: calc(20px + var(--wa-lift, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 10px 28px rgba(58, 46, 37, .25);
  transition: transform .3s var(--ease), bottom .3s var(--ease), background-color .3s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { background: var(--ink-deep); transform: translateY(-2px); }
.wa-float__label {
  position: absolute;
  inset-inline-end: calc(100% + 12px);
  white-space: nowrap;
  background: var(--white);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
[dir="rtl"] .wa-float__label { transform: translateX(-6px); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }
@media (min-width: 768px) {
  .wa-float { inset-inline-end: 28px; bottom: calc(28px + var(--wa-lift, 0px)); }
}

/* --------------------------------------------------------- cookie notice */
.cookie {
  position: fixed;
  z-index: 45;
  inset-inline: 10px;
  bottom: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(58, 46, 37, .14);
  padding: 16px 18px;
  font-size: .875rem;
  line-height: 1.45;
}
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cookie .btn { min-height: 40px; padding: 0 16px; font-size: .875rem; }
@media (min-width: 768px) {
  .cookie { inset-inline: 24px auto; bottom: 24px; max-width: 380px; padding: 18px 20px; }
}

/* -------------------------------------------------------------- reveals */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .mobile-menu, .burger__lines::before, .burger__lines::after { transition: none; }
}

/* ----------------------------------------------------------- error page */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page__code { font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--gold-deep); }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.error-page .lead { margin-top: 16px; }
