/* ===================================================================
   BORUCH — Premium video portfolio
   =================================================================== */

:root {
  --bg:        #0B0B0B;
  --card:      #151515;
  --text:      #FFFFFF;
  --text-2:    #BFBFBF;
  --gold:      #D4AF37;
  --gold-hover:#F3D46B;
  --line:      #262626;
  --wa:        #25D366;

  --gold-grad: linear-gradient(120deg, #D4AF37 0%, #F3D46B 50%, #D4AF37 100%);
  --radius:    18px;
  --radius-sm: 12px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --pad:       clamp(20px, 5vw, 64px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

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

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: 'Space Grotesk', 'Manrope', sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  position: relative;
  padding-left: 34px;
}
.eyebrow::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 24px; height: 1px; background: var(--gold);
}

.section__title { font-size: clamp(2rem, 5vw, 3.6rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 1px solid var(--line);
  background: #0e0e0e;
  color: var(--text);
  position: relative;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }

.btn--gold {
  border-color: var(--gold);
  background: transparent;
  color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-grad);
  color: #0B0B0B;
  border-color: transparent;
  box-shadow: 0 14px 40px -12px rgba(212,175,55,.6);
}

.btn--ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--wa { border-color: var(--wa); color: var(--wa); background: transparent; }
.btn--wa:hover { background: var(--wa); color: #05230f; border-color: transparent; box-shadow: 0 14px 40px -12px rgba(37,211,102,.5); }

.btn--sm { padding: 10px 20px; font-size: 0.9rem; }
.btn--block { width: 100%; padding: 17px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--gold-grad); z-index: 1000; transition: width .1s linear;
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
  border-bottom: 1px solid transparent;
  padding: 8px 0;
}
.header.is-scrolled {
  background: rgba(11,11,11,.75);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: 12px; font-family: 'Space Grotesk', sans-serif; }
.logo__mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 10px; color: var(--gold);
  font-weight: 700; font-size: 1.1rem;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.logo:hover .logo__mark { background: var(--gold); color: #0B0B0B; }
.logo__text { font-weight: 700; letter-spacing: 0.14em; font-size: 1rem; }
.logo__dot { color: var(--gold); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__link { font-size: 0.95rem; color: var(--text-2); position: relative; transition: color .3s var(--ease); }
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.nav__cta { color: var(--gold) !important; }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; gap: 6px; align-items: center; justify-content: center; }
.burger span { width: 26px; height: 2px; background: var(--text); transition: transform .35s var(--ease), opacity .35s var(--ease); }
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }
.section__head { max-width: 760px; margin: 0 auto clamp(48px, 7vw, 80px); text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 60px; overflow: hidden; }
.hero__glow {
  position: absolute; top: -10%; right: -5%; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(212,175,55,.14) 0%, transparent 62%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__title { font-size: clamp(2.5rem, 6.5vw, 5rem); margin-bottom: 28px; }
.hero__subtitle { font-size: clamp(1rem, 1.6vw, 1.2rem); color: var(--text-2); max-width: 540px; margin-bottom: 40px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats { display: flex; gap: clamp(24px, 4vw, 52px); flex-wrap: wrap; }
.hero__stat strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--text); letter-spacing: -0.02em; }
.hero__stat span { font-size: 0.85rem; color: var(--text-2); }

.hero__media { position: relative; }
.hero__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #1a1a1a, #0d0d0d);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.8);
}
.hero__video { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  position: relative; z-index: 1;
  transition: transform 1.2s var(--ease);
}
.hero__frame:hover .hero__img { transform: scale(1.04); }
.hero__frame-fallback {
  position: absolute; inset: 0; display: grid; place-items: center; z-index: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(212,175,55,.12), transparent 60%),
    repeating-linear-gradient(45deg, #141414 0 12px, #101010 12px 24px);
}
.play-pulse { position: relative; width: 84px; height: 84px; display: grid; place-items: center; }
.play-pulse::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--gold);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
.play-icon { width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--gold); margin-left: 5px; }

.hero__badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 100px; font-size: 0.8rem;
  background: rgba(11,11,11,.7); border: 1px solid var(--line); backdrop-filter: blur(10px);
}
.hero__badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(212,175,55,.6); animation: blink 2s infinite; }
@keyframes blink { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(212,175,55,.5); } 50% { opacity: .5; box-shadow: 0 0 0 6px rgba(212,175,55,0); } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: start center; padding-top: 8px; z-index: 2; }
.scroll-hint span { width: 4px; height: 8px; border-radius: 4px; background: var(--gold); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee-wrap { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: #0d0d0d; }
.marquee { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track { display: flex; align-items: center; gap: 26px; padding-inline: 13px; white-space: nowrap; }
.marquee__track span { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: var(--text-2); font-weight: 500; }
.marquee__track .sep { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-wrap:hover .marquee { animation-play-state: paused; }

/* ---------- About ---------- */
.about__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__photo { position: relative; }
.about__photo-frame {
  position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: linear-gradient(160deg, #191919, #0d0d0d);
}
.about__photo-frame img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.about__photo-placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: #444; font-size: 0.9rem; letter-spacing: 0.2em; text-transform: uppercase; z-index: 0; }
.about__photo-badge {
  position: absolute; right: -14px; bottom: 30px; z-index: 2;
  background: var(--gold-grad); color: #0B0B0B; padding: 14px 20px; border-radius: 14px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.4rem; line-height: 1;
  box-shadow: 0 20px 50px -18px rgba(212,175,55,.6);
}
.about__photo-badge span { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; opacity: .8; }

.about__text p { color: var(--text-2); margin-bottom: 16px; max-width: 620px; }
.about__text strong { color: var(--text); font-weight: 700; }
.about__text { margin: 26px 0 34px; }

.about__perks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 40px; }
.perk { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--text); font-size: 0.98rem; }
.perk__icon { color: var(--gold); }

/* ---------- Cards grid ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,0%), rgba(212,175,55,.10), transparent 55%);
  transition: opacity .4s var(--ease); pointer-events: none;
}
.card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,.4); }
.card:hover::before { opacity: 1; }
.card__num { font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; color: var(--gold); letter-spacing: 0.1em; }
.card__title { font-size: 1.3rem; margin: 16px 0 12px; }
.card__text { color: var(--text-2); font-size: 0.96rem; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.work-card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,.4); box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); }
.work-card__media {
  position: relative; aspect-ratio: 9 / 16; display: grid; place-items: center; overflow: hidden;
  background: #0d0d0d;
}
.work-card__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.work-card__media::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(11,11,11,.55) 0%, rgba(11,11,11,.05) 40%, rgba(11,11,11,.15) 100%);
}
.work-card:hover .work-card__poster { transform: scale(1.06); filter: brightness(.72); }
.work-card__play {
  position: relative; z-index: 2;
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(11,11,11,.5); border: 1px solid var(--gold); backdrop-filter: blur(4px);
  transition: transform .4s var(--ease), background .4s var(--ease);
}
.work-card:hover .work-card__play { transform: scale(1.1); background: var(--gold); }
.work-card:hover .work-card__play .play-icon { border-left-color: #0B0B0B; }
.work-card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 14px; border-radius: 100px;
  font-size: 0.76rem; background: rgba(11,11,11,.7); border: 1px solid var(--line); color: var(--gold); backdrop-filter: blur(8px);
}
.work-card__body { padding: 26px 26px 30px; }
.work-card__title { font-size: 1.3rem; margin-bottom: 10px; }
.work-card__desc { color: var(--text-2); font-size: 0.94rem; margin-bottom: 14px; }
.work-card__goal { font-size: 0.9rem; color: var(--text); border-top: 1px solid var(--line); padding-top: 14px; }
.work-card__goal span { color: var(--gold); font-weight: 600; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 34px; }
.timeline__line { position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline__fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: var(--gold-grad); border-radius: 2px; transition: height .2s linear; }
.timeline__step { position: relative; padding: 18px 0 18px 34px; }
.timeline__dot {
  position: absolute; left: -34px; top: 24px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--line); transition: border-color .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.timeline__step.is-active .timeline__dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 5px rgba(212,175,55,.15); }
.timeline__num { font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; color: var(--gold); letter-spacing: 0.1em; }
.timeline__step h3 { font-size: clamp(1.15rem, 2.5vw, 1.6rem); margin-top: 4px; color: var(--text-2); transition: color .4s var(--ease); }
.timeline__step.is-active h3 { color: var(--text); }
.timeline__step--final h3 { color: var(--gold); }

/* ---------- Why video / infographic ---------- */
.infographic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 32px; text-align: center; transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.info-item:hover { transform: translateY(-8px); border-color: rgba(212,175,55,.4); }
.info-item__icon {
  width: 68px; height: 68px; margin: 0 auto 20px; display: grid; place-items: center;
  font-size: 1.7rem; border-radius: 18px; border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 30%, rgba(212,175,55,.12), transparent 70%);
}
.info-item h3 { font-size: 1.2rem; margin-bottom: 10px; }
.info-item p { color: var(--text-2); font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.faq__note { color: var(--text-2); margin: 8px 0 26px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .35s var(--ease); }
.faq__item[open] { border-color: rgba(212,175,55,.4); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color .3s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+'; font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; color: var(--gold);
  transition: transform .35s var(--ease); line-height: 1; flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--gold); }
.faq__answer { padding: 0 26px; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease); }
.faq__item[open] .faq__answer { max-height: 320px; padding-bottom: 24px; }
.faq__answer p { color: var(--text-2); }

/* ---------- CTA ---------- */
.cta { overflow: hidden; }
.cta__glow { position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%); width: 90vw; max-width: 1000px; height: 500px; background: radial-gradient(ellipse, rgba(212,175,55,.12), transparent 65%); filter: blur(20px); pointer-events: none; }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.cta__title { font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 22px; }
.cta__text { color: var(--text-2); font-size: 1.08rem; max-width: 520px; margin-bottom: 36px; }
.cta__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.cta__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; background: #0e0e0e; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 18px 8px; color: var(--text); font-family: inherit; font-size: 1rem; resize: vertical;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea { min-height: 90px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #111; }
.field label {
  position: absolute; left: 18px; top: 16px; color: var(--text-2); font-size: 1rem;
  pointer-events: none; transition: transform .25s var(--ease), font-size .25s var(--ease), color .25s var(--ease);
  transform-origin: left top;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-9px); font-size: 0.72rem; color: var(--gold);
}
.cta__form-status { margin-top: 14px; font-size: 0.9rem; min-height: 1.2em; }
.cta__form-status.is-ok { color: var(--wa); }
.cta__form-status.is-err { color: #ff6b6b; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); background: #0a0a0a; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer__brand { max-width: 460px; }
.footer__tagline { color: var(--text-2); margin-top: 18px; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer__links a { color: var(--text-2); font-weight: 500; position: relative; transition: color .3s var(--ease); }
.footer__links a:hover { color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 0.88rem; }
.footer__top { color: var(--text-2); transition: color .3s var(--ease); }
.footer__top:hover { color: var(--gold); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(6px); animation: fade .3s var(--ease); }
.modal__content { position: relative; z-index: 1; width: min(90vw, 420px); animation: zoomin .4s var(--ease); }
.modal__player { position: relative; width: 100%; aspect-ratio: 9 / 16; max-height: 86vh; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.modal__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); color: var(--text); font-size: 1rem; transition: background .3s var(--ease), color .3s var(--ease); }
.modal__close:hover { background: var(--gold); color: #0B0B0B; border-color: transparent; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoomin { from { opacity: 0; transform: scale(.94); } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(80vw, 340px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 28px; padding: var(--pad); background: #0d0d0d; border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .45s var(--ease); }
  .nav.is-open { transform: none; }
  .nav__link { font-size: 1.3rem; }
  .burger { display: flex; z-index: 950; }

  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__media { order: -1; max-width: 380px; }
  .hero { min-height: auto; }

  .about__inner { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }

  .cards-grid, .work-grid, .infographic { grid-template-columns: repeat(2, 1fr); }

  .faq__inner { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .cards-grid, .work-grid, .infographic { grid-template-columns: 1fr; }
  .about__perks { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta__actions .btn { flex: 1 1 auto; }
  .hero__stat strong { font-size: 1.6rem; }
  .about__photo-badge { right: 12px; }
  .footer__inner { flex-direction: column; }
}

/* ===================================================================
   i18n — язык, RTL и переключатель языков
   =================================================================== */

/* ---------- Header: правый кластер + переключатель языка ---------- */
.header__right { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 30px); }
.lang-switch { display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; }
.lang-switch__opt { color: var(--text-2); transition: color .3s var(--ease); }
.lang-switch__opt:hover { color: var(--text); }
.lang-switch__opt.is-active { color: var(--gold); }
.lang-switch__sep { color: var(--line); }

/* ---------- Ивритская типографика (Heebo) ---------- */
[lang="he"] { font-family: 'Heebo', 'Manrope', system-ui, sans-serif; }
[lang="he"] h1, [lang="he"] h2, [lang="he"] h3,
[lang="he"] .marquee__track span { font-family: 'Heebo', 'Space Grotesk', sans-serif; }

/* ---------- RTL: зеркалим декоративные/асимметричные элементы ---------- */
[dir="rtl"] .eyebrow { padding-left: 0; padding-right: 34px; }
[dir="rtl"] .eyebrow::before { left: auto; right: 0; }
[dir="rtl"] .nav__link::after { left: auto; right: 0; }
[dir="rtl"] .hero__badge { left: auto; right: 16px; }
[dir="rtl"] .about__photo-badge { right: auto; left: -14px; }
[dir="rtl"] .work-card__tag { left: auto; right: 14px; }
[dir="rtl"] .section__head--left { text-align: right; }

[dir="rtl"] .timeline { padding-left: 0; padding-right: 34px; }
[dir="rtl"] .timeline__line { left: auto; right: 5px; }
[dir="rtl"] .timeline__step { padding: 18px 34px 18px 0; }
[dir="rtl"] .timeline__dot { left: auto; right: -34px; }

[dir="rtl"] .field label { left: auto; right: 18px; transform-origin: right top; }

/* Бегущую строку оставляем LTR-раскладкой — анимация стабильна, слова читаются */
[dir="rtl"] .marquee { direction: ltr; }

@media (max-width: 620px) {
  [dir="rtl"] .about__photo-badge { right: auto; left: 12px; }
}
