/* ============================================================
   Barak Ron Law Offices — shared chrome for sub-pages.

   The header, contact section, footer, WhatsApp float and
   scroll-reveal system are copied from the homepage's inline
   <style> so every sub-page matches it exactly. The homepage
   keeps its own inline copy on purpose; do not "de-duplicate"
   the two without re-testing index.html.
   ============================================================ */

:root{
  --ink-deep:#041934;
  --ink-night:#02142B;
  --paper-cool:#FAFAFA;
  --slate:#5C6B7A;
  --focus:#496C94;
  --sans:'Instrument Sans', 'Public Sans', -apple-system, sans-serif;
  --body:'Public Sans', -apple-system, sans-serif;
  --nav-font:'Inter', 'Public Sans', sans-serif;
  /* Header geometry — sub-page heroes are padded off these */
  --head-top:40px;
  --head-h:44px;
  --space-ext:40px;
  --space-ext-sm:20px;
  --space-in:20px;
  --space-in-sm:12px;
  /* Shared horizontal inset for titles, copy, forms, chrome */
  --page-gutter:40px;
  /* Shared display title size — midway between former hero (~38) and form (48) */
  --title-display:clamp(28px,3.05vw,42px);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;background:#fff}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
body{
  font-family:var(--body);
  background:transparent;
  color:var(--ink-deep);
  line-height:1.6;
  font-size:16px;
}
a{color:inherit}
a:focus-visible,button:focus-visible,
input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid var(--focus);outline-offset:3px;
}
img{max-width:100%}

/* Light sections share the page background; the dark blocks lay over it */
.sub-hero,.prac-index,.spec,.founder,.steps-band,.contact,footer{
  position:relative;z-index:1;
}
section[id],main[id]{scroll-margin-top:110px}

/* Skip link — visible only once focused, and it clears the floating bar */
.skip-link{
  position:absolute;left:16px;top:-100px;z-index:80;
  display:inline-flex;align-items:center;
  padding:12px 20px;
  background:var(--ink-deep);color:#fff;
  font-family:var(--nav-font);font-size:14px;font-weight:700;
  text-decoration:none;border-radius:8px;
  transition:top .2s ease;
}
.skip-link:focus{top:16px}

/* ============ SCROLL REVEAL ============
   Scoped to .reveal-on, which is set by script, so the page still reads
   normally if the script never runs. */
.reveal-on [data-reveal]{
  opacity:0;
  transform:translateY(16px);
  filter:blur(4px);
  transition:opacity .52s cubic-bezier(.4,0,.2,1) var(--rd,0ms),
             filter .52s cubic-bezier(.4,0,.2,1) var(--rd,0ms),
             transform .7s cubic-bezier(.4,0,.2,1) var(--rd,0ms);
}
.reveal-on [data-reveal].is-in{
  opacity:1;
  transform:none;
  filter:blur(0);
}
/* Once settled, drop the filter entirely — a lingering blur(0) keeps the
   element on its own composited layer, which Safari paints over fixed UI */
.reveal-on [data-reveal].reveal-done{
  filter:none;
  transition:none;
}
@media (prefers-reduced-motion:reduce){
  .reveal-on [data-reveal]{opacity:1;transform:none;filter:none}
}

/* ============ HEADER — floating bar that contracts on scroll ============ */
.topbar{
  position:fixed;top:var(--head-top);left:0;right:0;z-index:60;
  pointer-events:none;
  transition:top .3s ease;
}
body.nav-stuck .topbar{top:16px}
body.nav-open .topbar{top:0}
.topbar-in{
  pointer-events:auto;
  position:relative;
  max-width:1440px;margin:0 auto;
  height:var(--head-h);
  display:flex;align-items:center;gap:16px;
  padding:0 var(--page-gutter);
  background:transparent;
  border:1px solid transparent;
  border-radius:10px;
  transition:max-width .3s ease,height .3s ease,padding .3s ease,
             background-color .3s ease,border-color .3s ease,box-shadow .3s ease;
}
body.nav-stuck .topbar-in{
  max-width:1120px;
  background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:blur(16px) saturate(150%);
  backdrop-filter:blur(16px) saturate(150%);
  border-color:rgba(4,25,52,.1);
  box-shadow:0 10px 34px rgba(4,25,52,.09);
  padding:0 8px;
}
@supports not ((backdrop-filter:blur(4px)) or (-webkit-backdrop-filter:blur(4px))){
  body.nav-stuck .topbar-in{background:rgba(255,255,255,.96)}
}
  body.nav-open .topbar-in{
    max-width:none;border-radius:0;border-color:transparent;
    background:rgba(255,255,255,.9);box-shadow:none;
    padding:0 var(--page-gutter);
  }

/* Wordmark: full "Barak Ron." at rest, "BR." once scrolled */
.brand{
  position:relative;flex:0 0 auto;
  display:block;text-decoration:none;
  height:16px;width:124px;
  transition:width .3s ease;
}
body.nav-stuck .brand{width:31px}
.brand > *{
  position:absolute;left:0;top:0;
  transition:opacity .25s ease;
}
.wm-full{
  /* Always Instrument Sans — HE body swaps --sans to Assistant, which rounds the period */
  font-family:'Instrument Sans', 'Public Sans', sans-serif;
  font-weight:700;
  /* line-height must match font-size so the square period can sit on the real baseline */
  font-size:22px;line-height:1;letter-spacing:-.02em;
  color:var(--ink-deep);white-space:nowrap;
  direction:ltr;
  unicode-bidi:isolate;
}
.wm-full span{color:rgba(4,25,52,.55)}
.wm-full .wm-dot{
  display:inline-block;
  width:.18em;height:.18em;
  margin-left:.08em;
  background:currentColor;
  border-radius:0;
  vertical-align:baseline;
}
.wm-short{height:16px;width:31px;display:block}
.wm-short img{width:100%;height:100%;display:block}
.wm-short{opacity:0}
body.nav-stuck .wm-full{opacity:0}
body.nav-stuck .wm-short{opacity:1}

/* The bar is transparent at rest, so the nav items carry their own plate.
   Once the whole bar becomes a plate on scroll, this one drops away. */
.nav-cluster{
  display:flex;align-items:center;gap:6px;
  margin-left:auto;
  padding:4px;border-radius:10px;
  background:#f2f2f2;
  transition:background-color .3s ease,padding .3s ease;
}
body.nav-stuck .nav-cluster{background:transparent;padding:0}
nav.main{
  display:flex;align-items:center;gap:2px;
  font-family:var(--nav-font);
}
nav.main a{
  display:inline-flex;align-items:center;
  height:36px;padding:0 14px;border-radius:7px;
  font-size:14px;font-weight:500;white-space:nowrap;
  color:var(--ink-deep);text-decoration:none;
  transition:background-color .15s,color .15s;
}
nav.main a:hover{background:rgba(4,25,52,.07)}
nav.main a.is-active{background:rgba(4,25,52,.07);font-weight:700}

.lang{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.lang::before{
  content:"";align-self:stretch;width:1px;margin-right:2px;
  background:rgba(4,25,52,.14);
}
.lang-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:36px;min-width:40px;padding:0 10px;border-radius:7px;
  border:1px solid rgba(4,25,52,.18);
  font-family:var(--nav-font);font-size:13px;font-weight:600;
  color:var(--ink-deep);text-decoration:none;background:transparent;
  transition:background-color .15s,color .15s,border-color .15s;
}
.lang-btn:hover{background:rgba(4,25,52,.07)}
.lang-btn.is-active{
  background:var(--ink-deep);border-color:var(--ink-deep);color:#fff;
}
/* Hebrew glyphs sit smaller than Latin caps at the same size */
.lang-btn[lang="he"]{font-size:16px;line-height:1}

.menu-btn{
  display:none;flex:0 0 auto;margin-left:auto;
  width:40px;height:40px;padding:0;cursor:pointer;
  align-items:center;justify-content:center;
  background:transparent;border:1px solid rgba(4,25,52,.18);border-radius:7px;
}
.menu-icon{position:relative;display:block;width:18px;height:2px}
.menu-icon::before,.menu-icon::after{
  content:"";position:absolute;left:0;
  display:block;width:18px;height:2px;border-radius:2px;
  background:var(--ink-deep);
  transition:transform .3s ease;
}
.menu-icon::before{top:-4px}
.menu-icon::after{top:4px}
.menu-btn[aria-expanded="true"] .menu-icon::before{transform:translateY(4px) rotate(45deg)}
.menu-btn[aria-expanded="true"] .menu-icon::after{transform:translateY(-4px) rotate(-45deg)}

.mobile-panel{
  position:fixed;top:56px;left:0;right:0;bottom:0;z-index:59;
  display:none;flex-direction:column;justify-content:space-between;gap:8px;
  padding:16px;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  border-top:1px solid rgba(4,25,52,.1);
  pointer-events:auto;
}
.mobile-panel.open{display:flex;animation:panel-in .22s ease-out}
@keyframes panel-in{
  from{opacity:0;transform:scale(.97)}
  to{opacity:1;transform:none}
}
.mobile-links{display:grid;gap:4px}
.mobile-links a{
  display:flex;align-items:center;
  height:48px;padding:0 14px;border-radius:8px;
  font-family:var(--nav-font);font-size:16px;font-weight:500;
  color:var(--ink-deep);text-decoration:none;
}
.mobile-links a:hover{background:rgba(4,25,52,.07)}
.mobile-lang{display:flex;gap:8px}
.mobile-lang .lang-btn{flex:1;height:48px;font-size:15px}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:16px 32px;font-size:14px;font-weight:700;
  letter-spacing:.07em;text-transform:uppercase;
  text-decoration:none;border:2px solid var(--ink-deep);
  transition:background .2s,color .2s,border-color .2s;
  cursor:pointer;font-family:var(--body);
}
.btn-ghost{background:transparent;color:var(--ink-deep);border-color:var(--ink-deep)}
.btn-ghost:hover{background:var(--ink-deep);color:var(--paper-cool)}
.btn-wa{border-color:var(--ink-deep);background:var(--ink-deep);color:#fafafa}
.btn-wa:hover{background:#0a2748;border-color:#0a2748}
.btn-wa img{width:16px;height:16px;display:block;flex-shrink:0}
.btn-dark{background:var(--ink-deep);border-color:var(--ink-deep);color:#fff}
.btn-dark:hover{background:#0a2748;border-color:#0a2748}

/* ============ SUB-PAGE HERO ============
   Mirrors the homepage hero: section = 100vh, photo is a direct child
   of the section so it pins to the section's top and bottom edges. */
.sub-hero{
  position:relative;
  background:transparent;
  height:100vh;
  height:100dvh;
  height:100svh;
  min-height:100vh;
  min-height:100dvh;
  min-height:100svh;
  overflow:hidden;
}
.sub-hero-visual{
  position:absolute;
  top:0;bottom:0;
  left:48.6%;
  right:calc((100% - 100vw) / 2);
  overflow:hidden;
  background:#e8e8e8;
  z-index:1;
}
.sub-hero-visual img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;object-position:var(--cover-pos,50% 30%);
  display:block;
}
.sub-hero-in{
  position:relative;z-index:2;height:100%;
  max-width:1440px;margin:0 auto;
  padding:40px var(--page-gutter);
  pointer-events:none;
}
.sub-hero-in a,.sub-hero-in button{pointer-events:auto}
.sub-hero-copy{
  display:flex;flex-direction:column;justify-content:space-between;
  height:100%;
  max-width:47%;
  /* Clear the floating header the way the homepage clears its top chrome */
  padding-top:calc(var(--head-top) + var(--head-h) - 16px);
}
.crumb{
  font-family:var(--body);font-size:12px;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;color:var(--slate);
  margin-bottom:24px;
}
.crumb a{color:var(--slate);text-decoration:none}
.crumb a:hover{color:var(--ink-deep);text-decoration:underline}
.crumb .sep{padding:0 8px;color:rgba(92,107,122,.6)}
.crumb [aria-current]{color:var(--ink-deep)}
.sub-title{
  font-family:var(--sans);font-weight:400;
  /* Match homepage .hero-title / .contact-title size + leading */
  font-size:var(--title-display);
  line-height:1.05;letter-spacing:1.9px;
  color:var(--ink-deep);margin:0 0 20px;
  max-width:none;
}
.sub-title span{
  display:block;white-space:nowrap;
}
.sub-title span:not(.sub-title-main){color:rgba(4,25,52,.55)}
.sub-hero-lower{display:flex;flex-direction:column;gap:40px}
.sub-lede{
  margin:0;font-size:18px;line-height:1.6;
  color:var(--ink-deep);max-width:22em;font-weight:400;
}
.sub-ctas{display:flex;gap:16px;flex-wrap:wrap}

/* ============ AREAS OF SPECIALIZATION — dark band ============ */
.spec{
  background:var(--ink-night);
  padding:var(--space-ext) 0;
  overflow:hidden;
}
.spec-in{max-width:1440px;margin:0 auto;padding:0 var(--page-gutter)}
.spec-head{
  display:flex;justify-content:space-between;align-items:flex-start;
  gap:40px;flex-wrap:wrap;
  margin-bottom:48px;
}
.spec-title{
  font-family:var(--sans);font-weight:400;
  font-size:var(--title-display);
  line-height:1.05;letter-spacing:.05em;
  color:#f2f2f2;margin:0;width:640px;max-width:100%;
}
.spec-side{
  font-size:18px;line-height:1.6;color:#f2f2f2;
  width:420px;max-width:100%;margin:0;padding-top:8px;
}
.spec-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.spec-card{
  background:#fafafa;border:2px solid var(--ink-deep);
  padding:32px;
  display:flex;flex-direction:column;gap:16px;
}
.spec-tag{
  font-family:var(--body);font-size:11px;font-weight:600;
  letter-spacing:.21em;text-transform:uppercase;color:var(--slate);
}
.spec-name{
  font-family:var(--sans);font-weight:500;font-size:26px;
  line-height:1.05;color:var(--ink-deep);margin:0;
}
.spec-text{
  font-size:15px;line-height:1.6;color:var(--ink-deep);margin:0;
}

/* ============ PRACTICES INDEX — cover cards ============ */
.prac-index{
  background:transparent;
  padding:calc(var(--head-top) + var(--head-h) + 64px) 0 110px;
  overflow:hidden;
}
.prac-index-in{max-width:1440px;margin:0 auto;padding:0 var(--page-gutter)}
.prac-index-head{max-width:640px;margin-bottom:var(--space-ext)}
.prac-index-head .crumb{margin-bottom:20px}
.prac-index-title{
  font-family:var(--sans);font-weight:400;
  font-size:var(--title-display);
  line-height:1.05;letter-spacing:1.6px;
  color:var(--ink-deep);margin:0 0 var(--space-in);
  display:flex;flex-direction:column;align-items:flex-start;gap:0;
}
.prac-index-title-main,.prac-index-title-sub{display:block;white-space:nowrap}
.prac-index-title-sub{color:rgba(4,25,52,.55)}
.prac-index-lede{
  margin:0;font-size:18px;line-height:1.6;
  color:var(--ink-deep);max-width:22em;
}
.prac-cover-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.prac-cover{
  display:flex;flex-direction:column;
  background:#fafafa;border:2px solid var(--ink-deep);
  text-decoration:none;color:inherit;
  transition:background .2s,transform .25s ease;
  min-height:100%;
  overflow:hidden;
}
.prac-cover:hover{background:#fff}
.prac-cover:hover .prac-cover-media img{transform:scale(1.04)}
.prac-cover-media{
  position:relative;
  aspect-ratio:4 / 3;
  overflow:hidden;background:#e8e8e8;
  border-bottom:2px solid var(--ink-deep);
}
.prac-cover-media img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  /* Papercraft scenes sit low in the frame — bias down so gavels/feet aren't cropped */
  object-position:var(--cover-pos,50% 72%);
  display:block;
  transition:transform .55s cubic-bezier(.4,0,.2,1);
}
.prac-cover-body{
  display:flex;flex-direction:column;gap:14px;
  padding:28px 28px 32px;
  flex:1 1 auto;
}
.prac-cover-tag{
  font-family:var(--body);font-size:11px;font-weight:600;
  letter-spacing:.21em;text-transform:uppercase;color:var(--slate);
}
.prac-cover-name{
  font-family:var(--sans);font-weight:500;font-size:26px;
  line-height:1.05;color:var(--ink-deep);margin:0;
}
.prac-cover-text{
  font-size:15px;line-height:1.55;color:var(--ink-deep);margin:0;
  flex:1 1 auto;
}
.prac-cover-go{
  font-family:var(--body);font-size:12px;font-weight:700;
  letter-spacing:.14em;text-transform:uppercase;
  color:var(--ink-deep);margin-top:8px;
}
.prac-go-arrow{display:inline-block;margin-inline-start:.35em;unicode-bidi:isolate}

/* ============ FOUNDER PROFILE ============ */
.founder{
  background:transparent;
  padding:var(--space-ext) 0;
  overflow:hidden;
}
.founder-in{
  max-width:1440px;margin:0 auto;padding:0 var(--page-gutter);
  display:flex;align-items:stretch;gap:80px;
}
.founder-visual{
  flex:0 0 460px;
  position:relative;
  min-height:560px;
  overflow:hidden;
  background:#e8e8e8;
}
.founder-visual img{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;object-position:var(--founder-pos,50% 40%);
  display:block;
}
.founder-body{
  flex:1 1 0;min-width:0;
  display:flex;flex-direction:column;gap:24px;
  align-self:center;
}
.founder-kicker{
  font-family:var(--body);font-size:11px;font-weight:600;
  letter-spacing:.21em;text-transform:uppercase;color:var(--slate);
}
.founder-name{
  font-family:var(--sans);font-weight:400;
  font-size:var(--title-display);line-height:1.05;
  color:var(--ink-deep);margin:0;
}
.founder-body p{
  font-size:16px;line-height:1.7;color:var(--ink-deep);margin:0;
}
.founder-rule{
  border:0;border-top:1px solid rgba(4,25,52,.18);
  margin:8px 0 0;width:100%;
}
.founder-sign{display:flex;flex-direction:column;gap:8px}
.sign-mark{
  font-family:var(--sans);font-style:italic;font-weight:400;
  font-size:28px;line-height:1.2;letter-spacing:.01em;
  color:var(--ink-deep);
}
.sign-role{
  font-family:var(--body);font-size:13px;color:var(--slate);
}

/* ============ NUMBERED STEPS (property page) ============
   The band carries no top padding of its own — it is designed to follow
   another light section and inherit that section's bottom padding. When it
   follows a dark band instead, it has to supply the gap itself. */
.steps-band{background:transparent;padding:0 0 var(--space-ext);overflow:hidden}
.spec + .steps-band{padding-top:var(--space-ext)}
.steps-band + .founder{padding-top:0}
.steps-in{max-width:1440px;margin:0 auto;padding:0 var(--page-gutter)}
.steps-title{
  font-family:var(--sans);font-weight:400;
  font-size:var(--title-display);
  line-height:1.05;letter-spacing:.05em;
  color:var(--ink-deep);margin:0 0 48px;width:640px;max-width:100%;
}
.steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.step{
  border-top:2px solid var(--ink-deep);
  padding-top:24px;
  display:flex;flex-direction:column;gap:12px;
}
.step-n{
  font-family:var(--sans);font-weight:500;font-size:15px;
  letter-spacing:.18em;color:var(--slate);
}
.step h3{
  font-family:var(--sans);font-weight:500;font-size:22px;
  line-height:1.05;color:var(--ink-deep);margin:0;
}
.step p{font-size:15px;line-height:1.6;color:var(--ink-deep);margin:0}
.steps-note{
  margin:40px 0 0;font-size:15px;line-height:1.6;color:var(--slate);
  max-width:760px;
}

/* ============ CONTACT ============ */
/* Same shell as founder/spec: vertical on section, horizontal on inner */
.contact{background:#02142b;color:#f2f2f2;padding:calc(var(--space-ext) * 2) 0}
.contact-in{
  max-width:1440px;margin:0 auto;padding:0 var(--page-gutter);
  display:flex;align-items:stretch;justify-content:space-between;gap:64px;
}
.contact-copy{
  flex:1 1 0;min-width:0;max-width:580px;width:auto;
  display:flex;flex-direction:column;justify-content:space-between;gap:40px;
}
.contact-title{
  font-family:var(--sans);font-weight:400;
  font-size:var(--title-display);line-height:1.05;
  color:#f2f2f2;margin:0;max-width:100%;
}
/* Stack as two lines by default; allow wrap inside a line on mid widths
   so long EN phrases (…stand) never paint over the form. */
.contact-title span{display:block;max-width:100%}
.contact-lede{font-size:18px;line-height:1.6;color:#f2f2f2;margin:0}
.contact-details{
  display:flex;flex-direction:column;gap:4px;
  font-size:16px;line-height:1.6;
  color:rgba(242,242,242,.8);margin:0;
}
.contact-details p{margin:0}
.contact-details a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.contact-details .contact-wa-pref{margin-top:12px}
/* The property enquiry form is much taller than the general one, so the
   homepage's top/bottom split would strand the lede at the foot of the column */
.contact-enquiry .contact-copy{justify-content:flex-start;gap:24px}
.contact-form{
  width:min(500px,100%);flex:1 1 320px;max-width:500px;min-width:0;
  display:flex;flex-direction:column;gap:20px;
}
.frow{display:flex;gap:16px}
.field{display:flex;flex-direction:column;gap:8px;flex:1 1 0;min-width:0}
.field label{
  font-family:var(--body);font-size:12px;font-weight:600;
  letter-spacing:0;text-transform:uppercase;color:#f2f2f2;
}
.field input,.field select,.field textarea{
  width:100%;height:48px;margin:0;padding:0 16px;
  font-family:var(--body);font-size:14px;color:#f2f2f2;
  background:rgba(242,242,242,.08);
  border:1px solid #f2f2f2;border-radius:0;
}
.field textarea{height:auto;padding:14px 16px;line-height:1.5;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:rgba(242,242,242,.6)}
.field select{
  appearance:none;cursor:pointer;padding-right:44px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23f2f2f2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position:right 16px center;
  background-size:12px 8px;
  background-repeat:no-repeat;
}
.field select option{color:#02142b;background:#f2f2f2}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #f2f2f2;outline-offset:2px}
.field-hint{font-size:12px;line-height:1.5;color:rgba(242,242,242,.75);margin:0}
.consent{
  display:flex;align-items:flex-start;gap:12px;
  font-size:13px;line-height:1.5;color:#f2f2f2;
}
.consent input{
  flex:0 0 auto;width:20px;height:20px;margin:1px 0 0;
  accent-color:#f2f2f2;
}
.consent a{color:#f2f2f2}
.btn-send{
  width:100%;padding:16px;border:none;cursor:pointer;
  background:#f2f2f2;color:#02142b;
  font-family:var(--body);font-weight:700;font-size:14px;
  letter-spacing:.05em;text-transform:uppercase;
  transition:background .2s;
}
.btn-send:hover{background:#fff}
.btn-send:disabled,
.btn-send.is-loading{
  opacity:.65;cursor:wait;
}
.form-note{
  font-size:12px;line-height:1.5;
  color:rgba(242,242,242,.6);margin:0;
}
.form-note a{color:rgba(242,242,242,.85)}
.contact-form{position:relative}
.contact-form .form-hp{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.form-status{
  margin:0;padding:16px 18px;
  border:1px solid rgba(242,242,242,.45);
  background:rgba(242,242,242,.08);
  outline:none;
}
.form-status[hidden]{display:none !important}
.form-status-title{
  margin:0 0 8px;font-family:var(--body);font-size:15px;font-weight:700;
  color:#f2f2f2;line-height:1.35;
}
.form-status-body{
  margin:0;font-size:13px;line-height:1.55;color:rgba(242,242,242,.8);
}
.form-status.is-error{
  border-color:rgba(255,180,180,.7);
  background:rgba(120,30,30,.35);
}
.form-status.is-success{
  border-color:rgba(242,242,242,.55);
  background:rgba(242,242,242,.12);
}
.contact-form.is-sent > :not(.form-status){display:none}

/* ============ LEGAL DOCUMENT PAGES ============ */
.doc{
  background:transparent;
  padding:calc(var(--head-top) + var(--head-h) + 64px) 0 96px;
}
.doc-in{max-width:820px;margin:0 auto;padding:0 var(--page-gutter)}
.doc-title{
  font-family:var(--sans);font-weight:400;
  font-size:var(--title-display);
  line-height:1.05;letter-spacing:1.9px;
  color:var(--ink-deep);margin:0 0 20px;
}
.doc-meta{
  font-family:var(--body);font-size:13px;color:var(--slate);
  margin:0 0 40px;
}
.doc-body > * + *{margin-top:20px}
.doc-body h2{
  font-family:var(--sans);font-weight:500;font-size:24px;
  line-height:1.05;color:var(--ink-deep);
  margin-top:48px;
}
.doc-body h3{
  font-family:var(--sans);font-weight:500;font-size:18px;
  line-height:1.05;color:var(--ink-deep);
  margin-top:32px;
}
.doc-body p,.doc-body li{font-size:16px;line-height:1.7;color:var(--ink-deep)}
.doc-body ul,.doc-body ol{padding-left:22px}
.doc-body li + li{margin-top:8px}
.doc-body a{color:var(--ink-deep)}
.doc-lede{font-size:18px;line-height:1.65}
.doc-callout{
  border-left:2px solid var(--ink-deep);
  background:#fafafa;
  padding:20px 24px;
}
.doc-callout p{margin:0}
.doc-callout p + p{margin-top:12px}
.doc-related{
  margin-top:56px;padding-top:28px;
  border-top:2px solid var(--ink-deep);
  display:flex;gap:24px;flex-wrap:wrap;
  font-family:var(--body);font-size:14px;font-weight:600;
  letter-spacing:.04em;
}
.doc-related a{color:var(--ink-deep);text-underline-offset:3px}

/* ============ FOOTER ============ */
footer{
  background:#02142b;color:#f2f2f2;
  border-top:1px solid rgba(242,242,242,.55);
  padding:var(--space-ext) 0;font-size:13px;
}
/* Never hide the footer behind scroll-reveal — a short bar at the page
   bottom often sits inside the observer's negative rootMargin and stays
   at opacity:0 forever. */
footer .foot-in,
footer [data-reveal]{
  opacity:1!important;
  transform:none!important;
  filter:none!important;
}
.foot-in{
  max-width:1440px;margin:0 auto;padding:0 var(--page-gutter);
  display:flex;justify-content:space-between;align-items:center;
  gap:24px;flex-wrap:wrap;
}
.foot-links{display:flex;gap:24px;flex-wrap:wrap}
.foot-links a{color:#f2f2f2;text-decoration:none}
.foot-links a:hover{text-decoration:underline}

/* Floating WhatsApp — inset-inline-end: right in LTR, left in RTL */
.wa-float{
  position:fixed;inset-inline-end:44px;bottom:46px;z-index:55;
  width:89px;height:89px;border-radius:50%;
  background:linear-gradient(to top,#20b038,#60d66a);
  display:flex;align-items:center;justify-content:center;
  text-decoration:none;
  box-shadow:3.236px 3.236px 11.327px rgba(0,0,0,.1);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateZ(0) scale(.92);
  transition:opacity .28s ease,visibility .28s ease,transform .28s ease;
}
body.wa-show .wa-float{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translateZ(0) scale(1);
}
.wa-float img{width:54px;height:54px;display:block}
body.wa-show .wa-float:hover{transform:translateZ(0) scale(1.06)}
@media(max-width:860px){
  .wa-float{inset-inline-end:20px;bottom:20px;width:62px;height:62px}
  .wa-float img{width:36px;height:36px}
}

/* ============ RESPONSIVE ============ */
@media(max-width:1360px){
  nav.main a{padding:0 11px}
  .spec-grid{gap:20px}
  .prac-cover-grid{gap:20px}
}
@media(max-width:1180px){
  .spec-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .prac-cover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1100px){
  :root{--page-gutter:28px}
  body.nav-stuck .topbar-in{max-width:calc(100% - 56px)}
  nav.main a{font-size:13px;padding:0 9px}
  .lang-btn{padding:0 9px;font-size:12px}
  .contact{padding:calc(var(--space-ext) * 2) 0}
  .contact-in{gap:40px}
  .contact-form{width:auto;max-width:min(440px,48%)}
  footer{padding:var(--space-ext) 0}
  .sub-hero-in{padding:28px var(--page-gutter)}
  .sub-hero-copy{max-width:52%}
  .sub-hero-visual{left:52%}
  .prac-index{padding-bottom:88px}
  .prac-index-head{margin-bottom:48px}
  .spec{padding:var(--space-ext)}
  .founder{padding:var(--space-ext) 0}
  .founder-in{gap:48px}
  .founder-visual{flex-basis:380px;min-height:480px}
  .steps-band{padding-bottom:88px}
  .spec + .steps-band{padding-top:88px}
}
@media(max-width:900px){
  .steps-grid{grid-template-columns:1fr;gap:32px}
}
@media(max-width:860px){
  :root{--page-gutter:20px}
  .topbar{top:0}
  body.nav-stuck .topbar{top:0}
  .topbar-in{max-width:none;height:56px;border-radius:0;padding:0 var(--page-gutter)}
  body.nav-stuck .topbar-in{
    max-width:none;border-radius:0;padding:0 var(--page-gutter);
    border-color:transparent;border-bottom-color:rgba(4,25,52,.1);
    box-shadow:none;
  }
  .nav-cluster{display:none}
  .menu-btn{display:inline-flex}
  .contact{padding:var(--space-ext) 0}
  .contact-in{flex-direction:column;gap:36px}
  .contact-copy{width:100%;max-width:none;gap:20px}
  .contact-lede{font-size:16px}
  .contact-form{width:100%;max-width:none}
  .frow{flex-direction:column;gap:20px}
  footer{padding:var(--space-ext-sm) 0}

  .sub-hero{
    height:auto;min-height:0;
    display:flex;flex-direction:column;gap:28px;
    padding:88px var(--page-gutter) 32px;
  }
  .sub-hero-visual{
    position:relative;left:auto;right:auto;top:auto;bottom:auto;
    width:calc(100% + var(--page-gutter));height:58vh;min-height:340px;
    order:-1;
  }
  .sub-hero-in{height:auto;padding:0;max-width:none}
  .sub-hero-copy{max-width:100%;height:auto;padding-top:0;gap:32px}
  .sub-hero-lower{gap:40px}
  .sub-title{letter-spacing:1.2px}
  .sub-lede{font-size:16px;max-width:22em}
  .sub-ctas .btn{flex:1 1 auto;justify-content:center;padding:16px 20px}

  .prac-index{padding:88px 0 56px}
  .prac-index-head{margin-bottom:36px}
  .prac-index-title{letter-spacing:1.2px}
  .prac-index-lede{font-size:16px}
  .prac-cover-grid{grid-template-columns:1fr;gap:16px}
  .prac-cover-body{padding:24px}
  .prac-cover-name{font-size:22px}

  .spec{padding:var(--space-ext-sm) 0}
  .spec-head{margin-bottom:32px;gap:20px}
  .spec-side{font-size:16px;padding-top:0}
  .spec-grid{grid-template-columns:1fr;gap:16px}
  .spec-card{padding:24px}
  .spec-name{font-size:22px}

  .founder{padding:var(--space-ext-sm) 0}
  .founder-in{flex-direction:column;gap:32px}
  .founder-visual{
    flex:0 0 auto;
    width:calc(100% + var(--page-gutter));height:46vh;min-height:280px;
  }
  .founder-body{align-self:stretch;gap:20px}
  .founder-body p{font-size:15px}

  .steps-band{padding-bottom:56px}
  .spec + .steps-band{padding-top:56px}
  .steps-title{margin-bottom:32px}

  .doc{padding:88px 0 56px}
  .doc-title{letter-spacing:1.2px}
  .doc-body h2{font-size:21px;margin-top:40px}
  .doc-body p,.doc-body li{font-size:15px}
  .doc-related{flex-direction:column;gap:12px}
}


/* ============ RTL ============ */
[dir="rtl"] body{
  --sans:'Assistant', 'Instrument Sans', 'Public Sans', 'Segoe UI', Tahoma, 'Arial Hebrew', sans-serif;
  --body:'Assistant', 'Public Sans', 'Segoe UI', Tahoma, 'Arial Hebrew', sans-serif;
  --nav-font:'Assistant', 'Inter', 'Public Sans', 'Segoe UI', Tahoma, sans-serif;
  font-family:var(--body);
}
/* Hebrew contact title line 2 is longer than EN */
[dir="rtl"] .contact-copy{max-width:min(640px,100%);width:auto}

/* Push chrome to the inline-end (physical left in RTL) */
[dir="rtl"] .nav-cluster,
[dir="rtl"] .menu-btn{
  margin-left:0;
  margin-right:auto;
}
[dir="rtl"] .lang::before{
  margin-right:0;
  margin-left:2px;
}

/* Sub-page hero: photo on the physical LEFT; copy starts on the right */
[dir="rtl"] .sub-hero-visual{
  left:calc((100% - 100vw) / 2);
  right:48.6%;
}
@media(max-width:1100px){
  [dir="rtl"] .sub-hero-visual{
    left:calc((100% - 100vw) / 2);
    right:52%;
  }
}
@media(max-width:860px){
  /* Bleed to the physical left edge under the padded column */
  [dir="rtl"] .sub-hero-visual{
    left:auto;right:auto;
    margin-left:-20px;
    margin-right:0;
  }
  [dir="rtl"] .founder-visual{
    margin-left:-20px;
    margin-right:0;
  }
}

/* Select chevron on the inline-start side */
[dir="rtl"] .field select{
  padding-right:16px;
  padding-left:44px;
  background-position:left 16px center;
}

/* Legal docs */
[dir="rtl"] .doc-body ul,
[dir="rtl"] .doc-body ol{
  padding-left:0;
  padding-right:22px;
}
[dir="rtl"] .doc-callout{
  border-left:0;
  border-right:2px solid var(--ink-deep);
}
