/* ==========================================================================
   Taxidi – Relocation to Greece
   פלטת הצבעים והלוגו נשמרו מהאתר המקורי
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* הפלטה המקורית של האתר */
  --aqua:  #B1D8D5;
  --sand:  #F1E0CC;
  --cream: #FFF7ED;
  --sky:   #CFE6EF;
  --peach: #FFBC7D;

  /* גוונים נגזרים לצורך ניגודיות ועומק */
  --ink:        #0F1B1A;
  --ink-soft:   #41514f;
  --deep:       #1F6F68;
  --deep-dark:  #155650;
  --aqua-tint:  #E4F2F1;
  --sand-tint:  #FAF1E5;
  --line:       rgba(15, 27, 26, .10);
  --white:      #fff;

  --shadow-sm: 0 1px 2px rgba(15,27,26,.04), 0 4px 14px rgba(15,27,26,.05);
  --shadow-md: 0 2px 6px rgba(15,27,26,.05), 0 14px 34px rgba(15,27,26,.09);
  --shadow-lg: 0 4px 10px rgba(15,27,26,.06), 0 26px 60px rgba(15,27,26,.12);

  --r-sm: 10px;
  --r:    18px;
  --r-lg: 28px;

  --wrap: 1140px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --header-h: 74px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --t-fast: .22s var(--ease);
  --t:      .35s var(--ease);
  --t-slow: .55s var(--ease);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

html { overflow-x: clip; }

body {
  margin: 0;
  font-family: "Heebo", "Arial Hebrew", Arial, system-ui, sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep-dark); }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--deep);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--aqua); color: var(--ink); }

/* ----------------------------------------------------------- typography -- */
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.5vw, 4rem); font-weight: 300; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.85rem); font-weight: 300; }
h3 { font-size: clamp(1.2rem, 1.08rem + .6vw, 1.5rem); }
h4 { font-size: 1.08rem; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

/* ---------------------------------------------------------------- utils -- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: clamp(3.6rem, 7vw, 6.5rem); position: relative; }
.section--sand  { background: var(--sand-tint); }
.section--aqua  { background: var(--aqua-tint); }
.section--sky   { background: linear-gradient(180deg, var(--sky) 0%, #E6F2F7 100%); }

.section__head { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.section__head p { color: var(--ink-soft); font-size: 1.05em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 500; letter-spacing: .1em;
  color: var(--deep); text-transform: uppercase;
  margin-bottom: .9rem;
}
.eyebrow::before,
.eyebrow::after { content: ""; width: 22px; height: 1.5px; background: var(--aqua); }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px;
  z-index: 200; background: var(--ink); color: var(--cream);
  padding: .7rem 1.2rem; border-radius: var(--r-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; color: var(--cream); }

.nowrap { white-space: nowrap; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden; white-space: nowrap;
  clip: rect(0 0 0 0); clip-path: inset(50%); border: 0;
}

/* --------------------------------------------------------------- button -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px;
  padding: .78rem 1.7rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--primary { background: var(--deep); color: var(--cream); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--deep-dark); color: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(15,27,26,.22); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }

.btn--light { background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(6px); }
.btn--light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--wa { background: #25D366; color: #06371A; }
.btn--wa:hover { background: #1FBB5A; color: #06371A; transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* --------------------------------------------------------------- header -- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.header:not(.is-stuck):not(.header--solid)::before {
  content: ""; position: absolute; inset-inline: 0; top: 0;
  height: calc(var(--header-h) + 34px);
  background: linear-gradient(180deg, rgba(255,247,237,.82) 0%, rgba(255,247,237,.5) 45%, rgba(255,247,237,0) 100%);
  pointer-events: none;
}

.header__inner {
  position: relative;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1rem;
}

.header.is-stuck,
.header--solid {
  background: rgba(255, 247, 237, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(15,27,26,.05);
}

.brand { display: flex; align-items: center; gap: .6rem; margin-inline-end: auto; text-decoration: none; color: inherit; }
.brand img { height: 42px; width: auto; transition: height var(--t); }
.header.is-stuck .brand img { height: 36px; }
@media (min-width: 1060px) {
  /* לוגו | ניווט ממורכז | כפתור – שתי העמודות הצדדיות שוות כדי שהניווט יישב באמצע המסך */
  .header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .brand { justify-self: start; margin: 0; }
  .header__cta { justify-self: end; }
}
.brand__name { display: none; }

/* ניווט דסקטופ */
.nav { display: none; }
@media (min-width: 1060px) {
  .nav { display: flex; align-items: center; gap: .15rem; }
  .nav a {
    position: relative;
    padding: .55rem .62rem;
    font-size: .95rem; font-weight: 400; white-space: nowrap;
    color: var(--ink); text-decoration: none;
    border-radius: var(--r-sm);
    transition: color var(--t-fast), background var(--t-fast);
  }
  .nav a::after {
    content: ""; position: absolute; inset-inline: .62rem; bottom: .3rem;
    height: 1.5px; background: var(--deep);
    transform: scaleX(0); transform-origin: center;
    transition: transform var(--t);
  }
  .nav a:hover { color: var(--deep); }
  .nav a:hover::after,
  .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav a[aria-current="page"] { color: var(--deep); font-weight: 500; }
}

.header__cta { display: none; }
@media (min-width: 1060px) { .header__cta { display: inline-flex; min-height: 42px; padding: .5rem 1.25rem; font-size: .94rem; } }

/* המבורגר */
.burger {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;   /* grid היה מותח את השורות וה-X לא נסגר */
  width: 46px; height: 46px; padding: 0;
  background: rgba(255,255,255,.75); border: 1px solid var(--line);
  border-radius: 50%; cursor: pointer;
  transition: background var(--t-fast);
}
.burger:hover { background: #fff; }
@media (min-width: 1060px) { .burger { display: none; } }
.burger span { display: block; width: 19px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t-fast); }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* מגירת ניווט בנייד */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(15,27,26,.42);
  opacity: 0; transition: opacity var(--t);
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset-block: 0; inset-inline-end: 0;
  width: min(340px, 86vw);
  background: var(--cream);
  padding: calc(var(--header-h) + 1.4rem) 1.7rem 2rem;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateX(var(--drawer-out, 100%));
  transition: transform var(--t);
}
:root[dir="rtl"] .drawer__panel { --drawer-out: -100%; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__panel a:not(.btn) {
  display: block; padding: .85rem .2rem;
  font-size: 1.08rem; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color var(--t-fast), padding-inline-start var(--t-fast);
}
.drawer__panel a:not(.btn):hover { color: var(--deep); padding-inline-start: .5rem; }
.drawer__panel a:not(.btn)[aria-current="page"] { color: var(--deep); font-weight: 500; }
.drawer__foot { margin-top: 1.6rem; display: grid; gap: .7rem; }
.drawer__foot .btn { width: 100%; }

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  min-height: min(92svh, 780px);
  display: grid; align-items: center;
  padding-block: calc(var(--header-h) + 3.5rem) clamp(5rem, 12vw, 8rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  animation: heroZoom 24s var(--ease) forwards;
}
@keyframes heroZoom { from { transform: scale(1.005); } to { transform: scale(1.07); } }

.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(190deg, rgba(15,27,26,.30) 0%, rgba(15,27,26,.06) 38%, rgba(255,247,237,0) 55%),
    linear-gradient(0deg, var(--cream) 1%, rgba(255,247,237,.92) 14%, rgba(255,247,237,.55) 34%, rgba(255,247,237,.05) 62%);
}

.hero__inner { position: relative; text-align: center; max-width: 860px; margin-inline: auto; }


.hero h1 { margin-bottom: .2em; }
.hero__tagline {
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.85rem);
  font-weight: 500; color: var(--deep-dark);
  margin-bottom: 1.1rem;
}
.hero__sub {
  font-size: clamp(1rem, .96rem + .25vw, 1.12rem);
  line-height: 1.8;
  color: #17241f;              /* כהה מספיק כדי להיקרא גם מעל הים בנייד */
  max-width: 62ch; margin-inline: auto; margin-bottom: 2rem;
  padding: 1rem 1.3rem;
  background: rgba(255,247,237,.62);   /* בלי backdrop-filter - הטשטוש של הים שמאחור נראה כמו תמונה מטושטשת */
  border-radius: var(--r);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

.hero__scroll {
  position: absolute; inset-inline: 0; bottom: 1.6rem;
  display: flex; justify-content: center;
  color: var(--ink-soft);
}
.hero__scroll span {
  display: grid; place-items: center;
  width: 28px; height: 46px;
  border: 1.5px solid rgba(15,27,26,.28); border-radius: 999px;
}
.hero__scroll span::before {
  content: ""; width: 3.5px; height: 8px; border-radius: 2px;
  background: var(--ink-soft);
  animation: scrollDot 2.4s var(--ease) infinite;
}
@keyframes scrollDot { 0%,100% { transform: translateY(-6px); opacity: .35; } 50% { transform: translateY(6px); opacity: 1; } }

/* ---------------------------------------------------------- page header -- */
.pagehead {
  position: relative;
  padding-block: calc(var(--header-h) + clamp(2.6rem, 6vw, 4.4rem)) clamp(2.4rem, 5vw, 3.6rem);
  background: linear-gradient(170deg, var(--sky) 0%, var(--aqua-tint) 55%, var(--cream) 100%);
  text-align: center;
  overflow: hidden;
}
.pagehead h1 { margin-bottom: 0; font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem); }

.crumbs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem;
  margin-bottom: 1rem;
  font-size: .88rem; color: var(--ink-soft);
}
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--deep); text-decoration: underline; }

/* -------------------------------------------------------------- קלפים -- */
.cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
/* קלף אחרון שנשאר לבד בשורה נמתח לרוחב מלא */
@media (min-width: 620px) and (max-width: 999.98px) { .cards > .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .cards > .card:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  gap: .2rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--aqua), var(--sky));
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-slow);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(31,111,104,.22); }
  .card:hover::before { transform: scaleX(1); }
  .card:hover .card__icon { background: var(--aqua); transform: rotate(-4deg); }
  .card:hover .card__more { gap: .7rem; }
}
.card:focus-visible { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.card__icon {
  display: grid; place-items: center;
  width: 58px; height: 58px; margin-bottom: 1.1rem;
  background: var(--aqua-tint);
  border-radius: 16px;
  color: var(--ink);
  transition: background var(--t), transform var(--t);
}
.card__icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-soft); font-size: .985rem; line-height: 1.7; }
.card__more {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: auto; padding-top: 1.1rem;
  font-size: .93rem; font-weight: 500; color: var(--deep);
  transition: gap var(--t);
}
.card__more svg { width: 15px; height: 15px; }
:root[dir="rtl"] .card__more svg { transform: scaleX(-1); }

/* --------------------------------------------------------------- אינטרו -- */
.lead {
  max-width: 760px; margin-inline: auto; text-align: center;
  font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem);
  line-height: 1.85;
}
.lead p + p { margin-top: 1.05em; }

.note {
  margin-top: 2.2rem;
  padding: 1.35rem 1.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--aqua);
  border-radius: var(--r-sm);
  font-size: .99rem; line-height: 1.75; color: var(--ink-soft);
  text-align: start;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------- אודות -- */
.about__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .about__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.about__figure { position: relative; margin: 0; max-width: 400px; margin-inline: auto; width: 100%; }
.about__figure img {
  position: relative; z-index: 1;
  width: 100%;
  border-radius: 58% 42% 55% 45% / 48% 52% 48% 52%;
  box-shadow: var(--shadow-lg);
}
.about__figure::before {
  content: ""; position: absolute; inset: -16px;
  border: 1.5px solid var(--aqua);
  border-radius: 52% 48% 45% 55% / 55% 45% 55% 45%;
  pointer-events: none;
}
.about__text p + p { margin-top: 1.05em; }
.about__sign {
  display: inline-block; margin-top: 1.4rem;
  font-size: 1.05rem; font-weight: 500; color: var(--deep);
}

/* --------------------------------------------------------------- קשר -- */
.contact__grid {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 940px) { .contact__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

.form {
  display: grid; gap: 1.05rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.form__intro {
  padding-bottom: 1.25rem;
  margin-bottom: .25rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.form__intro h3 { margin-bottom: .3rem; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }
.form__intro p  { color: var(--ink-soft); font-size: .95rem; }

.field label .opt { font-weight: 400; color: var(--ink-soft); }

@media (min-width: 560px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; align-items: start; } }

.field { display: grid; gap: .38rem; margin: 0; }   /* ה-margin של <p> היה מזיז שדות בשורה */
.field label { font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
.field input, .field textarea {
  width: 100%;
  padding: .82rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--sand-tint);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field textarea:hover { background: #F7EDE0; }
.field input:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--deep);
  box-shadow: 0 0 0 3px rgba(31,111,104,.13);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #C0564A; }

.consent { display: flex; align-items: flex-start; gap: .65rem; font-size: .87rem; line-height: 1.6; color: var(--ink-soft); cursor: pointer; }
.consent input { flex: none; width: 19px; height: 19px; margin-top: .18rem; accent-color: var(--deep); cursor: pointer; }

.form__msg { font-size: .95rem; font-weight: 500; border-radius: var(--r-sm); }
.form__msg:not(:empty) { padding: .8rem 1rem; }
.form__msg.is-ok   { background: var(--aqua-tint); color: var(--deep-dark); }
.form__msg.is-err  { background: #FBEDEA; color: #9A3B30; }

/* honeypot – חייב display:none ולא הזזה שלילית, שאחרת המסמך נמתח ב-RTL */
.hp { display: none !important; }

.contact__aside { display: grid; gap: 1rem; align-content: start; }
.contact__card {
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  background: var(--aqua-tint);
  border: 1px solid rgba(31,111,104,.14);
  border-radius: var(--r-lg);
}
.contact__card h3 { margin-bottom: .55rem; }
.contact__card p { color: var(--ink-soft); font-size: .97rem; }
.contact__card .btn { width: 100%; margin-top: 1.1rem; }

.contact__list { display: grid; gap: .1rem; margin-top: .5rem; }
.contact__list a {
  display: flex; align-items: center; gap: .7rem;
  padding: .7rem 0;
  color: var(--ink); text-decoration: none; font-size: .98rem;
  transition: color var(--t-fast);
}
.contact__list a:hover { color: var(--deep); }
.contact__list svg { width: 18px; height: 18px; flex: none; color: var(--deep); }

/* -------------------------------------------------------------- מאמרים -- */
.prose { max-width: 760px; margin-inline: auto; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem); }
.prose h3 { margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 0; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { overflow-wrap: anywhere; }
.prose a[dir="ltr"] { display: inline-block; unicode-bidi: isolate; }

.prose ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.prose ul li {
  position: relative;
  padding-inline-start: 2.1rem;
  line-height: 1.7;
}
.prose ul li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .62em;
  width: 11px; height: 11px;
  border: 1.8px solid var(--deep);
  border-radius: 50% 50% 50% 2px;
  transform: rotate(45deg);
}

.callout {
  padding: 1.3rem 1.5rem;
  background: var(--sand-tint);
  border: 1px solid rgba(15,27,26,.08);
  border-inline-start: 3px solid var(--peach);
  border-radius: var(--r-sm);
  font-size: 1rem; line-height: 1.75;
}
.callout--aqua { background: var(--aqua-tint); border-inline-start-color: var(--deep); }
.callout > * + * { margin-top: .8em; }

.pros { display: grid; gap: .7rem; margin-top: 1rem; }
@media (min-width: 640px) { .pros { grid-template-columns: 1fr 1fr; } }
.pros > div {
  padding: 1rem 1.2rem;
  border-radius: var(--r-sm);
  font-size: .97rem; line-height: 1.7;
}
.pros .pro { background: var(--aqua-tint); }
.pros .con { background: #FDF0E2; }

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r); box-shadow: var(--shadow-sm); }
table.rates {
  width: 100%; min-width: 320px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 1rem;
  overflow: hidden;
}
table.rates caption { padding: 1rem 1.2rem .2rem; font-size: .92rem; color: var(--ink-soft); text-align: start; }
table.rates th, table.rates td { padding: .85rem 1.2rem; text-align: start; border-bottom: 1px solid var(--line); }
table.rates thead th { background: var(--aqua); font-weight: 500; font-size: .95rem; border-bottom: none; }
table.rates tbody tr:last-child th, table.rates tbody tr:last-child td { border-bottom: none; }
table.rates tbody tr:nth-child(even) { background: var(--sand-tint); }
table.rates td { font-variant-numeric: tabular-nums; font-weight: 500; }

.figure { margin: 0; }
.figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.figure--narrow { max-width: 520px; margin-inline: auto; }

.backlink { margin-top: clamp(2.4rem, 5vw, 3.4rem); text-align: center; }

/* --------------------------------------------------------- רשימת פוסטים -- */
.posts { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .posts { grid-template-columns: 1fr 1fr; } }
.post {
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  text-decoration: none; color: inherit;
  transition: transform var(--t), box-shadow var(--t);
}
@media (hover: hover) { .post:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); } }
.post h3 { margin-bottom: .6rem; }
.post p { color: var(--ink-soft); font-size: .98rem; }
.post .card__more { padding-top: 1.2rem; }

/* --------------------------------------------------------------- פוטר -- */
.footer {
  background: var(--ink); color: rgba(255,247,237,.76);
  /* ריווח תחתון כדי שהכפתורים הצפים (וואטסאפ ונגישות) לא יכסו את שורת הקרדיט */
  padding-block: clamp(3rem, 5vw, 4.2rem) calc(clamp(1rem, 3vw, 1.8rem) + 56px);
}
.footer a { color: rgba(255,247,237,.76); text-decoration: none; transition: color var(--t-fast); }
.footer a:hover { color: var(--aqua); }

.footer__grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 900px)  {
  .footer__grid { grid-template-columns: 1fr 1.4fr 1.3fr; }
  .footer__contact a { white-space: nowrap; }
}

.footer__brand img { height: 88px; width: auto; filter: invert(1) brightness(1.9); opacity: .93; }
.footer h4 { color: var(--cream); font-weight: 500; font-size: 1rem; margin-bottom: 1rem; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; font-size: .96rem; }
.footer__links { grid-template-columns: 1fr 1fr; column-gap: 1.6rem; }

.social { display: flex; gap: .6rem; margin-top: 1.3rem; }
.social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,247,237,.2); border-radius: 50%;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.social a:hover { background: var(--aqua); border-color: var(--aqua); color: var(--ink); transform: translateY(-3px); }
.social svg { width: 18px; height: 18px; }

.footer__bottom {
  margin-top: clamp(2.4rem, 4vw, 3.2rem);
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255,247,237,.13);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem;
  justify-content: space-between; align-items: center;
  font-size: .87rem;
}

/* בנייד: לוגו ואייקונים בשורה אחת, העמודים בשתי עמודות ופרטי הקשר בקצרה -
   במקום עמודה אחת ארוכה. הריווח התחתון מפנה מקום לכפתורים הצפים
   (וואטסאפ ונגישות) שאחרת חותכים את שורת הקרדיט. */
@media (max-width: 899px) {
  .footer {
    padding-top: 2.2rem;
    padding-bottom: calc(clamp(1rem, 3vw, 1.8rem) + 56px + .6rem);
  }
  .footer__grid { gap: 0; }
  .footer__grid > * + * {
    padding-top: 1.35rem;
    margin-top: 1.35rem;
    border-top: 1px solid rgba(255, 247, 237, .12);
  }
  .footer__brand { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
  .footer__brand img { height: 58px; }
  .social { margin-top: 0; gap: .5rem; }
  .social a { width: 40px; height: 40px; }

  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: .15rem 1.2rem !important;
    font-size: .93rem;
  }
  .footer__links a { display: block; padding: .4rem 0; }   /* מטרת מגע נוחה בלי לנפח את הגובה */
  @media (min-width: 560px) { .footer__links { grid-template-columns: repeat(3, 1fr); } }

  .footer__contact { gap: .15rem !important; font-size: .9rem; }
  .footer__contact a { display: inline-block; padding: .35rem 0; overflow-wrap: anywhere; }

  .footer__bottom {
    margin-top: 1.35rem;
    padding-block: 1.1rem 0;
    flex-direction: column; align-items: flex-start;
    gap: .5rem;
    font-size: .82rem;
  }
}

/* ------------------------------------------------------- וואטסאפ צף -- */
.wa-float {
  position: fixed; inset-inline-end: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 90;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  background: #25D366; color: #06371A;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(6,55,26,.3);
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity var(--t), transform var(--t), box-shadow var(--t-fast);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { color: #06371A; box-shadow: 0 10px 30px rgba(6,55,26,.38); }
.wa-float svg { width: 28px; height: 28px; }

/* ------------------------------------------------------ reveal on scroll -- */
/* המחלקה js-reveal נוספת ל-<html> רק כשה-JS באמת רץ ומסוגל להחזיר את התוכן.
   בלעדיה .reveal לא מסתיר כלום - כך שתקלת JS לעולם לא מעלימה תוכן. */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); }
.js-reveal .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
  .hero__bg img { animation: none; transform: scale(1.04); }
}

/* ---------------------------------------------------------------- print -- */
@media print {
  .header, .drawer, .wa-float, .hero__scroll, .footer, .backlink { display: none !important; }
  body { background: #fff; }
  .js-reveal .reveal { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------- קישורי פוטר תחתונים -- */
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
