/* =========================================================================
   RE/MAX כחול לבן נתניה — chrome.css
   The header, the mobile menu, the standing call bar, the standing CTA and
   the footer — everything that renders on EVERY template.

   These lived in home.css, which is only enqueued on the front page, so every
   other template rendered an unstyled header and footer. It went unnoticed
   while the homepage was the only finished page; the catalog is where it
   surfaced. Loaded site-wide, straight after theme.css.
   ========================================================================= */

/* ══════════════════════════════════════════════════ 01 · HEADER
   One white surface, two moments: a rounded tab hanging off the top edge
   above the fold, growing into the full bar on scroll. The mark never sits
   on the photograph. */

/* One number for the whole bar. Everything sized in here multiplies by it, so
   the header can be tuned without hunting down five separate values that then
   drift apart. */
:root { --hdr-s: .95; }

.hdr {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 720;
  /* Client round 6.8.2026: the nav rides the TRUE centre of the bar. A 1fr
     auto 1fr grid centres the middle track against the viewport, not against
     whatever the logo and the actions happen to weigh — flex space-between
     was parking the whole nav+actions cluster on the far edge. Below 1100px
     the nav is display:none and the empty middle track costs nothing. */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
  padding-block: clamp(1.125rem, 2vw, 1.75rem);
  color: var(--ink);
  transition: padding-block .75s var(--e-out), color .5s var(--e-out);
}
.hdr-brand { justify-self: start; }
.hdr-end   { justify-self: end; }
/* White at rest is only legible where a dark full-bleed hero is sitting behind
   the header. Templates without one — the catalog, a content page, the 404 —
   open on paper, and a white nav on white is simply invisible. So ink is the
   default and the reversed treatment is opted into by the templates that earn
   it, via body.has-hero. Scrolled, the plate is white under everything, so
   .hdr.wide goes back to ink regardless. */
.has-hero .hdr { color: #fff; }
.has-hero .hdr.wide { color: var(--ink); }
.hdr.measuring, .hdr.measuring * { transition: none !important; }
.hdr.measuring .hdr-plate { animation: none; }

@keyframes rmx-plate-in {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
.hdr-plate {
  position: absolute; inset-block: 0; inset-inline-start: 0; z-index: 0;
  animation: rmx-plate-in .7s var(--e-out) both;
  inline-size: var(--pw, 260px);
  margin-inline-start: clamp(1.25rem, 3vw, 3rem);
  background: #fff;
  border-end-start-radius: 18px; border-end-end-radius: 18px;
  box-shadow: 0 12px 36px -26px rgba(0,17,34,.45);
  transition: inline-size .8s var(--e-out), margin-inline-start .8s var(--e-out),
              border-end-start-radius .8s var(--e-out), border-end-end-radius .8s var(--e-out),
              box-shadow .5s var(--e-out);
}
/* the nav is a sibling now, so it needs lifting above the plate like the rest */
.hdr-brand, .hdr-end, .hdr > .hdr-nav { position: relative; z-index: 1; }
.hdr-brand {
  display: flex; align-items: center;
  padding-inline: calc(var(--gut) + clamp(1.25rem, 3vw, 3rem)) clamp(1.75rem, 3vw, 2.75rem);
}
/* The 2026 lockup is 420×146 (≈2.9:1) against the old 390×90 (≈4.3:1) — a
   squarer mark. Heights stepped up so the brand keeps the same visual weight
   it had at 34px with the wide lockup; at the old heights it shrank to a
   badge. Rebrand round, 22.9.2026. */
.hdr-logo, .hdr-brand .custom-logo { height: calc(46px * var(--hdr-s)); width: auto; object-fit: contain; transition: height .75s var(--e-out); }
.hdr-end { display: flex; align-items: center; gap: clamp(.875rem, 2.2vw, 2.25rem); padding-inline-end: var(--gut); }

/* ── the scrolled state, and the resting state everywhere else ────────────
   The floating tab is designed against a dark full-bleed hero: the white plate
   reads as a shape cut out of the photograph. On a template that opens on
   paper there is nothing for it to be cut out of — the plate disappears into
   the page and the header reads as text floating in the margin.

   So anything without body.has-hero simply starts in the scrolled state: one
   solid white bar, from the first pixel. The JS still toggles .wide on scroll;
   these selectors sit alongside it rather than fighting it, so a page with a
   hero behaves exactly as it did. */
.hdr.wide,
body:not(.has-hero) .hdr { padding-block: .7rem; color: var(--ink); }

.hdr.wide .hdr-plate,
body:not(.has-hero) .hdr-plate {
  inline-size: 100%; margin-inline-start: 0;
  border-end-start-radius: 0; border-end-end-radius: 0;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px -34px rgba(0,17,34,.3);
}
.hdr.wide .hdr-logo, .hdr.wide .hdr-brand .custom-logo,
body:not(.has-hero) .hdr-logo,
body:not(.has-hero) .hdr-brand .custom-logo { height: calc(38px * var(--hdr-s)); }

.hdr.wide .hdr-brand,
body:not(.has-hero) .hdr-brand { padding-inline: var(--gut) clamp(1rem, 2vw, 1.75rem); }

/* ── the plate on a phone ─────────────────────────────────────────────────
   The mark is 390×90, so a 32px height is 140px of width before any padding —
   with the 20px inside the plate and the 28px after it, the tab was taking 53%
   of a 390px screen and reading as the loudest thing above the fold.

   Both heights come down together, and that is not optional: the bar SHRINKS
   its logo on scroll, so lowering only the resting size would have left the
   scrolled one larger and the logo would grow as you scroll away from it. The
   gap between them stays, just narrower — 27px resting, 24px scrolled — which
   is as small as this lockup goes before "BLUE & WHITE NETANYA" under the
   wordmark stops being a line of type. */
@media (max-width: 699px) {
  /* the 2.9:1 lockup at 40px is ~116px wide — the plate holds ~45% of a
     390px screen, the same share the old wide mark took at 28px */
  .hdr-logo, .hdr-brand .custom-logo { height: calc(40px * var(--hdr-s)); }
  .hdr.wide .hdr-logo, .hdr.wide .hdr-brand .custom-logo,
  body:not(.has-hero) .hdr-logo,
  body:not(.has-hero) .hdr-brand .custom-logo { height: calc(36px * var(--hdr-s)); }
  /* the padding was scaled for a bigger mark — 28px after a 115px logo reads as
     a plate built mostly of air. Even it up with the 20px on the reading side. */
  .hdr-brand { padding-inline-end: 1.25rem; }
}

/* nav — rule draws from the reading edge, word lifts, colour warms */
.hdr-nav { display: none; gap: clamp(1.125rem, 2.2vw, 2.25rem); align-items: center; }
@media (min-width: 1100px) { .hdr-nav { display: flex; } }
.hdr-nav a, .hdr-nav .rmx-menu > li > a {
  position: relative; display: inline-block; overflow: hidden;
  font-size: calc(clamp(.9375rem, 1.05vw, 1.0625rem) * var(--hdr-s));
  font-variation-settings: 'wght' 500;
  letter-spacing: -.012em; white-space: nowrap;
  /* Symmetric. The bottom padding is there to give the hover rule somewhere to
     draw, but with nothing matching it on top the flex box centred while the
     words themselves sat ~4.6px high — the logo and the phone pill were on the
     axis and the nav was not. */
  padding-block: .42rem;
  transition: color .3s var(--e-out);
}
.hdr-nav a > span { display: inline-block; transition: transform .48s var(--e-out); }
.hdr-nav a::after {
  content: ''; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  width: 0; height: 2px; background: var(--red); transition: width .5s var(--e-out);
}
.hdr-nav a:hover > span, .hdr-nav a:focus-visible > span { transform: translateY(-3px); }
.hdr-nav a:hover::after, .hdr-nav a:focus-visible::after { width: 100%; }
/* the hovered item does not step forward — everything else steps back */
.hdr-nav:hover a { opacity: .45; }
.hdr-nav:hover a:hover, .hdr-nav a:focus-visible { opacity: 1; }
.hdr-nav a { transition: color .3s var(--e-out), opacity .35s var(--e-out); }
.hdr-nav .rmx-menu { display: flex; gap: clamp(1.125rem, 2.2vw, 2.25rem); align-items: center; }
/* The <li> has to be a flex box, not a list-item.
   Once the nav comes from a real WP menu the markup is li > a, and an
   inline-block <a> sits on its parent's BASELINE — inside a line box built from
   the inherited 16px/27.2px body strut rather than the nav's own 15px. The
   leftover descender space below the baseline pushed every word 4.6px above the
   axis the logo and the phone pill were already on. Flex has no line box, so
   there is nothing left to sit on. */
.hdr-nav .rmx-menu > li { display: flex; align-items: center; }

/* ── 3 · reading progress ────────────────────────────────────────────────
   Sits on the bottom edge of the white bar and fills as the page is read.
   Only meaningful once the bar exists, so it is hidden over the hero. */
.hdr-progress {
  position: absolute; inset-block-end: 0; inset-inline-start: 0; z-index: 2;
  height: 2px; width: 0;
  background: linear-gradient(to left, var(--blue), var(--blue-lit));
  opacity: 0; transition: opacity .4s var(--e-out);
}
.hdr.wide .hdr-progress,
body:not(.has-hero) .hdr-progress { opacity: 1; }

/* ── 5 + 6 · one split pill: phone that opens, and WhatsApp ──────────────── */
.hdr-actions { display: none; align-items: stretch; }
@media (min-width: 700px) { .hdr-actions { display: inline-flex; } }

.hdr-tel {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: calc(.9375rem * var(--hdr-s)); font-variation-settings: 'wght' 500; letter-spacing: -.01em;
  padding: calc(.6rem * var(--hdr-s)) calc(1rem * var(--hdr-s)); white-space: nowrap;
  background: var(--red); color: #fff;
  border-start-start-radius: 100px; border-end-start-radius: 100px;
  transition: background .28s var(--e-out);
}
.hdr-tel:hover { background: var(--red-deep); }
.hdr-tel-icon { display: grid; place-items: center; }
/* the number is laid out but clipped, so opening it costs no reflow jump */
.hdr-tel-num {
  display: inline-block; max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width .45s var(--e-out), opacity .35s var(--e-out), margin-inline-start .45s var(--e-out);
}
.hdr-tel:hover .hdr-tel-num, .hdr-tel:focus-visible .hdr-tel-num {
  max-width: 8rem; opacity: 1; margin-inline-start: .1rem;
}
.hdr-tel-rest {
  display: inline-block; max-width: 6rem; overflow: hidden;
  transition: max-width .45s var(--e-out), opacity .3s var(--e-out);
}
.hdr-tel:hover .hdr-tel-rest, .hdr-tel:focus-visible .hdr-tel-rest { max-width: 0; opacity: 0; }

.hdr-wa {
  display: grid; place-items: center; width: calc(42px * var(--hdr-s));
  background: #1FA855; color: #fff;
  border-start-end-radius: 100px; border-end-end-radius: 100px;
  box-shadow: inset 1px 0 0 rgba(255,255,255,.28);
  transition: background .28s var(--e-out);
}
.hdr-wa:hover { background: #17853F; }

.hdr-burger {
  display: grid; gap: 6px; padding: .55rem; width: 44px; height: 44px;
  place-content: center; justify-items: stretch;
}
@media (min-width: 1100px) { .hdr-burger { display: none; } }
.hdr-burger span {
  display: block; width: 24px; height: 2px; background: currentColor;
  transition: transform .4s var(--e-out), opacity .3s;
}
.hdr-burger[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.hdr-burger[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── the mobile menu ──────────────────────────────────────────────────────
   Two things were wrong with it, and the first one was invisible from a desk.

   `display: grid; gap` sat on .menu-nav — which works for the hard-coded
   fallback, where the nav's children ARE the links. The moment the office had a
   real WP menu the nav's only child became a <ul>, so the gap was between the
   list and nothing, and eight 2.75rem titles stacked flush against each other.
   The desktop nav has carried the fix for this since it was written
   (.hdr-nav .rmx-menu, above); the phone never got one.

   And it could not scroll. A centred grid with no overflow means anything past
   the viewport — on a short phone, the last items and the office's phone
   number — was simply unreachable.

   Rebuilt as an index rather than a stack of words: rows on hairlines, numbered
   the way the hero numbers its three questions, and the page you are on turns
   its own hairline into the three bands. */
.menu {
  position: fixed; inset: 0; z-index: 710;
  background: var(--navy); color: #fff;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transition: opacity .45s var(--e-out);
}
.menu[hidden] { display: none; }
.menu.open { opacity: 1; }
/* the mark on the top edge — it runs behind the floating white plate, which is
   the one surface the network's rules keep clear */
.menu::before {
  content: ''; position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 1;
  height: var(--band-h); background: var(--band); --band-mid: #fff;
}
/* centred when it fits, scrolled from the top when it does not — min-height on
   the inner box rather than place-items on the scroller, which is what made the
   overflow unreachable */
.menu-inner {
  min-height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(1.5rem, 5vw, 2.5rem);
  padding: calc(var(--hdr-h) + clamp(.75rem, 3vw, 1.5rem)) var(--gut)
           calc(clamp(1.25rem, 4vw, 2rem) + env(safe-area-inset-bottom, 0px));
}

.menu-nav { display: grid; counter-reset: m; }
/* both shapes the renderer can produce: <nav><ul><li><a> from a WP menu, and
   bare <nav><a> from the fallback. See rmx_render_nav(). */
.menu-nav .rmx-menu { display: grid; }
.menu-nav .rmx-menu > li,
.menu-nav > a { counter-increment: m; }
.menu-nav a {
  position: relative; display: flex; align-items: baseline;
  gap: clamp(.7rem, 3vw, 1.1rem);
  padding-block: clamp(.55rem, 2.2vw, .85rem);
  padding-inline-end: 1.75rem;
  border-block-end: 1px solid var(--line-dark-soft);
  font-size: clamp(1.375rem, 5.4vw, 1.875rem); font-variation-settings: 'wght' 700;
  letter-spacing: -.035em; line-height: 1.25;
  color: rgba(255,255,255,.92);
  opacity: 0; transform: translateY(14px);
  transition: color .3s var(--e-out),
              opacity .5s var(--e-out), transform .5s var(--e-out);
}
.menu-nav a > span { flex: 1 1 auto; }
/* the index, in the same wide-tracked label the whole site counts with */
.menu-nav a::before {
  content: counter(m, decimal-leading-zero);
  flex: 0 0 auto;
  font-size: var(--t-label); font-variation-settings: 'wght' 500;
  letter-spacing: .2em; line-height: 1;
  color: rgba(255,255,255,.4);
  transition: color .3s var(--e-out);
}
/* drawn, never a glyph: ‹ and › carry Bidi_Mirrored and the browser flips them */
.menu-nav a::after {
  content: ''; position: absolute; inset-inline-end: 0; inset-block-start: 50%;
  width: 9px; height: 15px; margin-block-start: -7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15' fill='none'%3E%3Cpath d='M7.5 1.2 1.5 7.5l6 6.3' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 9px 15px;
  opacity: .3;
  transition: transform .4s var(--e-out), opacity .3s var(--e-out);
}
.menu-nav li:last-child a,
.menu-nav > a:last-child { border-block-end: 0; }
.menu-nav a:hover, .menu-nav a:focus-visible { color: #fff; }
.menu-nav a:hover::before, .menu-nav a:focus-visible::before { color: var(--red); }
.menu-nav a:hover::after, .menu-nav a:focus-visible::after { opacity: 1; transform: translateX(-6px); }
/* where you already are: the hairline becomes the mark */
.menu-nav .current-menu-item > a,
.menu-nav .current_page_item > a,
.menu-nav .current-menu-ancestor > a {
  color: #fff;
  border-block-end-color: transparent;
  background: var(--band) no-repeat bottom / 100% 3px; --band-mid: #fff;
}
.menu-nav .current-menu-item > a::before,
.menu-nav .current_page_item > a::before { color: #fff; }
/* the rows arrive in order, after the panel itself has landed */
.menu.open .menu-nav a {
  opacity: 1; transform: none;
  transition-delay: calc(var(--i, 0) * 45ms + 130ms);
}

.menu-foot {
  display: flex; flex-wrap: wrap; gap: .625rem;
  padding-block-start: clamp(1.25rem, 4vw, 2rem);
  border-block-start: 1px solid var(--line-dark);
}
.menu-foot .btn { flex: 1 1 8rem; justify-content: center; padding-block: .9rem; }
.menu-foot .btn svg { flex: 0 0 auto; }
/* the same green it has in the header — one WhatsApp on the site, not two */
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #17853F; transform: translateY(-2px); }
.menu-addr { flex: 1 0 100%; font-size: var(--t-meta); color: rgba(255,255,255,.6); }


/* ══════════════════════════════════════════════════ STANDING CTA
   Above the footer on every template, and the loudest moment on the page. Both
   brand colours run at full strength here — as light bleeding through a navy
   field rather than as flat blocks, so nothing ever sits behind the logo. */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy); color: #fff;
  padding-block: clamp(4.5rem, 9vw, 8rem);
}
.cta-field {
  position: absolute; inset: -25%; z-index: -2;
  background:
    radial-gradient(48% 58% at 86% 6%, rgba(10,111,216,.72), transparent 62%),
    radial-gradient(40% 52% at 6% 96%, rgba(224,28,47,.44), transparent 66%),
    radial-gradient(66% 76% at 46% 52%, rgba(0,43,92,.66), transparent 78%);
  animation: rmx-drift 24s var(--e-inout) infinite alternate;
}
@keyframes rmx-drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
/* the catalog's own 12-column hairline grid, barely there */
.cta-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: repeating-linear-gradient(to left, rgba(255,255,255,.055) 0 1px, transparent 1px calc(100% / 12));
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 78%);
          mask-image: linear-gradient(to bottom, #000, transparent 78%);
}
/* the sea: the wave film on the deepest layer, blended screen so only the
   white foam breathes through the navy — the field and the grid ride above.
   Without blend support it degrades to a quiet translucent layer. */
.cta-sea { position: absolute; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.cta-film {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 1.4s var(--e-out);
}
.cta.film-in .cta-film { opacity: .5; }
/* a hairline of the balloon's three colours across the very top edge */
.cta::before {
  content: ''; position: absolute; inset-block-start: 0; inset-inline: 0; height: 3px; z-index: 1;
  background: linear-gradient(to left, var(--blue) 0 34%, #fff 34% 42%, var(--red) 42% 76%, transparent);
  opacity: .9;
}

.cta-in { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: end; }
@media (min-width: 1040px) { .cta-in { grid-template-columns: 1fr auto; } }
.cta-copy .label { color: rgba(255,255,255,.72); }
.cta-copy h2 {
  font-size: clamp(2.125rem, 4.2vw, 3.5rem);
  font-variation-settings: 'wght' 700, 'GRAD' 100;
  letter-spacing: -.036em; line-height: 1.02; max-width: 22ch;
  margin-block: .875rem 1rem;
  text-shadow: 0 2px 40px rgba(0,15,30,.35);
}
.cta-copy p { color: rgba(255,255,255,.8); max-width: 48ch; font-size: var(--t-lead); }

.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.cta-actions .btn-red {
  padding: 1.05rem 1.9rem; font-size: 1.0625rem;
  box-shadow: 0 18px 44px -18px rgba(224,28,47,.7);
}
.cta-actions .btn-red:hover { box-shadow: 0 24px 54px -18px rgba(224,28,47,.85); }
.cta-wa {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.45rem .9rem .9rem; border-radius: 100px;
  background: rgba(255,255,255,.12); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .9375rem; font-variation-settings: 'wght' 500;
  transition: background .3s var(--e-out), box-shadow .3s, transform .3s var(--e-out);
}
.cta-wa:hover { background: #1FA855; box-shadow: inset 0 0 0 1px #1FA855; transform: translateY(-2px); }
.cta-wa-icon {
  display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 100px; background: #1FA855; transition: background .3s, color .3s;
}
.cta-wa:hover .cta-wa-icon { background: #fff; color: #1FA855; }
.cta-tel {
  font-size: .9375rem; font-variation-settings: 'wght' 500; letter-spacing: -.01em;
  padding-block-end: .35rem; border-block-end: 1px solid rgba(255,255,255,.34);
  transition: border-color .3s, color .3s;
}
.cta-tel:hover { border-color: #fff; }

/* ══════════════════════════════════════════════════ 11 · FOOTER
   Light, and tighter than it was. It sat at 770px tall with four thin columns
   of air; the content is the same but the grid now holds it instead of the
   other way round. Light also ends the page after the dark CTA rather than
   extending it, and it gives the mark the neutral field the brand rules ask
   for without needing a plate drawn around it. */
.ftr {
  background: var(--paper-2); color: var(--ink);
  border-block-start: 1px solid var(--line-soft);
  padding-block: clamp(2.75rem, 5vw, 4.25rem) clamp(1.25rem, 2.5vw, 1.75rem);
}
.ftr-top { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
@media (min-width: 900px) { .ftr-top { grid-template-columns: minmax(0, 23rem) 1fr; } }

.ftr-logo { height: 52px; width: auto; }
.ftr-name { font-size: 1.0625rem; font-variation-settings: 'wght' 500; letter-spacing: -.02em; margin-block-start: 1rem; }
.ftr-blurb { font-size: var(--t-meta); color: var(--muted); max-width: 40ch; margin-block-start: .45rem; line-height: 1.6; }
/* the visible stillness switch — twin of the sr-only one after the skip link */
.ftr-motion {
  margin-block-start: 1rem; padding: .5rem .9rem;
  font-size: var(--t-meta); color: var(--muted);
  border: 1px solid var(--line); border-radius: 2px; background: none;
  cursor: pointer; transition: color .2s, border-color .2s;
}
.ftr-motion:hover,
.ftr-motion[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }

.ftr-legal {
  font-size: .75rem; color: var(--muted-2); max-width: 36ch;
  margin-block-start: .875rem; padding-block-start: .875rem;
  border-block-start: 1px solid var(--line-soft);
}

.ftr-cols { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.ftr-col h2 { color: var(--muted-2); margin-block-end: .875rem; }
.ftr-col h2.ftr-sub { margin-block-start: 1.75rem; }
.ftr-col li { font-size: .9375rem; padding-block: .3rem; letter-spacing: -.012em; }
.ftr-dim { color: var(--muted-2); }
.ftr-col a {
  position: relative; display: inline-block;
  transition: color .28s var(--e-out);
}
.ftr-col a::after {
  content: ''; position: absolute; inset-block-end: -2px; inset-inline-start: 0;
  width: 0; height: 1px; background: var(--red); transition: width .4s var(--e-out);
}
.ftr-col a:hover { color: var(--red); }
.ftr-col a:hover::after { width: 100%; }

.ftr-hoods {
  margin-block-start: clamp(2.25rem, 4vw, 3.25rem);
  padding-block-start: clamp(1.5rem, 3vw, 2rem);
  border-block-start: 1px solid var(--line);
}
.ftr-hoods h2 { color: var(--muted-2); margin-block-end: .875rem; }
.ftr-hoods ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.ftr-hoods a {
  display: inline-block; font-size: var(--t-meta); color: var(--muted);
  padding: .35rem .8rem; border-radius: 100px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: background .28s, color .28s, box-shadow .28s, transform .28s var(--e-out);
}
.ftr-hoods a:hover {
  background: var(--blue); color: #fff;
  box-shadow: inset 0 0 0 1px var(--blue); transform: translateY(-2px);
}
.ftr-hoods-all { font-variation-settings: 'wght' 500; color: var(--blue) !important; }
.ftr-hoods-all:hover { color: #fff !important; }

.ftr-base {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  margin-block-start: clamp(1.75rem, 3vw, 2.5rem); padding-block-start: 1.125rem;
  border-block-start: 1px solid var(--line-soft);
  font-size: var(--t-meta); color: var(--muted-2);
}
.ftr-base a { transition: color .28s; }
.ftr-base a:hover { color: var(--red); }

/* ── phone + WhatsApp reachable from every screen ─────────────────────── */
.callbar {
  position: fixed; inset-block-end: 0; inset-inline: 0; z-index: 690;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -10px 30px -18px rgba(0,17,34,.5);
}
@media (min-width: 700px) {
  .callbar {
    /* inline-START, i.e. the right in RTL — the reading edge, where a Hebrew
       reader's eye already is. It was on the left to stay clear of the section
       "read more" links; those sit at the top of a section rather than the
       bottom, so in practice the two rarely meet. */
    inset-block-end: clamp(1.25rem, 3vw, 2rem);
    inset-inline-start: clamp(1.25rem, 3vw, 2rem);
    inset-inline-end: auto;
    grid-template-columns: auto; gap: .5rem;
    box-shadow: none;
    /* the hero has its own phone in the header — don't crowd the opening frame */
    opacity: 0; transform: translateY(12px); pointer-events: none;
    transition: opacity .45s var(--e-out), transform .45s var(--e-out);
  }
  .callbar.up { opacity: 1; transform: none; pointer-events: auto; }
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1rem; font-size: .9375rem; font-variation-settings: 'wght' 500;
  color: #fff; transition: background .28s, transform .28s var(--e-out);
}
@media (min-width: 700px) {
  .callbar a { border-radius: 100px; padding: .9rem 1.4rem; box-shadow: 0 12px 30px -12px rgba(0,17,34,.5); }
  .callbar a:hover { transform: translateY(-2px); }
}
.callbar-tel { background: var(--ink); }
.callbar-tel:hover { background: var(--ink-2); }
.callbar-wa { background: #11823F; }   /* 4.9:1 with white (was 3.1) */
.callbar-wa:hover { background: #0D6A33; }
/* the bar overlaps the footer on mobile, so give it room */
@media (max-width: 699px) { .ftr { padding-block-end: 5.5rem; } }

/* ══════════════════════════════════════════════════ LANGUAGES (6.8.2026)
   Our flags, Google's engine — see inc/i18n.php. The header carries the drop
   variant in the slot reserved on day one; the mobile menu carries the row.
   The widget's own chrome (banner, balloon, tooltip) is silenced below: the
   switcher is the only UI. */
.lang { position: relative; }
.lang-flag { display: inline-grid; }
.lang-flag svg { display: block; width: 20px; height: 14px; border-radius: 2.5px; box-shadow: 0 0 0 1px rgba(0,17,34,.12); }

/* the header's drop — hidden on phones, where the menu row serves instead */
.hdr-lang { display: none; }
@media (min-width: 700px) { .hdr-lang { display: block; } }
.lang-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .55rem; border-radius: 8px;
  color: currentColor;
  transition: background .25s var(--e-out);
}
.lang-btn:hover, .lang-btn[aria-expanded='true'] { background: rgba(127,127,127,.14); }
.lang-chev { opacity: .6; transition: transform .3s var(--e-out); }
.lang-btn[aria-expanded='true'] .lang-chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute; inset-inline-end: 0; inset-block-start: calc(100% + 8px); z-index: 5;
  min-width: 10.5rem; padding: .4rem;
  background: #fff; color: var(--ink);
  border-radius: 10px;
  box-shadow: 0 24px 60px -22px rgba(0,17,34,.4), 0 0 0 1px var(--line-soft);
}
.lang-menu[hidden] { display: none; }
.lang-opt {
  display: flex; align-items: center; gap: .6rem;
  width: 100%; padding: .55rem .65rem; border-radius: 7px;
  font-size: .9375rem; font-variation-settings: 'wght' 500; letter-spacing: -.01em;
  text-align: start;
  transition: background .2s var(--e-out);
}
.lang-opt:hover, .lang-opt:focus-visible { background: var(--paper-2); }
.lang-opt[aria-current='true'] { background: var(--paper-2); }
.lang-opt[aria-current='true'] .lang-name { color: var(--blue); }

/* the row variant, on the menu's navy — four flags flat on the surface */
.lang-is-row { display: flex; flex-wrap: wrap; gap: .4rem; flex: 1 0 100%; }
.lang-is-row .lang-opt {
  width: auto; flex: 0 0 auto;
  color: rgba(255,255,255,.85);
  box-shadow: inset 0 0 0 1px var(--line-dark-soft);
  border-radius: 8px;
}
.lang-is-row .lang-opt:hover, .lang-is-row .lang-opt:focus-visible { background: rgba(255,255,255,.1); }
.lang-is-row .lang-opt[aria-current='true'] {
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.4);
}
.lang-is-row .lang-opt[aria-current='true'] .lang-name { color: #fff; }

/* Google's and GTranslate's own furniture, silenced — the engine works, the
   UI is ours. The banner iframe gets visibility+height, NOT display:none —
   killing its display is one of the things that can kill the translation
   pipeline with it. */
#rmx-gt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.gtranslate_wrapper { display: none !important; }
#goog-gt-tt, .goog-te-balloon-frame, .goog-te-spinner-pos { display: none !important; }
.goog-te-banner-frame, .skiptranslate > iframe { visibility: hidden !important; height: 0 !important; }
body { top: 0 !important; position: static !important; }
/* translated text arrives wrapped in <font> — it must change nothing */
font { background: none !important; box-shadow: none !important; }

/* ══════════════════════════════════════════════════ LTR — THE FOUR-LANGUAGE LAYER
   The CSS is logical-properties throughout, so dir="ltr" mirrors the layout on
   its own. These are the exceptions: physical values that carry meaning, and
   the drawn arrows. The clip-path angles are NOT here on purpose — the slash
   is the mark, not a reading direction, and it never mirrors. */
html[dir='ltr'] .rmx-arr { transform: scaleX(-1); }
html[dir='ltr'] .sec-head::before { transform-origin: 0 50%; }
html[dir='ltr'] .lnk::after { transform-origin: left center; }
html[dir='ltr'] .seek-q::after { transform-origin: left center; }
html[dir='ltr'] .seek-q select { background-position: right center; }
html[dir='ltr'] .filters-q select { background-position: right center; }

/* ══════════════════════════════════════════════════ VIDEO LIGHTBOX
   Built by app.js when a testimonial film is asked for; removed on close,
   which is also what stops the sound. Site-wide: the rail is on the homepage
   today and on the agent micro-site tomorrow. */
.vlight {
  position: fixed; inset: 0; z-index: 750;
  display: grid; place-items: center;
  padding: clamp(.75rem, 3vw, 2.5rem);
  background: rgba(0,10,20,.88);
  opacity: 0; transition: opacity .3s var(--e-out);
}
.vlight.open { opacity: 1; }
.vlight video {
  display: block;
  max-width: min(100%, 960px); max-height: 86svh;
  background: #000;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.8);
}
.vlight-x {
  position: absolute; inset-inline-end: clamp(.5rem, 2vw, 1.25rem); inset-block-start: clamp(.5rem, 2vw, 1.25rem);
  display: grid; place-items: center; width: 44px; height: 44px;
  color: #fff; border-radius: 100px; background: rgba(255,255,255,.1);
  transition: background .25s;
}
.vlight-x:hover, .vlight-x:focus-visible { background: rgba(255,255,255,.22); }

/* the catalogs' open search form inside the band (client round 12.11.2026) */
.cta-form { grid-column: 1 / -1; background: #fff; color: var(--ink); padding: clamp(1.25rem, 2.6vw, 2rem); border-radius: 3px; max-width: 920px; box-shadow: 0 30px 80px -30px rgba(0,15,30,.6); }
.cta-form .form-help, .cta-form .form-legal { color: var(--muted-2); }
.cta-in:has(.cta-form) .cta-form { order: 3; }
@media (min-width: 1040px) { .cta-in:has(.cta-form) { grid-template-columns: 1fr auto; } }
