/* Shared components. Class names are a contract (plan A.6) - every page uses them. */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: var(--control-h);
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: var(--radius-btn);   /* S (7.11): one radius for every button; pills only with .btn--pill */
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary { background: var(--blue-700); color: var(--white); }
.btn--primary:hover { background: var(--blue-900); color: var(--white); }

.btn--secondary { background: var(--white); color: var(--blue-700); border-color: var(--blue-700); }
.btn--secondary:hover { background: var(--sky-100); color: var(--blue-900); }

.btn--ghost { background: transparent; color: var(--blue-700); }
.btn--ghost:hover { background: var(--sky-100); color: var(--blue-900); }

/* WhatsApp buttons: brand green; the text stays dark green so it is readable (white on #25D366 fails contrast). */
.btn--whatsapp { background: #25D366; color: #073B1A; }
.btn--whatsapp svg { width: 22px; height: 22px; }
.btn--whatsapp:hover { background: #1EBE5A; color: #073B1A; }

.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.125rem; border-radius: var(--radius-btn); }
.btn--sm { min-height: 36px; padding: 0 12px; font-size: .9rem; }
/* touch screens: every small button is still a 44px target (F2, 7.11: "עריכה", "מחיקה", "+ עוד שם" in the wizard) */
@media (pointer: coarse) { .btn--sm { min-height: 44px; } }
.btn--block { display: flex; width: 100%; }

/* Red marketing CTA (R, 6.11): header "start", plan choice, contact. The wizard's next/back stay
   .btn--primary (navy) so the two never get mixed up. White on --red-cta = 5.2:1. */
/* 7.11: רקע אדום מתחת לגרדיאנט. בלי זה, במעבר עם העכבר הרקע עבר משקוף לאדום,
   ובכותרת הכחולה ראו לשבריר שנייה כחול דרך הכפתור. עכשיו הוא נשאר אדום ורק מכהה. */
.btn--cta {
  background-color: var(--red-cta);
  background-image: linear-gradient(180deg, var(--red-cta) 0%, var(--red-cta-dark) 100%);
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(212, 30, 41, .22);
}
.btn--cta:hover, .btn--cta:focus-visible {
  background-color: var(--red-cta-dark);
  background-image: linear-gradient(180deg, var(--red-cta-dark) 0%, var(--red-cta-dark) 100%);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(212, 30, 41, .3);
}
.btn--cta-outline { background: var(--white); color: var(--red-cta); border-color: var(--red-cta); font-weight: 700; }
.btn--cta-outline:hover { background: #FFF1F2; color: var(--red-cta-dark); border-color: var(--red-cta-dark); }
.btn--pill { border-radius: 999px; }

/* ---------- Section title with a red swoosh under it (R) ---------- */
.title-swoosh::after {
  content: "";
  display: block;
  width: 128px;
  height: 12px;
  margin: 6px auto 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'><path fill='%23E3262F' d='M1 11C28 4 64 1 99 2.5 66 4.5 33 8.5 3 13.5Z'/></svg>") center / 100% 100% no-repeat;
}

/* ---------- ESTA GO logotype (shell.js logoHtml, also inline in index.html) ---------- */
.logo {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  direction: ltr;
  font-family: var(--font);
  font-style: italic;
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--white);
}
.logo__lead { color: inherit; }
.logo__accent { position: relative; color: var(--red-500); margin-inline-start: .18em; padding-inline-end: .05em; }
.logo__swoosh {
  position: absolute;
  left: -.45em;
  bottom: -.3em;
  width: calc(100% + .7em);
  max-width: none;
  height: .32em;
  color: var(--red-500);
}
.logo__plane {
  width: .62em;
  height: .62em;
  margin-inline-start: .06em;
  margin-top: -.12em;
  transform: rotate(60deg);
  color: currentColor;
}
/* on light backgrounds: navy lead + plane */
.logo--on-light { color: var(--navy-900); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);   /* S (7.11): 20px, like the cards of the redesigned pages (was 14) */
  padding: var(--space-5);
  box-shadow: var(--shadow-1);
}
.card--flat { box-shadow: none; }
.card--tint { background: var(--sky-50); }
.card--featured { border: 2px solid var(--blue-700); box-shadow: var(--shadow-2); }
.card__title { margin-bottom: var(--space-2); }
.card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--sky-100);
  color: var(--blue-700);
  margin-bottom: var(--space-3);
}
.card__icon svg { width: 24px; height: 24px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sky-100);
  color: var(--blue-700);
  font-size: .85rem;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}
.badge--red { background: var(--red-600); color: var(--white); }
.badge--ok { background: var(--ok-100); color: #136F41; }
.badge--warn { background: var(--warn-100); color: #7A5300; }
.badge--muted { background: #EEF2F7; color: var(--muted); }

/* ---------- Form fields ---------- */
/* align-content: start keeps label, control and hint packed at the top of the field, so a field
   that is stretched by a taller neighbour does not grow its input. */
.field { display: grid; gap: 6px; margin-bottom: var(--space-4); align-content: start; }
/* Rows of fields (two or three columns): every field starts at the top of the row. A hint, an
   error or a two-line label under one field never pushes or stretches the field next to it. */
.grid > .field, .form-grid > .field, .field-row > .field { align-self: start; }
.field__label { font-weight: 500; color: var(--ink); }
.field__label .req { color: var(--red-600); margin-inline-start: 2px; }
.field__hint { font-size: .9rem; color: var(--muted); }
.field__error { font-size: .9rem; color: var(--red-600); font-weight: 500; display: none; }
.field--error .field__error { display: block; }
.field--error .input, .field--error .select { border-color: var(--red-600); }
.field--error .input:focus, .field--error .select:focus { box-shadow: 0 0 0 3px rgba(215,38,61,.18); }

.input, .select {
  box-sizing: border-box;
  width: 100%;
  min-height: var(--control-h);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);   /* S (7.11): 10px everywhere, 48px high (final design review 12) */
  background-color: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}
/* single-line controls: exactly the same height, whatever the browser does with select / date / tel */
input.input, .select { height: var(--control-h); }
.input::placeholder { color: #687690; opacity: 1; }   /* 4.6:1 on white (F2, 7.11; was #8E9AB0, 2.8:1) */
.input:hover, .select:hover { border-color: var(--blue-300); }
.input:focus, .select:focus, .input:focus-visible, .select:focus-visible {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: var(--ring);
}
.input:disabled, .select:disabled { background: #F3F6FA; color: var(--muted); cursor: not-allowed; }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
.input[dir="ltr"], .input.ltr { direction: ltr; text-align: left; }

.select {
  appearance: none;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235B6B85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 20px;
}
[dir="ltr"] .select { background-position: right 12px center; padding-inline-end: 40px; }

.input-group { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2); }

/* ---------- phoneField (B; moved here from apply.css by E, so every page can use it) ---------- */
/* Phone with a country code: [code select][digits] in one LTR row, both exactly --control-h (48px),
   one label above, one hint and one error below. The closed select shows only "+972" through an
   overlay; the open list (native) shows the country name too. */
.phone-field {
  display: flex;
  align-items: stretch;
  gap: var(--space-2);
  direction: ltr;
  min-width: 0;
}
.phone-field__cc { position: relative; flex: 0 0 6.5rem; min-width: 0; }
.phone-field__cc .select {
  height: var(--control-h);
  color: transparent;          /* the overlay below shows the short label instead */
  cursor: pointer;
}
.phone-field__cc .select option { color: var(--ink); background-color: var(--white); }
.phone-field__cc-text {
  position: absolute;
  inset-block: 0;
  left: 1px;
  right: 40px;                 /* the chevron area of .select in LTR */
  display: flex;
  align-items: center;
  padding-left: 11px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.phone-field__num { flex: 1 1 auto; min-width: 0; height: var(--control-h); }
.phone-field__cc .select:disabled + .phone-field__cc-text { color: var(--muted); }
/* latin-input.js hides the digits hint on blur; here it is the field's only hint, so it stays visible
   (it still turns red for a moment when a non-digit is typed). */
.field--phone .field__hint--digits[hidden] { display: block !important; }
@media (forced-colors: active) {
  .phone-field__cc .select { color: CanvasText; }
  .phone-field__cc-text { display: none; }
}

/* Radio group: pill options, keyboard accessible (real inputs, visually hidden) */
.radio-group { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.radio-group label, .radio-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}
.radio-group input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.radio-group label:hover { border-color: var(--blue-300); }
.radio-group label:has(input:checked) {
  border-color: var(--blue-700);
  background: var(--sky-100);
  color: var(--blue-900);
  font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--blue-700);
}
.radio-group label:has(input:focus-visible) { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* Yes / No: two big buttons */
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); max-width: 360px; }
.yesno__btn {
  min-height: var(--control-h);
  border: 2px solid var(--line);
  border-radius: var(--radius-field);
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
  transition: border-color var(--transition), background-color var(--transition), color var(--transition);
}
.yesno__btn:hover { border-color: var(--blue-300); background: var(--sky-50); }
.yesno__btn[aria-pressed="true"], .yesno__btn.is-selected {
  border-color: var(--blue-700);
  background: var(--blue-700);
  color: var(--white);
}

/* Checkbox row */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1.5;
}
.checkbox input {
  flex: none;
  width: 22px; height: 22px;
  margin: 2px 0 0;
  accent-color: var(--blue-700);
  cursor: pointer;
}
.checkbox--boxed { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-field); }
.checkbox--boxed:has(input:checked) { border-color: var(--blue-500); background: var(--sky-50); }

/* ---------- Alerts ---------- */
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--blue-300);
  background: var(--sky-100);
  color: var(--ink);
  line-height: 1.5;
}
.alert svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.alert strong { display: block; margin-bottom: 2px; }
.alert--info { background: var(--sky-100); border-color: var(--sky-200); }
.alert--info svg { color: var(--blue-700); }
.alert--warn { background: var(--warn-100); border-color: #F1DDA6; }
.alert--warn svg { color: var(--warn); }
.alert--error { background: var(--red-100); border-color: #F5C3CA; }
.alert--error svg { color: var(--red-600); }
.alert--ok { background: var(--ok-100); border-color: #BFE7CE; }
.alert--ok svg { color: var(--ok); }

/* ---------- Progress steps (wizard) ---------- */
.progress-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 0;
  counter-reset: step;
}
.progress-steps li {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.3;
}
.progress-steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-weight: 700;
  font-size: .9rem;
  position: relative;
  z-index: 1;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}
/* connector line between circles */
.progress-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15px;
  inset-inline-start: 50%;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.progress-steps li.is-done::before {
  background: var(--blue-700);
  border-color: var(--blue-700);
  color: var(--white);
  content: "✓";
}
.progress-steps li.is-done:not(:last-child)::after { background: var(--blue-700); }
.progress-steps li.is-done { color: var(--blue-700); }
.progress-steps li.is-current::before {
  border-color: var(--blue-700);
  color: var(--blue-700);
  box-shadow: var(--ring);
}
.progress-steps li.is-current { color: var(--blue-900); font-weight: 500; }
.progress-steps__label { display: block; max-width: 100%; }
@media (max-width: 639.98px) {
  /* on phones: only the current step shows its label */
  .progress-steps li:not(.is-current) .progress-steps__label { display: none; }
}

/* thin linear bar (used together with progressPercent) */
.progress-bar { height: 6px; border-radius: 999px; background: var(--sky-200); overflow: hidden; }
.progress-bar__fill { height: 100%; width: 0; background: var(--blue-700); border-radius: inherit; transition: width 240ms ease; }

/* ---------- Misc shared pieces ---------- */
.divider { border: 0; border-top: 1px solid var(--line); margin: var(--space-5) 0; }
.price { font-size: 2.25rem; font-weight: 700; color: var(--blue-900); line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 3px; }
.kbd-hint { font-size: .85rem; color: var(--muted); }
.icon { width: 1.25em; height: 1.25em; vertical-align: -0.25em; }

/* ---------- Gold frame + crown (premium plan only) ----------
   A gold border with a soft highlight that travels around it (conic-gradient whose start angle
   is animated through the registered property --gold-angle), and a gold crown that floats gently
   with a glint passing over it. One cycle = 3.6s. With reduced motion everything stops and a
   static gold frame remains. Pages that also set border/background on the same element must keep
   border-color transparent and use background-color only (see apply.css .plan-card). */
@property --gold-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.gold-frame {
  --gold-fill: var(--white);
  border-style: solid;
  border-color: transparent;
  background:
    linear-gradient(var(--gold-fill), var(--gold-fill)) padding-box,
    conic-gradient(from var(--gold-angle),
      var(--gold-700) 0deg,
      var(--gold-500) 50deg,
      var(--gold-300) 78deg,
      #FFFBEA 92deg,
      var(--gold-300) 106deg,
      var(--gold-500) 135deg,
      var(--gold-700) 190deg,
      var(--gold-500) 275deg,
      var(--gold-700) 360deg) border-box;
  box-shadow: 0 12px 30px rgba(166, 124, 0, .16), 0 2px 6px rgba(10, 42, 94, .06);
  animation: gold-sweep 3.6s linear infinite;
}
@keyframes gold-sweep { to { --gold-angle: 360deg; } }

.gold-crown {
  overflow: hidden;
  isolation: isolate;
  color: var(--gold-700);
  background: radial-gradient(circle at 35% 30%, #FFFEF6 0%, var(--gold-100) 70%);
  border: 2px solid var(--gold-500);
  box-shadow: 0 4px 12px rgba(166, 124, 0, .28);
  animation: crown-float 3.6s ease-in-out infinite;
}
.gold-crown svg {
  position: relative;
  fill: var(--gold-300);
  stroke: var(--gold-700);
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}
/* the glint: a narrow light band that crosses the crown once per cycle */
.gold-crown::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .9) 50%, transparent 62%);
  transform: translateX(-120%);
  animation: crown-glint 3.6s ease-in-out infinite;
}
@keyframes crown-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}
@keyframes crown-glint {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}
@media (prefers-reduced-motion: reduce) {
  .gold-frame, .gold-crown { animation: none !important; }
  .gold-crown::after { animation: none !important; display: none; }
}

/* =====================================================================
   Shell: header, nav, disclosure bar, footer, WhatsApp button
   Rendered by js/shell.js into [data-shell] elements.
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-grad);
  color: var(--white);
  box-shadow: 0 2px 14px rgba(11, 42, 91, .25);
}
/* Very short windows (phone on its side, 200–400% zoom: 640×400, 320×256): a sticky header would keep
   a big part of the screen and hide the focused field under it (S, 7.11, a11y #6, WCAG 1.4.10 / 2.4.11).
   relative, not static: the phone menu (.site-nav, absolute, top: 100%) still opens right under it. */
@media (max-height: 560px) {
  .site-header { position: relative; }
}
.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: var(--white);
  text-decoration: none;
  flex: none;
  min-width: 0;
}
.brand:hover { text-decoration: none; color: var(--white); }
/* F2 (7.11): bigger, so ESTA GO is the largest thing in the header, as in mockup-hero.webp */
.brand__logo { display: block; height: 46px; width: auto; max-width: none; }
.brand__tagline {
  /* דודו 7.11: סלוגן אחד קצר (brand.taglineShort), תמיד בשורה אחת */
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 500;
  line-height: 1.25;
  color: #E6EEFA;
}
.site-header__actions { flex: none; }
@media (min-width: 1024px) {
  .brand { gap: 0; }
  .brand__logo { height: 64px; }
  .brand__tagline { font-size: .85rem; line-height: 1.2; }
}
.site-header :focus-visible { outline-color: var(--white); }

.site-nav { display: flex; align-items: center; gap: var(--space-6); }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-5); }
.site-nav__list a {
  display: inline-block;
  padding: 6px 2px;
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav__list a:hover { color: var(--white); text-decoration: none; border-bottom-color: rgba(255, 255, 255, .55); }
/* the page you are on (contact.html, status.html): a short red swoosh under the link, as in the mockups */
.site-nav__list a[aria-current="page"] { position: relative; color: var(--white); border-bottom-color: transparent; }
.site-nav__list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: -4px;
  bottom: -5px;
  height: 7px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 14' preserveAspectRatio='none'><path fill='%23E3262F' d='M1 11C28 4 64 1 99 2.5 66 4.5 33 8.5 3 13.5Z'/></svg>") center / 100% 100% no-repeat;
  pointer-events: none;
}
/* header CTA: red pill with a thin white border, as in the mockup */
.site-nav__cta, .site-header__cta { border: 1.5px solid rgba(255, 255, 255, .9); box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.site-nav__cta { min-height: 46px; padding: 0 22px; }
.site-header__cta { min-height: 44px; padding: 0 12px; font-size: .92rem; gap: 6px; }
.site-header__cta svg { width: 16px; height: 16px; }

/* 6 links + CTA: a little tighter on narrow desktops */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .site-nav { gap: var(--space-4); }
  .site-nav__list { gap: var(--space-4); }
}

.site-header__actions { display: none; align-items: center; gap: var(--space-2); }
.nav-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--radius-sm);
  color: var(--white);
}
.nav-toggle:hover { background: rgba(255, 255, 255, .1); }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1023.98px) {
  .site-header__actions { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    padding: var(--space-3) var(--gutter) var(--space-5);
    background: var(--navy-900);
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 30px rgba(11, 42, 91, .35);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a {
    display: block;
    padding: 12px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
  }
  .site-nav__list a:hover { border-bottom-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); }
  /* in the open menu the current page gets a red bar at its start and bold text instead of the swoosh */
  .site-nav__list a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, .14); font-weight: 700; padding-inline-start: 14px; }
  .site-nav__list a[aria-current="page"]::after { inset-block: 10px; inset-inline: 0 auto; width: 3px; height: auto; border-radius: 2px; background: var(--red-500); }
  .site-nav__cta { margin-top: var(--space-2); }
}
/* very narrow phones (320): the short slogan stays on one line next to the logo, the button and the menu */
@media (max-width: 359.98px) {
  .site-header__inner { gap: var(--space-2); }
  .site-header__actions { gap: 4px; }
  .site-header__cta { padding: 0 10px; }
  .brand__tagline { font-size: .66rem; }
}

/* (The short disclosure bar under the header was removed on 6.11 by Dudu's decision;
   the full disclosure stays in the footer, on about.html and before payment.) */

/* Footer (R, 6.11: mockup-status-footer.webp): curved wave on top, navy body, three columns with
   dividers, a blue NYC skyline fading into the bottom-left corner. */
.site-footer {
  position: relative;
  margin-top: var(--space-7);
  color: #DCE6F5;
  font-size: .95rem;
  background: transparent;
}
.site-footer__wave {
  display: block;
  width: 100%;
  max-width: none;
  height: 56px;
  margin-bottom: -1px;
}
.site-footer__wave-light { fill: #2F6FCB; opacity: .55; }
.site-footer__wave-main { fill: #0B2A5B; }
.site-footer__body {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #0B2A5B 0%, #0A2654 60%, #08214B 100%);
}
.site-footer__body::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: 270px;
  height: 195px;
  background: url("../assets/home/footer-skyline.webp") left bottom / contain no-repeat;
  opacity: .6;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent 100%), linear-gradient(180deg, transparent 0, #000 35%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 45%, transparent 100%), linear-gradient(180deg, transparent 0, #000 35%);
  mask-composite: intersect;
}
.site-footer a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); }
.site-footer a:hover { color: var(--white); text-decoration-color: var(--white); }
.site-footer :focus-visible { outline-color: var(--white); }
.site-footer__grid {
  display: grid;
  gap: var(--space-6);
  padding-block: var(--space-5) var(--space-6);
}
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr .85fr 1.35fr; gap: 0; }
  .site-footer__col { padding-inline: var(--space-6); }
  .site-footer__col:first-child { padding-inline-start: 0; }
  .site-footer__col:last-child { padding-inline-end: 0; }
  .site-footer__col + .site-footer__col { border-inline-start: 1px solid rgba(255,255,255,.16); }
}
@media (max-width: 767.98px) {
  .site-footer__col + .site-footer__col { border-top: 1px solid rgba(255,255,255,.16); padding-top: var(--space-5); }
}
.brand--footer { color: var(--white); margin-bottom: var(--space-3); }
.brand--footer .brand__logo { height: 76px; }
.site-footer__tagline { color: #E6EEFA; margin-bottom: var(--space-4); }
.site-footer__address { font-style: normal; display: grid; gap: 12px; justify-items: start; }
.site-footer__contact { display: inline-flex; align-items: center; gap: 10px; color: #E6EEFA; }
.site-footer a.site-footer__contact { text-decoration: none; }
.site-footer a.site-footer__contact span { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.site-footer a.site-footer__contact:hover span { text-decoration-color: var(--white); }
.site-footer__icon { width: 22px; height: 22px; flex: none; color: var(--white); }
.site-footer__contact .site-footer__icon path[fill] { fill: currentColor; }
.site-footer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: var(--space-4);
}
.site-footer__links { display: grid; gap: 12px; }
.site-footer__links a { display: inline-flex; align-items: center; gap: 10px; }
/* the page you are on, also in the footer (S, 7.11, e2e #10): bold, no underline, a short red bar */
.site-footer__links a[aria-current="page"] { position: relative; font-weight: 700; text-decoration: none; }
.site-footer__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline-start: -12px;
  inset-block: 50% auto;
  translate: 0 -50%;
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--red-500);
}
/* touch screens: every footer link is a 44px target (S, 7.11, a11y #16 / design 23; was 24px) */
@media (pointer: coarse) {
  .site-footer__links { gap: 0; }
  .site-footer__links a, .site-footer a.site-footer__contact { min-height: 44px; padding-block: 10px; }
  .site-footer__address { gap: 0; }
}
.site-footer__links svg { width: 20px; height: 20px; flex: none; }
.site-footer__cancel { font-weight: 700; }
.site-footer__disclosure p { line-height: 1.7; }
.site-footer__disclosure strong { color: var(--white); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.16);
  padding-block: var(--space-4);
  color: #B8C7E0;
  text-align: center;
  padding-bottom: calc(var(--space-4) + 72px); /* room for the WhatsApp button */
}
@media (min-width: 640px) {
  .site-footer__bottom { padding-bottom: var(--space-4); }
}
/* דודו 8.11: "שירות פרטי, לא ממשלת ארה"ב" בשורה התחתונה, ליד "כל הזכויות שמורות" */
.site-footer__private {
  display: block;
  max-width: 46rem;
  margin: var(--space-2) auto 0;
  line-height: 1.6;
  text-wrap: pretty;
}
.site-footer__private strong { color: #DCE6F5; font-weight: 500; }
.site-footer__private a { color: #DCE6F5; }

/* Floating WhatsApp button: bottom-left (RTL), 56px circle, white WhatsApp glyph (30px) centred.
   --fab-lift is set by shell.js when a button/field in <main> sits right under the button
   (e.g. the wizard's "next" button or a full-width input on a phone): the button glides up
   out of the way and comes back when the control scrolls on. */
.whatsapp-fab {
  --fab-lift: 0px;
  text-decoration: none;
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  transform: translateY(calc(-1 * var(--fab-lift)));
  visibility: visible;
  transition: transform 220ms ease, box-shadow var(--transition), opacity var(--transition), visibility 0s;
}
/* hidden while the hero button is on screen / when there is no free spot (S, 7.11, a11y #9): visibility
   takes it out of the Tab order too, after the fade (an invisible button used to take keyboard focus) */
.whatsapp-fab--away, .whatsapp-fab--blocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 220ms ease, box-shadow var(--transition), opacity var(--transition), visibility 0s linear 160ms;
}
.whatsapp-fab svg { width: 30px; height: 30px; display: block; fill: var(--white); }
.whatsapp-fab:hover { transform: translateY(calc(-1 * var(--fab-lift) - 2px)); box-shadow: 0 10px 24px rgba(0,0,0,.26); }
.whatsapp-fab:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 6px rgba(30,99,214,.45); }
/* phones: 48px (F2, 7.11), so it covers less of the content next to it */
@media (max-width: 639px) {
  .whatsapp-fab { left: 12px; bottom: 12px; width: 48px; height: 48px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
}
/* While typing in a field (phone keyboard open) the button fades and stops catching taps. */
body:has(input:not([type="checkbox"]):not([type="radio"]):focus, select:focus, textarea:focus) .whatsapp-fab {
  opacity: .25;
  pointer-events: none;
}
/* בנייד: מקום בסוף התוכן של כל דף, כדי שהכפתור הצף לא יכסה את הכפתורים או השורה האחרונה
   (ביקורת סבב 2, ק-3). ::after ולא padding, כי לכל דף יש padding-block משלו על main. */
@media (max-width: 639px) {
  main::after { content: ""; display: block; height: 76px; }
}
@media print { .whatsapp-fab, .nav-toggle, .skip-link { display: none; } main::after { display: none; } }
