/* טל קרוז · דף נחיתה. נבנה אחד לאחד מהעיצוב בפיגמה, מחשב ב־1440 ונייד ב־390. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--foam);
  color: var(--indigo);
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.75;
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }

:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; right: 12px; z-index: 100; padding: 10px 18px;
  background: var(--white); color: var(--indigo); font-weight: 700; border-radius: var(--r-pill);
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.only-mobile { display: none; }
@media (max-width: 767px) {
  .only-mobile { display: inline; }
  .only-desktop { display: none; }
}

.wrap { width: min(var(--content-max), 100% - 2 * var(--side)); margin-inline: auto; position: relative; }

/* ---------- ים: מעבר צבע ומעליו טקסטורת המים במיזוג Overlay ---------- */
/* המיזוג נצבע כחלק מהרקע ולא כשכבה נפרדת, כדי שספארי לא יצבע מחדש את כל המקטע בכל אנימציה בתוכו.
   השקיפות (60% ו־85%) אפויה בקובץ הטקסטורה: t' = a·t + (1−a)·0.5, וזה זהה מתמטית ל־overlay בשקיפות a. */
.sea { position: relative; }
.sea--deep {
  background: url("../assets/img/water-relief-deep.webp") top left / 900px auto repeat, var(--sea-deep);
  background-blend-mode: overlay, normal; color: var(--white);
}
.sea--lagoon {
  background: url("../assets/img/water-relief-lagoon.webp") top left / 900px auto repeat, var(--sea-lagoon);
  background-blend-mode: overlay, normal;
}

/* טקסטורות רקע שמגיעות מהעיצוב */
.tex { position: absolute; inset: 0; pointer-events: none; z-index: 0; background-repeat: no-repeat; background-position: center top; }
.tex--lines { background-image: url("../assets/svg/tex-story.svg"); background-size: max(1440px, 100%) 100%; opacity: .44; }
.tex--dots { background-image: url("../assets/img/tex-dots.webp"); background-size: max(1440px, 100%) 100%; opacity: .42; }
.tex--guilloche { background-image: url("../assets/svg/tex-guilloche.svg"); background-size: max(1440px, 100%) 100%; opacity: .4; }

/* ---------- גלים: תמיד ברוחב המסך המלא ---------- */
.wave { position: absolute; inset-inline: 0; height: auto; aspect-ratio: 1440 / 110; z-index: 1; pointer-events: none; }
.wave__shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave__tex { position: absolute; inset-inline: 0; top: 48.2%; width: 100%; height: 52.2%; max-width: none; }
.wave--top { top: -1px; transform: rotate(180deg); }
.wave--bottom { bottom: -1px; }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 14px 26px; border-radius: var(--r-pill);
  font: 700 18px/1.2 var(--font-body); color: var(--white); text-decoration: none; white-space: nowrap;
  transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s cubic-bezier(.22,1,.36,1), filter .22s;
}
.btn--light { background: var(--cta-light); box-shadow: var(--shadow-cta-light); }
.btn--dark {
  border: 2px solid transparent;
  background: linear-gradient(var(--indigo), var(--indigo)) padding-box, var(--cta-border) border-box;
  box-shadow: var(--shadow-cta-dark);
}
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
  .btn--light:hover { box-shadow: 0 14px 28px -6px rgba(178, 58, 94, .45); }
  .btn--dark:hover { box-shadow: 0 14px 28px -8px rgba(255, 140, 107, .45); }
}
.btn:active { transform: translateY(0) scale(.98); }

.tag {
  position: absolute; z-index: 2; padding: 5px 10px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .92); color: var(--stamp-teal);
  font: 700 11px/1.3 var(--font-body); white-space: nowrap;
}
.tag--lg { font-size: 12px; padding: 6px 12px; }

/* ===================== 02 · מסך ראשון ===================== */
.hero { position: relative; height: 900px; color: var(--white); overflow: hidden; background: #0f6f98; }
.hero__media, .hero__poster, .hero__poster img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__poster img, .hero__video { object-fit: cover; object-position: left center; max-width: none; }
.hero__video { opacity: 0; transition: opacity .8s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__shade {
  position: absolute; inset-inline: 0; bottom: 0; height: 300px;
  background: linear-gradient(to bottom, rgba(20,20,61,0) 0%, rgba(20,20,61,.32) 55%, rgba(20,20,61,.5) 100%);
}

.hero__bar {
  position: absolute; z-index: 3; inset-inline: 0; top: 21px;
  width: min(var(--content-max), 100% - 2 * var(--side)); margin-inline: auto;
  display: flex; align-items: flex-start; justify-content: space-between;
}
.hero__logo { display: block; width: 96px; height: 53px; overflow: hidden; }
.hero__logo img { width: 96px; height: auto; max-width: none; }

.hero__content {
  position: absolute; z-index: 2; top: 179px;
  inset-inline-start: max(calc((100% - var(--content-max)) / 2 - 15px), calc(var(--side) - 15px));
  width: 680px; display: flex; flex-direction: column; align-items: flex-start;
}
.hero__title { font-size: 64px; line-height: 1.1; width: 660px; text-shadow: 0 2px 24px rgba(20,20,61,.25); }
.hero__title .line { display: block; }
.hero__sub { margin-top: 8px; font-size: 26px; line-height: 1.75; color: rgba(255,255,255,.85); }

.stats { display: flex; gap: 29px; margin-top: 30px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.stat__num { display: inline-flex; flex-direction: column; align-items: stretch; gap: 6px; font: 400 40px/1 var(--font-display); direction: ltr; }
.stat__line { width: 100%; height: 6px; padding-inline: 2px; max-width: none; transform-origin: right center; }
.stat__label { font-size: 15px; line-height: 1.2; color: var(--white); }

.hero__cta { margin-top: 55px; margin-inline-start: 8px; }

.hero__band { position: absolute; inset-inline: 0; bottom: -1px; aspect-ratio: 1440 / 110; z-index: 2; }
.hero__band .wave__shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__band .wave__tex { top: 48.2%; height: 52.2%; opacity: .44; }
.hero__wave-text {
  position: absolute; left: 1.806%; top: 13.6%; width: 96.616%;
  filter: drop-shadow(0 0 11px rgba(20,20,61,.45)) drop-shadow(0 2px 4px rgba(20,20,61,.85));
}
.hero__wave-text img { width: 100%; height: auto; }

/* ===================== 03 · הסיפור ===================== */
.story { position: relative; padding: 110px 0 118px; background: var(--foam); overflow: hidden; }
.story__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 618px 1fr; column-gap: 62px;
  grid-template-areas: "title title" "timeline photo";
}
.story__title { grid-area: title; font-size: var(--h2); line-height: 1.15; color: var(--indigo); }
.story__title .line { display: block; }

.timeline { grid-area: timeline; position: relative; margin-top: 82px; padding-inline-start: 58px; align-self: start; }
.timeline__line {
  position: absolute; inset-inline-start: 9px; top: 8px; width: 3px; height: 560px;
  background: repeating-linear-gradient(to bottom, var(--lagoon) 0 3px, transparent 3px 9px);
  transform-origin: top center;
}
.timeline__item { position: relative; min-height: 150px; }
.timeline__item::before {
  content: ""; position: absolute; inset-inline-start: -58px; top: 8px; width: 24px; height: 24px;
  background: url("../assets/svg/timeline-dot.svg") center / contain no-repeat;
}
.timeline__item h3 { font-size: var(--h3); line-height: 1.3; color: var(--indigo); }
.timeline__item p { margin-top: 10px; max-width: 560px; font-size: 18px; line-height: 1.75; color: var(--ink-soft); }
.timeline__item:last-child { min-height: 0; }

.story__photo { grid-area: photo; position: relative; margin-top: 70px; width: 520px; justify-self: end; }
.story__photo-frame {
  width: 520px; height: 640px; overflow: hidden;
  -webkit-mask: url("../assets/svg/sunset-mask.svg") top / 100% 633.29px no-repeat;
          mask: url("../assets/svg/sunset-mask.svg") top / 100% 633.29px no-repeat;
}
.story__photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.story__stamp {
  position: absolute; width: 157px; height: 157px; top: -72px; left: 432px;
  rotate: -10deg; mix-blend-mode: multiply;
}

/* ===================== 04 · הייחודיות ===================== */
.unique { padding: 170px 0 181px; }
.unique .wave--top .wave__tex, .unique .wave--bottom .wave__tex { opacity: 1; }
.unique__title { font-size: var(--h2); line-height: 1.15; text-align: center; color: var(--abyss); }
.cards {
  margin-top: 58px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
.card {
  position: relative; width: 384px; min-height: 330px; padding: 130px 36px 36px;
  border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
}
.card h3 { font-size: 26px; line-height: 1.3; color: var(--white); }
.card p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.85); }
.card .btn { margin-top: auto; margin-inline-start: -8px; }

.porthole {
  position: absolute; top: 22px; inset-inline-start: 28px; width: 84px; height: 84px; border-radius: 50%;
  background: url("../assets/svg/porthole-ring.svg") center / contain no-repeat;
}
.porthole::before {
  content: ""; position: absolute; inset: 7%; border-radius: 50%;
  background: var(--water) top left / 900px auto, var(--sea-lagoon);
  background-blend-mode: overlay, normal;
  filter: brightness(1.14) saturate(1.08);
}
.porthole::after {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/svg/porthole-top.svg") center / contain no-repeat;
}
.porthole__icon { position: absolute; z-index: 1; width: 36px; height: 36px; top: 24px; left: 24px; }

/* ===================== 05 · חותמות ===================== */
.stamps { position: relative; padding-top: 110px; height: 515px; background: var(--foam); overflow: hidden; }
.stamps__title { position: relative; z-index: 1; font-size: var(--h2); line-height: 1.15; text-align: center; color: var(--indigo); }
.stamps__stage { position: relative; z-index: 1; width: min(1440px, 100%); margin-inline: auto; aspect-ratio: 1440 / 290; margin-top: 19px; }
.stamp-img { position: absolute; mix-blend-mode: multiply; }
/* מיקום לפי מרכז כל חותמת בעיצוב: אחוזים מרוחב 1440 ומגובה הרצועה */
.stamps__stage img { translate: 0 -50%; }
.stamps__stage .s1 { width: 12.51%; left: 5.41%;  top: 58.6%; }
.stamps__stage .s2 { width: 13.69%; left: 19.93%; top: 60.7%; }
.stamps__stage .s3 { width: 16.42%; left: 35.4%;  top: 52.8%; }
.stamps__stage .s4 { width: 10.86%; left: 53.56%; top: 41.6%; }
.stamps__stage .s5 { width: 12.51%; left: 66.38%; top: 37.9%; rotate: -5deg; }
.stamps__stage .s6 { width: 13.69%; left: 80.9%;  top: 44.3%; rotate: 12deg; }

/* ===================== 07 · חברות השייט ===================== */
.lines { padding: 130px 0 170px; }
.lines .wave__tex { opacity: 1; }
.lines__title { font-size: var(--h2); line-height: 1.15; text-align: center; color: var(--white); }
.postcards { margin-top: 79px; display: flex; justify-content: center; gap: 40px; }
.postcard {
  width: 300px; padding: 12px 12px 24px; background: var(--white); border-radius: var(--r-sm);
  box-shadow: var(--shadow-postcard); text-align: center;
}
.postcard__logo { position: relative; width: 276px; height: 276px; border-radius: 6px; overflow: hidden; }
.postcard__logo img { width: 100%; height: 100%; object-fit: cover; }
.postcard__logo .tag { top: 8px; left: 50%; translate: -50% 0; }
.postcard__name { margin-top: 24px; margin-inline: -12px; font: 400 26px/1.3 var(--font-display); color: var(--indigo); white-space: nowrap; }

/* ===================== 07ב · ההמלצות של אפק לעונה ===================== */
.picks { position: relative; padding: 120px 0 161px; background: var(--foam); overflow: hidden; }
.picks > .wrap { z-index: 1; }
.picks__head { text-align: center; }
.picks__head h2 { font-size: var(--h2); line-height: 1.15; color: var(--indigo); }
.picks__head p { margin-top: 12px; font-size: 20px; line-height: 1.75; color: var(--ink-soft); }
.picks__list { margin-top: 72px; }

.pick { display: grid; grid-template-columns: 520px 1fr; column-gap: 56px; align-items: start; }
.pick__media { position: relative; width: 520px; aspect-ratio: 520 / 347; border-radius: var(--r-lg); overflow: hidden; }
.pick__media img { width: 100%; height: 100%; object-fit: cover; }
.pick__media .tag { top: 16px; inset-inline-start: 16px; }
.pick__body { padding-top: 28px; display: flex; flex-direction: column; align-items: flex-start; max-width: 560px; }
.pick__line { font: 700 14px/1.3 var(--font-body); letter-spacing: .5px; color: var(--stamp-teal); }
.pick__name { margin-top: 10px; font-size: 36px; line-height: 1.3; color: var(--indigo); }
.pick__desc { margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.facts { margin-top: 28px; display: flex; border-radius: var(--r-md); }
.facts > div { display: flex; flex-direction: column; align-items: flex-start; padding: 10px 28px; position: relative; }
.facts > div:first-child { padding-inline-start: 0; }
.facts > div + div::before { content: ""; position: absolute; inset-inline-start: 0; top: 14px; width: 1px; height: 40px; background: rgba(38,38,98,.12); }
.facts dd { order: -1; font: 400 22px/1.4 var(--font-display); color: var(--indigo); white-space: nowrap; }
.facts dt { font-size: 13px; line-height: 1.3; color: var(--ink-soft); }
.pick .btn { margin-top: 28px; }
.btn .nowrap, .credit .nowrap, .hero__title .nowrap { white-space: nowrap; }

/* באנר הקרדיט לבזבוזים באונייה: אשנב גדול, כמו בעמוד 404, עם זכוכית לגונה וסמל מתנה */
.credit {
  position: relative; margin-top: 120px; display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 64px; align-items: center;
  padding: 64px 72px; border-radius: var(--r-lg); box-shadow: var(--shadow-card); overflow: hidden;
}
.credit .credit__porthole { width: 240px; height: 240px; }
.credit .big-porthole__glass {
  background: url("../assets/img/water-relief-lagoon.webp") top left / 900px auto repeat, var(--sea-lagoon);
  background-blend-mode: overlay, normal;
}
.credit .big-porthole__glass::before { content: none; }
.credit__icon { position: absolute; inset: 0; z-index: 1; width: 92px; height: 92px; margin: auto; }
.credit__body { display: flex; flex-direction: column; align-items: flex-start; }
.credit__title { font-size: var(--h2); line-height: 1.15; color: var(--white); }
.credit__text { margin-top: 12px; font-size: 20px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.credit__uses { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.credit__uses li {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--r-pill); background: rgba(255, 255, 255, .06);
  font: 700 16px/1.3 var(--font-body); color: var(--white);
}
.credit__uses li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lagoon); flex: none; }
.credit__cta { margin-top: 32px; }
@media (max-width: 1279px) and (min-width: 768px) {
  .credit { grid-template-columns: 180px minmax(0, 1fr); column-gap: 44px; padding: 52px 48px; }
  .credit .credit__porthole { width: 180px; height: 180px; }
  .credit__icon { width: 70px; height: 70px; }
}
@media (max-width: 767px) {
  .credit { margin-top: 40px; grid-template-columns: 1fr; row-gap: 22px; padding: 36px 28px 40px; border-radius: 25px; }
  .credit .credit__porthole { width: 120px; height: 120px; }
  .credit__icon { width: 48px; height: 48px; }
  .credit__title { font-size: 26px; }
  .credit__text { margin-top: 8px; font-size: 15px; }
  .credit__uses { margin-top: 16px; gap: 8px; }
  .credit__uses li { padding: 7px 14px; font-size: 14px; gap: 8px; }
  .credit__cta { margin-top: 28px; width: 100%; min-height: 48px; }
}

.rope { margin-block: 25px; height: 90px; display: flex; align-items: center; }
.rope img { width: 100%; height: auto; }

/* ===================== 10 · תחתית הדף ===================== */
.footer { position: relative; color: var(--white); }
.footer__top { position: relative; height: 120px; background: var(--foam); overflow: hidden; }
.tex--guilloche-footer { background-image: url("../assets/svg/tex-footer.svg"); background-size: max(1440px, 100%) 100%; }
.footer__body { position: relative; padding: 102px 0 24px; display: flex; flex-direction: column; align-items: center; }
.footer .wave--footer { top: -1px; transform: scaleY(-1); }
.footer__logo { width: 221px; height: auto; position: relative; z-index: 3; }
.footer__legal { margin-top: 24px; display: flex; align-items: center; gap: 20px; font-size: 15px; line-height: 1.3; }
.footer__legal a { color: rgba(255,255,255,.85); text-underline-offset: 4px; }
.footer__legal a:hover { color: var(--white); text-decoration-color: var(--lagoon); }
.footer__legal .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--lagoon); }
.footer__credit { margin-top: 16px; display: flex; align-items: center; gap: 10px; font-size: 18px; line-height: 1.3; color: rgba(255,255,255,.7); text-decoration: none; }
.footer__credit img { width: 59px; height: 54px; }
.footer__credit:hover { color: var(--white); }

/* ---------- כפתור צף ---------- */
.float-wa {
  position: fixed; z-index: 50; left: 32px; bottom: 32px; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cta-light);
  box-shadow: 0 0 0 2px var(--white), 0 10px 24px rgba(13,13,44,.45);
  transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .45s cubic-bezier(.22,1,.36,1), box-shadow .22s;
}
.float-wa.is-hidden { opacity: 0; transform: translateY(16px); pointer-events: none; }
.float-wa svg { width: 30px; height: 30px; }
@media (hover: hover) { .float-wa:hover { transform: translateY(-2px); } }
.float-wa:active { transform: scale(.97); }

/* ===================== מסכים בינוניים ===================== */
@media (max-width: 1279px) and (min-width: 768px) {
  .hero__title { width: auto; max-width: 600px; font-size: clamp(48px, 5vw, 64px); }
  .story__grid { grid-template-columns: 1fr minmax(0, 420px); column-gap: 40px; }
  .story__photo, .story__photo-frame { width: 100%; }
  .story__photo-frame { height: auto; aspect-ratio: 520 / 640; -webkit-mask-size: 100% 98.95%; mask-size: 100% 98.95%; }
  .story__stamp { left: auto; right: -40px; }
  .cards { max-width: 792px; margin-inline: auto; }
  .postcards { gap: 24px; }
  .postcard { width: 31%; } .postcard__logo { width: 100%; height: auto; aspect-ratio: 1; }
  .pick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .pick__media { width: 100%; }
}

/* ===================== נייד ===================== */
@media (max-width: 767px) {
  body { font-size: 18px; }

  .hero { height: 780px; }
  .hero__poster img, .hero__video { object-position: center; }
  .hero__media::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 560px;
    background: linear-gradient(to bottom, rgba(20,20,61,.75) 0%, rgba(20,20,61,.35) 70%, rgba(20,20,61,0) 100%); }
  .hero__bar { top: 16px; justify-content: flex-start; }
  .hero__bar-cta { display: none; }
  .hero__logo { width: 72px; height: 40px; }
  .hero__logo img { width: 72px; }
  .hero__content { top: 84px; inset-inline-start: var(--side); inset-inline-end: var(--side); width: auto; }
  .hero__title { width: 100%; font-size: 40px; line-height: 1.1; }
  [data-reveal="lines"] .line { display: inline; }
  .hero__sub { margin-top: 10px; font: 400 22px/1.3 var(--font-display); color: rgba(255,255,255,.9); }
  .stats { gap: 0; width: 100%; justify-content: space-between; margin-top: 22px; padding-inline-end: 22px; }
  .stat__num { font-size: 22px; gap: 5px; }
  .stat__label { font-size: 13px; }
  .hero__cta { margin-top: 35px; margin-inline-start: 0; min-height: 54px; padding-inline: 28px;
    border: 2px solid transparent; background: linear-gradient(var(--indigo), var(--indigo)) padding-box, var(--cta-border) border-box; box-shadow: var(--shadow-cta-dark); }
  .hero__band { aspect-ratio: auto; height: 60px; }
  .hero__band .wave__tex, .hero__wave-text { display: none; }

  .wave { aspect-ratio: auto; height: 50px; }

  .story { padding: 56px 0 64px; }
  .story__grid { grid-template-columns: 1fr; grid-template-areas: "title" "photo" "timeline"; }
  .story__title { font-size: 30px; }
  .story__photo { margin-top: 28px; width: 100%; }
  .story__photo-frame { width: 100%; height: auto; aspect-ratio: 346 / 426; -webkit-mask-size: 100% 98.95%; mask-size: 100% 98.95%; }
  .story__stamp { width: 94px; height: 94px; top: -40px; left: -22px; }
  .timeline { margin-top: 40px; padding-inline-start: 32px; }
  .timeline__line { inset-inline-start: 7.5px; height: calc(100% - 50px); }
  .timeline__item { min-height: 105px; }
  .timeline__item::before { width: 18px; height: 18px; inset-inline-start: -32px; top: 6px; }
  .timeline__item h3 { font-size: 22px; }
  .timeline__item p { margin-top: 6px; font-size: 15px; line-height: 1.55; }
  .timeline__item:last-child { min-height: 0; }

  .unique { padding: 90px 0 66px; }
  .unique__title { font-size: 30px; }
  .cards { margin-top: 28px; gap: 16px; }
  .card { width: 100%; min-height: 303px; padding: 120px 28px 28px; }
  .card:first-child { min-height: 330px; }
  .card h3 { font-size: 22px; }
  .card p { font-size: 15px; }
  .card .btn { margin-top: 28px; margin-inline-start: 0; }
  .porthole { inset-inline-start: 22px; }

  .stamps { padding-top: 56px; height: 298px; }
  .stamps__title { font-size: 30px; }
  /* החותמות ממוקמות באחוזים מתוך מסגרת של 390 בפיגמה, כך שהמרווחים נשמרים בכל רוחב טלפון */
  .stamps__stage { width: min(100%, 430px); aspect-ratio: 390 / 150; margin-top: 12px; }
  .stamps__stage img { translate: 0 0; }
  .stamps__stage .s1, .stamps__stage .s6 { display: none; }
  .stamps__stage .s2 { width: 17.95%; left: auto; right: 6.67%;  top: 18.67%; rotate: 12deg; }
  .stamps__stage .s3 { width: 26.92%; left: auto; right: 26.15%; top: 30.67%; }
  .stamps__stage .s5 { width: 16.92%; left: 24.36%; top: 20%; rotate: -5deg; }
  .stamps__stage .s4 { width: 15.13%; left: 5.38%;  top: 29.33%; }

  .lines { padding: 86px 0 90px; }
  .lines__title { font-size: 30px; max-width: 300px; margin-inline: auto; }
  .postcards { margin-top: 28px; gap: 10px; }
  .postcard { width: calc((100% - 20px) / 3); padding: 4px; border-radius: 4px; box-shadow: 0 9px 14px rgba(20,20,61,.45); }
  .postcard__logo { width: 100%; height: auto; aspect-ratio: 1; border-radius: 2px; }
  .postcard__logo .tag, .postcard__name { display: none; }

  .picks { padding: 56px 0 56px; }
  .picks__head h2 { font-size: 30px; }
  .picks__head p { margin-top: 8px; font-size: 15px; line-height: 1.5; }
  .picks__list { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
  .rope { display: none; }
  .pick { display: block; background: var(--white); border-radius: 25px; overflow: hidden; box-shadow: var(--shadow-card); }
  .pick__media { width: 100%; aspect-ratio: 346 / 231; border-radius: 0; }
  .pick__media .tag { top: 14px; inset-inline-start: 14px; }
  .pick__body { padding: 24px 29px 30px; max-width: none; align-items: stretch; }
  .pick__line { font-size: 13px; text-align: right; }
  .pick__name { margin-top: 4px; font-size: 24px; }
  .pick__desc { margin-top: 8px; font-size: 15px; }
  .facts { margin-top: 16px; background: var(--foam); border-radius: 16px; justify-content: space-around; padding: 6px 0; }
  .facts > div { align-items: center; padding: 8px 6px; flex: 1; }
  .facts > div:first-child { padding-inline-start: 6px; }
  .facts > div + div::before { top: 12px; }
  .facts dd { font-size: 20px; }
  .pick .btn { margin-top: 22px; width: 100%; min-height: 48px; }

  .footer__top { height: 50px; }
  .footer__body { padding: 40px 0 92px; }
  .footer__logo { width: 130px; }
  .footer__legal { margin-top: 40px; }
  .footer__credit { margin-top: 60px; }

  .float-wa { left: 16px; bottom: 16px; }
}

/* ===================== עמודים משניים: נגישות, פרטיות ו־404 ===================== */
.page-bar { background: var(--white); box-shadow: 0 1px 0 var(--line), 0 10px 30px -24px rgba(20,20,61,.4); position: sticky; top: 0; z-index: 10; }
.page-bar .wrap { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.page-bar__logo img { width: 96px; height: auto; }
.link-back {
  font: 700 16px/1.2 var(--font-body); color: var(--indigo); text-decoration: underline;
  text-decoration-color: var(--lagoon); text-decoration-thickness: 2px; text-underline-offset: 7px; padding-block: 8px;
}
.link-back--light { color: var(--white); font-size: 18px; }
.legal { padding: 80px 0 140px; }
.legal__body { max-width: var(--paragraph-max); }
.legal h1 { font-size: var(--h1); line-height: 1.1; color: var(--indigo); }
.legal__updated { margin-top: 40px; font-size: var(--small); line-height: 1.5; color: var(--ink-soft); }
.legal section { margin-top: 40px; }
.legal h2 { font-size: var(--h3); line-height: 1.3; color: var(--indigo); }
.legal p, .legal li { margin-top: 12px; font-size: var(--body); line-height: 1.75; color: var(--ink-soft); }
.legal li { margin-top: 0; padding-inline-start: 20px; position: relative; }
.legal li::before { content: "•"; position: absolute; inset-inline-start: 0; color: var(--indigo); }
.legal ul { margin-top: 12px; }
.legal .todo { background: rgba(78,187,194,.18); color: var(--indigo); border-radius: 4px; padding-inline: 4px; }
.legal a { color: var(--indigo); text-decoration-color: var(--lagoon); text-underline-offset: 4px; }

.page-404 { min-height: 100svh; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; color: var(--white); padding: 150px var(--side) 200px; text-align: center; }
.page-404__logo { position: absolute; top: 22px; inset-inline-start: max(var(--side), calc((100% - var(--content-max)) / 2)); width: 96px; height: 53px; overflow: hidden; }
.page-404__logo img { width: 96px; max-width: none; }
.big-porthole { position: relative; width: 300px; height: 300px; flex: none; }
.big-porthole__ring { position: absolute; left: -10%; top: 0; width: 120%; height: 121.33%; max-width: none; }
.big-porthole__glass { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; background: var(--sea-deep); box-shadow: inset 0 10px 30px rgba(0,0,0,.35); }
.big-porthole__glass::before { content: ""; position: absolute; inset: 0; background: var(--water) top left / 900px auto; mix-blend-mode: overlay; opacity: .6; }
.big-porthole__glass::after { content: ""; position: absolute; inset: 0; background: url("../assets/svg/porthole-lg-shine.svg") center / cover; }
.big-porthole__bolts { position: absolute; inset: 0; width: 100%; height: 100%; }
.big-porthole__num { position: absolute; inset: 0; display: grid; place-items: center; font: 400 96px/1 var(--font-display); color: var(--lagoon); direction: ltr; }
.page-404 h1 { margin-top: 50px; font-size: var(--h2); line-height: 1.15; }
.page-404 p { margin-top: 16px; max-width: 640px; font-size: var(--body); line-height: 1.75; color: rgba(255,255,255,.85); }
.page-404__actions { margin-top: 40px; display: flex; align-items: center; gap: 32px; }
.page-404 .wave-double { position: absolute; inset-inline: 0; bottom: -1px; width: 100%; aspect-ratio: 1440 / 110; height: auto; }

@media (max-width: 767px) {
  .page-bar .wrap { height: 72px; }
  .page-bar__logo img { width: 72px; }
  .link-back { font-size: 15px; }
  .legal { padding: 40px 0 80px; }
  .legal__updated, .legal section { margin-top: 32px; }
  .legal li { padding-inline-start: 18px; }
  .page-404 { padding-top: 120px; padding-bottom: 120px; }
  .page-404__logo { top: 16px; width: 72px; height: 40px; }
  .page-404__logo img { width: 72px; }
  .big-porthole { width: 220px; height: 220px; }
  .big-porthole__num { font-size: 70px; }
  .page-404 h1 { margin-top: 40px; }
  .page-404__actions { flex-direction: column-reverse; gap: 16px; width: 100%; }
  .page-404__actions .btn { width: 100%; }
  .page-404 .wave-double { aspect-ratio: auto; height: 60px; }
}

/* ---------- מצב התחלה לאנימציות (רק כש־JS עובד) ---------- */
.js [data-reveal] { visibility: hidden; }
.js.is-ready [data-reveal], .no-motion [data-reveal] { visibility: visible; }

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

/* ===================== הסכמה לעוגיות ===================== */
.consent {
  position: fixed; z-index: 60; inset-inline-start: 32px; bottom: 32px; width: min(420px, calc(100% - 2 * var(--side)));
  padding: 24px 26px 26px; border-radius: var(--r-lg); background: var(--white); color: var(--indigo);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(20, 20, 61, .55);
  opacity: 0; transform: translateY(24px); visibility: hidden;
  transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1), visibility 0s .9s;
}
.consent.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.consent__title { font: 400 22px/1.3 var(--font-display); }
.consent__text { margin-top: 8px; font-size: var(--small); line-height: 1.6; color: var(--ink-soft); }
.consent__text a { color: var(--indigo); text-decoration-color: var(--lagoon); text-underline-offset: 4px; }
.consent__actions { margin-top: 18px; display: flex; gap: 12px; }
.consent__btn {
  flex: 1; min-height: 48px; padding: 12px 20px; border-radius: var(--r-pill); cursor: pointer;
  font: 700 16px/1.2 var(--font-body); color: var(--indigo); background: transparent; border: 2px solid var(--indigo);
  transition: transform .22s cubic-bezier(.22,1,.36,1), background-color .22s;
}
.consent__btn--solid { background: var(--indigo); color: var(--white); }
@media (hover: hover) {
  .consent__btn:hover { transform: translateY(-2px); }
  .consent__btn:not(.consent__btn--solid):hover { background: rgba(38, 38, 98, .06); }
}
.consent__btn:active { transform: scale(.98); }
.has-consent .float-wa { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

.link-inline {
  padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 4px;
}
.legal .link-inline { color: var(--indigo); text-decoration-color: var(--lagoon); }
.footer__legal .link-inline { color: rgba(255,255,255,.85); }
.footer__legal .link-inline:hover { color: var(--white); text-decoration-color: var(--lagoon); }

@media (max-width: 767px) {
  .consent { inset-inline: 12px; bottom: 12px; width: auto; padding: 20px 20px 22px; border-radius: var(--r-md); }
  .consent__title { font-size: 20px; }
  .footer__legal { flex-wrap: wrap; justify-content: center; row-gap: 12px; }
}

/* ---------- הגנה מפני טקסט ארוך: מילה ארוכה נשברת ולא דוחפת את העמוד ---------- */
h1, h2, h3, p, li, dd, dt { overflow-wrap: anywhere; }
.btn { max-width: 100%; white-space: normal; text-align: center; }

/* ===================== תפריט נגישות ===================== */
.a11y { position: fixed; z-index: 55; inset-inline-start: 32px; bottom: 32px; }
.a11y__toggle {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--indigo); color: var(--white); box-shadow: 0 0 0 2px var(--white), 0 10px 24px rgba(13,13,44,.4);
  transition: transform .22s cubic-bezier(.22,1,.36,1);
}
@media (hover: hover) { .a11y__toggle:hover { transform: translateY(-2px); } }
.a11y__toggle:active { transform: scale(.97); }
.a11y__panel {
  position: absolute; inset-inline-start: 0; bottom: 64px; width: 300px; max-height: calc(100svh - 120px); overflow: auto;
  padding: 20px 20px 18px; border-radius: var(--r-lg); background: var(--white); color: var(--indigo);
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(20, 20, 61, .55);
}
.a11y__panel[hidden] { display: none; }
.a11y__title { font: 400 22px/1.3 var(--font-display); }
.a11y__size { margin-top: 14px; display: flex; align-items: center; gap: 8px; font-size: 16px; }
.a11y__size span { margin-inline-end: auto; }
.a11y__step {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--indigo); background: transparent; cursor: pointer;
  font: 700 15px/1 var(--font-body); color: var(--indigo);
}
.a11y__step:disabled { opacity: .35; cursor: default; }
.a11y__value { min-width: 46px; text-align: center; font: 700 15px/1 var(--font-body); direction: ltr; }
.a11y__list { margin-top: 12px; display: grid; gap: 6px; }
.a11y__opt {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--r-sm); border: 1px solid var(--line); cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: start;
  background: var(--foam); font: 400 16px/1.3 var(--font-body); color: var(--indigo);
}
.a11y__check { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 2px solid var(--indigo); }
.a11y__opt[aria-pressed="true"] { background: rgba(78,187,194,.16); border-color: var(--lagoon); }
.a11y__opt[aria-pressed="true"] .a11y__check { background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.a11y__foot { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.a11y__reset { padding: 6px 0; border: 0; background: none; cursor: pointer; font: 700 15px/1.2 var(--font-body); color: var(--indigo); text-decoration: underline; text-decoration-color: var(--lagoon); text-underline-offset: 4px; }
.a11y__foot a { color: var(--indigo); text-decoration-color: var(--lagoon); text-underline-offset: 4px; }
.has-consent .a11y { opacity: 0; pointer-events: none; }

/* ההגדרות עצמן: חלות על תוכן הדף, לא על התפריט */
.a11y-zoom body > :not(.a11y):not(.consent):not(.float-wa):not(script) { zoom: var(--a11y-zoom); }
/* ניגודיות גבוהה: טקסט כהה יותר על רקע בהיר, ושכבה כהה מתחת לטקסט שעל תמונות */
.a11y-contrast { --ink-soft: #14143D; --line: rgba(20, 20, 61, .5); }
.a11y-contrast .hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(13, 13, 44, .55); }
.a11y-contrast .hero__sub, .a11y-contrast .card p, .a11y-contrast .footer__legal a,
.a11y-contrast .footer__legal .link-inline, .a11y-contrast .footer__credit, .a11y-contrast .page-404 p { color: var(--white); }
.a11y-contrast .hero__title, .a11y-contrast .hero__sub, .a11y-contrast .stat { text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.a11y-gray body > :not(.a11y):not(.consent) { filter: grayscale(1); }
.a11y-links a, .a11y-links button.link-inline { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px; }
.a11y-links a.btn, .a11y-links .float-wa { outline: 3px solid var(--lagoon); outline-offset: 3px; }
.a11y-font, .a11y-font * { font-family: Arial, "Arial Hebrew", sans-serif !important; letter-spacing: 0 !important; }
.a11y-motion *, .a11y-motion *::before, .a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

@media (max-width: 767px) {
  .a11y { inset-inline-start: 16px; bottom: 16px; }
  .a11y__toggle { width: 48px; height: 48px; }
  .a11y__panel { position: fixed; inset-inline: 12px; bottom: 76px; width: auto; }
}
