/*******************************
  KADESH: שפה עיצובית (דורס את משתני הבסיס של ארבל)
*******************************/
@font-face {
  font-family: 'Varela Round';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../webfonts/VarelaRound-Hebrew.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: 'Varela Round';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../webfonts/VarelaRound-Latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --kd-sand: #d6ab93;
  --kd-peach: #fff3ec;
  --ar-primary: #d08f6d;
  --ar-primary-dark: #7a503a;
  --ar-primary-light: var(--kd-peach);
  --ar-secondary: #3b2f2a;
  --ar-grey: #6f625b;
  --ar-bg-site: #fdf8f5;
  --ar-border: #eedfd5;
  --ar-border-light: #f8eee8;
  --ar-font: 'Varela Round', system-ui, sans-serif;
  --header-height: 170px;
}

@media (max-width: 1024px) {
  :root { --header-height: 96px; }
}

html {
  scroll-padding-top: var(--ar-space-sm);
}

.ar-contact__hp {
  left: auto;
  clip-path: inset(50%);
}

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--ar-bg-site);
}

#primary {
  flex: 1 0 auto;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  background: url("https://kadesh.co.il/wp-content/uploads/2025/04/background3.jpg") center / cover no-repeat;
  pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/*******************************
  KADESH: הדר שקוף - לוגו במרכז ותפריט מתחתיו
*******************************/
.site-header {
  position: relative;
  border-bottom: 0;
  background-color: transparent;
}

.site-header-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ar-space-xs);
  height: auto;
  padding-block: var(--ar-space-sm) var(--ar-space-xs);
}

.site-branding .custom-logo {
  max-height: 90px;
}

.site-navigation .site-menu {
  gap: var(--ar-space-lg);
}

@media (min-width: 1025px) {
  .site-navigation .site-menu > li > a {
    padding-block: var(--ar-space-xs);
  }
}

.site-navigation .site-menu a {
  font-size: 1.15rem;
  font-weight: 400;
}

@media (max-width: 1024px) {
  .site-header-inner {
    padding-block: var(--ar-space-xs);
  }

  .site-branding .custom-logo {
    max-height: 80px;
  }

  .header-actions {
    position: absolute;
    top: calc(50% - 20px);
    inset-inline-end: var(--site-padding);
  }

  .menu-toggle {
    position: relative;
  }

  .site-navigation .site-menu {
    top: 0;
    height: 100vh;
    height: 100dvh;
    padding-top: calc(var(--header-height) + var(--ar-space-sm));
    background-color: var(--kd-peach);
  }

  .site-navigation .site-menu a {
    font-size: 1.2rem;
  }
}

.site-footer {
  padding-block: var(--ar-space-sm);
  background-color: var(--kd-sand);
  border-top: 0;
  color: var(--ar-secondary);
  font-size: var(--ar-text-sm);
}

.site-footer p {
  font-size: inherit;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--ar-space-xs) var(--ar-space-md);
}

.site-footer .footer-menu {
  margin: 0;
}

.site-footer .footer-menu a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .site-footer-inner {
    flex-direction: column;
  }

}

/*******************************
  KADESH: אייקונים (SVG במקום Font Awesome, באותם שמות מחלקה)
*******************************/
:is(.fa-solid, .fa-regular, .fa-brands) {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: var(--kd-icon) center / contain no-repeat;
  mask: var(--kd-icon) center / contain no-repeat;
}

.fa-angle-left { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E"); }
.fa-arrow-left { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M12 19l-7-7 7-7'/%3E%3C/svg%3E"); }
.fa-arrow-right { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E"); }
.fa-xmark { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.fa-magnifying-glass { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.fa-lightbulb { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.6.5 1 1.3 1 2.1V17h6v-.2c0-.8.4-1.6 1-2.1A7 7 0 0 0 12 2z'/%3E%3C/svg%3E"); }
.fa-clock { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.fa-share-nodes { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='m8.6 13.5 6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E"); }
.fa-copy { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E"); }
.fa-whatsapp { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22z'/%3E%3C/svg%3E"); }
.fa-phone { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1 1 .4 1.9.7 2.8a2 2 0 0 1-.5 2.1L8.1 9.9a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.8.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.fa-location-dot { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.fa-calendar { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"); }
.fa-house { --kd-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 10 9-7 9 7v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M9 22V12h6v10'/%3E%3C/svg%3E"); }

/*******************************
  KADESH: כפתור קביעת טיפול צף
*******************************/
.kd-book {
  position: fixed;
  bottom: calc(var(--ar-space-md) + env(safe-area-inset-bottom));
  inset-inline-end: var(--ar-space-md);
  z-index: var(--ar-z-sticky);
  display: inline-flex;
  align-items: center;
  height: 56px;
  min-width: 56px;
  padding-inline: 18px;
  border-radius: var(--ar-radius-rnd);
  background-color: var(--ar-primary);
  box-shadow: var(--ar-shadow-lg);
  color: var(--ar-white);
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--ar-duration-base) ease, transform var(--ar-duration-base) var(--ar-ease-out), visibility 0s, background-color var(--ar-transition);
}

.kd-book i {
  font-size: 1.25rem;
}

.kd-book__label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width var(--ar-duration-base) var(--ar-ease-out), margin var(--ar-duration-base) var(--ar-ease-out), opacity var(--ar-duration-fast) ease;
}

.kd-book:hover,
.kd-book:focus-visible {
  background-color: var(--ar-primary-dark);
  color: var(--ar-white);
}

.kd-book:hover .kd-book__label,
.kd-book:focus-visible .kd-book__label {
  max-width: 160px;
  margin-inline-start: 10px;
  opacity: 1;
}

.ar-js .kd-book:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--ar-duration-base) ease, transform var(--ar-duration-base) var(--ar-ease-out), visibility 0s linear var(--ar-duration-base);
}

@media (max-width: 768px) {
  .kd-book {
    inset-inline-end: var(--site-padding);
  }
}

/*******************************
  KADESH: כרטיס תוכן (עמודי טקסט כמו הצהרת נגישות ומדיניות פרטיות)
*******************************/
.kd-prose-card {
  padding: clamp(20px, 4vw, 48px);
  border: 1px solid var(--ar-border);
  border-radius: var(--ar-radius-lg);
  background-color: rgba(255, 255, 255, 0.85);
}

.site-footer .footer-menu a,
.site-footer .widget a {
  color: var(--ar-secondary);
}

/*******************************
  KADESH: כפתורים
*******************************/
.kd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border: 2px solid var(--ar-primary);
  border-radius: var(--ar-radius-rnd);
  background-color: var(--ar-primary);
  color: var(--ar-white);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.kd-btn:hover {
  background-color: var(--ar-primary-dark);
  border-color: var(--ar-primary-dark);
  color: var(--ar-white);
}

.kd-btn--outline {
  background-color: rgba(255, 255, 255, 0.6);
  color: var(--ar-primary-dark);
}

.kd-btn--outline:hover {
  background-color: var(--ar-primary);
  border-color: var(--ar-primary);
}

.kd-btn i {
  font-size: 0.85em;
}

/*******************************
  KADESH: כותרת מקטע
*******************************/
.kd-title {
  margin-bottom: var(--ar-space-lg);
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem);
  text-align: center;
}

.kd-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: var(--ar-space-sm) auto 0;
  border-radius: var(--ar-radius-rnd);
  background-color: var(--kd-sand);
}

.kd-title--start {
  text-align: start;
}

.kd-title--start::after {
  margin-inline: 0;
}

/*******************************
  KADESH: מקטעי תמונה (פתיחה + מהו עיסוי שיקומי)
*******************************/
.kd-media {
  width: 100%;
  background-repeat: no-repeat;
}

.kd-media--about {
  width: min(100%, 600px);
  width: min(100%, 600px, calc(100svh - var(--header-height) - 2 * var(--kd-intro-pad)));
  aspect-ratio: 1;
  justify-self: center;
  background-image: url("https://kadesh.co.il/wp-content/uploads/2026/10/ephraim-kadesh-portrait-800x800.webp");
  background-size: 100% 100%;
}

.kd-media--therapy {
  aspect-ratio: 0.93;
  background-image: url("https://kadesh.co.il/wp-content/uploads/2026/10/treatment-room-744x800.webp");
  background-size: 100% 100%;
}

.kd-stack > * + * {
  margin-top: var(--ar-space-sm);
}

.kd-intro {
  --kd-intro-pad: clamp(16px, 4svh, 48px);
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding-block: var(--kd-intro-pad);
}

.kd-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 96px);
}

.kd-split .kd-media--about {
  order: -1;
}

.kd-therapy {
  padding-block: calc(var(--ar-section-space) + 64px);
}

.kd-therapy__panel {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "text  media"
    "types media";
  gap: var(--ar-space-md) clamp(24px, 4vw, 72px);
  padding: clamp(24px, 4vw, 64px);
  border: 1px solid var(--ar-border);
  border-radius: 32px;
  background-color: rgba(255, 243, 236, 0.85);
  isolation: isolate;
}

.kd-therapy__text {
  grid-area: text;
  align-self: end;
}

.kd-therapy__types {
  grid-area: types;
  align-self: start;
}

.kd-therapy__panel .kd-media--therapy {
  position: relative;
  grid-area: media;
  align-self: center;
  margin-block: -120px;
}

.kd-media--therapy {
  --kd-r: 40px;
  --kd-top: 1.42%;
  --kd-bottom: 82.55%;
  -webkit-mask-image:
    linear-gradient(#000 0 0),
    linear-gradient(transparent calc(var(--kd-top) + var(--kd-r)), #000 0 calc(var(--kd-bottom) - var(--kd-r)), transparent 0),
    radial-gradient(circle var(--kd-r) at var(--kd-r) calc(var(--kd-top) + var(--kd-r)), #000 98%, transparent),
    radial-gradient(circle var(--kd-r) at var(--kd-r) calc(var(--kd-bottom) - var(--kd-r)), #000 98%, transparent);
  -webkit-mask-size: calc(100% - var(--kd-r)) 100%, var(--kd-r) 100%, 100% 100%, 100% 100%;
  -webkit-mask-position: 100% 0, 0 0, 0 0, 0 0;
  -webkit-mask-repeat: no-repeat;
  mask-image:
    linear-gradient(#000 0 0),
    linear-gradient(transparent calc(var(--kd-top) + var(--kd-r)), #000 0 calc(var(--kd-bottom) - var(--kd-r)), transparent 0),
    radial-gradient(circle var(--kd-r) at var(--kd-r) calc(var(--kd-top) + var(--kd-r)), #000 98%, transparent),
    radial-gradient(circle var(--kd-r) at var(--kd-r) calc(var(--kd-bottom) - var(--kd-r)), #000 98%, transparent);
  mask-size: calc(100% - var(--kd-r)) 100%, var(--kd-r) 100%, 100% 100%, 100% 100%;
  mask-position: 100% 0, 0 0, 0 0, 0 0;
  mask-repeat: no-repeat;
}

.kd-therapy__panel .kd-media--therapy::before {
  content: "";
  position: absolute;
  inset: 6% 10% 2% 4%;
  z-index: -1;
  border-radius: 50%;
  background-color: var(--kd-sand);
  opacity: 0.22;
}

.kd-chips-label {
  color: var(--ar-grey);
  font-size: var(--ar-text-sm);
}

.kd-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--ar-space-xs);
  margin-top: var(--ar-space-xs);
  list-style: none;
}

.kd-chips li {
  flex: 0 0 auto;
}

.kd-chip {
  padding: 8px clamp(12px, 1.2vw, 18px);
  border: 1px solid var(--kd-sand);
  border-radius: var(--ar-radius-rnd);
  background-color: var(--ar-white);
  color: var(--ar-secondary);
  font: inherit;
  font-size: clamp(0.85rem, 0.7rem + 0.3vw, 0.95rem);
  white-space: nowrap;
  cursor: pointer;
}

.kd-chip:hover,
.kd-chip:focus-visible {
  border-color: var(--ar-primary);
  background-color: var(--ar-primary);
  color: var(--ar-white);
}

.kd-hero__name {
  font-size: clamp(2.4rem, 1.6rem + 3.5vw, 4rem);
  line-height: 1.05;
}

.kd-hero__tagline {
  color: var(--ar-primary);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
}

.kd-hero__title {
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem);
}

.kd-hero__lead {
  font-size: var(--ar-text-xl);
  font-weight: 700;
}

:is(.kd-intro, .kd-therapy) p {
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.15rem);
  line-height: 1.75;
}

.kd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ar-space-xs-sm);
  padding-top: var(--ar-space-xs);
}

@media (max-width: 1024px) {
  .kd-therapy {
    padding-block: calc(var(--ar-section-space) + 48px) var(--ar-section-space);
  }

  .kd-therapy__panel {
    grid-template-rows: auto auto;
    grid-template-areas:
      "text  media"
      "types types";
  }

  .kd-therapy__text {
    align-self: center;
  }

  .kd-therapy__panel .kd-media--therapy {
    margin-block: -88px 0;
  }
}

@media (max-width: 768px) {
  .kd-split,
  .kd-therapy__panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .kd-therapy__panel {
    grid-template-areas:
      "media"
      "text"
      "types";
  }

  .kd-therapy__panel .kd-media--therapy {
    width: min(100%, 400px);
    justify-self: center;
  }

  .kd-split {
    gap: var(--ar-space-sm);
  }

  .kd-media--about {
    width: min(100%, 300px);
    width: clamp(150px, calc(100svh - var(--header-height) - 2 * var(--kd-intro-pad) - var(--kd-intro-text, 420px) - var(--ar-space-sm)), 400px);
  }

  .kd-therapy__panel .kd-media--therapy {
    margin-block: -80px 0;
  }

  .kd-chips {
    flex-wrap: wrap;
  }
}

/*******************************
  KADESH: למי מתאים הטיפול
*******************************/
.kd-needs {
  --kd-node: clamp(88px, 8vw, 120px);
  --kd-dots: radial-gradient(circle, var(--kd-sand) 2.5px, transparent 3px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--ar-space-md);
  list-style: none;
  counter-reset: kd-need;
}

.kd-needs::before {
  content: "";
  position: absolute;
  top: calc(var(--kd-node) / 2 - 3px);
  inset-inline: calc((100% - 4 * var(--ar-space-md)) / 10);
  height: 6px;
  background: var(--kd-dots) center / 16px 6px repeat-x;
}

.kd-need {
  position: relative;
  counter-increment: kd-need;
}

.kd-need__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ar-space-sm);
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ar-secondary);
  font: inherit;
  text-align: center;
  cursor: pointer;
}

.kd-need__node {
  position: relative;
  flex: none;
  width: var(--kd-node);
  height: var(--kd-node);
}

.kd-need__node img {
  width: 100%;
  height: 100%;
  border: 3px solid var(--kd-sand);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 6px var(--ar-bg-site);
  transition: transform var(--ar-duration-base) var(--ar-ease-out), border-color var(--ar-duration-base) ease;
}

.kd-need__node::after {
  content: counter(kd-need, decimal-leading-zero);
  position: absolute;
  top: -2px;
  inset-inline-end: -6px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--ar-bg-site);
  border-radius: 50%;
  background-color: var(--ar-primary);
  color: var(--ar-white);
  font-size: 0.75rem;
  line-height: 1;
}

.kd-need__btn:hover img,
.kd-need__btn:focus-visible img {
  transform: scale(1.06);
  border-color: var(--ar-primary);
}

.kd-need__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kd-need__title {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  line-height: 1.35;
}

.kd-need__more {
  color: var(--ar-primary);
  font-size: var(--ar-text-sm);
}

.kd-need__btn:hover .kd-need__title {
  color: var(--ar-primary);
}

@media (max-width: 768px) {
  .kd-needs {
    --kd-node: 76px;
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
    margin-inline: auto;
  }

  .kd-needs::before {
    top: calc(var(--kd-node) / 2);
    bottom: calc(var(--kd-node) / 2);
    inset-inline: calc(var(--kd-node) / 2 - 3px) auto;
    width: 6px;
    height: auto;
    background: var(--kd-dots) center / 6px 16px repeat-y;
  }

  .kd-need__btn {
    flex-direction: row;
    gap: var(--ar-space-md);
    text-align: start;
  }
}

/*******************************
  KADESH: כדאי לדעת (מאמרים)
*******************************/
.blog-card {
  border: 1px solid var(--kd-sand);
}

.blog-card:hover {
  border-color: var(--ar-primary);
}

.kd-posts {
  justify-content: center;
  gap: var(--ar-space-md);
}

.kd-dots {
  display: none;
}

@media (max-width: 1024px) {
  .kd-posts {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: var(--ar-space-sm);
    margin-inline: calc(var(--site-padding) * -1);
    padding: var(--ar-space-xs) var(--site-padding) var(--ar-space-sm);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--site-padding);
    scrollbar-width: none;
  }

  .kd-posts::-webkit-scrollbar {
    display: none;
  }

  .kd-posts .blog-card {
    flex: 0 0 min(44%, 380px);
    max-width: none;
    scroll-snap-align: start;
  }

  .kd-dots {
    display: flex;
    justify-content: center;
    gap: var(--ar-space-xs);
  }
}

.kd-dots__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: var(--ar-radius-rnd);
  background-color: var(--kd-sand);
  cursor: pointer;
  transition: width var(--ar-duration-base) var(--ar-ease-out), background-color var(--ar-duration-base) ease;
}

.kd-dots__dot.is-active {
  width: 28px;
  background-color: var(--ar-primary);
}

@media (max-width: 576px) {
  .kd-posts .blog-card {
    flex-basis: 82%;
  }
}

.kd-more {
  margin-top: var(--ar-space-lg);
  text-align: center;
}

/*******************************
  KADESH: דברו איתי
*******************************/
.kd-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vw, 56px);
  border: 1px solid var(--ar-border);
  border-radius: 32px;
  background-color: rgba(255, 243, 236, 0.85);
}

.kd-contact .kd-title {
  margin-bottom: 0;
}

.kd-contact__info p {
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.15rem);
  line-height: 1.75;
}

.kd-contact__call span {
  direction: ltr;
}

.kd-area {
  padding-top: var(--ar-space-md);
  border-top: 1px solid var(--ar-border);
}

.kd-area__title {
  margin-bottom: var(--ar-space-xs-sm);
  font-size: var(--ar-text-lg);
}

.kd-area__list {
  display: grid;
  gap: var(--ar-space-xs-sm);
  list-style: none;
}

.kd-area__list li {
  display: flex;
  align-items: baseline;
  gap: var(--ar-space-xs-sm);
}

.kd-area__list i {
  color: var(--ar-primary);
  font-size: 1.15rem;
  vertical-align: middle;
}

.kd-contact__map {
  display: flex;
  flex-direction: column;
  gap: var(--ar-space-sm);
}

.kd-map {
  flex: 1;
  min-height: 320px;
  overflow: hidden;
  border-radius: var(--ar-radius-lg);
  box-shadow: var(--ar-shadow-md);
}

.kd-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.kd-waze {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--ar-space-xs);
  padding: 8px 18px;
  border: 1px solid var(--kd-sand);
  border-radius: var(--ar-radius-rnd);
  background-color: var(--ar-white);
  color: var(--ar-secondary);
  font-size: var(--ar-text-sm);
  text-decoration: none;
}

.kd-waze i {
  color: var(--ar-primary);
}

.kd-waze:hover,
.kd-waze:focus-visible {
  border-color: var(--ar-primary);
  background-color: var(--ar-primary);
  color: var(--ar-white);
}

.kd-waze:hover i,
.kd-waze:focus-visible i {
  color: inherit;
}

@media (max-width: 768px) {
  .kd-contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .kd-map,
  .kd-map iframe {
    min-height: 280px;
  }
}

/*******************************
  KADESH: חלונות קופצים
*******************************/
.kd-modal {
  width: min(500px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--ar-radius-lg);
  background-color: var(--kd-peach);
  color: var(--ar-secondary);
  box-shadow: var(--ar-shadow-lg);
}

.kd-modal--wide {
  width: min(900px, calc(100% - 32px));
}

.kd-modal::backdrop {
  background-color: rgba(59, 47, 42, 0.55);
}

html:has(.kd-modal[open]) {
  overflow: hidden;
}

.kd-modal[open] {
  animation: kd-modal-in var(--ar-duration-base) var(--ar-ease-out);
}

@keyframes kd-modal-in {
  from { opacity: 0; transform: translateY(16px); }
}

.kd-modal__box {
  padding: var(--ar-space-md);
}

.kd-modal__box > * + * {
  margin-top: var(--ar-space-sm);
}

.kd-modal__close {
  position: sticky;
  top: 0;
  float: left;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: calc(var(--ar-space-xs) * -1) calc(var(--ar-space-xs) * -1) 0 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--ar-white);
  color: var(--ar-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--ar-shadow-sm);
  z-index: 1;
}

.kd-modal__close:hover {
  background-color: var(--ar-primary);
  color: var(--ar-white);
}

.kd-modal__img {
  width: 100%;
  border-radius: var(--ar-radius-md);
}

.kd-modal h2 {
  font-size: var(--ar-h2);
}

.kd-modal h3 {
  font-size: var(--ar-h3);
}

.kd-modal__sub {
  color: var(--ar-primary);
}

.kd-modal p {
  line-height: 1.7;
}

.kd-massages {
  clear: both;
  padding-top: var(--ar-space-xs);
}

.kd-massages > div > * + * {
  margin-top: var(--ar-space-xs);
}

.kd-timeline {
  list-style: none;
}

.kd-timeline li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: var(--ar-space-sm);
  padding-block: var(--ar-space-sm);
  border-top: 1px solid var(--ar-border);
}

.kd-timeline__year {
  color: var(--ar-primary);
  font-size: var(--ar-h3);
}

.kd-timeline strong {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 576px) {
  .kd-timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
