/* LECHAIM support — mobile-first */
:root {
  --navy: #1e3354;
  --navy-deep: #12243d;
  --navy-mid: #2a466d;
  --cream: #f6f1e8;
  --gold: #c4a06a;
  --gold-2: #e0c48a;
  --white: #fff;
  --muted: #5b6a7e;
  --error: #9b2c2c;
  --wa: #1e6b4a;
  --font-display: "Playfair Display", "Frank Ruhl Libre", serif;
  --font-body: "Heebo", "Assistant", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page: 72rem;
  --pad: max(1rem, env(safe-area-inset-right, 0px), env(safe-area-inset-left, 0px));
  --support-header: 3.4rem;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  overflow-y: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.support-page {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-tap-highlight-color: rgba(196, 160, 106, 0.22);
}

img { max-width: 100%; height: auto; display: block; }

input, textarea, button {
  font: inherit;
  font-size: 16px;
}

.support-skip {
  position: absolute;
  right: 1rem;
  top: -3rem;
  z-index: 80;
  padding: 0.45rem 0.8rem;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}
.support-skip:focus { top: 0.75rem; }

.support-header { order: 0; }
.hero { order: 1; }
.chat { order: 2; }
.write { order: 3; }
.site-footer { order: 4; }

/* ——— Header ——— */
.support-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 232, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  direction: ltr;
}
.support-header.is-scrolled {
  border-bottom-color: rgba(30, 51, 84, 0.08);
  box-shadow: 0 6px 18px rgba(30, 51, 84, 0.06);
}
.support-header__inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0.28rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.support-brand {
  display: flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  text-decoration: none;
  direction: ltr;
}
.support-brand img:first-child { height: 32px; width: auto; object-fit: contain; }
.support-brand img:last-child { height: 22px; width: auto; max-width: 6.6rem; object-fit: contain; }
.support-header__actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}
.support-lang {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.12rem;
  margin: 0;
  padding: 0.14rem 0.18rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(30, 51, 84, 0.14);
  cursor: pointer;
  direction: ltr;
}
.support-lang__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.72rem;
  min-height: 1.72rem;
  padding: 0.22rem;
  border-radius: 999px;
  opacity: 0.48;
}
.support-lang__option--active {
  background: var(--navy);
  opacity: 1;
}
.lang-flag {
  display: block;
  width: 1.22rem;
  height: 0.88rem;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(21, 38, 64, 0.12);
  pointer-events: none;
}
.support-header__home {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  color: var(--navy);
  text-decoration: none;
  border-radius: 50%;
  background: rgba(30, 51, 84, 0.06);
}
.support-header__home svg {
  width: 1.28rem;
  height: 1.28rem;
}
.support-header__home:active {
  transform: scale(0.96);
  background: rgba(196, 160, 106, 0.22);
  color: var(--navy-deep);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.eyebrow--gold { color: var(--gold-2); }

.cta {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 3.4rem;
  touch-action: manipulation;
  padding: 0.75rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.cta svg { width: 1.25rem; height: 1.25rem; }
.cta:active { transform: scale(0.98); }
.cta:disabled { opacity: 0.55; cursor: wait; transform: none; }
.cta--gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 8px 22px rgba(196, 160, 106, 0.28);
}
.cta--wa {
  background: var(--wa);
  max-width: 18rem;
  margin-inline: auto;
}

.wave {
  display: block;
  width: 100%;
  height: 2.35rem;
  fill: var(--cream);
}
.wave--hero {
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 3;
  width: 100%;
  height: 5.4rem;
  fill: #17345d;
  pointer-events: none;
}
.wave--hero path { fill: #17345d; }
.wave--up { display: none; }
.wave--write-end { fill: var(--navy); margin-bottom: -1px; }
.wave--bot-top {
  position: absolute;
  top: -1px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 2.5rem;
  fill: var(--navy);
  pointer-events: none;
}
.wave--bot-end {
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 2.6rem;
  fill: #17345d;
  pointer-events: none;
}
.wave--kosher-end { fill: var(--cream); margin-bottom: -1px; }
.wave--cream { fill: var(--cream); }

.orb,
.hero__ring,
.hero__chip { display: none; }

/* ——— Hero (phone): magazine cover ——— */
.hero {
  position: relative;
  display: block;
  overflow: visible;
  background: var(--navy-deep);
  color: #fff;
  height: calc(100dvh - var(--support-header));
  min-height: 33.5rem;
  padding: 0;
  z-index: 5;
}
.hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
.hero__split {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__pane {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__masks {
  position: absolute;
  width: 0;
  height: 0;
}
.hero__pane--a {
  clip-path: url(#hero-rip-a);
}
.hero__pane--a img {
  object-position: 38% 28%;
  transform: scale(1.07);
}
.hero__pane--b {
  clip-path: url(#hero-rip-b);
}
.hero__pane--b img {
  object-position: 12% 38%;
  transform: scale(1.1);
}
.hero__rip {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  color: rgba(236, 214, 160, 0.78);
  filter: drop-shadow(0 0 10px rgba(196, 160, 106, 0.42));
  pointer-events: none;
}
.hero__blob { display: none; }
.hero__shore { display: none; }
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 22, 38, 0.08) 0%, rgba(12, 22, 38, 0.22) 42%, rgba(12, 22, 38, 0.62) 100%),
    linear-gradient(180deg, rgba(18, 36, 61, 0.28) 0%, rgba(18, 36, 61, 0.12) 36%, rgba(18, 36, 61, 0.55) 72%, var(--navy-deep) 100%);
  animation: heroVeilIn 1.15s 0.12s var(--ease) both;
}
.hero__deco {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  color: var(--gold-2);
}
.hero__glow {
  position: absolute;
  left: 50%;
  bottom: 18%;
  width: 18rem;
  height: 12rem;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(196, 160, 106, 0.28), transparent 70%);
  filter: blur(2px);
}
.hero__arc {
  position: absolute;
  top: 0.85rem;
  right: -0.4rem;
  width: 7.4rem;
  height: 7.4rem;
  opacity: 0.72;
}
.hero__tide {
  display: none;
}
.hero__copy {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
  padding: 2.2rem var(--pad) 1.6rem;
  text-align: center;
  overflow: visible;
  pointer-events: none;
}
.hero__kicker {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: start;
  color: rgba(228, 230, 234, 0.82);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 0.78;
  pointer-events: none;
}
.hero__kicker-line {
  display: block;
  text-shadow: 0 2px 18px rgba(8, 14, 26, 0.55), 0 1px 0 rgba(8, 14, 26, 0.35);
}
.hero__kicker-line--1 { font-size: clamp(4.6rem, 24vw, 6.4rem); color: #f7f3ea; }
.hero__kicker-line--2 { font-size: clamp(3.5rem, 18.5vw, 5.1rem); color: #d8dbe1; }
.hero__kicker-line--3 { font-size: clamp(3.4rem, 27.5vw, 6.8rem); color: #c4a06a; }
.hero__kicker-line--4 { font-size: clamp(4.1rem, 21.5vw, 8.4rem); color: #f3eee4; }
html[lang="en"] .hero__kicker-line--1 { font-size: clamp(3.5rem, 18vw, 5.1rem); }
html[lang="en"] .hero__kicker-line--2 { font-size: clamp(3.05rem, 15.5vw, 4.4rem); }
html[lang="en"] .hero__kicker-line--3 { font-size: clamp(2.7rem, 14vw, 4rem); }
html[lang="en"] .hero__kicker-line--4 { font-size: clamp(3.4rem, 17.5vw, 5.6rem); }
.hero__guide {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(9.8rem, 1.05fr);
  align-items: end;
  margin-top: auto;
  transform: translateY(-9.8rem);
  flex: 0 0 auto;
  overflow: visible;
  direction: ltr;
  pointer-events: none;
}
.hero__bot {
  position: relative;
  z-index: 1;
  flex: none;
  align-self: end;
  width: auto;
  height: min(64vh, 27.5rem);
  max-height: none;
  max-width: none;
  margin-left: -23vw;
  margin-bottom: 0;
  object-fit: contain;
  object-position: center bottom;
  transform-origin: 20% 100%;
  filter: drop-shadow(10px 16px 20px rgba(0, 0, 0, 0.45));
  opacity: 0;
  animation: botEnter 0.9s var(--ease) both, botFloat 6.4s ease-in-out infinite;
  animation-delay: var(--d, 620ms), calc(var(--d, 620ms) + 0.9s);
  pointer-events: none;
}
.hero__talk {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: stretch;
  gap: 0.5rem;
  min-width: 0;
  margin: 0 var(--pad) 2.5rem 0.2rem;
  pointer-events: auto;
  direction: rtl;
}
.hero__say {
  pointer-events: auto;
  position: relative;
  display: block;
  margin: 0;
  padding: 0.9rem 1rem 0.95rem;
  background: #f3eee4;
  color: var(--navy);
  text-align: start;
  text-decoration: none;
  direction: rtl;
  border-radius: 1.15rem 1.15rem 1.15rem 0.28rem;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  touch-action: manipulation;
}
.hero__say::after {
  content: "";
  position: absolute;
  left: -7px;
  bottom: 16px;
  border: 8px solid transparent;
  border-left: 0;
  border-right-color: #f3eee4;
}
.hero__say--mini {
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0.72rem 0.88rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
}
.hero__say--mini::after { display: none; }
a.hero__say {
  width: auto;
  max-width: 100%;
  margin-inline-start: 0;
  text-align: center;
}
.hero__say h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 4.6vw, 1.28rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}
.hero__say span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 8.6rem;
  min-height: 2.7rem;
  margin-top: 0;
  margin-inline: auto;
  padding: 0.3rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #f0d7a4, var(--gold));
  color: var(--navy-deep);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 7px 16px rgba(196, 160, 106, 0.4);
}
.hero__say:active { transform: scale(0.98); }
@keyframes botEnter {
  from { opacity: 0; transform: perspective(800px) rotateY(10deg) scale(1) translate3d(0, 18px, 0); }
  to { opacity: 1; transform: perspective(800px) rotateY(10deg) scale(1) translateY(0); }
}
@keyframes botFloat {
  0%, 100% { transform: perspective(800px) rotateY(10deg) scale(1) translateY(0); }
  50% { transform: perspective(800px) rotateY(10deg) scale(1) translateY(-8px); }
}

.hero-in {
  opacity: 0;
  animation: heroReveal 0.9s var(--ease) both;
  animation-delay: var(--d, 0ms);
}
@keyframes heroMaskIn {
  from { clip-path: ellipse(18% 16% at 50% 34%); }
  to { clip-path: ellipse(140% 120% at 50% 42%); }
}
@keyframes heroPhotoIn {
  from { transform: scale(1.16); }
  to { transform: scale(1.08); }
}
@keyframes heroVeilIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroShoreIn {
  from { transform: translate3d(0, 18px, 0); opacity: 0; }
  to { transform: none; opacity: 1; }
}
@keyframes heroReveal {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes heroTitleReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    clip-path: inset(0 0 78% 0);
  }
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
}
@keyframes heroShine {
  to { transform: translateX(420%) skewX(-22deg); }
}

/* ——— Form ——— */
.write {
  position: relative;
  z-index: 3;
  overflow: visible;
  scroll-margin-top: calc(var(--support-header) + 0.85rem);
  margin-top: 0;
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 1.8rem var(--pad) 1rem;
}
.write__head {
  position: relative;
  z-index: 6;
  max-width: 26rem;
  margin: 0.35rem auto 1.45rem;
  text-align: center;
}
.write__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.25;
}
.write__sub {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}
.write__bot {
  position: absolute;
  right: -7%;
  bottom: -2.2rem;
  top: auto;
  z-index: 3;
  width: auto;
  height: 12.8rem;
  max-width: none;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
  filter: drop-shadow(8px 14px 18px rgba(0, 0, 0, 0.4));
}
.write__stage {
  position: relative;
  z-index: 2;
  overflow: visible;
  margin: 0 0 6rem;
  padding: 1.1rem 0.95rem 1.35rem;
  background: #f7f2ea;
  color: var(--navy);
  border-radius: 1.45rem;
  box-shadow: 0 0 0 1px rgba(196, 160, 106, 0.28), 0 16px 40px rgba(0, 0, 0, 0.22);
}
.write__note {
  margin: 0.1rem 5.8rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.support-form {
  display: grid;
  gap: 0.95rem;
  position: relative;
}
.field {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.field[hidden] {
  display: none !important;
}
.field em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}
.field__box {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 3.45rem;
  padding: 0 0.85rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(30, 51, 84, 0.12);
}
.field__box svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--gold);
}
.field__box input,
.field__box textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  outline: none;
  min-height: 3.2rem;
  padding: 0.55rem 0;
}
.field__box--area { align-items: flex-start; padding-top: 0.5rem; }
.field__box textarea { min-height: 8.2rem; resize: vertical; }
.field__box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 160, 106, 0.2);
}
.field__box--order {
  direction: ltr;
  gap: 0;
}
.field__box--order svg {
  margin-inline-end: 0.45rem;
}
.field__prefix {
  flex: none;
  margin: 0 0.08rem 0 0;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.field__box--order input {
  min-width: 0;
  padding-inline-start: 0;
}

.contact-ways {
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  border: 0;
}
.contact-ways legend {
  padding: 0 0 9px;
  font-weight: 700;
  font-size: 0.9rem;
}
.contact-ways__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.contact-ways__opt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  padding: 0.35rem 0.9rem 0.35rem 0.7rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(30, 51, 84, 0.12);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.contact-ways__opt:has(input:checked) {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.contact-ways__opt:has(input:focus-visible) {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 160, 106, 0.2);
}
.contact-ways__opt input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--navy);
  margin: 0;
}
.contact-ways__opt:has(input:checked) input {
  accent-color: var(--gold-2);
}

.support-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}
.support-error {
  margin: 0;
  color: var(--error);
  font-weight: 700;
}

.support-success {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 1.15rem;
  padding-bottom: max(1.15rem, env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.support-success[hidden] {
  display: none !important;
}
.support-success__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}
.support-success__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.35rem 1.15rem 1.25rem;
  background: #f7f2ea;
  color: var(--navy);
  border-radius: 1.45rem;
  box-shadow: 0 0 0 1px rgba(196, 160, 106, 0.28), 0 18px 44px rgba(0, 0, 0, 0.28);
}
.support-success h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
}
.support-success p { color: var(--muted); margin: 0 0 1rem; }
body.support-success-open {
  overflow: hidden;
}

.write__shore {
  position: absolute;
  left: 0;
  bottom: -3.1rem;
  z-index: 1;
  display: block;
  width: 100%;
  height: 6.2rem;
  fill: var(--navy);
  pointer-events: none;
}

.chat {
  position: relative;
  z-index: 4;
  overflow-x: clip;
  overflow-y: visible;
  margin-top: 0;
  padding: 5.8rem 0 6.8rem;
  background: #17345d;
  color: var(--navy);
}
.chat__venue {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.chat__venue img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.1);
  filter: blur(5px);
}
.chat__venue::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #17345d 0%, rgba(23, 52, 93, 0.72) 12%, rgba(18, 36, 61, 0.22) 42%, rgba(23, 52, 93, 0.48) 84%, #17345d 100%),
    rgba(18, 36, 61, 0.16);
}
.chat__crest {
  position: absolute;
  left: 0;
  top: -1px;
  z-index: 2;
  display: block;
  width: 100%;
  height: 5.8rem;
  fill: #17345d;
  pointer-events: none;
}
.chat__crest path { fill: #17345d; }
.chat__thread {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 0.55rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 4.85rem 1.1rem;
}
.chat__say {
  position: relative;
  width: fit-content;
  max-width: 62%;
  margin: 0;
  padding: 0.55rem 0.82rem;
  background: #f3eee4;
  border-radius: 1.15rem;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: start;
  unicode-bidi: isolate;
}
.chat__say--l {
  justify-self: left;
  margin-right: 1.4rem;
  border-radius: 1.15rem 1.15rem 1.15rem 0.28rem;
}
.chat__say--l::after {
  content: "";
  position: absolute;
  right: auto;
  left: -7px;
  bottom: 12px;
  border: 8px solid transparent;
  border-left: 0;
  border-right-color: #f3eee4;
}
.chat__say--r {
  justify-self: right;
  margin-left: 1.4rem;
  border-radius: 1.15rem 1.15rem 0.28rem 1.15rem;
}
.chat__say--r::after {
  content: "";
  position: absolute;
  left: auto;
  right: -7px;
  bottom: 12px;
  border: 8px solid transparent;
  border-right: 0;
  border-left-color: #f3eee4;
}
html[lang="he"] .chat__say {
  direction: rtl;
  text-align: right;
}
html[lang="en"] .chat__say {
  direction: ltr;
  font-size: 0.72rem;
  line-height: 1.35;
  padding: 0.5rem 0.72rem;
}
html[lang="en"] .hero__say,
html[lang="en"] .write__title,
html[lang="en"] .write__sub,
html[lang="en"] .write__note,
html[lang="en"] .field,
html[lang="en"] .contact-ways,
html[lang="en"] .cta,
html[lang="en"] .support-success__panel,
html[lang="en"] .support-skip,
html[lang="en"] .site-footer__tag,
html[lang="en"] .site-footer__follow {
  direction: ltr;
  unicode-bidi: isolate;
}
.chat__bots {
  position: absolute;
  inset: 3.2rem 0 4.6rem;
  z-index: 3;
  margin: 0;
  pointer-events: none;
}
.chat__bot {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(8px 12px 16px rgba(0, 0, 0, 0.4));
}
.chat__bot--l {
  left: 0;
  margin: 0;
  transform: translateX(-48%);
}
.chat__bot--r {
  right: 0;
  margin: 0;
  transform: translateX(46%);
}
.chat__shore {
  position: absolute;
  left: 0;
  bottom: -1px;
  z-index: 6;
  display: block;
  width: 100%;
  height: 5.4rem;
  fill: var(--navy-deep);
  pointer-events: none;
}

.site-footer--compact {
  position: relative;
  z-index: 0;
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  width: 100%;
  margin-top: -3.1rem;
  padding: 5.2rem 1rem max(1.5rem, env(safe-area-inset-bottom, 0px));
  background: #17345d;
  color: #fff;
  text-align: center;
}
.site-footer__brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4a06a;
}
.site-footer__tag {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
}
.site-footer__follow {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.15rem;
}
.site-footer__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}
.site-footer__link:active { transform: scale(0.96); background: rgba(255, 255, 255, 0.2); }
.site-footer__link svg { display: block; width: 20px; height: 20px; }

.reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal--img { clip-path: none; }
.reveal--bot { transform: translate3d(0, 14px, 0); }

@media (hover: hover) and (pointer: fine) {
  .cta:hover { background: var(--navy-mid); }
  .cta--gold:hover { background: linear-gradient(180deg, #ebd3a2, #b89058); }
  .cta--wa:hover { background: #18573c; }
  .hero__say:hover span { filter: brightness(1.06); }
  .site-footer__link:hover { background: rgba(255, 255, 255, 0.2); }
  .support-header__home:hover {
    background: rgba(196, 160, 106, 0.22);
    color: var(--navy-deep);
  }
  .support-lang:hover {
    box-shadow: 0 6px 16px rgba(30, 51, 84, 0.18);
  }
}

/* ——— 390–430: a little more air, still phone ——— */
@media (min-width: 390px) {
  .write__title { font-size: 1.65rem; }
}

@media (min-width: 430px) {
  .write__title { font-size: 1.7rem; }
}

@media (min-width: 640px) {
  .support-form { grid-template-columns: 1fr 1fr; }
  .field--wide,
  .contact-ways,
  .support-error,
  .cta,
  .write__note,
  .support-hp { grid-column: 1 / -1; }
  .cta { width: auto; }
  .support-form .cta { width: 100%; }
}

/* ——— Desktop keeps the richer layout ——— */
@media (min-width: 820px) {
  .support-header,
  .hero, .write, .chat, .site-footer {
    order: 0;
  }
  .support-header__inner { padding: 0.45rem var(--pad); }
  .support-brand img:first-child { height: 46px; }
  .support-brand img:last-child { height: 32px; }
  .support-header__home { width: 2.75rem; height: 2.75rem; }
  .support-header__home svg { width: 1.4rem; height: 1.4rem; }
  .support-lang__option { min-width: 1.9rem; min-height: 1.9rem; }
  .lang-flag { width: 1.35rem; height: 0.98rem; }
  .wave { height: 4.5rem; }
  .wave--hero {
    height: 5.2rem;
  }
  .orb {
    display: block;
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
    background: radial-gradient(circle, rgba(196, 160, 106, 0.28), transparent 68%);
    animation: floaty 9s ease-in-out infinite;
  }
  .orb--1 { width: 14rem; height: 14rem; top: 8%; right: 6%; }
  .orb--2 { width: 8rem; height: 8rem; bottom: 22%; left: 8%; animation-delay: -3s; }
  .orb--3 { width: 18rem; height: 18rem; top: 12%; left: -4%; opacity: 0.55; }
  @keyframes floaty {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -16px, 0); }
  }
  .hero__ring, .hero__chip { display: block; }
  .hero__split { display: none; }
  .hero__blob { display: block; }
  .hero__shore,
  .hero__deco,
  .hero__visual::after { display: none; }
  .wave--hero { display: block; }
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    height: auto;
    max-height: none;
    min-height: min(86vh, 46rem);
    padding: 2rem 3vw 5.2rem;
    isolation: isolate;
    overflow: visible;
    z-index: 5;
    background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%);
  }
  .hero__visual {
    order: 0;
    position: relative;
    inset: auto;
    display: grid;
    place-items: center;
    width: auto;
    height: auto;
    min-height: 28rem;
    margin: 0;
  }
  .hero__copy {
    position: relative;
    inset: auto;
    display: block;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 0;
    padding: 0 0 0 4vw;
    max-width: 36rem;
    text-align: start;
    pointer-events: auto;
  }
  .hero__kicker {
    display: block;
    flex: none;
    color: var(--gold-2);
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    line-height: 1.25;
    padding: 0;
    margin: 0 0 0.45rem;
  }
  .hero__kicker-line { display: inline; font-size: inherit; color: inherit; }
  .hero__kicker-line + .hero__kicker-line::before { content: " "; }
  .hero__guide {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 1.35rem;
    transform: none;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    pointer-events: auto;
  }
  .hero__bot {
    height: 18.5rem;
    margin: 0 0.35rem 0 0;
  }
  .hero__say {
    margin: 0;
    max-width: 20rem;
  }
  .hero__talk {
    margin: 0;
    max-width: 20rem;
  }
  .hero__say h1 { font-size: 1.55rem; }
  .hero__say span { font-size: 1.12rem; }
  .hero__say--mini { font-size: 1.12rem; }
  .hero__blob {
    position: relative;
    inset: auto;
    width: min(34vw, 28rem);
    height: auto;
    aspect-ratio: 1;
    clip-path: none;
    border-radius: 46% 54% 42% 58% / 42% 38% 62% 58%;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    animation: blob 16s ease-in-out infinite;
  }
  .hero__blob img {
    animation: none;
    transform: scale(1.08);
    object-position: center 40%;
  }
  .hero__ring {
    position: absolute;
    width: min(38vw, 31rem);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed rgba(196, 160, 106, 0.55);
    animation: spin 48s linear infinite;
  }
  .hero__chip {
    position: absolute;
    z-index: 2;
    width: 8.8rem;
    height: 8.8rem;
    left: 6%;
    bottom: 14%;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid rgba(246, 241, 232, 0.92);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    animation: floaty 7s ease-in-out infinite;
  }
  .hero__chip img { width: 100%; height: 100%; object-fit: cover; }
  @keyframes blob {
    0%, 100% { border-radius: 42% 58% 47% 53% / 48% 41% 59% 52%; }
    50% { border-radius: 58% 42% 53% 47% / 41% 59% 41% 59%; }
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .write { margin-top: 0; padding: 5.6rem 1.15rem 5.4rem; }
  .write__title { font-size: 2.5rem; }
  .write__head { max-width: 36rem; margin: 0.4rem auto 1.4rem; text-align: center; }
  .write__bot { right: -1.5rem; bottom: -2.4rem; top: auto; height: 15rem; z-index: 3; }
  .write__stage { max-width: 38rem; margin: 0 auto 5.8rem; padding: 1.35rem 1.2rem 1.4rem; }
  .write__note { margin: 0.1rem 0 0; }
  .write__shore { bottom: -3.1rem; height: 6.2rem; }
  .chat { margin-top: 0; padding: 5rem 0 5.4rem; }
  .chat__shore { bottom: -1px; height: 5.6rem; }
  .site-footer--compact { margin-top: -3.1rem; padding-top: 5.2rem; }
  .chat__thread { padding: 0 9.2rem; gap: 0.55rem; }
  .chat__say { font-size: 0.98rem; max-width: 50%; }
  .chat__bot { height: 100%; }
  .chat__bot--l { transform: translateX(-40%); }
  .chat__bot--r { transform: translateX(38%); }
  .reveal { transform: translate3d(0, 26px, 0); transition-duration: 0.8s; }
  .cta { width: auto; min-height: 3.15rem; }
  .support-form .cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-in,
  .hero__blob,
  .hero__blob img,
  .hero__ring,
  .hero__chip,
  .hero__bot,
  .orb {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-in,
  .hero__blob {
    clip-path: none !important;
  }
  .hero__bot {
    animation: none !important;
    transform: perspective(800px) rotateY(10deg) scale(1);
  }
}
